/* ==========================================================================
   PNG Market - Account dashboard (sidebar + dashboard details)
   ========================================================================== */

@media screen and (max-width: 767px) {
  body.body-ua .container.primary.pngm-ua-shell,
  body.body-ua.pngm-ua-dashboard .container.primary {
    margin-top: 10px;
  }

  body.pngm-ua-listings .pngm-listings-head {
    margin-bottom: 10px;
  }

  body.pngm-ua-listings .pngm-listings-head h1 {
    font-size: 20px;
    line-height: 1.25;
  }
}

body.body-ua.pngm-ua,
body.body-ua.pngm-ua > .content {
  background: #fff;
}

body.body-ua .container.primary.pngm-ua-shell,
body.body-ua.pngm-ua-dashboard .container.primary {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-top: 18px;
  margin-bottom: 36px;
  max-width: 1240px;
}

body.body-ua #user-main.pngm-ua-main,
body.body-ua.pngm-ua-dashboard #user-main {
  width: auto !important;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

/* Sidebar */
.pngm-ua-sidebar,
body.body-ua #user-menu.pngm-ua-sidebar {
  width: 260px !important;
  margin: 0;
  padding: 16px 12px 14px;
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 14px;
  box-sizing: border-box;
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: auto;
  min-height: 0;
}

.pngm-ua-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 0 0 auto;
}

.pngm-ua-nav-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pngm-ua-nav-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2e7d32;
  padding: 0 10px 6px;
}

.pngm-ua-nav-link {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
  padding: 10px 12px !important;
  border-radius: 10px !important;
  border: 0 !important;
  background: transparent !important;
  color: #374151 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.pngm-ua-nav-link i {
  width: 18px;
  text-align: center;
  color: #6b7785;
  font-size: 14px;
}

.pngm-ua-nav-link span {
  flex: 1 1 auto;
  min-width: 0;
}

.pngm-ua-nav-count {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #e8f5e9;
  color: #1b5e20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pngm-ua-nav-link:hover {
  background: #f3f7f3 !important;
  color: #1b5e20 !important;
}

.pngm-ua-nav-link.is-active {
  background: rgba(46, 125, 50, 0.12) !important;
  color: #1b5e20 !important;
}

.pngm-ua-nav-link.is-active i {
  color: #2e7d32;
}

.pngm-ua-logout {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin-top: 4px !important;
  padding: 12px !important;
  border-radius: 10px !important;
  color: #b91c1c !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  background: rgba(185, 28, 28, 0.06) !important;
  border: 0 !important;
}

.pngm-ua-logout:hover {
  background: rgba(185, 28, 28, 0.12) !important;
}

/* Top welcome */
.pngm-ua-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.pngm-ua-welcome h1 {
  margin: 0 0 4px;
  font-size: 28px;
  font-weight: 800;
  color: #16202a;
  line-height: 1.2;
}

.pngm-ua-welcome p {
  margin: 0;
  color: #6b7785;
  font-size: 14px;
}

.pngm-ua-userchip {
  flex: 0 0 auto;
}

.pngm-ua-userchip-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 8px;
  border: 1px solid #c8e6c9;
  border-radius: 999px;
  background: linear-gradient(180deg, #f4fbf4 0%, #eef8ee 100%);
  box-shadow: 0 2px 10px rgba(46, 125, 50, 0.12);
  text-decoration: none !important;
  color: #16202a;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.pngm-ua-userchip-link:hover {
  border-color: #2e7d32;
  box-shadow: 0 4px 14px rgba(46, 125, 50, 0.18);
  background: #e8f5e9;
}

.pngm-ua-userchip-link img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #c8e6c9;
}

.pngm-ua-userchip-link span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  padding-right: 2px;
}

.pngm-ua-userchip-link strong {
  font-size: 15px;
  font-weight: 800;
  color: #16202a;
}

.pngm-ua-userchip-link small {
  font-size: 12px;
  font-weight: 600;
  color: #2e7d32;
}

.pngm-ua-userchip-link small i {
  font-size: 10px;
  margin-left: 2px;
}

/* Stats */
.pngm-ua-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.pngm-ua-stat {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 14px;
  box-sizing: border-box;
}

.pngm-ua-stat-ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  font-size: 16px;
}

.pngm-ua-stat-ico.is-green { background: #e8f5e9; color: #2e7d32; }
.pngm-ua-stat-ico.is-blue { background: #e8f0fe; color: #1a56db; }
.pngm-ua-stat-ico.is-yellow { background: #fff7e0; color: #c9a227; }
.pngm-ua-stat-ico.is-purple { background: #f3e8ff; color: #7c3aed; }

.pngm-ua-stat-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pngm-ua-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: #6b7785;
}

.pngm-ua-stat-num {
  font-size: 26px;
  font-weight: 800;
  color: #16202a;
  line-height: 1.1;
}

.pngm-ua-stat-body a {
  font-size: 12px;
  font-weight: 600;
  color: #2e7d32;
  text-decoration: none;
}

.pngm-ua-stat-muted {
  font-size: 12px;
  color: #8a94a0;
}

/* Mid / bottom grids */
.pngm-ua-mid,
.pngm-ua-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.pngm-ua-card {
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 14px;
  padding: 16px;
  box-sizing: border-box;
}

.pngm-ua-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: nowrap;
}

.pngm-ua-card-head h2,
.pngm-ua-complete-copy h2,
.pngm-ua-action-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #16202a;
}

.pngm-ua-card-head h2 {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pngm-ua-card-head a {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 600;
  color: #2e7d32;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}

.pngm-ua-empty {
  margin: 0;
  color: #8a94a0;
  font-size: 13px;
  line-height: 1.45;
}

/* Profile completion */
.pngm-ua-complete {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pngm-ua-complete-ring {
  position: relative;
  width: 110px;
  height: 110px;
  flex: 0 0 110px;
}

.pngm-ua-complete-ring svg {
  transform: rotate(-90deg);
}

.pngm-ua-ring-bg {
  fill: none;
  stroke: #e8ecef;
  stroke-width: 8;
}

.pngm-ua-ring-fg {
  fill: none;
  stroke: #2e7d32;
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dasharray 0.4s ease;
}

.pngm-ua-complete-ring span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #16202a;
}

.pngm-ua-complete-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.pngm-ua-complete-copy p {
  margin: 6px 0 12px;
  color: #6b7785;
  font-size: 13px;
  line-height: 1.45;
}

.pngm-ua-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  background: #2e7d32;
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none !important;
  border: 1px solid #2e7d32;
}

.pngm-ua-btn.is-ghost {
  background: #fff;
  color: #2e7d32 !important;
}

.pngm-ua-btn:hover {
  background: #256628;
  border-color: #256628;
}

.pngm-ua-btn.is-ghost:hover {
  background: #e8f5e9;
}

.pngm-ua-btn.is-secondary {
  background: #f4f6f8;
  color: #16202a !important;
  border-color: #d5dbe3;
}

.pngm-ua-btn.is-secondary:hover {
  background: #e8ecf1;
  border-color: #c5ccd6;
}

/* Messages list */
.pngm-ua-msg-list,
.pngm-ua-act-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pngm-ua-msg-row,
.pngm-ua-act-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f2f4;
  text-decoration: none !important;
  color: inherit;
}

.pngm-ua-msg-list li:last-child .pngm-ua-msg-row,
.pngm-ua-act-list li:last-child .pngm-ua-act-row {
  border-bottom: 0;
  padding-bottom: 2px;
}

.pngm-ua-msg-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e8f5e9;
  color: #1b5e20;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
}

.pngm-ua-msg-meta,
.pngm-ua-act-meta {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pngm-ua-msg-meta strong,
.pngm-ua-act-meta strong {
  font-size: 13px;
  color: #16202a;
}

.pngm-ua-msg-meta em,
.pngm-ua-act-meta em {
  font-style: normal;
  font-size: 12px;
  color: #8a94a0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pngm-ua-msg-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex: 0 0 auto;
}

.pngm-ua-msg-aside time,
.pngm-ua-act-row time {
  font-size: 11px;
  color: #8a94a0;
  white-space: nowrap;
}

.pngm-ua-badge {
  font-style: normal;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #2e7d32;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Activity */
.pngm-ua-act-ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e8f5e9;
  color: #2e7d32;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  font-size: 12px;
}

.pngm-ua-act-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 44px;
  background: #eef1f4;
}

.pngm-ua-act-thumb.is-empty {
  display: inline-block;
}

/* Quick actions */
.pngm-ua-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pngm-ua-action-card {
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
  box-sizing: border-box;
}

.pngm-ua-action-ico {
  width: 52px;
  height: 52px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #2e7d32;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.pngm-ua-action-ico.is-outline {
  background: #e8f5e9;
  color: #2e7d32;
}

.pngm-ua-action-card p {
  margin: 6px 0 14px;
  font-size: 13px;
  color: #6b7785;
  line-height: 1.4;
}

.pngm-ua-action-card .pngm-ua-btn {
  width: 100%;
}

/* Inner account pages (profile, listings) keep a white panel */
body.body-ua #user-main.pngm-ua-panel {
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 14px;
  padding: 20px 20px 28px;
  box-sizing: border-box;
}

body.body-ua #user-main.pngm-ua-panel h1 {
  margin-top: 0;
}

/* Mobile */
@media screen and (max-width: 980px) {
  body.body-ua .container.primary.pngm-ua-shell,
  body.body-ua.pngm-ua-dashboard .container.primary {
    grid-template-columns: 1fr;
  }

  /* Hide in-page sidebar; open as drawer via hamburger */
  .pngm-ua-sidebar,
  body.body-ua #user-menu.pngm-ua-sidebar,
  body.body-ua #user-menu.pngm-ua-sidebar.pngm-user-menu {
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    width: min(300px, 86vw) !important;
    max-width: 300px;
    min-height: 100% !important;
    height: 100%;
    margin: 0 !important;
    padding: 16px 12px 20px !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    /* Above #menu-cover (10100) and #side-menu (10120) */
    z-index: 10130 !important;
    border-radius: 0 !important;
    border: 0 !important;
    border-right: 1px solid #e6eaf0 !important;
    box-shadow: 4px 0 24px rgba(22, 32, 42, 0.18);
    transform: translateX(-105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.22s ease, visibility 0s linear 0.22s;
    -webkit-overflow-scrolling: touch;
    background: #fff;
  }

  body.body-ua.pngm-ua-nav-open #user-menu.pngm-ua-sidebar {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.22s ease, visibility 0s linear 0s;
  }

  body.body-ua.pngm-ua-nav-open #side-menu {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.body-ua.pngm-ua-nav-open #menu-cover.mobile-box,
  body.body-ua.pngm-ua-nav-open #menu-cover {
    z-index: 10125 !important;
  }

  body.body-ua.pngm-ua-nav-open {
    overflow: hidden;
  }

  .pngm-ua-nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 12px;
    right: 10px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: #f4f6f8;
    color: #16202a;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
  }

  .pngm-ua-sidebar {
    padding-top: 52px !important;
  }

  .pngm-ua-stats {
    grid-template-columns: 1fr 1fr;
  }

  .pngm-ua-mid,
  .pngm-ua-bottom,
  .pngm-ua-actions {
    grid-template-columns: 1fr;
  }

  .pngm-ua-userchip {
    display: none;
  }

  .pngm-ua-welcome h1 {
    font-size: 22px;
  }
}

@media screen and (min-width: 981px) {
  .pngm-ua-nav-close {
    display: none !important;
  }
}

@media screen and (max-width: 560px) {
  .pngm-ua-complete {
    flex-direction: column;
    text-align: center;
  }

  .pngm-ua-complete-copy .pngm-ua-btn {
    width: 100%;
  }
}

/* ==========================================================================
   My Listings ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ Complete Management
   ========================================================================== */

.pngm-listings-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.pngm-listings-head h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: #16202a;
  line-height: 1.25;
}

.pngm-listings-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.pngm-listings-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid #e1e6ec;
  border-radius: 10px;
  background: #fff;
  color: #3a4553;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.pngm-listings-tab:hover {
  border-color: #c8e6c9;
  color: #1b5e20;
}

.pngm-listings-tab.is-active {
  border-color: #2e7d32;
  color: #1b5e20;
  background: #f3faf3;
  box-shadow: 0 0 0 1px rgba(46, 125, 50, 0.12);
}

.pngm-listings-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #eef1f4;
  color: #5b6775;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}

.pngm-listings-tab.is-active .pngm-listings-tab-count {
  background: #e8f5e9;
  color: #2e7d32;
}

.pngm-listings-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 14px;
}

.pngm-listings-search {
  position: relative;
  flex: 1 1 220px;
  min-width: 180px;
}

.pngm-listings-search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #8a94a0;
  font-size: 13px;
  pointer-events: none;
}

.pngm-listings-search input {
  width: 100%;
  height: 42px;
  padding: 0 12px 0 36px;
  border: 1px solid #dce2e8;
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
  font-size: 14px;
}

.pngm-listings-search input[type="search"]::-webkit-search-cancel-button,
.pngm-listings-search input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.pngm-listings-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.pngm-listings-select select {
  height: 42px;
  min-width: 140px;
  padding: 0 32px 0 12px;
  border: 1px solid #dce2e8;
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #3a4553;
}

.pngm-listings-filter-btn {
  width: 42px;
  height: 42px;
  border: 1px solid #dce2e8;
  border-radius: 10px;
  background: #fff;
  color: #3a4553;
  cursor: pointer;
}

.pngm-listings-filter-btn:hover {
  border-color: #2e7d32;
  color: #2e7d32;
}

.pngm-listings-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pngm-listing-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 14px;
  box-sizing: border-box;
}

.pngm-listing-thumb {
  position: relative;
  flex: 0 0 120px;
  width: 120px;
  height: 90px;
  border-radius: 10px;
  overflow: hidden;
  background: #eef1f4;
  text-decoration: none;
}

.pngm-listing-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pngm-listing-photo-count {
  position: absolute;
  right: 6px;
  bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: #16202a;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(22, 32, 42, 0.18);
}

.pngm-listing-body {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  /* Fixed meta/actions widths so status column starts at the same x on every row
     (pending vs active differ in expiry line + button set). */
  grid-template-columns: minmax(0, 1fr) 168px 300px;
  align-items: center;
  column-gap: 28px;
  row-gap: 10px;
}

.pngm-listing-main {
  min-width: 0;
}

.pngm-listing-side {
  display: contents;
}

.pngm-listing-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.pngm-listing-title a {
  color: #16202a;
  text-decoration: none !important;
}

.pngm-listing-title a:hover {
  color: #2e7d32;
}

.pngm-listing-cat,
.pngm-listing-loc {
  margin: 0 0 4px;
  font-size: 12px;
  color: #8a94a0;
  line-height: 1.35;
}

.pngm-listing-loc i {
  margin-right: 4px;
  color: #a0aab4;
}

.pngm-listing-price {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 800;
  color: #2e7d32;
}

.pngm-listing-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  text-align: left;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.pngm-listing-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.pngm-listing-badge.is-active {
  background: #e8f5e9;
  color: #1b5e20;
}

.pngm-listing-badge.is-pending {
  background: #fff3e0;
  color: #e65100;
}

.pngm-listing-badge.is-inactive {
  background: #eceff1;
  color: #546e7a;
}

.pngm-listing-badge.is-expired {
  background: #fdecea;
  color: #c62828;
}

.pngm-listing-expiry {
  display: inline-block;
  font-size: 12px;
  color: #6b7785;
  font-weight: 600;
}

.pngm-listing-expiry.is-expiring {
  color: #b45309;
}

.pngm-listing-expiry.is-expired {
  color: #c62828;
}

.pngm-listing-views,
.pngm-listing-date {
  font-size: 12px;
  color: #8a94a0;
}

.pngm-listing-views i {
  margin-right: 4px;
}

.pngm-listing-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  position: relative;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.pngm-listing-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #d7dde5;
  border-radius: 8px;
  background: #fff;
  color: #3a4553;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
}

.pngm-listing-btn:hover {
  border-color: #2e7d32;
  color: #2e7d32;
}

.pngm-listing-btn.is-activate,
.pngm-listing-btn.is-renew {
  border-color: #c8e6c9;
  color: #2e7d32;
  background: #f3faf3;
}

.pngm-listing-btn.is-danger {
  color: #c62828;
  border-color: #f5c6c6;
}

.pngm-listing-more {
  position: relative;
}

.pngm-listing-more-btn {
  width: 34px;
  height: 34px;
  border: 1px solid #d7dde5;
  border-radius: 8px;
  background: #fff;
  color: #5b6775;
  cursor: pointer;
}

.pngm-listing-more-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 5;
  min-width: 160px;
  padding: 6px;
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(22, 32, 42, 0.12);
}

.pngm-listing-more-menu[hidden] {
  display: none !important;
}

.pngm-listing-more-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: #16202a;
  font-size: 13px;
  text-decoration: none !important;
}

.pngm-listing-more-menu a:hover {
  background: #f4f6f8;
}

.pngm-listing-more-menu a.is-danger {
  color: #c62828;
}

.pngm-listings-empty {
  padding: 28px 20px;
  text-align: center;
  background: #f3faf3;
  border: 1px dashed #c8e6c9;
  border-radius: 14px;
}

.pngm-listings-policy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 16px;
  padding: 12px 14px;
  background: #fff8e6;
  border: 1px solid #f0d9a0;
  border-radius: 10px;
  color: #7a5b12;
  font-size: 13px;
  line-height: 1.45;
}

.pngm-listings-policy i {
  margin-top: 2px;
  flex: 0 0 auto;
}

.pngm-listings-policy p {
  margin: 0;
}

.pngm-listings-empty p {
  margin: 0 0 8px;
  color: #3a4553;
}

.pngm-listings-empty .pngm-ua-btn {
  margin-top: 10px;
}

.pngm-listings-paginate {
  margin-top: 8px;
}

.pngm-listings .is-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Override legacy items-box styles inside new layout */
body.body-ua.pngm-ua-listings .pngm-listings-list.items-box .item,
body#user-items .pngm-listing-card {
  /* keep card styles above */
}

body.body-ua.pngm-ua-listings form[name="user-items-search"].pngm-listings-toolbar {
  display: flex;
  background: #fff;
  border: 1px solid #e6eaf0;
  padding: 12px;
}

@media screen and (max-width: 980px) {
  .pngm-listings-head h1 {
    font-size: 22px;
  }

  .pngm-listings-chip {
    display: none !important;
  }

  .pngm-listings-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .pngm-listings-tab {
    flex: 0 0 auto;
  }

  .pngm-listing-body {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "main meta"
      "actions actions";
  }

  .pngm-listing-main { grid-area: main; }
  .pngm-listing-meta {
    grid-area: meta;
    align-items: flex-end;
    text-align: right;
  }
  .pngm-listing-actions {
    grid-area: actions;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 640px) {
  .pngm-listing-card {
    gap: 10px;
    padding: 12px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .pngm-listing-thumb {
    flex: 0 0 88px;
    width: 88px;
    height: 72px;
  }

  .pngm-listing-body {
    flex: 1 1 calc(100% - 100px);
    min-width: 0;
  }

  .pngm-listing-title {
    font-size: 14px;
    padding-right: 4px;
  }

  /* Same primary actions as desktop: Edit / Deactivate / Preview (+ Renew). */
  .pngm-listing-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    margin-top: 2px;
    padding-top: 10px;
    border-top: 1px solid #eef1f4;
  }

  .pngm-listing-actions .pngm-listing-btn {
    display: inline-flex;
    height: 32px;
    padding: 0 10px;
    font-size: 12px;
    border-radius: 8px;
  }

  .pngm-listing-more {
    margin-left: auto;
  }

  .pngm-listing-more-btn {
    width: 32px;
    height: 32px;
  }

  .pngm-listing-more-menu {
    z-index: 20;
    min-width: 168px;
  }

  .pngm-listings-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .pngm-listings-filters {
    width: 100%;
  }

  .pngm-listings-select {
    flex: 1 1 auto;
  }

  .pngm-listings-select select {
    width: 100%;
    min-width: 0;
  }
}


/* ==========================================================================
   Notification Preferences
   ========================================================================== */

.pngm-notif {
  max-width: 920px;
}

.pngm-notif-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.pngm-notif-head h1 {
  margin: 0 0 4px;
  font-size: 26px;
  font-weight: 800;
  color: #16202a;
}

.pngm-notif-head p {
  margin: 0;
  color: #6b7785;
  font-size: 14px;
}

.pngm-notif-toast {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #e8f5e9;
  color: #1b5e20;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #c8e6c9;
}

.pngm-notif-toast[hidden] {
  display: none !important;
}

.pngm-notif-toast-close {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}

.pngm-notif-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.pngm-notif-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 14px;
  box-sizing: border-box;
  text-align: left;
  width: 100%;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

button.pngm-notif-card {
  appearance: none;
  -webkit-appearance: none;
}

.pngm-notif-card-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pngm-notif-card-copy strong {
  font-size: 15px;
  color: #16202a;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pngm-notif-card-copy em {
  font-style: normal;
  font-size: 13px;
  color: #8a94a0;
}

.pngm-notif-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 11px;
  font-weight: 700;
}

.pngm-notif-pill.is-off {
  background: #fdecea;
  color: #c62828;
}

.pngm-notif-push-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e8f5e9;
  color: #2e7d32;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
}

.pngm-notif-push-panel {
  margin: 0 0 20px;
  padding: 18px 16px;
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 14px;
  box-sizing: border-box;
}

.pngm-notif-push-panel-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.pngm-notif-push-panel-head h2 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: #16202a;
  line-height: 1.3;
}

.pngm-notif-push-panel-head p {
  margin: 0;
  font-size: 13px;
  color: #8a94a0;
  line-height: 1.45;
}

.pngm-notif-push-status {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  border: 1px solid #eef1f5;
  border-radius: 10px;
  overflow: hidden;
}

.pngm-notif-push-status li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-top: 1px solid #eef1f5;
  font-size: 13px;
}

.pngm-notif-push-status li:first-child {
  border-top: 0;
}

.pngm-notif-push-status li span {
  color: #5a6570;
}

.pngm-notif-push-status li strong {
  font-weight: 700;
  color: #16202a;
}

.pngm-notif-push-status li strong.is-ok {
  color: #2e7d32;
}

.pngm-notif-push-status li strong.is-warn {
  color: #b26a00;
}

.pngm-notif-push-status li strong.is-bad {
  color: #c62828;
}

.pngm-notif-push-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.pngm-notif-push-actions .pngm-ua-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#pngm-notif-push-enable:disabled {
  background: #e8ece9 !important;
  color: #6b7780 !important;
  border-color: #d5ddd6 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  pointer-events: none;
}

/* .pngm-ua-btn { display: inline-flex } beats the default [hidden] style. */
.pngm-notif-push-actions .pngm-ua-btn[hidden],
#pngm-notif-push-enable[hidden],
.pngm-notif-push-actions.is-push-on > #pngm-notif-push-enable {
  display: none !important;
}

.pngm-notif-push-enabled {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.pngm-notif-push-enabled[hidden] {
  display: none !important;
}

.pngm-notif-push-actions.is-push-on .pngm-notif-push-enabled {
  display: flex !important;
}

body.pngm-notif-page .pngm-pwa-install {
  display: none !important;
}

.pngm-notif-push-on {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.pngm-notif-push-on i {
  color: #2e7d32;
}

.pngm-notif-push-off {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 4px 2px;
  margin: 0;
  color: #8a94a0;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  line-height: 1.3;
}

.pngm-notif-push-off:hover,
.pngm-notif-push-off:focus {
  color: #c62828;
  outline: none;
}

.pngm-notif-push-off:disabled {
  opacity: 0.6;
  cursor: wait;
}

.pngm-notif-install {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f3f7f3;
  border: 1px solid #d5e4d6;
  color: #1c2833;
}

.pngm-notif-install[hidden] {
  display: none !important;
}

.pngm-notif-install p {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.pngm-notif-install ol {
  margin: 0;
  padding-left: 1.25em;
  list-style: decimal;
  font-size: 13px;
  line-height: 1.45;
  color: #3d4a55;
}

@media screen and (max-width: 767px) {
  .pngm-notif {
    padding-bottom: 88px;
  }
}

.pngm-notif-install li + li {
  margin-top: 6px;
}

.pngm-notif-push-hint {
  margin: 0;
  min-height: 1.2em;
  font-size: 13px;
  color: #5a6570;
  line-height: 1.4;
}

.pngm-notif-push-hint:empty {
  display: none;
}

.pngm-notif-chevron {
  color: #a0aab4;
}

.pngm-notif-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.pngm-notif-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.pngm-notif-switch-ui {
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: #d5dbe3;
  position: relative;
  transition: background 0.15s ease;
  flex: 0 0 44px;
}

.pngm-notif-switch-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(22, 32, 42, 0.2);
  transition: transform 0.15s ease;
}

.pngm-notif-switch input:checked + .pngm-notif-switch-ui {
  background: #2e7d32;
}

.pngm-notif-switch input:checked + .pngm-notif-switch-ui::after {
  transform: translateX(18px);
}

.pngm-notif-switch input:disabled + .pngm-notif-switch-ui {
  opacity: 0.85;
}

.pngm-notif-table-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px 72px;
  gap: 8px;
  padding: 0 8px 8px;
  color: #8a94a0;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.pngm-notif-table-head span:first-child {
  text-align: left;
}

.pngm-notif-section {
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 14px;
  overflow: hidden;
}

.pngm-notif-section h2 {
  margin: 0;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 800;
  color: #16202a;
  border-bottom: 1px solid #eef1f4;
}

.pngm-notif-section h2 span {
  color: #2e7d32;
  margin-right: 4px;
}

.pngm-notif-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px 72px;
  gap: 8px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f2f4;
}

.pngm-notif-row:last-child {
  border-bottom: 0;
}

.pngm-notif-row-label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 14px;
  color: #16202a;
  font-weight: 600;
}

.pngm-notif-row-label small {
  display: inline;
  margin-left: 4px;
  color: #8a94a0;
  font-weight: 500;
  font-size: 12px;
}

.pngm-notif-row-ico {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #f4f6f8;
  color: #5b6775;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
}

.pngm-notif-row .pngm-notif-switch {
  justify-content: center;
}

.pngm-notif-lock {
  font-size: 11px;
  color: #8a94a0;
}

.pngm-notif-digest {
  margin: 8px 0 18px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 14px;
}

.pngm-notif-digest h2 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
  color: #16202a;
}

.pngm-notif-digest > p {
  margin: 0 0 12px;
  color: #8a94a0;
  font-size: 13px;
}

.pngm-notif-digest-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.pngm-notif-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #16202a;
  cursor: pointer;
}

.pngm-notif-radio input {
  accent-color: #2e7d32;
  width: 16px;
  height: 16px;
}

.pngm-notif-actions {
  margin-bottom: 8px;
}

.pngm-notif-save {
  min-width: 180px;
}

.pngm-notif.is-muted .pngm-notif-section:not(:has(.is-mandatory)) {
  opacity: 0.55;
}

.pngm-notif .is-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media screen and (max-width: 760px) {
  .pngm-notif-top {
    grid-template-columns: 1fr;
  }

  .pngm-notif-head {
    flex-direction: column;
  }

  .pngm-notif-save {
    width: 100%;
  }

  #pngm-notif-push-enable {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    position: relative;
    z-index: 6;
    cursor: pointer;
    touch-action: manipulation;
  }

  .pngm-notif-push-actions.is-push-on {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .pngm-notif-push-actions.is-push-on .pngm-notif-push-enabled {
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }

  .pngm-notif-push-actions.is-push-on .pngm-ua-btn {
    width: auto;
  }

  .pngm-notif-table-head,
  .pngm-notif-row {
    grid-template-columns: minmax(0, 1fr) 52px 60px;
  }
}

/* ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ My Profile ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ */
.pngm-profile {
  max-width: 720px;
}

.pngm-profile .pngm-ua-page-head {
  margin: 0 0 22px;
}

.pngm-profile .pngm-ua-page-head .pngm-ua-welcome h1 {
  font-size: 28px;
}

.pngm-profile-photo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 28px;
}

.pngm-profile-photo-btn-wrap {
  position: relative;
  display: inline-flex;
  max-width: 100%;
}

.pngm-profile-photo-btn-wrap .pngm-profile-photo-file {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  font-size: 0;
}

.pngm-profile-avatar {
  position: relative;
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  display: block;
}

.pngm-profile-avatar .user-img,
.pngm-profile-avatar .img-preview {
  width: 88px !important;
  height: 88px !important;
  border-radius: 50%;
  overflow: hidden;
  background: #e8eef3;
  margin: 0 !important;
}

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

.pngm-profile-avatar-cam {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2e7d32;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(22, 32, 42, 0.18);
}

.pngm-profile-photo-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}

.pngm-profile-photo-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 18px !important;
  border: 1.5px solid #2e7d32 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #2e7d32 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  font-family: inherit;
  cursor: pointer;
  box-shadow: none !important;
  position: relative;
  z-index: 1;
}

.pngm-profile-photo-btn:disabled {
  cursor: wait;
}

.pngm-profile-photo-btn:hover {
  background: #e8f5e9 !important;
}

.pngm-profile-photo-hint {
  font-size: 12px;
  color: #8a94a0;
}

.pngm-profile-photo-remove {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 2px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  text-align: left;
  text-decoration: underline;
}

.pngm-profile-photo-remove:hover {
  color: #b91c1c;
}

.pngm-profile-upload-raw > a.start-image-upload,
.pngm-profile-upload-raw > a.remove-profile-picture,
a.pngm-profile-upload-hidden {
  position: absolute !important;
  left: -9999px !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

.pngm-profile-upload-raw {
  position: relative;
  width: 100%;
}

.pngm-profile .pp-uploader {
  margin-top: 12px;
  border-radius: 12px;
  width: 100%;
  box-sizing: border-box;
}

.pngm-profile-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pngm-profile-field label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.pngm-profile-control {
  position: relative;
  display: flex;
  align-items: center;
}

.pngm-profile-control input[type="text"],
.pngm-profile-control input[type="password"],
.pngm-profile-control input[type="email"],
.pngm-profile-control input:not([type]),
.pngm-profile-control select,
.pngm-profile-control textarea,
.pngm-profile-field input[type="text"],
.pngm-profile-field select,
.pngm-profile-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #d5dde6;
  border-radius: 10px;
  background: #fff;
  color: #16202a;
  font-size: 15px;
  line-height: 1.35;
  box-sizing: border-box;
  box-shadow: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.pngm-profile-control.is-select::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #6b7785;
  border-bottom: 2px solid #6b7785;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.pngm-profile-control.is-select select {
  padding-right: 36px;
}

.pngm-profile-control input:focus,
.pngm-profile-control select:focus,
.pngm-profile-control textarea:focus {
  border-color: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}

.pngm-profile-control.has-badge input {
  padding-right: 92px;
}

.pngm-profile-badge {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e8f5e9;
  color: #1b5e20;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.pngm-profile-phone {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid #d5dde6;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  min-height: 46px;
}

.pngm-profile-phone:focus-within {
  border-color: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}

.pngm-profile-phone-cc {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border-right: 1px solid #e6eaf0;
  background: #f8fafb;
  white-space: nowrap;
}

.pngm-profile-phone-cc select {
  min-height: 44px !important;
  width: auto !important;
  max-width: 148px;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 8px 28px 8px 10px !important;
  font-size: 13px !important;
  font-weight: 600;
  color: #16202a;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%238a94a0' d='M1 1l4 4 4-4'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
}

.pngm-profile-phone-cc select:focus {
  outline: none;
  box-shadow: none !important;
}

.pngm-profile-phone input {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 44px;
  flex: 1 1 auto;
}

.pngm-profile-phone.has-badge input {
  padding-right: 92px;
}

.pngm-profile-field-zip {
  max-width: 220px;
}

.pngm-profile-control.is-textarea {
  display: block;
}

.pngm-profile-control.is-textarea textarea {
  min-height: 110px;
  resize: vertical;
  padding-bottom: 28px;
}

.pngm-profile-control.is-textarea .tabber,
.pngm-profile-control.is-textarea .tabbertab {
  width: 100%;
}

.pngm-profile-counter {
  position: absolute;
  right: 12px;
  bottom: 8px;
  font-size: 12px;
  color: #8a94a0;
  pointer-events: none;
}

.pngm-profile-field.is-country-auto {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.pngm-profile-hooks:empty {
  display: none;
}

.pngm-profile-accords {
  margin: 22px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pngm-profile-accord {
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.pngm-profile-accord summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #16202a;
  user-select: none;
}

.pngm-profile-accord summary::-webkit-details-marker {
  display: none;
}

.pngm-profile-accord summary i {
  color: #8a94a0;
  font-size: 12px;
  transition: transform 0.18s ease;
}

.pngm-profile-accord[open] summary i {
  transform: rotate(180deg);
}

.pngm-profile-accord-body {
  padding: 0 16px 16px;
  border-top: 1px solid #eef1f4;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pngm-profile-accord-body > p {
  margin: 12px 0 0;
  font-size: 14px;
  color: #6b7785;
  line-height: 1.45;
}

.pngm-profile-accord-body .pngm-profile-field {
  margin-top: 12px;
}

.pngm-profile-accord-note {
  margin: 0;
  font-size: 14px;
}

.pngm-profile-accord-note a {
  color: #2e7d32;
  font-weight: 600;
  text-decoration: none;
}

.pngm-profile-accord-note a:hover {
  text-decoration: underline;
}

.pngm-profile-accord-note.is-danger a {
  color: #b91c1c;
}

.pngm-profile-sec-block h3 {
  margin: 12px 0 4px;
  font-size: 14px;
  color: #16202a;
}

.pngm-profile-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pngm-profile-actions .pngm-ua-btn,
.pngm-profile-save,
.pngm-profile-cancel {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
}

.pngm-profile-actions.is-inline {
  flex-direction: row;
  justify-content: flex-start;
}

.pngm-profile-actions.is-inline .pngm-ua-btn {
  width: auto;
  min-width: 140px;
}

.pngm-profile-alt {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #eef1f4;
}

.pngm-profile-alt h2 {
  margin: 0 0 14px;
  font-size: 18px;
  color: #16202a;
}

.pngm-profile-control.has-toggle {
  position: relative;
}

.pngm-profile-control.has-toggle .toggle-pass {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #8a94a0;
}

@media screen and (max-width: 720px) {
  .pngm-profile-photo {
    flex-direction: column;
    align-items: flex-start;
  }

  .pngm-profile-head h1 {
    font-size: 24px;
  }

  .pngm-profile-field-zip {
    max-width: none;
  }
}

/* ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ Public Seller Profile (design match) ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ */
body.pngm-ua-seller #user-main.pngm-seller,
body.pngm-ua-seller-guest .pngm-seller {
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}

/* Guest / other-seller public profile: parent #user-main reserves ~200px for a sidebar that is not shown. */
body.pngm-ua-seller-guest .container.primary.pngm-seller-shell {
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}

body.pngm-ua-seller-guest #user-main,
body.pngm-ua-seller-guest #user-main.pngm-seller {
  float: none;
  width: 100% !important;
  max-width: 100%;
  margin: 0;
}

.pngm-seller-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: 12px 16px 40px;
  box-sizing: border-box;
}

.pngm-seller-topbar {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 14px;
}

.pngm-seller-panel {
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 16px;
  padding: 28px 28px 32px;
  box-sizing: border-box;
}

.pngm-seller-hero {
  text-align: left;
  margin: 0;
  padding: 0;
}

.pngm-seller-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 22px;
}

.pngm-seller-identity {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  min-width: 0;
  flex: 1 1 auto;
}

.pngm-seller-avatar {
  flex: 0 0 auto;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  overflow: hidden;
  background: #e9eef3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

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

.pngm-seller-id-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.pngm-seller-name {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.pngm-seller-verified {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: #2e7d32;
  font-size: 14px;
  font-weight: 700;
}

.pngm-seller-verified i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2e7d32;
  color: #fff;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pngm-seller-since {
  font-size: 13px;
  color: #8a94a0;
  line-height: 1.35;
}

.pngm-seller-badges {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.pngm-seller-badges li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eaf6eb;
  color: #1b5e20;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.pngm-seller-badges i {
  color: #2e7d32;
  font-size: 13px;
}

.pngm-seller-loc {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.4;
}

.pngm-seller-loc i {
  color: #9aa3af;
  font-size: 14px;
}

.pngm-seller-rule {
  border: 0;
  border-top: 1px solid #e6eaf0;
  margin: 20px 0;
}

.pngm-seller-about {
  margin: 0 0 20px;
}

.pngm-seller-about h2 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

.pngm-seller-about-box {
  position: relative;
  padding: 0;
}

.pngm-seller-about-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #4b5563;
}

.pngm-seller-about-box p.pngm-seller-about-empty {
  color: #9aa3af;
  font-style: italic;
}

.pngm-seller-about-count {
  display: none;
}

a.pngm-seller-msg {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 12px !important;
  background: #2e7d32 !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  border: 0 !important;
  box-sizing: border-box;
  box-shadow: none !important;
}

a.pngm-seller-msg.pngm-seller-msg-top {
  width: auto;
  flex: 0 0 auto;
  align-self: center;
  min-width: 168px;
  white-space: nowrap;
}

a.pngm-seller-msg:hover {
  background: #256b29 !important;
  color: #fff !important;
}

/* Instant Messenger injects a.im-contact2 on public profiles — hide it. */
body.pngm-ua-seller a.im-contact2,
body.pngm-ua-seller-guest a.im-contact2,
.pngm-seller a.im-contact2 {
  display: none !important;
}

.pngm-seller-listings {
  padding: 0;
  background: transparent;
  border: 0;
}

.pngm-seller-listings-title {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

/* Search + category + sort on one row */
form.pngm-seller-toolbar[name="user-public-profile-search"],
.pngm-seller form[name="user-public-profile-search"].pngm-seller-toolbar {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 0 14px !important;
  width: 100% !important;
  float: none !important;
}

.pngm-seller-toolbar .pngm-seller-search {
  float: none !important;
  flex: 1 1 auto;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

.pngm-seller-toolbar .pngm-seller-filters {
  float: none !important;
  display: flex !important;
  flex: 0 0 auto;
  flex-direction: row !important;
  align-items: center;
  gap: 10px !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-template-columns: none !important;
}

.pngm-seller-search {
  position: relative;
  box-sizing: border-box;
}

.pngm-seller-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa3af;
  pointer-events: none;
  z-index: 1;
}

.pngm-seller-search input {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 46px;
  padding: 12px 14px 12px 42px !important;
  border: 1px solid #d5dde6 !important;
  border-radius: 10px !important;
  font-size: 14px;
  color: #111827;
  background: #fff !important;
  box-sizing: border-box !important;
  float: none !important;
}

.pngm-seller-select {
  position: relative;
  width: auto;
  min-width: 160px;
  flex: 0 0 auto;
}

.pngm-seller-select::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid #6b7785;
  border-bottom: 2px solid #6b7785;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
  z-index: 1;
}

.pngm-seller-select select {
  width: 100% !important;
  max-width: 220px !important;
  min-width: 160px !important;
  min-height: 46px;
  padding: 12px 36px 12px 14px !important;
  border: 1px solid #d5dde6 !important;
  border-radius: 10px !important;
  background: #fff !important;
  font-size: 14px;
  color: #111827;
  appearance: none !important;
  -webkit-appearance: none !important;
  box-sizing: border-box !important;
  float: none !important;
}

.pngm-seller-count {
  margin: 4px 0 16px;
  font-size: 13px;
  color: #6b7785;
}

/* 4-up like the search results grid, so a listing card is the same size here. */
.pngm-seller-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.pngm-seller-item {
  display: flex;
  flex-direction: column;
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  text-decoration: none !important;
  color: inherit;
  min-width: 0;
}

.pngm-seller-item:hover {
  border-color: #c8e6c9;
}

/* Match the 4:3 thumb the search grid uses — square thumbs made these cards
   noticeably taller than the same listing elsewhere on the site. */
.pngm-seller-item-media {
  display: block;
  aspect-ratio: 4 / 3;
  background: #f3f5f7;
  overflow: hidden;
}

.pngm-seller-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pngm-seller-item-empty {
  display: block;
  width: 100%;
  height: 100%;
  background: #e9eef3;
}

.pngm-seller-item-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px 12px;
  min-width: 0;
}

.pngm-seller-item-title {
  font-size: 14px;
  font-weight: 700;
  color: #16202a;
  line-height: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pngm-seller-item-price {
  font-style: normal;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  color: #006b24;
}

.pngm-seller-item-city,
.pngm-seller-item-time {
  font-size: 12px;
  color: #8a94a0;
  line-height: 1.35;
}

.pngm-seller-empty {
  padding: 28px 12px;
  text-align: center;
  color: #6b7785;
  font-size: 14px;
}

.pngm-seller-paginate {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.pngm-seller-paginate a,
.pngm-seller-paginate span {
  min-width: 34px;
  height: 34px;
  margin: 0 3px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
}

.pngm-seller-paginate .searchPaginationSelected a,
.pngm-seller-paginate .searchPaginationSelected span {
  background: #2e7d32;
  color: #fff !important;
}

.pngm-seller .is-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media screen and (max-width: 1200px) {
  .pngm-seller-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 980px) {
  .pngm-seller-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 720px) {
  .pngm-seller-panel {
    padding: 18px 14px 22px;
    border-radius: 14px;
  }

  .pngm-seller-hero-top {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 18px;
  }

  .pngm-seller-identity {
    gap: 16px;
    margin: 0;
  }

  a.pngm-seller-msg.pngm-seller-msg-top {
    width: 100%;
    min-width: 0;
    align-self: stretch;
  }

  .pngm-seller-avatar {
    width: 108px;
    height: 108px;
    font-size: 32px;
  }

  .pngm-seller-name {
    font-size: 20px;
  }

  .pngm-seller-about h2,
  .pngm-seller-listings-title {
    font-size: 18px;
  }

  .pngm-seller-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  form.pngm-seller-toolbar[name="user-public-profile-search"],
  .pngm-seller form[name="user-public-profile-search"].pngm-seller-toolbar {
    flex-wrap: wrap !important;
  }

  .pngm-seller-toolbar .pngm-seller-search {
    flex: 1 1 100%;
  }

  .pngm-seller-toolbar .pngm-seller-filters {
    flex: 1 1 100%;
    width: 100% !important;
  }

  .pngm-seller-select {
    flex: 1 1 0;
    min-width: 0;
  }

  .pngm-seller-select select {
    max-width: none !important;
    width: 100% !important;
  }

  .pngm-seller-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pngm-seller-item {
    flex-direction: row;
  }

  .pngm-seller-item-media {
    flex: 0 0 108px;
    width: 108px;
    aspect-ratio: auto;
    min-height: 96px;
  }

  .pngm-seller-item-body {
    justify-content: center;
  }
}

/* ÃÂÃÂÃÂÃÂ Business Profile (BPR) redesign ÃÂÃÂÃÂÃÂ */
.pngm-ua-bpr .pngm-bpr-wrap,
.pngm-ua-bpr .user-custom-box.pngm-bpr-wrap {
  max-width: 820px;
}

.pngm-bpr.bpr-body,
.pngm-bpr.bpr-prof {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
  max-width: none !important;
}

.pngm-bpr {
  color: #16202a;
}

.pngm-bpr .bpr-inside,
.pngm-bpr h2:not(.pngm-bpr-h2) {
  display: contents;
}

.pngm-bpr-flash {
  margin-bottom: 16px;
}

.pngm-bpr-head {
  margin: 0 0 28px;
}

.pngm-bpr-head h1 {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #111827;
}

.pngm-bpr-head p {
  margin: 0;
  font-size: 14px;
  color: #6b7785;
}

.pngm-bpr-sec {
  margin: 0 0 28px;
  padding: 0 0 8px;
}

.pngm-bpr-h2 {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 700;
  color: #111827;
}

.pngm-bpr-optional {
  font-weight: 500;
  color: #8a94a0;
  font-size: 14px;
}

.pngm-bpr-field {
  margin: 0 0 14px;
}

.pngm-bpr-field label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.pngm-bpr-field .req {
  color: #dc2626;
}

.pngm-bpr-field input[type="text"],
.pngm-bpr-field input[type="email"],
.pngm-bpr-field input[type="url"],
.pngm-bpr-field input:not([type]),
.pngm-bpr-field textarea,
.pngm-bpr-select select,
.pngm-bpr-social-input input,
.pngm-bpr-control input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d5dbe3;
  border-radius: 10px;
  min-height: 46px;
  padding: 11px 14px;
  font-size: 14px;
  line-height: 1.35;
  font-family: inherit;
  color: #16202a;
  background: #fff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pngm-bpr-field textarea {
  min-height: 120px;
}

.pngm-bpr-field input:focus,
.pngm-bpr-field textarea:focus,
.pngm-bpr-select select:focus,
.pngm-bpr-social-input input:focus,
.pngm-bpr-control input:focus {
  border-color: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}

.pngm-bpr-field input:disabled,
.pngm-bpr-control input:disabled {
  background: #f5f7fa;
  color: #6b7785;
}

.pngm-bpr-field.is-country-auto {
  display: none;
}

.pngm-bpr-select {
  position: relative;
}

.pngm-bpr-select select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238a94a0' d='M1.4.6L6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  text-overflow: ellipsis;
}

.pngm-bpr-control {
  position: relative;
  display: block;
  width: 100%;
}

.pngm-bpr-control.has-badge input {
  padding-right: 96px;
}

.pngm-bpr-control .pngm-profile-badge {
  gap: 5px;
}

.pngm-bpr-control .pngm-profile-badge i {
  font-size: 11px;
}

.pngm-bpr-about-block,
.pngm-bpr-media-block {
  display: block;
  width: 100%;
  max-width: 100%;
  clear: both;
  float: none;
}

.pngm-bpr.bpr-prof .pngm-bpr-about-block,
.pngm-bpr.bpr-prof .pngm-bpr-about,
.pngm-bpr.bpr-prof .pngm-bpr-textarea-wrap {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  clear: both;
}

.pngm-bpr.bpr-prof textarea,
.pngm-bpr.bpr-prof #bpr-about,
.pngm-bpr .pngm-bpr-textarea-wrap textarea {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  height: auto !important;
  min-height: 110px;
  display: block;
  box-sizing: border-box;
}

.pngm-bpr-about-block {
  margin: 0 0 28px;
}

.pngm-bpr-media-block {
  margin: 0 0 0;
  padding: 0 0 28px;
  border-bottom: 1px solid #e6eaf0;
}

.pngm-bpr-sec-contact {
  margin-top: 28px;
  padding-top: 4px;
}

.pngm-bpr-grid {
  display: grid;
  gap: 14px;
}

.pngm-bpr-grid-2 {
  grid-template-columns: 1fr 1fr;
}

.pngm-bpr-grid-address {
  grid-template-columns: 2fr 1fr;
}

.pngm-bpr-grid-bank {
  grid-template-columns: 1fr 1fr 1fr;
}

.pngm-bpr-textarea-wrap {
  position: relative;
  display: block;
}

.pngm-bpr-textarea-wrap textarea {
  display: block;
  width: 100%;
  min-height: 110px;
  resize: vertical;
  padding: 12px 14px 28px;
  box-sizing: border-box;
}

.pngm-bpr-counter {
  position: absolute !important;
  right: 12px !important;
  bottom: 10px !important;
  top: auto !important;
  left: auto !important;
  font-size: 12px;
  color: #8a94a0;
  pointer-events: none;
  z-index: 1;
}

.pngm-bpr-media {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px 64px;
  width: 100%;
}

.pngm-bpr-logo,
.pngm-bpr-cover {
  flex: 0 0 auto;
}

.pngm-bpr-logo > label,
.pngm-bpr-cover > label {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.pngm-bpr-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pngm-bpr-logo-preview {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: #eceff3;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 0;
}

.pngm-bpr-logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pngm-bpr-initials {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #6b7280;
}

.pngm-bpr-logo-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.pngm-bpr-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 18px;
  border: 1.5px solid #2e7d32;
  border-radius: 8px;
  color: #2e7d32;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
}

.pngm-bpr-btn-outline:hover {
  background: #f1f8f2;
}

.pngm-bpr-hint {
  margin: 0;
  font-size: 12px;
  color: #8a94a0;
  line-height: 1.35;
}

.pngm-bpr-cover .pngm-bpr-hint {
  margin-top: 8px;
}

.pngm-bpr-rem {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  color: #b91c1c;
  text-decoration: none;
}

.pngm-bpr-file-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

.pngm-bpr-cover-box {
  position: relative;
  width: 220px;
  max-width: 100%;
}

.pngm-bpr-cover-preview {
  position: relative;
  width: 100%;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  background: #eef1f4;
  border: 1px solid #d5dbe3;
}

.pngm-bpr-cover-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pngm-bpr-cover-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 13px;
  color: #8a94a0;
}

.pngm-bpr-cover-box .pngm-bpr-cover-upload {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #374151;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  z-index: 2;
  font-size: 12px;
}

.pngm-bpr-phone {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid #d5dbe3;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  min-height: 46px;
  height: 46px;
  box-sizing: border-box;
}

.pngm-bpr-phone:focus-within {
  border-color: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}

.pngm-bpr-phone-cc {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin: 0;
  padding: 0 8px 0 12px;
  border-right: 1px solid #e5e7eb;
  background: #f8fafc;
  min-width: 54px;
}

.pngm-bpr-phone-flag {
  font-size: 18px;
  line-height: 1;
  pointer-events: none;
}

.pngm-bpr-phone-cc select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
}

.pngm-bpr-phone-cc::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 5px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #8a94a0;
  pointer-events: none;
}

.pngm-bpr-phone-prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 0 0 12px;
  font-size: 14px;
  color: #16202a;
  white-space: nowrap;
  flex: 0 0 auto;
}

.pngm-bpr-phone input {
  flex: 1 1 auto;
  min-width: 0;
  width: auto !important;
  min-height: 44px !important;
  height: 44px !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 12px 0 6px !important;
  background: transparent !important;
}

.pngm-bpr-control:not(.pngm-bpr-phone) {
  height: 46px;
}

.pngm-bpr-control:not(.pngm-bpr-phone) > input {
  height: 46px;
  min-height: 46px;
}

.pngm-bpr-summary {
  list-style: none;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #16202a;
  user-select: none;
}

.pngm-bpr-summary::-webkit-details-marker {
  display: none;
}

.pngm-bpr-summary i {
  color: #8a94a0;
  font-size: 12px;
  transition: transform 0.18s ease;
}

.pngm-bpr-accord[open] > .pngm-bpr-summary i {
  transform: rotate(180deg);
}

.pngm-bpr-accord-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pngm-bpr-hours-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
}

.pngm-bpr-hours-day {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.pngm-bpr-hours-times {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.pngm-bpr-hours-times .pngm-bpr-select {
  flex: 1;
  min-width: 0;
}

.pngm-bpr-hours-dash {
  color: #8a94a0;
  flex-shrink: 0;
}

.pngm-bpr-hours-row.is-closed .pngm-bpr-hours-to {
  opacity: 0.35;
  pointer-events: none;
}

.pngm-bpr-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.pngm-bpr-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.pngm-bpr-switch-ui {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #d1d5db;
  position: relative;
  transition: background 0.18s ease;
}

.pngm-bpr-switch-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.18s ease;
}

.pngm-bpr-switch input:checked + .pngm-bpr-switch-ui {
  background: #2e7d32;
}

.pngm-bpr-switch input:checked + .pngm-bpr-switch-ui::after {
  transform: translateX(20px);
}

.pngm-ua-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.pngm-bpr-pay-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pngm-bpr-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #d5dbe3;
  background: #fff;
  color: #374151;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.pngm-bpr-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pngm-bpr-chip i {
  display: none;
  font-size: 10px;
  opacity: 0.7;
}

.pngm-bpr-chip.is-on {
  background: #e8f5e9;
  border-color: #c8e6c9;
  color: #1b5e20;
}

.pngm-bpr-chip.is-on i {
  display: inline;
}

.pngm-bpr-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pngm-bpr-gal-item,
.pngm-bpr-gal-add {
  width: 104px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: #eef1f4;
  border: 1px solid #d5dbe3;
}

.pngm-bpr-gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pngm-bpr-gal-del {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  text-decoration: none;
}

.pngm-bpr-gal-add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-style: dashed;
  color: #6b7785;
  cursor: pointer;
  background: #fafbfc;
  font-size: 12px;
  font-weight: 600;
}

.pngm-bpr-gal-add:hover {
  border-color: #2e7d32;
  color: #2e7d32;
}

.pngm-bpr-gal-pending {
  border-style: dashed;
  border-color: #2e7d32;
}

.pngm-bpr-gal-pending em {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2px 4px;
  background: rgba(46, 125, 50, 0.85);
  color: #fff;
  font-size: 9px;
  font-style: normal;
  text-align: center;
}

.pngm-bpr-gal-pending-name {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 6px;
  font-size: 10px;
  text-align: center;
  word-break: break-all;
  color: #374151;
}

.pngm-bpr-gal-hint {
  margin-top: 8px;
  color: #2e7d32;
  font-weight: 600;
}

.pngm-bpr-social-input {
  display: flex;
  align-items: stretch;
  border: 1px solid #d5dbe3;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.pngm-bpr-social-input:focus-within {
  border-color: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}

.pngm-bpr-social-ico {
  width: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f7fa;
  color: #4b5563;
  border-right: 1px solid #e5e7eb;
}

.pngm-bpr-social-input input {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.pngm-bpr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  padding-top: 8px;
}

.pngm-bpr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  box-sizing: border-box;
}

.pngm-bpr-btn-primary {
  background: #2e7d32;
  color: #fff !important;
  border-color: #2e7d32;
}

.pngm-bpr-btn-primary:hover {
  background: #256b29;
}

.pngm-bpr-btn-secondary {
  background: #fff;
  color: #16202a !important;
  border-color: #d5dbe3;
}

.pngm-bpr-btn-secondary:hover {
  background: #f8fafc;
}

.pngm-bpr-btn-danger {
  background: #fff;
  color: #b91c1c !important;
  border-color: #f1a8a8;
}

.pngm-bpr-btn-danger:hover {
  background: #fef2f2;
}

.pngm-bpr-btn.is-disabled,
.pngm-bpr-btn:disabled {
  opacity: 0.55;
  pointer-events: none;
}

@media (max-width: 767px) {
  .pngm-bpr-head h1 {
    font-size: 24px;
  }

  .pngm-bpr-h2-desk {
    display: none;
  }

  .pngm-bpr-accord {
    border: 1px solid #e6eaf0;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
  }

  .pngm-bpr-summary {
    display: flex;
  }

  .pngm-bpr-accord-body {
    padding: 0 16px 16px;
    border-top: 1px solid #eef1f4;
  }

  .pngm-bpr-accord:not([open]) .pngm-bpr-accord-body {
    display: none;
  }

  .pngm-bpr-grid-2,
  .pngm-bpr-grid-address,
  .pngm-bpr-grid-bank {
    grid-template-columns: 1fr;
  }

  .pngm-bpr-media {
    flex-direction: column;
    gap: 20px;
  }

  .pngm-bpr-cover-box {
    width: 100%;
    max-width: none;
  }

  .pngm-bpr-cover-preview {
    height: 120px;
  }

  .pngm-bpr-hours-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "day switch"
      "times times";
  }

  .pngm-bpr-hours-day { grid-area: day; }
  .pngm-bpr-switch { grid-area: switch; }
  .pngm-bpr-hours-times { grid-area: times; }

  .pngm-bpr-actions {
    flex-direction: column;
  }

  .pngm-bpr-btn {
    width: 100%;
  }

  .pngm-bpr-cover-box {
    max-width: none;
  }
}

/* ==========================================================================
   Messages â list + classic chat board
   ========================================================================== */

body.pngm-ua-messages #user-main.pngm-messages-panel,
body.pngm-ua-messages .user-custom-box {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

body.pngm-ua-messages .pngm-im .im-head,
body.pngm-ua-messages .pngm-im .im-vertical {
  display: none !important;
}

.pngm-im {
  width: 100%;
}

.pngm-im-split,
.pngm-im-chat-layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  width: 100%;
  min-height: 0;
  height: 100%;
}

.pngm-im-list-pane,
.pngm-im-thread-pane,
.pngm-im-board-pane {
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}

.pngm-im-board-pane {
  padding: 28px 24px 18px;
  position: relative;
  background: #fff !important;
  border: 1px solid #e6eaf0;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(16, 32, 42, .04);
}

.pngm-im-board-pane.is-loading {
  pointer-events: none;
}

.pngm-im-board-pane.is-loading > *:not(.pngm-im-board-loading) {
  opacity: 0.35;
  filter: grayscale(0.05);
}

.pngm-im-board-loading {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(1px);
  border-radius: inherit;
  pointer-events: none;
}

.pngm-im-board-loading-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e6eaf0;
  box-shadow: 0 8px 24px rgba(16, 32, 42, 0.08);
  color: #243447;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.pngm-im-board-loading-card .fa-spinner {
  color: #16a34a;
  font-size: 16px;
}

.pngm-im-page-loading {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(246, 248, 250, 0.82);
  backdrop-filter: blur(2px);
}

.pngm-im-page-loading[hidden] {
  display: none !important;
}

.pngm-im-page-loading-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e6eaf0;
  box-shadow: 0 10px 28px rgba(16, 32, 42, 0.1);
  color: #243447;
  font-size: 14px;
  font-weight: 600;
}

.pngm-im-page-loading-card .fa-spinner {
  color: #16a34a;
}

.pngm-im-board-pane > .im-file-messages {
  float: none !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  max-width: 100%;
  min-height: 0 !important;
  height: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: hidden !important;
}

.pngm-im-board-pane .im-alt-head {
  float: none !important;
  clear: both !important;
  display: flow-root !important;
  width: 100% !important;
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
  overflow: hidden;
}

/* Remove-thread visual confirm (replaces browser alert) */
.pngm-im-confirm {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.pngm-im-confirm[hidden] {
  display: none !important;
}

.pngm-im-confirm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 32, 42, 0.48);
}

.pngm-im-confirm-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  padding: 28px 24px 22px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(22, 32, 42, 0.22);
  text-align: center;
  box-sizing: border-box;
}

.pngm-im-confirm-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 20px;
}

.pngm-im-confirm-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #16202a;
}

.pngm-im-confirm-msg {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.5;
  color: #5b6570;
}

.pngm-im-confirm-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.pngm-im-confirm-btn {
  flex: 1 1 0;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #d7dee6;
  background: #fff;
  color: #16202a;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.pngm-im-confirm-btn.is-cancel:hover {
  background: #f7f9fb;
  border-color: #c5ced8;
}

.pngm-im-confirm-btn.is-danger {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #fff;
}

.pngm-im-confirm-btn.is-danger:hover {
  background: #991b1b;
  border-color: #991b1b;
}

body.pngm-im-confirm-open {
  overflow: hidden;
}

@media screen and (max-width: 480px) {
  .pngm-im-confirm-dialog {
    padding: 24px 18px 18px;
  }

  .pngm-im-confirm-actions {
    flex-direction: column-reverse;
  }
}

.pngm-im-board-pane .im-alt-head .im-head2,
.pngm-im-board-pane .im-alt-head .im-subhead2 {
  float: none !important;
  clear: none !important;
  width: 100% !important;
  display: block !important;
}

.pngm-im-board-pane .im-alt-head .im-head2 {
  margin: 0 0 6px 0 !important;
  position: relative !important;
  padding-right: 200px !important;
}

.pngm-im-chat-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  width: 100%;
  padding-right: 0;
}

.pngm-im-chat-peer {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #16202a;
  line-height: 1.25;
}

.pngm-im-chat-role.is-buyer,
.pngm-im-chat-role.is-seller {
  display: none !important;
}

.pngm-im-chat-role {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: #5a6570;
}

.pngm-im-chat-role.is-seller {
  color: #0e6e40;
}

.pngm-im-chat-role.is-buyer {
  color: #1d4ed8;
}

.pngm-im-chat-role.is-general {
  color: #5a6570;
  font-weight: 500;
}

.pngm-im-chat-listing {
  display: inline-block;
  max-width: 100%;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef2f6;
  color: #16202a;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pngm-im-chat-role.is-seller .pngm-im-chat-listing {
  background: #e7f7ef;
  color: #0e6e40;
}

.pngm-im-chat-role.is-buyer .pngm-im-chat-listing {
  background: #e8effc;
  color: #1d4ed8;
}

.pngm-im-listing-card.is-seller .im-item-label {
  color: #0e6e40 !important;
  font-weight: 700;
}

.pngm-im-listing-card.is-buyer .im-item-label {
  color: #1d4ed8 !important;
  font-weight: 700;
}

.pngm-im-board-pane .im-alt-head .im-subhead2 {
  margin: 0 !important;
}

.pngm-im-board-pane .im-row.im-item-context,
.pngm-im-board-pane .im-row.im-offer {
  float: none !important;
  clear: both !important;
  display: flex !important;
  width: 100% !important;
  margin: 10px 0 24px 0 !important;
}

.pngm-im-list-head {
  padding: 18px 18px 8px;
}

.pngm-im-list-head h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: #16202a;
}

.pngm-im-search {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 16px 12px;
  padding: 0 14px 0 40px;
  height: 44px;
  border: 1px solid #e1e6ec;
  border-radius: 12px;
  background: #f7f9fb;
  box-sizing: border-box;
}

.pngm-im-search > i.fa-search,
.pngm-im-search > i.fas {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #8a94a0;
  font-size: 14px;
  pointer-events: none;
  z-index: 1;
}

.pngm-im-search input,
.pngm-im-search input#pngm-im-search-input,
body.pngm-ua-messages .pngm-im-search input {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  font-size: 14px !important;
  line-height: 20px !important;
  color: #16202a !important;
  min-width: 0;
  -webkit-appearance: none;
  appearance: none;
}

.pngm-im-search input:focus,
.pngm-im-search input#pngm-im-search-input:focus,
body.pngm-ua-messages .pngm-im-search input:focus {
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent !important;
}

.pngm-im-search:focus-within {
  border-color: #c8e6c9;
  background: #fff;
}

.pngm-im-convo-list {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0 0 8px;
}

.pngm-im-convo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 0;
  border-bottom: 1px solid #e6ebf0;
  text-decoration: none !important;
  color: inherit;
  transition: background 0.15s ease;
}

.pngm-im-convo:last-child {
  border-bottom: 0;
}

.pngm-im-convo:hover,
.pngm-im-convo.is-active {
  background: #f3faf4;
}

.pngm-im-convo.is-unread .pngm-im-convo-top strong {
  color: #1b5e20;
}

.pngm-im-convo-av {
  position: relative;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: visible;
  background: #e8f5e9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pngm-im-convo-av img,
.pngm-im-convo-av .pngm-im-convo-initials {
  border-radius: 50%;
  overflow: hidden;
}

.pngm-im-convo-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #006b24;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
  z-index: 1;
}

.pngm-ua-nav-count[hidden],
.pngm-ua-nav-count[data-pngm-badge][hidden] {
  display: none !important;
}

.pngm-im-convo-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pngm-im-convo-initials {
  font-size: 15px;
  font-weight: 800;
  color: #2e7d32;
}

.pngm-im-convo-listing-thumb {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  overflow: hidden;
  border: 2px solid #fff;
  background: #f4f6f8;
  box-shadow: 0 1px 2px rgba(22, 32, 42, 0.12);
  z-index: 2;
}

.pngm-im-convo-listing-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
}

.pngm-im-convo-listing {
  display: block;
  font-size: 12px;
  line-height: 1.3;
  color: #2e7d32;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 1px 0 2px;
}

.pngm-im-listing-card {
  margin: 0 0 4px !important;
  padding: 0 !important;
}

.pngm-im-listing-card-link {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 10px;
  background: #f7f9fb;
  border: 1px solid #eef1f4;
  text-decoration: none !important;
  color: inherit;
}

.pngm-im-listing-card-thumb {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  background: #e8edf2;
}

.pngm-im-listing-card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pngm-im-listing-card-meta {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pngm-im-listing-card-meta .im-item-label {
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.pngm-im-listing-card-meta .im-item-title {
  font-weight: 700;
  font-size: 13px;
  line-height: 1.25;
  color: #16202a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pngm-im-listing-card-meta .im-item-price {
  color: #2e7d32;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.2;
}

.pngm-im-convo-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.pngm-im-convo-top,
.pngm-im-convo-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pngm-im-convo-top strong {
  font-size: 14px;
  font-weight: 700;
  color: #16202a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pngm-im-convo-top time,
.pngm-im-convo-bottom em {
  font-style: normal;
  font-size: 12px;
  color: #8a94a0;
  white-space: nowrap;
}

.pngm-im-convo-bottom em {
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 auto;
}

.pngm-im-unread-dot {
  flex: 0 0 auto;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #2e7d32;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pngm-im-empty {
  text-align: center;
  padding: 36px 16px;
  color: #6b7785;
}

.pngm-im-empty i {
  display: block;
  margin: 0 auto 10px;
  font-size: 28px;
  color: #2e7d32;
}

.pngm-im-board-pane--idle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 32px 24px;
}

.pngm-im-board-placeholder {
  text-align: center;
  max-width: 300px;
  color: #6b7785;
  font-size: 15px;
  line-height: 1.45;
}

.pngm-im-board-placeholder i {
  display: block;
  margin: 0 auto 14px;
  font-size: 36px;
  color: #2e7d32;
  opacity: 0.85;
}

.pngm-im-board-placeholder p {
  margin: 0;
}

.pngm-im-thread-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid #eef1f4;
}

.pngm-im-back {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #16202a;
  text-decoration: none !important;
}

.pngm-im-thread-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #e8f5e9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
}

.pngm-im-thread-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pngm-im-thread-meta {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.pngm-im-thread-meta strong {
  font-size: 15px;
  color: #16202a;
}

.pngm-im-thread-meta small {
  font-size: 12px;
  color: #2e7d32;
}

.pngm-im-more {
  position: relative;
}

.pngm-im-more-btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  color: #5b6775;
  cursor: pointer;
}

.pngm-im-more-menu {
  position: absolute;
  right: 0;
  top: 40px;
  min-width: 180px;
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(22, 32, 42, 0.12);
  z-index: 20;
  padding: 6px;
}

.pngm-im-more-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: #16202a;
  text-decoration: none !important;
  font-size: 13px;
}

.pngm-im-more-menu a:hover {
  background: #f3faf4;
}

/* Keep the original absolute Remove button layout; sit Block beside it. */
.pngm-im-board-pane .im-alt-head .im-head2 .pngm-im-thread-actions {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.pngm-im-board-pane .im-alt-head .im-head2 .pngm-im-thread-actions a.im-block-user,
.pngm-im-board-pane .im-alt-head .im-head2 .pngm-im-thread-actions a.im-remove-thread {
  position: static !important;
  right: auto !important;
  top: auto !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  padding: 6px 10px;
  line-height: 18px;
  font-weight: 700;
  color: #444;
  background: #e0e0e0;
  border-radius: 4px;
  text-decoration: none !important;
  white-space: nowrap;
  width: auto;
  height: auto;
  max-height: none;
}

.pngm-im-board-pane .im-alt-head .im-head2 .pngm-im-thread-actions a.im-block-user:hover,
.pngm-im-board-pane .im-alt-head .im-head2 .pngm-im-thread-actions a.im-remove-thread:hover {
  background: #d0d0d0;
  color: #333;
}

.pngm-im-board-pane .im-alt-head .im-head2 .pngm-im-thread-actions a i {
  margin: 0;
}

.pngm-im-blocked-notice,
body.im-chat-page .pngm-im-blocked-notice {
  flex: 0 0 auto;
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #f0c2c2;
  background: #ffd7d7;
  color: #590000;
  font-size: 14px;
  line-height: 1.4;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pngm-composer-dock.pngm-im-blocked-dock,
body.im-chat-page .pngm-composer-dock.pngm-im-blocked-dock {
  display: flex !important;
  flex-direction: column;
  flex: 0 0 auto !important;
  width: 100%;
  margin: 8px 0 0;
  padding: 8px 0 10px;
  border-top: 1px solid #f0d0d0;
  background: #fff;
  box-sizing: border-box;
  overflow: visible !important;
  z-index: 6;
}

@media screen and (max-width: 767px) {
  .pngm-im-board-pane .im-alt-head .im-head2 {
    padding-right: 84px !important;
  }

  .pngm-im-board-pane .im-alt-head .im-head2 .pngm-im-thread-actions a.im-block-user,
  .pngm-im-board-pane .im-alt-head .im-head2 .pngm-im-thread-actions a.im-remove-thread {
    width: 32px;
    height: 32px;
    padding: 0;
    justify-content: center;
  }

  .pngm-im-board-pane .im-alt-head .im-head2 .pngm-im-thread-actions a.im-block-user span,
  .pngm-im-board-pane .im-alt-head .im-head2 .pngm-im-thread-actions a.im-remove-thread span {
    display: none;
  }

  body.im-chat-page .pngm-composer-dock.pngm-im-blocked-dock {
    width: calc(100% + 24px) !important;
    max-width: none;
    margin: 8px -12px 0 !important;
    /* Sits above the bottom nav, which already carries the safe-area inset. */
    padding: 10px 12px 12px !important;
    border-radius: 0 0 12px 12px !important;
    background: #fff7f7;
  }

  body.im-chat-page .pngm-im-blocked-notice {
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    padding: 14px 14px !important;
  }

  body.im-chat-page.pngm-im-blocked-thread .pngm-im-board-pane,
  body.im-chat-page.pngm-im-blocked-thread .pngm-im-board-pane > .im-file-messages {
    overflow: visible !important;
  }
}

.pngm-im-listing-hero {
  display: flex;
  gap: 12px;
  margin: 12px 16px 0;
  padding: 10px;
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  text-decoration: none !important;
  color: inherit;
  background: #fafbfc;
}

.pngm-im-listing-hero img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  flex: 0 0 72px;
  background: #eef1f4;
}

.pngm-im-listing-hero-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pngm-im-listing-hero-body strong {
  font-size: 14px;
  color: #16202a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pngm-im-listing-price {
  font-style: normal;
  font-weight: 800;
  color: #2e7d32;
  font-size: 14px;
}

.pngm-im-listing-loc {
  font-size: 12px;
  color: #8a94a0;
}

.pngm-im-listing-view {
  font-size: 12px;
  font-weight: 700;
  color: #2e7d32;
}

.pngm-im-general-inquiry {
  float: none !important;
  clear: both !important;
  display: flex !important;
  width: 100% !important;
  margin: 10px 0 16px 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}

.pngm-im-board-pane .pngm-im-general-inquiry,
.pngm-im-thread-pane .pngm-im-general-inquiry,
.im-file-create-thread .pngm-im-general-inquiry {
  margin: 10px 0 24px 0 !important;
}

.pngm-im-general-inquiry-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  background: #fafbfc;
  box-sizing: border-box;
}

.pngm-im-general-inquiry-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eef6ef;
  color: #2e7d32;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.pngm-im-general-inquiry-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pngm-im-general-inquiry .im-item-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #8a94a0;
  line-height: 1.2;
}

.pngm-im-general-inquiry .im-item-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #16202a;
  line-height: 1.3;
}

.pngm-im-board {
  flex: 1 1 auto !important;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 16px !important;
  overflow-y: auto !important;
  background: #f7f9fb;
  min-height: 280px;
  max-height: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   Chat bubbles — Telegram-like format, openant blue for sent
   ========================================================================== */
body.pngm-ua-messages .im-messages .im-table-row,
body.im-chat-page .im-messages .im-table-row {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  float: none !important;
  clear: both !important;
  width: fit-content !important;
  max-width: min(78%, 520px) !important;
  min-width: 88px !important;
  margin: 0 0 10px !important;
  padding: 8px 12px 5px !important;
  box-sizing: border-box !important;
  border: 0 !important;
  box-shadow: 0 1px 2px rgba(22, 32, 42, 0.08) !important;
  overflow: visible !important;
}

/* Sent (right) — Telegram mint green */
body.pngm-ua-messages .im-messages .im-table-row.im-from,
body.im-chat-page .im-messages .im-table-row.im-from {
  align-self: flex-end !important;
  margin-left: auto !important;
  margin-right: 52px !important;
  background: #effdde !important;
  color: #16202a !important;
  border-radius: 14px 14px 4px 14px !important;
}

/* Received (left) — original light gray */
body.pngm-ua-messages .im-messages .im-table-row.im-to,
body.im-chat-page .im-messages .im-table-row.im-to {
  align-self: flex-start !important;
  margin-left: 52px !important;
  margin-right: auto !important;
  background: #e8e8e8 !important;
  color: #16202a !important;
  border-radius: 14px 14px 14px 4px !important;
}

body.pngm-ua-messages .im-messages .im-table-row.im-from .im-message-content,
body.pngm-ua-messages .im-messages .im-table-row.im-from .im-message-content a,
body.im-chat-page .im-messages .im-table-row.im-from .im-message-content,
body.im-chat-page .im-messages .im-table-row.im-from .im-message-content a,
body.pngm-ua-messages .im-messages .im-table-row.im-to .im-message-content,
body.pngm-ua-messages .im-messages .im-table-row.im-to .im-message-content a,
body.im-chat-page .im-messages .im-table-row.im-to .im-message-content,
body.im-chat-page .im-messages .im-table-row.im-to .im-message-content a {
  color: #16202a !important;
}

body.pngm-ua-messages .im-messages .im-table-row > .im-line,
body.im-chat-page .im-messages .im-table-row > .im-line {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  text-align: left !important;
}

body.pngm-ua-messages .im-messages .im-table-row .im-message-content,
body.im-chat-page .im-messages .im-table-row .im-message-content {
  margin: 0 !important;
  padding: 0 !important;
  order: 1;
}

body.pngm-ua-messages .im-messages .im-table-row .im-message-content .im-col-24,
body.pngm-ua-messages .im-messages .im-table-row .pngm-im-bubble-body,
body.im-chat-page .im-messages .im-table-row .im-message-content .im-col-24,
body.im-chat-page .im-messages .im-table-row .pngm-im-bubble-body {
  float: none !important;
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  font-size: 14.5px !important;
  line-height: 1.35 !important;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

body.pngm-ua-messages .im-messages .im-table-row .im-message-extra,
body.im-chat-page .im-messages .im-table-row .im-message-extra {
  order: 2;
  margin-top: 6px !important;
}

body.pngm-ua-messages .im-messages .im-table-row .im-message-extra.im-box-empty,
body.im-chat-page .im-messages .im-table-row .im-message-extra.im-box-empty {
  display: none !important;
}

/* Time + ticks inside bubble (Telegram format) */
body.pngm-ua-messages .im-messages .im-table-row .im-name-top,
body.pngm-ua-messages .im-messages .im-table-row .pngm-im-bubble-meta,
body.im-chat-page .im-messages .im-table-row .im-name-top,
body.im-chat-page .im-messages .im-table-row .pngm-im-bubble-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 4px !important;
  order: 3;
  margin: 3px 0 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  background: transparent !important;
}

body.pngm-ua-messages .im-messages .im-table-row .im-name-top .im-name,
body.pngm-ua-messages .im-messages .im-table-row .pngm-im-bubble-meta .im-name,
body.im-chat-page .im-messages .im-table-row .im-name-top .im-name,
body.im-chat-page .im-messages .im-table-row .pngm-im-bubble-meta .im-name {
  display: none !important;
}

body.pngm-ua-messages .im-messages .im-table-row .im-name-top .im-date,
body.pngm-ua-messages .im-messages .im-table-row .pngm-im-bubble-meta .im-date,
body.im-chat-page .im-messages .im-table-row .im-name-top .im-date,
body.im-chat-page .im-messages .im-table-row .pngm-im-bubble-meta .im-date,
body.pngm-ua-messages .im-messages .im-table-row .im-date,
body.im-chat-page .im-messages .im-table-row .im-date {
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  float: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 11px !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  opacity: 1 !important;
}

body.pngm-ua-messages .im-messages .im-table-row.im-from .im-date,
body.pngm-ua-messages .im-messages .im-table-row.im-from .im-date time,
body.pngm-ua-messages .im-messages .im-table-row.im-from .im-date i,
body.im-chat-page .im-messages .im-table-row.im-from .im-date,
body.im-chat-page .im-messages .im-table-row.im-from .im-date time,
body.im-chat-page .im-messages .im-table-row.im-from .im-date i {
  color: #68b279 !important;
}

body.pngm-ua-messages .im-messages .im-table-row.im-to .im-date,
body.pngm-ua-messages .im-messages .im-table-row.im-to .im-date time,
body.pngm-ua-messages .im-messages .im-table-row.im-to .im-date i,
body.im-chat-page .im-messages .im-table-row.im-to .im-date,
body.im-chat-page .im-messages .im-table-row.im-to .im-date time,
body.im-chat-page .im-messages .im-table-row.im-to .im-date i {
  color: #8a94a0 !important;
}

body.pngm-ua-messages .im-messages .im-table-row .im-date i,
body.im-chat-page .im-messages .im-table-row .im-date i {
  font-size: 11px !important;
  margin: 0 !important;
}

body.pngm-ua-messages .im-messages .im-table-row .im-date .fa-check-double,
body.im-chat-page .im-messages .im-table-row .im-date .fa-check-double {
  letter-spacing: -2px;
}

/* Avatar beside bubble */
body.pngm-ua-messages .im-messages .im-table-row .im-horizontal,
body.im-chat-page .im-messages .im-table-row .im-horizontal {
  position: absolute !important;
  top: auto !important;
  bottom: 0 !important;
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.pngm-ua-messages .im-messages .im-table-row.im-from .im-horizontal,
body.im-chat-page .im-messages .im-table-row.im-from .im-horizontal {
  right: -46px !important;
  left: auto !important;
}

body.pngm-ua-messages .im-messages .im-table-row.im-to .im-horizontal,
body.im-chat-page .im-messages .im-table-row.im-to .im-horizontal {
  left: -46px !important;
  right: auto !important;
}

body.pngm-ua-messages .im-messages .im-table-row .im-horizontal .right,
body.im-chat-page .im-messages .im-table-row .im-horizontal .right {
  display: block !important;
  width: 36px !important;
  height: 36px !important;
  border: 0 !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  background: #e8edf2 !important;
  box-shadow: none !important;
}

body.pngm-ua-messages .im-messages .im-table-row .im-horizontal .right img,
body.im-chat-page .im-messages .im-table-row .im-horizontal .right img {
  width: 36px !important;
  height: 36px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}

.pngm-im-bubble-row {
  display: flex !important;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.pngm-im-bubble-row.is-mine {
  justify-content: flex-end;
}

.pngm-im-bubble-row.is-theirs {
  justify-content: flex-start;
}

.pngm-im-bubble {
  display: inline-block;
  width: fit-content;
  max-width: min(78%, 420px);
  padding: 8px 12px 5px;
  border-radius: 14px;
  box-sizing: border-box;
}

.pngm-im-bubble-row.is-mine .pngm-im-bubble {
  background: #effdde;
  color: #16202a;
  border-bottom-right-radius: 4px;
}

.pngm-im-bubble-row.is-theirs .pngm-im-bubble {
  background: #e8e8e8;
  color: #16202a;
  border-bottom-left-radius: 4px;
}

.pngm-im-bubble-text {
  font-size: 14px;
  line-height: 1.4;
  word-break: break-word;
}

.pngm-im-bubble-meta {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 11px;
  color: #8a94a0;
}

.pngm-im-bubble-row.is-pending .pngm-im-bubble,
.im-table-row.im-from.is-pending {
  opacity: 0.92;
}

.im-table-row.im-from.is-pending .pngm-im-sending-status,
.pngm-im-sending-status,
.im-table-row.im-from.is-pending .pngm-im-sending-wrap {
  display: none !important;
}

.im-table-row.im-from.is-pending .pngm-im-sending-icon {
  margin-left: 6px;
  color: #16a34a;
  font-size: 11px;
}

/* Compact upload status — never a giant attachment card. */
.im-table-row.im-from.is-pending .pngm-im-upload-status,
.pngm-im-upload-status {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  font-size: 13px !important;
  font-weight: 600 !important;
  font-style: normal !important;
  color: #6b7785 !important;
  line-height: 1.3 !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  white-space: nowrap !important;
  max-width: 100%;
}

.im-table-row.im-from.is-pending .pngm-im-upload-status-wrap {
  margin-top: 6px;
}

.im-table-row.im-from.is-pending .pngm-im-upload-status i {
  font-size: 13px;
  color: #6b7785;
}

.pngm-im-upload-names {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  font-size: 13px;
  font-weight: 600;
  color: #16202a;
  word-break: break-all;
}

.im-table-row.im-from.is-pending .im-message-extra,
.im-table-row.im-from.is-pending a.im-download,
.im-table-row.im-from.is-pending a.pngm-im-attach {
  display: none !important;
}

.pngm-im-send.im-btn-loading {
  opacity: 0.7;
  cursor: wait;
  position: relative;
}

.pngm-im-send.im-btn-loading i.fa-paper-plane,
.pngm-im-send.im-btn-loading .fa-paper-plane {
  visibility: hidden;
}

.pngm-im-send.im-btn-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: pngm-im-btn-spin 0.7s linear infinite;
}

@keyframes pngm-im-btn-spin {
  to { transform: rotate(360deg); }
}

.pngm-im-bubble-row.is-failed .pngm-im-bubble,
.im-table-row.im-from.is-failed {
  opacity: 0.9;
  box-shadow: inset 0 0 0 1px #fca5a5;
}

.pngm-im-bubble-row.is-failed .pngm-im-bubble-meta time,
.im-table-row.im-from.is-failed .im-date {
  color: #b91c1c;
}

/* Sharing contact details is allowed here, so drop the plugin's warning chip. */
.im-unsafe-info,
.pngm-im-bubble .im-unsafe-info {
  display: none !important;
}

.pngm-im-composer {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-end;
  gap: 8px;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 12px 14px !important;
  border-top: 1px solid #eef1f4;
  background: #fff;
  box-sizing: border-box;
  position: relative !important;
}

.pngm-im-composer .im-logged-user-img,
.pngm-im-composer .im-button-alt {
  display: none !important;
}

/* Legacy in-form hint is retired — too many competing !important rules. */
.pngm-im-composer .im-send-hint,
.pngm-im-composer .pngm-im-send-hint,
body.im-chat-page #im-message-form .im-send-hint,
body.im-chat-page #im-message-form .pngm-im-send-hint,
body.pngm-ua-messages #im-message-form .im-send-hint,
body.pngm-ua-messages #im-message-form .pngm-im-send-hint,
body #im-message-form .im-send-hint {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}

.pngm-composer-dock {
  display: flex !important;
  flex-direction: column !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  float: none !important;
  position: relative !important;
  z-index: 5;
  background: #fff;
  border-top: 1px solid #eef1f4;
}

#pngm-composer-tip.pngm-composer-tip,
p#pngm-composer-tip,
.pngm-composer-dock > #pngm-composer-tip {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  float: none !important;
  clear: both !important;
  order: 20;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 6px 14px 10px !important;
  box-sizing: border-box !important;
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 500 !important;
  color: #6b7785 !important;
  -webkit-text-fill-color: #6b7785 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  text-indent: 0 !important;
  letter-spacing: normal !important;
  white-space: normal !important;
  transform: none !important;
  clip-path: none !important;
  z-index: 6 !important;
  flex: 0 0 auto !important;
}

.pngm-composer-dock > #im-message-form,
.pngm-composer-dock > .pngm-im-composer {
  margin-top: 0 !important;
  border-top: 0 !important;
  order: 10;
}

.pngm-composer-dock > .pngm-composer-files,
.pngm-composer-dock > .im-file-list,
.pngm-composer-dock > #im-file-list {
  display: flex !important;
  flex-wrap: wrap;
  gap: 4px;
  order: 12;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 2px 14px 0 !important;
  box-sizing: border-box !important;
  float: none !important;
}

.pngm-composer-dock > .pngm-composer-files[hidden],
.pngm-composer-dock > .im-file-list[hidden],
.pngm-composer-dock > #im-file-list[hidden] {
  display: none !important;
}

/* File chips: no leftover avatar gutter on the left */
body.pngm-ua-messages #im-message-form .im-file-list,
body.im-chat-page #im-message-form .im-file-list,
body #im-message-form .im-file-list {
  display: flex !important;
  flex-wrap: wrap;
  gap: 4px;
  flex: 1 1 100% !important;
  order: 15 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  float: none !important;
  box-sizing: border-box !important;
}

body.pngm-ua-messages #im-message-form .im-file-list[hidden],
body.im-chat-page #im-message-form .im-file-list[hidden],
body #im-message-form .im-file-list[hidden] {
  display: none !important;
}

body #im-message-form .im-file-chip,
.pngm-composer-dock .im-file-chip,
.im-file-list .im-file-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 1px 2px 1px 8px !important;
  border: 1px solid #c5ccd6 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #16202a !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  box-sizing: border-box !important;
}

body #im-message-form .im-file-chip.is-image,
.pngm-composer-dock .im-file-chip.is-image,
.im-file-list .im-file-chip.is-image {
  cursor: pointer;
}

body #im-message-form .im-file-chip.is-image:hover,
.pngm-composer-dock .im-file-chip.is-image:hover,
.im-file-list .im-file-chip.is-image:hover {
  border-color: #9aa6b5 !important;
  background: #f7f9fb !important;
}

body #im-message-form .im-file-chip em,
.pngm-composer-dock .im-file-chip em,
.im-file-list .im-file-chip em {
  display: block !important;
  max-width: min(220px, 55vw) !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-style: normal !important;
  font-weight: 600 !important;
}

body #im-message-form .im-file-remove,
.pngm-composer-dock .im-file-remove,
.im-file-list .im-file-remove {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 20px !important;
  width: 20px !important;
  height: 20px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #5f6770 !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
}

body #im-message-form .im-file-remove:hover,
.pngm-composer-dock .im-file-remove:hover,
.im-file-list .im-file-remove:hover {
  background: #3d444c !important;
}

.pngm-im-attach-preview[hidden] {
  display: none !important;
}

.pngm-im-attach-preview {
  position: fixed;
  inset: 0;
  z-index: 10270;
  display: flex;
  flex-direction: column;
  background: rgba(8, 10, 12, 0.95);
}

body.pngm-im-attach-preview-open {
  overflow: hidden;
}

body.pngm-im-attach-preview-open #navi-bar {
  visibility: hidden;
  pointer-events: none;
}

.pngm-im-attach-preview-x {
  position: absolute;
  top: max(10px, env(safe-area-inset-top, 0px));
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #16202a;
  font-size: 28px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.pngm-im-attach-preview-stage {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 64px 12px 12px;
}

.pngm-im-attach-preview-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.pngm-im-attach-preview-dock {
  flex: 0 0 auto;
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px));
}

.pngm-im-attach-preview-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #16202a;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.pngm-im-attach {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin: 6px 0 2px !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  word-break: break-word;
}

.pngm-im-attach .pngm-im-attach-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(220px, 55vw);
}

@media (max-width: 767px) {
  .pngm-im-attach .pngm-im-attach-name {
    max-width: 58vw;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-all;
  }

  /* 16px minimum: iOS Safari zooms the page into any focused field with a smaller
     font, which is what distorted the composer as soon as it was tapped. */
  .pngm-im-composer .im-textarea,
  .pngm-im-composer #im-message,
  body.im-chat-page #im-message,
  body.im-chat-page #im-message-form .im-textarea,
  body.pngm-ua-messages #im-message {
    font-size: 16px !important;
  }

  .pngm-im-search input,
  .pngm-im-search input#pngm-im-search-input {
    font-size: 16px !important;
  }
}

/* Outgoing bubbles are pale green, so the plugin's inherited white text made
   attachment names invisible. Match the message text instead. */
.pngm-im-bubble-row.is-mine .pngm-im-attach,
.im-table-row.im-from .pngm-im-attach,
.im-table-row.im-from a.im-download,
.im-table-row.im-from .pngm-im-attach .pngm-im-attach-name,
.im-table-row.im-from a.im-download .pngm-im-attach-name,
.im-table-row.im-from .pngm-im-attach i,
.im-table-row.im-from a.im-download i {
  color: #16202a !important;
  -webkit-text-fill-color: #16202a !important;
}

.pngm-im-bubble-row.is-mine .pngm-im-attach,
.im-table-row.im-from .pngm-im-attach,
.im-table-row.im-from a.im-download {
  background: rgba(22, 32, 42, 0.06) !important;
}

/* On phones the plugin draws "Remove file" as a bare 24px teal square pinned
   outside the bubble (user.css: a.im-hide:before, background #00BCD4), which
   landed on top of the attachment name. The chat has no use for it. */
.im-messages .im-message-extra a.im-hide,
.im-messages .im-table-row:hover .im-message-extra a.im-hide,
body .im-messages .im-message-extra a.im-hide {
  display: none !important;
}

.pngm-im-bubble-row.is-theirs .pngm-im-attach,
.im-table-row.im-to .pngm-im-attach,
.im-table-row.im-to a.im-download {
  color: #16202a !important;
  background: #eef2f5 !important;
}

.pngm-im-convo-badge {
  display: none !important;
}

/* Scroll-to-top floats over the composer and looks like a chat control. */
body.pngm-ua-messages a#scroll-to-top,
body.im-chat-page a#scroll-to-top {
  display: none !important;
}

/* Composer already has send/attach controls — hide the leftover profile chip. */
body.pngm-ua-messages #im-message-form img.im-logged-user-img,
body.im-chat-page #im-message-form img.im-logged-user-img {
  display: none !important;
}

.pngm-im-composer .im-textarea,
.pngm-im-composer #im-message,
body.im-chat-page #im-message,
body.im-chat-page #im-message-form .im-textarea {
  flex: 1 1 auto;
  height: 44px;
  min-height: 44px;
  max-height: 120px;
  margin: 0 !important;
  padding: 12px 14px !important;
  border: 1px solid #e1e6ec !important;
  border-radius: 12px !important;
  resize: none;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 20px;
  width: auto !important;
  overflow-y: hidden;
}

.pngm-im-attach-btn {
  flex: 0 0 40px;
  width: 40px;
  height: 44px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #6b7785;
  cursor: pointer;
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  float: none !important;
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  z-index: 2;
  -webkit-appearance: none;
  appearance: none;
}

.pngm-im-attach-btn input,
body #im-message-form input.im-file,
body #im-message-form .pngm-im-file-input,
body.im-chat-page #im-message-form #im-file {
  /* Visually hidden but still activatable via <label for="im-file"> (Android needs this). */
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 0.1px !important;
  height: 0.1px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  opacity: 0.01 !important;
  clip: auto !important;
  pointer-events: auto !important;
  z-index: 0 !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

/* Desktop: labeled send button. Mobile: circular icon (see max-width block below). */
@media screen and (min-width: 768px) {
  .pngm-im-send.im-button-green,
  body.im-chat-page #im-message-form > button.im-button-green.pngm-im-send,
  body #im-message-form.pngm-im-composer > button.im-button-green.pngm-im-send {
    flex: 0 0 auto;
    height: 44px;
    min-width: 96px;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #2e7d32 !important;
    color: #fff !important;
    font-weight: 700;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px !important;
    float: none !important;
    position: static !important;
    top: auto !important;
    right: auto !important;
    z-index: 3;
  }

  .pngm-im-composer .im-button-alt,
  body.im-chat-page #im-message-form button.im-button-alt,
  body #im-message-form.pngm-im-composer button.im-button-alt {
    display: none !important;
  }
}

@media screen and (max-width: 767px) {
  body.im-chat-page #im-message-form.pngm-im-composer,
  body.im-chat-page #im-message-form {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    align-items: flex-end !important;
    gap: 8px !important;
    overflow: visible !important;
  }

  /* File chips still take a full second row when present */
  body.im-chat-page #im-message-form .im-file-list,
  body.im-chat-page #im-message-form #im-file-list {
    flex: 1 0 100% !important;
    width: 100% !important;
  }

  body.im-chat-page #im-message-form > button.im-button-green.pngm-im-send,
  body.im-chat-page #im-message-form.pngm-im-composer > button.im-button-green.pngm-im-send,
  body.im-chat-page #im-message-form .pngm-im-send {
    display: inline-flex !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    gap: 0 !important;
    position: static !important;
    float: none !important;
    z-index: 5 !important;
    pointer-events: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  body.im-chat-page #im-message-form .pngm-im-attach-btn,
  body.im-chat-page #im-message-form > button.pngm-im-attach-btn {
    display: inline-flex !important;
    position: static !important;
    z-index: 2 !important;
    pointer-events: auto !important;
  }

  body.im-chat-page #im-message-form .pngm-im-send span {
    display: none !important;
  }

  body.im-chat-page #im-message-form button.im-button-alt,
  body.im-chat-page #im-message-form.pngm-im-composer button.im-button-alt {
    display: none !important;
  }

  body.im-chat-page #im-message-form .im-textarea,
  body.im-chat-page #im-message-form #im-message {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }
}

.pngm-im-unauthorized {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 24px;
}

.pngm-im-unauthorized-card {
  text-align: center;
  max-width: 360px;
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 16px;
  padding: 36px 24px;
}

.pngm-im-unauthorized-card i {
  font-size: 42px;
  color: #16202a;
  margin-bottom: 12px;
}

.pngm-im-unauthorized-card h1 {
  margin: 0 0 8px;
  font-size: 22px;
}

.pngm-im-unauthorized-card p {
  margin: 0 0 18px;
  color: #6b7785;
}

.pngm-im-blocked,
.pngm-im-pager {
  margin-top: 16px;
}

.pngm-im-blocked .im-table.im-block {
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 14px;
  padding: 14px;
}

.pngm-im-mobile-back {
  display: none;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  color: #16202a;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}

.pngm-im-mobile-back i {
  font-size: 14px;
}

.pngm-im-inbox .pngm-im-list-pane {
  min-height: 0;
  width: auto;
}

body.pngm-ua-messages.file-threads .pngm-im-inbox {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
}

body.pngm-ua-messages.file-threads .pngm-im-inbox > .pngm-im-split {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  /* Keep desktop Messages shell flush with the sidebar; blocked users stay on mobile list. */
  body.pngm-ua-messages.file-threads .pngm-im-blocked {
    display: none;
  }
}

body.pngm-ua-messages.file-messages .pngm-im-list-side {
  display: block;
}

@media (max-width: 980px) {
  .pngm-im-split,
  .pngm-im-chat-layout {
    grid-template-columns: 1fr;
    min-height: 0 !important;
    height: auto;
    gap: 0;
  }

  .pngm-im-split > .pngm-im-list-pane {
    display: none;
  }

  body.pngm-ua-messages.file-messages .pngm-im-list-side {
    display: none;
  }

  .pngm-im-mobile-back {
    display: inline-flex;
  }

  .pngm-im-back {
    display: inline-flex;
  }

  body.pngm-ua-messages.file-threads .pngm-im-inbox .pngm-im-list-pane {
    display: flex;
    min-height: calc(100vh - 200px);
  }

  .pngm-im-thread-pane,
  .pngm-im-list-pane,
  .pngm-im-board-pane {
    min-height: 0;
    border-radius: 12px;
  }

  body.pngm-ua-messages.file-messages .pngm-im-board-pane {
    min-height: 0 !important;
  }

  .pngm-im-board {
    min-height: 240px;
  }
}

/* ==========================================================================
   Account & Security
   ========================================================================== */

.pngm-sec {
  max-width: 980px;
}

.pngm-sec-head {
  margin-bottom: 16px;
}

.pngm-sec-head h1 {
  margin: 0 0 4px;
  font-size: 26px;
  font-weight: 800;
  color: #16202a;
}

.pngm-sec-head p {
  margin: 0;
  color: #6b7785;
  font-size: 14px;
}

.pngm-sec-account-menu {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  background: #fff;
  color: #16202a;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  box-sizing: border-box;
}

.pngm-sec-account-menu span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.pngm-sec-account-menu i.fa-list-ul {
  color: #2e7d32;
}

.pngm-sec-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.pngm-sec-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pngm-sec-card {
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-sizing: border-box;
}

.pngm-sec-panel.is-collapsed {
  display: none !important;
}

.pngm-sec-card h2 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
  color: #16202a;
}

.pngm-sec-card h2 span {
  color: #2e7d32;
  margin-right: 4px;
}

.pngm-sec-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.pngm-sec-card-top h2 {
  margin: 0;
  min-width: 0;
  flex: 1 1 auto;
}

.pngm-sec-card-top .pngm-sec-badge {
  flex: 0 0 auto;
}

.pngm-sec-help {
  margin: 0 0 14px;
  color: #6b7785;
  font-size: 13px;
  line-height: 1.45;
}

.pngm-sec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #eef1f4;
}

.pngm-sec-card > .pngm-sec-row:first-of-type,
.pngm-sec-list > .pngm-sec-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.pngm-sec-row-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.pngm-sec-row-copy strong {
  font-size: 14px;
  color: #16202a;
}

.pngm-sec-row-copy em {
  font-style: normal;
  font-size: 13px;
  color: #6b7785;
  word-break: break-word;
}

.pngm-sec-row-copy.is-social {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.pngm-sec-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef1f4;
  color: #6b7785;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
}

.pngm-sec-badge.is-ok {
  background: #e8f5e9;
  color: #1b5e20;
}

.pngm-sec-btn {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 12px;
  font-size: 12px;
}

.pngm-sec-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 12px;
}

.pngm-sec-field span {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.pngm-sec-field input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #e1e6ec;
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
  font-size: 14px;
}

.pngm-sec-field input:focus {
  outline: none;
  border-color: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}

.pngm-sec-pass-rules {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
}

.pngm-sec-pass-tips-label {
  margin: 0 0 6px;
  font-size: 12px;
  color: #6b7785;
}

.pngm-sec-pass-warn {
  margin: 0 0 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff8e6;
  border: 1px solid #f0e0b2;
  color: #8a6d1d;
  font-size: 12px;
  line-height: 1.4;
}

.pngm-sec-pass-warn[hidden] {
  display: none !important;
}

.pngm-sec-pass-rules li {
  position: relative;
  padding-left: 18px;
  font-size: 12px;
  color: #8a94a0;
}

.pngm-sec-pass-rules li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid #c5ccd4;
  box-sizing: border-box;
}

.pngm-sec-pass-rules li.is-ok {
  color: #1b5e20;
}

.pngm-sec-pass-rules li.is-ok::before {
  border-color: #2e7d32;
  background: #2e7d32;
}

.pngm-sec-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

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

.pngm-sec-revoke-all {
  margin-top: 8px;
}

.pngm-ua-btn.is-block {
  width: 100%;
}

.pngm-ua-btn.is-danger {
  background: #fff;
  color: #b91c1c !important;
  border-color: #f1a8a8;
}

.pngm-ua-btn.is-danger:hover {
  background: #fef2f2;
  border-color: #b91c1c;
}

.pngm-ua-btn.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.pngm-sec-card.is-danger h2,
.pngm-sec-card.is-danger .pngm-sec-row-copy strong {
  color: #b91c1c;
}

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

.pngm-sec-activity li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pngm-sec-act-ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f7f3;
  color: #2e7d32;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
}

.pngm-sec-act-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pngm-sec-act-copy strong {
  font-size: 13px;
  color: #16202a;
}

.pngm-sec-act-copy em {
  font-style: normal;
  font-size: 12px;
  color: #8a94a0;
}

.pngm-sec-soc {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex: 0 0 36px;
}

.pngm-sec-soc.is-google {
  background: #eef3fd;
  color: #1a56db;
}

.pngm-sec-soc.is-facebook {
  background: #e8f0fe;
  color: #1877f2;
}

.pngm-sec-brand {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #e6eaf0;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  box-sizing: border-box;
}

.pngm-sec-brand.is-facebook {
  border: 0;
  background: transparent;
  width: 36px;
  height: 36px;
  flex-basis: 36px;
}

.pngm-sec-brand-svg {
  display: block;
}

.pngm-sec-persist {
  margin: 0 0 16px;
  padding: 14px;
  background: #f6f8fa;
  border: 1px solid #e6eaf0;
  border-radius: 12px;
}

.pngm-sec-persist-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.pngm-sec-persist-head strong {
  font-size: 14px;
  color: #16202a;
}

.pngm-sec-persist-copy {
  margin: 0 0 10px;
  font-size: 13px;
  color: #5a6570;
  line-height: 1.45;
}

.pngm-sec-persist-meta {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pngm-sec-persist-meta li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-top: 1px solid #e6eaf0;
  font-size: 13px;
}

.pngm-sec-persist-meta li:first-child {
  border-top: 0;
}

.pngm-sec-persist-meta li span {
  color: #5a6570;
}

.pngm-sec-persist-meta li strong {
  color: #16202a;
  font-weight: 700;
}

.pngm-sec-persist-meta li strong.is-ok {
  color: #2e7d32;
}

.pngm-sec-persist-meta li strong.is-bad {
  color: #c62828;
}

.pngm-sec-limits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.pngm-sec-limit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  background: #fafbfc;
  box-sizing: border-box;
}

.pngm-sec-limit.is-on {
  background: #f4faf4;
  border-color: #d7e8d8;
}

.pngm-sec-limit-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e8f5e9;
  color: #2e7d32;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  font-size: 15px;
}

.pngm-sec-limit-ico.is-post {
  background: #eef3fd;
  color: #1a56db;
}

.pngm-sec-limit-ico.is-msg {
  background: #fff4e5;
  color: #b26a00;
}

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

.pngm-sec-limit-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pngm-sec-limit-top strong {
  font-size: 14px;
  color: #16202a;
  white-space: nowrap;
}

.pngm-sec-limit-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 11px;
  font-weight: 700;
  flex: 0 0 auto;
  white-space: nowrap;
}

.pngm-sec-limit-body em {
  font-style: normal;
  font-size: 13px;
  color: #5a6570;
  line-height: 1.4;
}

html.pngm-pwa-standalone body {
  /* Installed app: tighten top safe-area feel */
  padding-top: env(safe-area-inset-top, 0);
}

html.pngm-pwa-standalone .pngm-sec-badge[data-pngm-pwa-live],
html.pngm-pwa-standalone [data-pngm-display-mode-label].is-ok {
  background: #e8f5e9;
  color: #2e7d32;
}

.pngm-sec-social-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.pngm-sec-social-meta strong {
  font-size: 14px;
  color: #16202a;
}

.pngm-sec-social-detail {
  display: block;
  width: 100%;
  font-size: 12px;
  color: #6b7785;
  word-break: break-all;
}

.pngm-sec-lead {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #5a6570;
}

.pngm-sec-muted {
  font-size: 13px;
  color: #8a94a0;
}

.pngm-sec-social-row .pngm-sec-row-copy.is-social {
  flex: 1 1 auto;
}

@media (max-width: 980px) {
  .pngm-sec-account-menu {
    display: flex;
  }

  .pngm-sec-grid {
    grid-template-columns: 1fr;
  }

  .pngm-sec-pass-rules {
    grid-template-columns: 1fr;
  }

  .pngm-sec-row {
    flex-wrap: wrap;
  }

  .pngm-sec-btn {
    width: 100%;
    justify-content: center;
  }
}

/* —— Two-step verification (public) —— */
body.file-twofa-verify .primary.container {
  max-width: 480px;
  margin: 40px auto 64px;
  padding: 0 16px;
}

.pngm-twofa-box {
  background: #fff;
  border: 1px solid #e6ebe8;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(22, 32, 42, 0.06);
  padding: 28px 28px 24px;
}

.pngm-twofa-box h1 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.25;
  color: #16202a;
}

.pngm-twofa-lead {
  margin: 0 0 20px;
  color: #5b6670;
  font-size: 14px;
  line-height: 1.5;
}

.pngm-twofa-debug {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff8e6;
  border: 1px solid #f0d78c;
  color: #7a5b00;
  font-size: 13px;
}

.pngm-twofa-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.pngm-twofa-field label {
  font-size: 13px;
  font-weight: 600;
  color: #3a4650;
}

.pngm-twofa-field input {
  height: 48px;
  border: 1px solid #d5ddd8;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 22px;
  letter-spacing: 0.35em;
  text-align: center;
  font-weight: 700;
  color: #16202a;
}

.pngm-twofa-field input:focus {
  outline: none;
  border-color: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

.pngm-twofa-form .btn {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 10px;
  background: #1b5e20;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.pngm-twofa-form .btn:hover {
  background: #174e1a;
}

.pngm-twofa-resend {
  margin: 14px 0 0;
  text-align: center;
}

.pngm-twofa-link {
  background: none;
  border: 0;
  color: #1b5e20;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.pngm-twofa-back {
  display: block;
  margin-top: 18px;
  text-align: center;
  color: #8a94a0;
  font-size: 13px;
  text-decoration: none;
}

.pngm-twofa-back:hover {
  color: #1b5e20;
}

/* —— Authenticator setup (Account & Security) —— */
.pngm-sec-totp-steps {
  margin: 0 0 16px;
  padding-left: 18px;
  color: #5b6670;
  font-size: 13px;
  line-height: 1.55;
}

.pngm-sec-totp-steps li + li {
  margin-top: 4px;
}

.pngm-sec-totp-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.pngm-sec-totp-qr {
  flex: 0 0 auto;
  padding: 8px;
  border: 1px solid #e6ebe8;
  border-radius: 12px;
  background: #fff;
}

.pngm-sec-totp-qr img {
  display: block;
  width: 180px;
  height: 180px;
}

.pngm-sec-totp-manual {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: #5b6670;
}

.pngm-sec-totp-key {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f3f7f3;
  border: 1px dashed #c5d4c7;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #16202a;
  word-break: break-all;
}

.pngm-sec-totp-confirm .pngm-sec-field input {
  letter-spacing: 0.28em;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
}

.pngm-sec-totp-cancel {
  margin-top: 10px;
}


/* ==========================================================================
   Activity feed (bell destination) — card board matching My Listings UA
   ========================================================================== */

body.pngm-ua-activity .pngm-activity-main {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

body.pngm-ua-activity .pngm-activity-wrap {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.pngm-activity {
  width: 100%;
  max-width: none;
}

.pngm-activity-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.pngm-activity-head-text h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: #16202a;
  line-height: 1.2;
}

.pngm-activity-sub {
  margin: 6px 0 0;
  color: #6b7785;
  font-size: 14px;
  line-height: 1.4;
}

.pngm-activity-head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.pngm-activity-clear-form {
  margin: 0;
}

.pngm-activity-clear {
  border: 1px solid #e6eaf0;
  background: #fff;
  color: #3a4553;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 10px;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.pngm-activity-clear:hover {
  border-color: #c62828;
  color: #c62828;
  background: #fff5f5;
}

.pngm-activity-chip {
  flex-shrink: 0;
}

.pngm-activity-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 48px 24px;
  text-align: center;
  background: #f3faf3;
  border: 1px dashed #c8e6c9;
  border-radius: 14px;
}

.pngm-activity-empty-ico {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e8f5ec;
  color: #2e7d32;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 4px;
}

.pngm-activity-empty h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #16202a;
}

.pngm-activity-empty p {
  margin: 0;
  font-size: 14px;
  color: #3a4553;
  max-width: 360px;
  line-height: 1.45;
}

.pngm-activity-empty .pngm-ua-btn {
  margin-top: 10px;
}

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

.pngm-activity-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 14px;
  box-sizing: border-box;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.pngm-activity-card:hover {
  border-color: #d5e8d8;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
}

.pngm-activity-ico {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e8f5ec;
  color: #1b7a3a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.pngm-activity-card.is-listing_rejected .pngm-activity-ico,
.pngm-activity-card.is-listing_expired .pngm-activity-ico {
  background: #fdecea;
  color: #c62828;
}

.pngm-activity-card.is-listing_expiring .pngm-activity-ico,
.pngm-activity-card.is-security .pngm-activity-ico {
  background: #fff8e6;
  color: #b78103;
}

.pngm-activity-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.pngm-activity-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 6px;
}

.pngm-activity-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: #eef7ef;
  color: #1b7a3a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pngm-activity-card.is-listing_rejected .pngm-activity-badge,
.pngm-activity-card.is-listing_expired .pngm-activity-badge {
  background: #fdecea;
  color: #c62828;
}

.pngm-activity-card.is-listing_expiring .pngm-activity-badge,
.pngm-activity-card.is-security .pngm-activity-badge {
  background: #fff8e6;
  color: #9a6b00;
}

.pngm-activity-title {
  display: block;
  color: #16202a;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.35;
}

a.pngm-activity-title:hover {
  color: #006b24;
}

.pngm-activity-body {
  margin: 6px 0 0;
  color: #3d4651;
  font-size: 13px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.pngm-activity-time {
  color: #8a94a0;
  font-size: 12px;
  font-weight: 600;
}

.pngm-activity-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: #1b7a3a;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.pngm-activity-link:hover {
  color: #006b24;
  text-decoration: underline;
}

.pngm-activity-del-form {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.pngm-activity-del {
  width: 34px;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #8a94a0;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.pngm-activity-del:hover {
  background: #fff5f5;
  border-color: #f5c2c0;
  color: #c62828;
}

@media (max-width: 980px) {
  .pngm-activity-chip {
    display: none !important;
  }

  .pngm-activity-head-text h1 {
    font-size: 22px;
  }
}

@media (max-width: 720px) {
  .pngm-activity-head {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .pngm-activity-head-actions {
    justify-content: flex-start;
  }

  .pngm-activity-card {
    padding: 14px;
    gap: 12px;
  }

  .pngm-activity-ico {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}




