/* Dashboard workspace: app-style account shell only. */

body.page-template-page-dashboard {
  --db-dashboard-admin-offset: 0px;
  --db-header-h: 0px;
  background: #edf2f7;
  min-height: 100vh;
}

body.page-template-page-dashboard.admin-bar {
  --db-dashboard-admin-offset: 32px;
  overflow: hidden !important;
}

@media (max-width: 782px) {
  body.page-template-page-dashboard.admin-bar {
    --db-dashboard-admin-offset: 46px;
  }
}

body.page-template-page-dashboard .db-site-main {
  background:
    radial-gradient(
      circle at top left,
      rgba(215, 25, 32, 0.07),
      transparent 24%
    ),
    linear-gradient(180deg, #f4f7fb 0%, #edf2f9 100%);
}

body.db-dashboard-drawer-lock {
  overflow: hidden;
}

.db-dashboard-page {
  padding: 0 !important;
}

.db-dashboard-page .db-container {
  width: 100%;
  max-width: none;
}

.db-dashboard-app {
  position: relative;
}

.db-dashboard-shellbar,
.db-dashboard-sidebar,
.db-dashboard-panel {
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
}

.db-dashboard-shellbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1.1fr) minmax(260px, 0.9fr) auto;
  gap: 14px;
  align-items: center;
  padding: 6px 18px;
  border-radius: 0;
}

.db-dashboard-shellbar__menu {
  appearance: none;
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  background: #fff;
  color: #0f172a;
  padding: 0 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.db-dashboard-shellbar__menu .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
}

.db-dashboard-shellbar__intro {
  min-width: 270px;
}

.db-dashboard-shellbar__eyebrow {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--db-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.db-dashboard-shellbar__intro strong {
  display: block;
  color: #0f172a;
  font-size: 15px;
  line-height: 1.08;
}

.db-dashboard-shellbar__intro p {
  /* display: grid; */
  gap: 2px;
  display: none;
  margin: 8px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.db-dashboard-shellbar__date {
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
  display: none;
}

.db-dashboard-shellbar__search {
  position: relative;
  min-width: 0;
}

.db-dashboard-shellbar__search .dashicons {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  color: #64748b;
  font-size: 18px;
  pointer-events: none;
}

.db-dashboard-shellbar__search input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 16px;
  background: #f8fafc;
  color: #0f172a;
  padding: 0 14px 0 42px;
}

.db-dashboard-shellbar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.db-dashboard-shellbar__action {
  appearance: none;
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  background: #fff;
  color: #1e293b;
  padding: 0 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.db-dashboard-shellbar__action .dashicons {
  width: 18px;
  height: 18px;
  color: #475569;
  font-size: 18px;
}

.db-dashboard-shellbar__action strong,
.db-dashboard-shellbar__action small {
  display: block;
  text-align: left;
  display: none;
}

.db-dashboard-shellbar__action small {
  color: #64748b;
  font-size: 11px;
  font-weight: 500;
}

.db-dashboard-shellbar__action em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--db-accent);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.db-dashboard-shellbar__action--profile {
  grid-template-columns: auto auto;
  gap: 6px 10px;
}

.db-dashboard-shellbar__avatar,
.db-dashboard-sidebar__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #d71920, #ff8b7d);
  color: #fff;
  font-weight: 700;
}

.db-dashboard-shellbar__avatar {
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  font-size: 13px;
}

.db-dashboard-sidebar {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 18px;
  border-radius: 0;
  color: #0f172a;
}

.db-dashboard-sidebar__close {
  appearance: none;
  display: none;
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
}

.db-dashboard-sidebar__close .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
}

.db-dashboard-sidebar__brand {
  display: grid;
  gap: 7px;
}

.db-dashboard-sidebar__kicker {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.db-dashboard-sidebar__brand strong {
  color: #0f172a;
  font-size: 12px;
  line-height: 1;
}

.db-dashboard-sidebar__brand p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
  display: none;
}

.db-dashboard-tabs {
  display: grid;
  gap: 0px;
}

.db-dashboard-tabs button {
  appearance: none;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 30px;
  background: #fff;
  color: #334155;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  line-height: 1;
  border: none;
}

.db-dashboard-tabs button .dashicons {
  width: 18px;
  height: 18px;
  color: #64748b;
  font-size: 18px;
}

.db-dashboard-tabs button em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.db-dashboard-tabs button.is-active {
  border-color: rgba(215, 25, 32, 0.18);
  background: linear-gradient(135deg, #fff6f6, #ffeef1);
  color: var(--db-accent);
}

.db-dashboard-tabs button.is-active .dashicons,
.db-dashboard-tabs button.is-active em {
  color: var(--db-accent);
}

.db-dashboard-tabs button.is-active em {
  background: rgba(215, 25, 32, 0.12);
}

.db-dashboard-sidebar__footer {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.db-dashboard-sidebar__profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(215, 25, 32, 0.12);
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(215, 25, 32, 0.07),
    rgba(255, 255, 255, 0.98)
  );
}

.db-dashboard-sidebar__avatar {
  width: 42px;
  height: 42px;
  font-size: 16px;
}

.db-dashboard-sidebar__profile strong,
.db-dashboard-sidebar__profile span {
  display: block;
}

.db-dashboard-sidebar__profile span {
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
}

.db-dashboard-sidebar__footer .db-btn {
  width: 100%;
}

.db-dashboard-drawer-backdrop {
  display: none;
}

.db-dashboard-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.db-owner-dashboard.is-tabs-ready .db-dashboard-main > .db-dashboard-panel {
  display: none;
}

.db-owner-dashboard.is-tabs-ready
  .db-dashboard-main
  > .db-dashboard-panel.is-active {
  display: block;
}

.db-dashboard-panel {
  margin: 0;
  border-radius: 0;
  padding: 20px;
  border: none !important;
}

.db-dashboard-notice {
  margin: 0;
}

.db-dashboard-head,
.db-dashboard-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.db-dashboard-head h3,
.db-dashboard-section-head h3,
.db-dashboard-panel h3 {
  margin: 0 0 4px;
  color: #0f172a;
  font-size: 12px;
  line-height: 1.08;
}

.db-dashboard-head p,
.db-dashboard-section-head p,
.db-dashboard-panel > p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.db-dashboard-helper {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.db-dashboard-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 14px;
}

.db-dashboard-action-tile {
  appearance: none;
  display: block;
  width: 100%;
  min-height: 88px;
  padding: 14px 15px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.db-dashboard-action-tile strong {
  display: block;
  margin-bottom: 6px;
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
}

.db-dashboard-action-tile span {
  display: block;
  color: #64748b;
  font-size: 12.5px;
  line-height: 1.5;
}

.db-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 14px;
}

.db-dashboard-stat-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.db-dashboard-stat-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(215, 25, 32, 0.08);
  color: var(--db-accent);
  font-size: 19px;
}

.db-dashboard-stat-card span {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.db-dashboard-stat-card strong {
  display: block;
  margin-top: 4px;
  color: #0f172a;
  font-size: clamp(24px, 2.3vw, 30px);
  line-height: 1.08;
}

.db-dashboard-stat-card small {
  display: block;
  margin-top: 7px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
}

.db-dashboard-form,
.db-dashboard-form.db-public-form {
  display: grid;
  gap: 14px;
}

.db-dashboard-form label {
  display: grid;
  gap: 8px;
}

.db-dashboard-form label span {
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
}

.db-dashboard-form input,
.db-dashboard-form select,
.db-dashboard-form textarea {
  width: 100%;
  min-width: 0;
}

.db-dashboard-form label.db-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  color: #0f172a;
  font-weight: 600;
}

.db-dashboard-form label.db-check input {
  width: auto;
  margin-top: 3px;
}

.db-dashboard-listings-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.db-dashboard-listings-toolbar__search,
.db-dashboard-listings-toolbar__filter {
  position: relative;
  min-width: 0;
}

.db-dashboard-listings-toolbar__search .dashicons {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  color: #64748b;
  font-size: 18px;
  pointer-events: none;
}

.db-dashboard-listings-toolbar__search input,
.db-dashboard-listings-toolbar__filter select {
  min-height: 46px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  background: #f8fafc;
}

.db-dashboard-listings-toolbar__search input {
  width: 100%;
  padding: 0 14px 0 42px;
}

.db-dashboard-listings-toolbar__filter select {
  min-width: 150px;
  padding: 0 38px 0 14px;
}

.db-dashboard-listings-toolbar__count {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.db-dashboard-listings-tablehead {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) 1fr 0.8fr 1fr 0.8fr;
  gap: 12px;
  padding: 0 18px 8px 42px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.db-dashboard-listings-empty {
  margin: 0 0 12px;
  color: #64748b;
}

.db-dashboard-listings {
  display: grid;
  gap: 10px;
}

.db-dashboard-listing {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--db-shadow-sm);
}

.db-dashboard-listing--compact {
  overflow: hidden;
}

.db-dashboard-listing__summary {
  list-style: none;
  display: grid;
  grid-template-columns: 18px minmax(0, 2.3fr) 1fr 0.8fr 1fr 0.8fr;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  cursor: pointer;
}

.db-dashboard-listing__summary::-webkit-details-marker {
  display: none;
}

.db-dashboard-listing__caret {
  color: #64748b;
  font-size: 16px;
  transition: transform 0.22s ease;
}

.db-dashboard-listing__accordion[open] .db-dashboard-listing__caret {
  transform: rotate(90deg);
}

.db-dashboard-listing__cell {
  min-width: 0;
}

.db-dashboard-listing__cell strong,
.db-dashboard-listing__cell span,
.db-dashboard-listing__cell small {
  display: block;
}

.db-dashboard-listing__cell--business strong {
  color: #0f172a;
  font-size: 15px;
  line-height: 1.25;
}

.db-dashboard-listing__cell--business span,
.db-dashboard-listing__cell--status small,
.db-dashboard-listing__cell--metric span,
.db-dashboard-listing__cell--toggle span {
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.db-dashboard-listing__cell--metric strong {
  color: #0f172a;
  font-size: 14px;
}

.db-dashboard-listing__cell--toggle {
  justify-self: end;
}

.db-dashboard-listing__status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.db-dashboard-listing__status--publish {
  background: rgba(21, 128, 61, 0.09);
  color: #15803d;
}

.db-dashboard-listing__status--draft {
  background: rgba(180, 83, 9, 0.11);
  color: #b45309;
}

.db-dashboard-listing__status--pending {
  background: rgba(37, 99, 235, 0.09);
  color: #2563eb;
}

.db-dashboard-listing__status--private {
  background: rgba(71, 85, 105, 0.12);
  color: #475569;
}

.db-dashboard-listing__body {
  display: grid;
  gap: 14px;
  padding: 0 18px 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.db-dashboard-listing__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 14px;
}

.db-dashboard-listing-modal {
  justify-content: flex-end;
  padding: 0;
}

.db-dashboard-listing-modal .db-action-modal__panel {
  width: min(1160px, calc(100% - 28px));
  max-height: 100vh;
  height: 100vh;
  margin-left: auto;
  border-radius: 24px 0 0 24px;
  padding: 26px 22px 22px;
}

.db-dashboard-listing-modal--narrow .db-action-modal__panel {
  width: min(700px, calc(100% - 28px));
}

.db-dashboard-listing-modal__intro {
  margin-bottom: 18px;
  padding-right: 44px;
}

.db-dashboard-listing-modal__intro h2 {
  margin: 4px 0 8px;
  color: #0f172a;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.08;
}

.db-dashboard-listing-modal__intro p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.db-completion {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  background: #fbfcff;
}

.db-completion-bar {
  height: 10px;
  margin: 10px 0;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}

.db-completion-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(135deg, var(--db-accent), #ff7b95);
}

.db-kyc-list,
.db-credit-history {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.db-kyc-list article,
.db-credit-txn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 16px;
  background: #fff;
}

.db-pending-list {
  margin: 14px 0 0;
  padding-left: 18px;
}

.db-credit-dashboard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  background: #fbfcff;
  margin: 12px 0 16px;
}

.db-credit-balance {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.db-credit-balance span {
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
}

.db-credit-balance strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  color: #0f172a;
  font-size: 28px;
  line-height: 1;
}

.db-credit-balance small {
  color: #64748b;
  font-size: 12.5px;
}

.db-credit-actions,
.db-dashboard-auth-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.db-referral-card {
  display: grid;
  gap: 12px;
}

.db-referral-code {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.db-referral-code strong {
  color: #0f172a;
  font-weight: 700;
}

.db-referral-code input {
  flex: 1 1 320px;
  min-width: 0;
  max-width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
  color: #334155;
}

.db-account-delete-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 14px;
}

.db-account-delete-form label {
  display: grid;
  gap: 8px;
}

.db-account-delete-form textarea {
  width: 100%;
  min-height: 92px;
  resize: vertical;
}

.db-account-delete-form .db-btn {
  white-space: nowrap;
}

@media (min-width: 761px) {
  .db-dashboard-form,
  .db-dashboard-form.db-public-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .db-dashboard-form label:not(.db-check):not(.db-form-wide) {
    grid-column: span 1;
  }

  .db-dashboard-form .db-form-wide,
  .db-dashboard-form button,
  .db-dashboard-form > p,
  .db-dashboard-form > h4,
  .db-dashboard-form > div,
  .db-dashboard-form label.db-check {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1040px) {
  body.page-template-page-dashboard {
    position: relative;
    height: 100vh;
    overflow: hidden;
  }

  body.page-template-page-dashboard .db-site-main {
    position: fixed;
    top: calc(var(--db-header-h) + var(--db-dashboard-admin-offset));
    right: 0;
    bottom: 0;
    left: 0;
    height: calc(100vh - var(--db-header-h) - var(--db-dashboard-admin-offset));
    min-height: calc(
      100vh - var(--db-header-h) - var(--db-dashboard-admin-offset)
    );
    overflow: hidden;
  }

  .db-dashboard-page {
    height: 100%;
    padding: 12px 0 14px;
    position: relative;
    overflow: hidden;
  }

  .db-dashboard-page .db-container {
    height: 100%;
    width: 100%;
  }

  .db-owner-dashboard {
    grid-template-columns: 232px minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 0;
    height: 100%;
  }

  .db-owner-dashboard > .db-dashboard-shellbar {
    grid-column: 1 / -1;
    position: fixed;
    top: 0;
    z-index: 99999;
    width: 100%;
    background: #fff;
  }

  .db-owner-dashboard > .db-dashboard-sidebar {
    position: fixed;
    top: 0;
    align-self: start;
    max-height: 100%;
    min-height: 0;
    overflow: auto;
    left: 0;
    bottom: 0;
    width: 232px;
    transform: translateX(0);
    transition:
      transform 0.24s ease,
      box-shadow 0.24s ease;
    z-index: 32;
    background: #fff;
    padding-top: 74px;
  }

  .db-owner-dashboard > .db-dashboard-main {
    min-height: 0;
    overflow: auto;
    padding-right: 0;
    padding-top: 24px;
    padding-left: 232px;
  }
}

@media (max-width: 1180px) {
  .db-dashboard-shellbar {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .db-dashboard-shellbar__search,
  .db-dashboard-shellbar__actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1039px) {
  body.page-template-page-dashboard {
    overflow: auto;
  }

  body.page-template-page-dashboard .db-site-main {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .db-dashboard-shellbar__menu,
  .db-dashboard-sidebar__close {
    display: inline-flex;
    justify-content: center;
  }

  .db-dashboard-shellbar {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .db-dashboard-shellbar__search,
  .db-dashboard-shellbar__actions {
    grid-column: 1 / -1;
  }

  .db-dashboard-sidebar {
    position: fixed;
    top: calc(var(--db-header-h) + var(--db-dashboard-admin-offset) + 12px);
    left: 12px;
    bottom: 12px;
    width: min(320px, calc(100vw - 24px));
    transform: translateX(calc(-100% - 18px));
    transition:
      transform 0.24s ease,
      box-shadow 0.24s ease;
    z-index: 120;
    overflow: auto;
  }

  .db-dashboard-drawer-backdrop {
    position: fixed;
    inset: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.44);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
    z-index: 110;
  }

  .db-owner-dashboard.is-drawer-open .db-dashboard-sidebar {
    transform: translateX(0);
  }

  .db-owner-dashboard.is-drawer-open .db-dashboard-drawer-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 900px) {
  .db-dashboard-actions-grid,
  .db-dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .db-dashboard-listings-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .db-dashboard-listings-toolbar__count {
    grid-column: 1 / -1;
  }

  .db-dashboard-listings-tablehead {
    display: none;
  }

  .db-dashboard-listing__summary {
    grid-template-columns: 18px minmax(0, 1fr) minmax(0, 1fr);
  }

  .db-dashboard-listing__cell--business {
    grid-column: 2 / -1;
  }

  .db-dashboard-listing__cell--toggle {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .db-dashboard-page {
    padding: 14px 0 24px;
  }

  .db-dashboard-page .db-container {
    width: min(100% - 20px, 1480px);
  }

  .db-dashboard-shellbar,
  .db-dashboard-sidebar,
  .db-dashboard-panel {
    border-radius: 18px;
  }

  .db-dashboard-shellbar {
    padding: 14px;
  }

  .db-dashboard-shellbar__actions {
    justify-content: stretch;
  }

  .db-dashboard-shellbar__action {
    flex: 1 1 calc(50% - 5px);
    justify-content: center;
  }

  .db-dashboard-head,
  .db-dashboard-section-head,
  .db-kyc-list article,
  .db-credit-dashboard,
  .db-credit-txn {
    display: grid;
  }

  .db-dashboard-actions-grid,
  .db-dashboard-stats {
    grid-template-columns: 1fr;
  }

  .db-dashboard-listings-toolbar {
    grid-template-columns: 1fr;
  }

  .db-dashboard-listing__summary {
    grid-template-columns: 18px 1fr;
    gap: 10px;
  }

  .db-dashboard-listing__cell {
    grid-column: 2;
  }

  .db-dashboard-listing__cell--toggle {
    justify-self: start;
  }

  .db-dashboard-listing__actions .db-btn,
  .db-credit-actions .db-btn,
  .db-dashboard-head .db-btn,
  .db-dashboard-section-head .db-btn {
    width: 100%;
  }

  .db-dashboard-form,
  .db-dashboard-form.db-public-form,
  .db-account-delete-form {
    grid-template-columns: 1fr;
  }

  .db-account-delete-form .db-btn {
    width: 100%;
  }

  .db-dashboard-listing-modal .db-action-modal__panel,
  .db-dashboard-listing-modal--narrow .db-action-modal__panel {
    width: 100%;
    height: auto;
    max-height: 88vh;
    border-radius: 24px 24px 0 0;
    padding: 22px 16px 18px;
  }
}

@media (max-width: 560px) {
  .db-dashboard-shellbar__action {
    flex-basis: 100%;
  }

  .db-dashboard-panel {
    padding: 18px;
  }

  .db-dashboard-listing__body {
    padding: 0 16px 16px;
  }
}

/* Account listing builder route uses the same dashboard shell as /account/ pages. */
body.db-account-dashboard-shell-page {
  --db-dashboard-admin-offset: 0px;
  --db-header-h: 0px;
  background: #edf2f7;
  min-height: 100vh;
}

body.db-account-dashboard-shell-page.admin-bar {
  --db-dashboard-admin-offset: 32px;
  overflow: hidden !important;
}

body.db-account-dashboard-shell-page .db-site-main {
  background:
    radial-gradient(circle at top left, rgba(215, 25, 32, 0.07), transparent 24%),
    linear-gradient(180deg, #f4f7fb 0%, #edf2f9 100%);
}

.db-dashboard-tabs a {
  appearance: none;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 30px;
  background: #fff;
  color: #334155;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  line-height: 1;
  border: none;
  text-decoration: none;
}

.db-dashboard-tabs a .dashicons {
  width: 18px;
  height: 18px;
  color: #64748b;
  font-size: 18px;
}

.db-dashboard-tabs a.is-active {
  border-color: rgba(215, 25, 32, 0.18);
  background: linear-gradient(135deg, #fff6f6, #ffeef1);
  color: var(--db-accent);
}

.db-dashboard-tabs a.is-active .dashicons {
  color: var(--db-accent);
}

.db-account-builder-panel {
  min-height: 100%;
}

.db-account-builder-panel .db-add-listing-builder-slot {
  margin: 0;
}

.db-owner-dashboard--builder .db-dashboard-shellbar__action {
  text-decoration: none;
}

@media (max-width: 782px) {
  body.db-account-dashboard-shell-page.admin-bar {
    --db-dashboard-admin-offset: 46px;
  }
}

@media (min-width: 1040px) {
  body.db-account-dashboard-shell-page {
    position: relative;
    height: 100vh;
    overflow: hidden;
  }

  body.db-account-dashboard-shell-page .db-site-main {
    position: fixed;
    top: calc(var(--db-header-h) + var(--db-dashboard-admin-offset));
    right: 0;
    bottom: 0;
    left: 0;
    height: calc(100vh - var(--db-header-h) - var(--db-dashboard-admin-offset));
    min-height: calc(100vh - var(--db-header-h) - var(--db-dashboard-admin-offset));
    overflow: hidden;
  }
}

@media (max-width: 1039px) {
  body.db-account-dashboard-shell-page {
    overflow: auto;
  }

  body.db-account-dashboard-shell-page .db-site-main {
    height: auto;
    min-height: 0;
    overflow: visible;
  }
}


/* ==========================================================
   v1.2.26 Account dashboard polish
   Scope: account/dashboard shell only. Public website pages unaffected.
   ========================================================== */

body.page-template-page-dashboard,
body.db-account-dashboard-shell-page {
  background: #f5f7fb;
}

body.page-template-page-dashboard .db-site-main,
body.db-account-dashboard-shell-page .db-site-main {
  background: #f5f7fb;
}

.db-dashboard-shellbar {
  min-height: 58px;
  padding: 8px 20px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.045);
}

.db-dashboard-shellbar__intro {
  min-width: 220px;
}

.db-dashboard-shellbar__eyebrow {
  margin-bottom: 3px;
  font-size: 10px;
  letter-spacing: 0.18em;
}

.db-dashboard-shellbar__intro strong {
  font-size: 16px;
  letter-spacing: -0.02em;
}

.db-dashboard-shellbar__search input {
  min-height: 42px;
  max-width: 760px;
  border-radius: 14px;
  background: #f8fafc;
}

.db-dashboard-shellbar__action {
  min-width: 42px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 14px;
  box-shadow: none;
}

.db-dashboard-sidebar {
  border-right: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 12px 0 38px rgba(15, 23, 42, 0.04);
}

.db-dashboard-tabs {
  gap: 4px;
}

.db-dashboard-tabs button,
.db-dashboard-tabs a {
  min-height: 36px;
  padding: 9px 12px;
  border-radius: 0;
  background: transparent;
  line-height: 1.15;
}

.db-dashboard-tabs button:hover,
.db-dashboard-tabs a:hover {
  background: #f8fafc;
  color: #0f172a;
}

.db-dashboard-tabs button.is-active,
.db-dashboard-tabs a.is-active {
  background: #fff1f2;
  color: var(--db-accent);
}

.db-dashboard-sidebar__profile {
  padding: 12px;
  border-radius: 16px;
}

.db-dashboard-sidebar__footer .db-btn {
  min-height: 38px;
  border-radius: 12px;
}

.db-dashboard-main {
  gap: 14px;
}

.db-dashboard-main > .db-dashboard-panel,
.db-dashboard-notice {
  width: 100%;
  max-width: 1260px;
  margin-inline: auto;
}

.db-dashboard-main > .db-dashboard-panel {
  min-height: auto;
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, 0.14) !important;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.045);
}

.db-dashboard-notice {
  padding: 11px 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.035);
}

.db-dashboard-head,
.db-dashboard-section-head {
  margin-bottom: 16px;
  padding-bottom: 0;
}

.db-dashboard-head h3,
.db-dashboard-section-head h3,
.db-dashboard-panel h3 {
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.db-dashboard-head p,
.db-dashboard-section-head p,
.db-dashboard-panel > p {
  max-width: 720px;
  font-size: 13px;
  line-height: 1.5;
}

.db-dashboard-panel .db-btn,
.db-dashboard-panel button.db-btn,
.db-dashboard-panel .button {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 700;
}

.db-dashboard-actions-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.db-dashboard-action-tile {
  min-height: 74px;
  padding: 13px 14px;
  border-radius: 16px;
}

.db-dashboard-action-tile strong {
  font-size: 14px;
  margin-bottom: 3px;
}

.db-dashboard-action-tile span {
  font-size: 12px;
  line-height: 1.4;
}

.db-dashboard-stats {
  gap: 10px;
}

.db-dashboard-stat-card {
  padding: 14px;
  border-radius: 17px;
}

.db-dashboard-stat-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
}

.db-dashboard-stat-card strong {
  font-size: 24px;
}

.db-dashboard-stat-card small {
  font-size: 11.5px;
}

/* Small account forms should not stretch across the entire dashboard. */
.db-dashboard-panel[data-db-dashboard-panel="profile"] .db-dashboard-form,
.db-dashboard-panel[data-db-dashboard-panel="settings"] .db-dashboard-form,
.db-dashboard-panel[data-db-dashboard-panel="settings"] .db-public-form,
.db-dashboard-panel[data-db-dashboard-panel="account"] .db-dashboard-form {
  width: min(100%, 460px);
  margin: 18px auto 0;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 18px;
  background: #f8fafc;
  box-shadow: none;
}

.db-dashboard-panel[data-db-dashboard-panel="profile"] .db-dashboard-form,
.db-dashboard-panel[data-db-dashboard-panel="settings"] .db-dashboard-form,
.db-dashboard-panel[data-db-dashboard-panel="settings"] .db-public-form,
.db-dashboard-panel[data-db-dashboard-panel="account"] .db-dashboard-form,
.db-account-delete-form {
  grid-template-columns: 1fr !important;
}

.db-dashboard-form label {
  gap: 6px;
}

.db-dashboard-form label span {
  font-size: 11.5px;
}

.db-dashboard-form input,
.db-dashboard-form select,
.db-dashboard-form textarea {
  min-height: 40px;
  border-radius: 12px;
  font-size: 13px;
}

.db-dashboard-form textarea {
  min-height: 96px;
}

.db-dashboard-form > .db-btn,
.db-dashboard-form button[type="submit"],
.db-account-delete-form .db-btn {
  justify-self: stretch;
  width: 100%;
  min-height: 38px;
}

.db-dashboard-form label.db-check {
  align-items: center;
  padding: 8px 0;
}

.db-dashboard-form label.db-check input {
  width: 16px;
  height: 16px;
}

/* Listing management: compact and useful, not explanation-heavy. */
.db-dashboard-listings-toolbar {
  grid-template-columns: minmax(0, 1fr) 150px auto;
  gap: 8px;
}

.db-dashboard-listings-toolbar__search input,
.db-dashboard-listings-toolbar__filter select {
  min-height: 40px;
  border-radius: 13px;
  font-size: 13px;
}

.db-dashboard-listings-tablehead {
  grid-template-columns: 16px minmax(0, 2fr) 112px 96px 128px 74px;
  gap: 10px;
  padding: 0 14px 7px 14px;
  font-size: 10px;
}

.db-dashboard-listing {
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.035);
}

.db-dashboard-listing__summary {
  grid-template-columns: 16px minmax(0, 2fr) 112px 96px 128px 74px;
  gap: 10px;
  padding: 13px 14px;
}

.db-dashboard-listing__cell--business strong {
  font-size: 14px;
  line-height: 1.25;
}

.db-dashboard-listing__cell--business span {
  display: none;
}

.db-dashboard-listing__cell--status small,
.db-dashboard-listing__cell--metric span,
.db-dashboard-listing__cell--toggle span {
  display: none;
}

.db-dashboard-listing__cell--metric strong {
  font-size: 13px;
}

.db-dashboard-listing__status {
  min-height: 24px;
  padding: 0 9px;
  font-size: 10px;
}

.db-dashboard-listing__cell--toggle {
  color: #64748b;
  font-size: 12px;
}

.db-dashboard-listing__body {
  gap: 12px;
  padding: 0 14px 14px;
}

.db-dashboard-listing__actions {
  gap: 8px;
  padding-top: 12px;
}

.db-dashboard-listing__actions .db-btn {
  min-height: 34px;
}

/* Simple list cards used by claims, ads, deals and history panels. */
.db-dashboard-listing-card,
.db-campaign-row,
.db-credit-txn,
.db-kyc-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.032);
}

.db-dashboard-listing-card strong,
.db-campaign-row strong,
.db-kyc-list article strong {
  display: block;
  color: #0f172a;
  font-size: 14px;
  line-height: 1.25;
}

.db-dashboard-listing-card span,
.db-campaign-row span,
.db-kyc-list article span {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
}

.db-empty-state {
  max-width: 720px;
  margin: 16px auto 0;
  padding: 22px;
  border-radius: 18px;
  background: #fbfcff;
  text-align: center;
}

.db-empty-state strong {
  display: block;
  color: #0f172a;
  font-size: 15px;
}

.db-empty-state p {
  max-width: 560px;
  margin: 8px auto 0;
  color: #64748b;
  font-size: 13px;
}

.db-credit-dashboard,
.db-referral-card {
  max-width: 760px;
  margin-inline: auto;
}

.db-account-delete-form textarea {
  min-height: 112px;
}

@media (min-width: 1040px) {
  .db-owner-dashboard > .db-dashboard-main {
    padding-top: 82px;
    padding-right: clamp(18px, 2.2vw, 34px);
    padding-bottom: 36px;
    padding-left: calc(270px + clamp(18px, 2.2vw, 34px));
  }
}

@media (max-width: 1180px) {
  .db-dashboard-actions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .db-dashboard-listings-tablehead {
    display: none;
  }

  .db-dashboard-listing__summary {
    grid-template-columns: 16px minmax(0, 1fr) auto;
  }

  .db-dashboard-listing__cell--business {
    grid-column: 2 / -1;
  }

  .db-dashboard-listing__cell--status,
  .db-dashboard-listing__cell--metric,
  .db-dashboard-listing__cell--toggle {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .db-dashboard-listing__cell--status small,
  .db-dashboard-listing__cell--metric span {
    display: block;
  }
}

@media (max-width: 760px) {
  .db-dashboard-main > .db-dashboard-panel {
    padding: 16px;
    border-radius: 18px;
  }

  .db-dashboard-actions-grid,
  .db-dashboard-stats,
  .db-dashboard-listings-toolbar {
    grid-template-columns: 1fr;
  }

  .db-dashboard-panel[data-db-dashboard-panel="profile"] .db-dashboard-form,
  .db-dashboard-panel[data-db-dashboard-panel="settings"] .db-dashboard-form,
  .db-dashboard-panel[data-db-dashboard-panel="settings"] .db-public-form,
  .db-dashboard-panel[data-db-dashboard-panel="account"] .db-dashboard-form {
    width: 100%;
    padding: 14px;
    margin-top: 14px;
  }

  .db-dashboard-listing-card,
  .db-campaign-row,
  .db-credit-txn,
  .db-kyc-list article {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================
   v1.2.27 Account dashboard product polish
   Goal: less text, clearer cards, compact forms, tighter actions.
   Scope: account/dashboard shell only.
   ========================================================== */

body.page-template-page-dashboard,
body.db-account-dashboard-shell-page {
  --db-dash-bg: #f6f8fb;
  --db-dash-surface: #ffffff;
  --db-dash-border: rgba(148, 163, 184, 0.18);
  --db-dash-muted: #64748b;
  --db-dash-ink: #0f172a;
  --db-dash-soft: #f8fafc;
  --db-dash-card-shadow: 0 12px 30px rgba(15, 23, 42, 0.045);
  --db-dash-card-shadow-hover: 0 16px 36px rgba(15, 23, 42, 0.07);
  --db-dash-radius: 18px;
  background: var(--db-dash-bg);
}

.db-dashboard-shellbar,
.db-dashboard-sidebar,
.db-dashboard-main > .db-dashboard-panel,
.db-dashboard-notice {
  background: var(--db-dash-surface);
}

.db-dashboard-shellbar {
  min-height: 56px;
  padding: 7px clamp(14px, 1.5vw, 22px);
  border: 0;
  border-bottom: 1px solid var(--db-dash-border);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.035);
}

.db-dashboard-shellbar__intro strong {
  font-size: 15px;
}

.db-dashboard-shellbar__eyebrow {
  color: var(--db-accent);
  font-size: 9.5px;
  letter-spacing: 0.18em;
}

.db-dashboard-shellbar__search {
  max-width: 720px;
}

.db-dashboard-shellbar__search input {
  min-height: 40px;
  border-radius: 14px;
  background: #f9fbfd;
  font-size: 13px;
}

.db-dashboard-shellbar__action {
  min-width: 40px;
  min-height: 40px;
  padding: 0 11px;
  border-radius: 14px;
  background: #fff;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.db-dashboard-shellbar__action:hover {
  background: #f8fafc;
  border-color: rgba(215, 25, 32, 0.22);
}

.db-dashboard-sidebar {
  width: 258px;
  padding: 16px 14px;
  border: 0;
  border-right: 1px solid var(--db-dash-border);
  box-shadow: 8px 0 28px rgba(15, 23, 42, 0.03);
}

.db-dashboard-sidebar__brand {
  gap: 4px;
  padding: 0 2px 8px;
}

.db-dashboard-sidebar__kicker {
  font-size: 10px;
  letter-spacing: 0.18em;
}

.db-dashboard-sidebar__brand strong {
  font-size: 13px;
}

.db-dashboard-tabs {
  gap: 3px;
}

.db-dashboard-tabs button,
.db-dashboard-tabs a {
  min-height: 34px;
  padding: 8px 11px;
  border-radius: 10px;
  color: #475569;
  font-size: 12.5px;
  font-weight: 600;
}

.db-dashboard-tabs button .dashicons,
.db-dashboard-tabs a .dashicons {
  width: 17px;
  height: 17px;
  font-size: 17px;
  color: #64748b;
}

.db-dashboard-tabs button:hover,
.db-dashboard-tabs a:hover {
  background: #f8fafc;
  color: #0f172a;
}

.db-dashboard-tabs button.is-active,
.db-dashboard-tabs a.is-active {
  background: #fff1f2;
  color: var(--db-accent);
  box-shadow: inset 3px 0 0 var(--db-accent);
}

.db-dashboard-sidebar__profile {
  padding: 10px;
  border-radius: 14px;
  background: #fff8f9;
}

.db-dashboard-sidebar__avatar,
.db-dashboard-shellbar__avatar {
  box-shadow: 0 8px 18px rgba(215, 25, 32, 0.18);
}

.db-dashboard-sidebar__footer .db-btn {
  min-height: 34px;
  border-radius: 12px;
  font-size: 12px;
}

.db-dashboard-main {
  gap: 12px;
}

.db-dashboard-main > .db-dashboard-panel,
.db-dashboard-notice {
  max-width: 1180px;
}

.db-dashboard-main > .db-dashboard-panel {
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid var(--db-dash-border) !important;
  border-radius: var(--db-dash-radius);
  box-shadow: var(--db-dash-card-shadow);
}

.db-dashboard-notice {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--db-dash-border);
  border-radius: 14px;
  color: #0f172a;
  font-size: 13px;
}

.db-dashboard-head,
.db-dashboard-section-head {
  margin-bottom: 14px;
  align-items: center;
}

.db-dashboard-head h3,
.db-dashboard-section-head h3,
.db-dashboard-panel > h3 {
  margin-bottom: 3px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.db-dashboard-head p,
.db-dashboard-section-head p,
.db-dashboard-panel > p {
  max-width: 620px;
  color: var(--db-dash-muted);
  font-size: 12.5px;
  line-height: 1.45;
}

/* Make low-density inner pages feel intentional, centered, and compact. */
.db-dashboard-main > .db-dashboard-panel[data-db-dashboard-panel="profile"],
.db-dashboard-main > .db-dashboard-panel[data-db-dashboard-panel="settings"],
.db-dashboard-main > .db-dashboard-panel[data-db-dashboard-panel="account"] {
  max-width: 720px;
  margin-inline: auto;
}

.db-dashboard-panel[data-db-dashboard-panel="profile"] .db-dashboard-section-head,
.db-dashboard-panel[data-db-dashboard-panel="settings"] > h3,
.db-dashboard-panel[data-db-dashboard-panel="settings"] > p,
.db-dashboard-panel[data-db-dashboard-panel="account"] > h3,
.db-dashboard-panel[data-db-dashboard-panel="account"] > p {
  max-width: 460px;
  margin-inline: auto;
}

.db-dashboard-panel[data-db-dashboard-panel="settings"] > h3,
.db-dashboard-panel[data-db-dashboard-panel="account"] > h3 {
  text-align: left;
}

.db-dashboard-panel[data-db-dashboard-panel="profile"] .db-dashboard-form,
.db-dashboard-panel[data-db-dashboard-panel="settings"] .db-dashboard-form,
.db-dashboard-panel[data-db-dashboard-panel="settings"] .db-public-form,
.db-dashboard-panel[data-db-dashboard-panel="account"] .db-dashboard-form,
.db-account-delete-form {
  width: min(100%, 430px) !important;
  max-width: 430px !important;
  margin: 16px auto 0 !important;
  padding: 16px !important;
  border: 1px solid var(--db-dash-border) !important;
  border-radius: 16px !important;
  background: #f9fbfd !important;
  box-shadow: none !important;
  grid-template-columns: 1fr !important;
}

.db-dashboard-panel[data-db-dashboard-panel="settings"] .db-dashboard-form {
  gap: 10px;
}

.db-dashboard-form label span,
.db-account-delete-form label span {
  font-size: 11px;
  line-height: 1.2;
}

.db-dashboard-form input,
.db-dashboard-form select,
.db-dashboard-form textarea,
.db-account-delete-form textarea {
  min-height: 38px;
  border-color: rgba(148, 163, 184, 0.2);
  border-radius: 11px;
  background: #fff;
  font-size: 13px;
}

.db-dashboard-form textarea,
.db-account-delete-form textarea {
  min-height: 92px;
}

.db-dashboard-form label.db-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 12px;
  background: #fff;
  font-size: 12.5px;
  line-height: 1.35;
}

.db-dashboard-form label.db-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--db-accent);
}

.db-dashboard-panel .db-btn,
.db-dashboard-panel button.db-btn,
.db-dashboard-panel .button,
.db-dashboard-head .db-btn,
.db-dashboard-section-head .db-btn {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 750;
}

.db-dashboard-form > .db-btn,
.db-dashboard-form button[type="submit"],
.db-account-delete-form .db-btn {
  min-height: 36px;
}

/* Overview should show useful visual cards, not long explanations. */
.db-dashboard-actions-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 12px;
}

.db-dashboard-action-tile {
  min-height: 70px;
  padding: 12px 13px;
  border-color: rgba(148, 163, 184, 0.14);
  border-radius: 15px;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  box-shadow: none;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.db-dashboard-action-tile:hover {
  transform: translateY(-1px);
  border-color: rgba(215, 25, 32, 0.2);
  box-shadow: var(--db-dash-card-shadow-hover);
}

.db-dashboard-action-tile strong {
  margin-bottom: 3px;
  font-size: 13.5px;
}

.db-dashboard-action-tile span {
  color: #64748b;
  font-size: 11.5px;
  line-height: 1.35;
}

.db-dashboard-stats {
  gap: 10px;
  margin: 12px 0;
}

.db-dashboard-stat-card {
  min-height: 94px;
  padding: 13px;
  border-radius: 16px;
  background: #fbfcff;
  box-shadow: none;
}

.db-dashboard-stat-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  font-size: 16px;
}

.db-dashboard-stat-card strong {
  font-size: 22px;
}

.db-dashboard-stat-card small {
  max-width: 320px;
  font-size: 11.25px;
  line-height: 1.35;
}

/* Listings: compact management rows with clearer actions. */
.db-dashboard-listings-toolbar {
  grid-template-columns: minmax(0, 1fr) 148px auto;
  gap: 8px;
  margin-bottom: 10px;
}

.db-dashboard-listings-toolbar__search input,
.db-dashboard-listings-toolbar__filter select {
  min-height: 38px;
  border-radius: 12px;
  background: #fff;
  font-size: 12.5px;
}

.db-dashboard-listings-tablehead {
  grid-template-columns: 16px minmax(0, 2.2fr) 104px 86px 112px 70px;
  padding: 0 12px 7px 12px;
  font-size: 9.5px;
  letter-spacing: 0.08em;
}

.db-dashboard-listing {
  border-color: rgba(148, 163, 184, 0.14);
  border-radius: 15px;
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.03);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.db-dashboard-listing:hover {
  transform: translateY(-1px);
  border-color: rgba(215, 25, 32, 0.16);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.055);
}

.db-dashboard-listing__summary {
  grid-template-columns: 16px minmax(0, 2.2fr) 104px 86px 112px 70px;
  padding: 12px;
}

.db-dashboard-listing__cell--business strong {
  font-size: 13.5px;
  line-height: 1.22;
}

.db-dashboard-listing__cell--business span,
.db-dashboard-listing__cell--status small,
.db-dashboard-listing__cell--metric span,
.db-dashboard-listing__cell--toggle span {
  display: none !important;
}

.db-dashboard-listing__status {
  min-height: 22px;
  padding: 0 8px;
  font-size: 9.5px;
}

.db-dashboard-listing__cell--metric strong {
  font-size: 12.5px;
}

.db-dashboard-listing__cell--toggle {
  font-size: 11.5px;
}

.db-dashboard-listing__body {
  gap: 10px;
  padding: 0 12px 12px;
}

.db-dashboard-listing__actions {
  gap: 7px;
  padding-top: 11px;
}

.db-dashboard-listing__actions .db-btn {
  min-height: 32px;
  padding: 0 11px;
}

.db-completion {
  padding: 12px;
  border-radius: 14px;
  background: #f9fbfd;
}

.db-completion-bar {
  height: 8px;
}

/* Claims, ads, deals, KYC and wallet lists. */
.db-dashboard-listing-card,
.db-campaign-row,
.db-credit-txn,
.db-kyc-list article {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  border-color: rgba(148, 163, 184, 0.14);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.03);
}

.db-dashboard-listing-card strong,
.db-campaign-row strong,
.db-kyc-list article strong,
.db-credit-txn strong {
  display: block;
  color: #0f172a;
  font-size: 13.5px;
  line-height: 1.25;
}

.db-dashboard-listing-card span,
.db-campaign-row span,
.db-kyc-list article span,
.db-credit-txn small {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 11.5px;
  line-height: 1.35;
}

.db-campaign-row > div:last-child,
.db-dashboard-listing-card > div:last-child {
  justify-self: end;
}

.db-empty-state {
  position: relative;
  max-width: 560px;
  margin: 18px auto 0;
  padding: 26px 20px 22px;
  border: 1px dashed rgba(148, 163, 184, 0.28);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fbfcff);
  text-align: center;
}

.db-empty-state::before {
  content: "";
  display: block;
  width: 34px;
  height: 34px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background: rgba(215, 25, 32, 0.08);
  box-shadow: inset 0 0 0 1px rgba(215, 25, 32, 0.08);
}

.db-empty-state strong {
  font-size: 14px;
}

.db-empty-state p {
  max-width: 430px;
  font-size: 12.5px;
  line-height: 1.45;
}

.db-credit-dashboard,
.db-referral-card,
.db-account-ad-builder {
  max-width: 760px;
  margin-inline: auto;
}

.db-credit-dashboard {
  padding: 14px;
  border-radius: 16px;
  background: #fbfcff;
}

.db-credit-balance strong {
  font-size: 24px;
}

.db-referral-card {
  padding: 16px;
  border: 1px solid var(--db-dash-border);
  border-radius: 18px;
  background: #fbfcff;
}

.db-referral-code input {
  min-height: 38px;
  font-size: 12.5px;
}

@media (min-width: 1040px) {
  .db-owner-dashboard {
    grid-template-columns: 258px minmax(0, 1fr);
  }

  .db-owner-dashboard > .db-dashboard-sidebar {
    width: 258px;
    padding-top: 70px;
  }

  .db-owner-dashboard > .db-dashboard-main {
    padding-top: 76px;
    padding-left: calc(258px + clamp(16px, 2vw, 28px));
    padding-right: clamp(16px, 2vw, 28px);
    padding-bottom: 28px;
  }
}

@media (max-width: 1180px) {
  .db-dashboard-actions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .db-dashboard-main > .db-dashboard-panel,
  .db-dashboard-notice {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .db-dashboard-listings-tablehead {
    display: none;
  }

  .db-dashboard-listing__summary {
    grid-template-columns: 16px minmax(0, 1fr) auto;
    align-items: start;
  }

  .db-dashboard-listing__cell--business {
    grid-column: 2 / -1;
  }

  .db-dashboard-listing__cell--status,
  .db-dashboard-listing__cell--metric,
  .db-dashboard-listing__cell--toggle {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .db-dashboard-listing__cell--status small,
  .db-dashboard-listing__cell--metric span {
    display: block !important;
  }

  .db-dashboard-listing__cell--business span {
    display: block !important;
  }
}

@media (max-width: 760px) {
  .db-dashboard-shellbar {
    padding: 12px;
  }

  .db-dashboard-shellbar__search input {
    min-height: 38px;
  }

  .db-dashboard-main > .db-dashboard-panel {
    padding: 15px;
    border-radius: 17px;
  }

  .db-dashboard-panel[data-db-dashboard-panel="profile"] .db-dashboard-form,
  .db-dashboard-panel[data-db-dashboard-panel="settings"] .db-dashboard-form,
  .db-dashboard-panel[data-db-dashboard-panel="settings"] .db-public-form,
  .db-dashboard-panel[data-db-dashboard-panel="account"] .db-dashboard-form,
  .db-account-delete-form {
    max-width: 100% !important;
    padding: 14px !important;
  }

  .db-dashboard-actions-grid,
  .db-dashboard-stats,
  .db-dashboard-listings-toolbar,
  .db-dashboard-listing-card,
  .db-campaign-row,
  .db-credit-txn,
  .db-kyc-list article,
  .db-credit-dashboard,
  .db-referral-code {
    grid-template-columns: 1fr !important;
  }

  .db-dashboard-head,
  .db-dashboard-section-head {
    display: grid;
    gap: 10px;
    align-items: start;
  }

  .db-dashboard-head .db-btn,
  .db-dashboard-section-head .db-btn {
    justify-self: start;
  }

  .db-dashboard-listing__actions .db-btn,
  .db-credit-actions .db-btn {
    width: 100%;
  }
}

/* ==========================================================
   v1.2.28 Account listing builder scroll + declutter pass
   Scope: /account/listings/add/ and edit builder only.
   Keeps dashboard routes fixed; builder routes scroll naturally.
   ========================================================== */

body.db-account-builder-shell-page,
body.db-account-builder-shell-page.admin-bar {
  height: auto !important;
  min-height: 100vh !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

body.db-account-builder-shell-page .db-site-main {
  min-height: 100vh;
}

body.db-account-builder-shell-page .db-account-builder-page {
  background: #f5f7fb;
}

body.db-account-builder-shell-page .db-owner-dashboard--builder {
  background: #f5f7fb;
}

body.db-account-builder-shell-page .db-owner-dashboard--builder .db-dashboard-shellbar__intro p {
  display: none;
}

body.db-account-builder-shell-page .db-owner-dashboard--builder .db-dashboard-shellbar__search input {
  min-height: 38px;
}

body.db-account-builder-shell-page .db-owner-dashboard--builder .db-dashboard-shellbar__action {
  min-height: 38px;
  min-width: 38px;
  border-radius: 12px;
}

body.db-account-builder-shell-page .db-dashboard-main--builder {
  align-content: start;
}

body.db-account-builder-shell-page .db-dashboard-builder-panel {
  max-width: 1040px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.db-account-builder-shell-page .db-dashboard-builder-panel .db-dashboard-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  padding: 16px 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

body.db-account-builder-shell-page .db-dashboard-builder-panel .db-dashboard-section-head h3 {
  margin: 0 0 3px;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

body.db-account-builder-shell-page .db-dashboard-builder-panel .db-dashboard-section-head p {
  max-width: 560px;
  font-size: 12.5px;
  line-height: 1.45;
}

body.db-account-builder-shell-page .db-dashboard-builder-panel .db-dashboard-section-head .db-btn {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 12px;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard {
  max-width: 1040px;
  margin: 0 auto;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder {
  padding: 16px !important;
  border: 1px solid rgba(148, 163, 184, 0.14) !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.055) !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-hero {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 16px !important;
  margin: 0 0 12px !important;
  border-radius: 18px !important;
  border-color: rgba(148, 163, 184, 0.14) !important;
  background: linear-gradient(180deg, #fff, #fbfcff) !important;
  box-shadow: none !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-hero h2 {
  max-width: 620px;
  font-size: clamp(24px, 3vw, 34px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-hero p {
  max-width: 520px;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-scoreboard {
  grid-template-columns: repeat(3, minmax(86px, 118px)) !important;
  gap: 10px !important;
  min-width: 0 !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-scoreboard > div {
  min-width: 0;
  padding: 11px 12px !important;
  border-radius: 14px !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-scoreboard strong {
  font-size: 18px !important;
  line-height: 1.1;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-scoreboard span {
  font-size: 11px !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-guidance {
  grid-template-columns: minmax(0, 170px) minmax(0, 1fr);
  gap: 10px;
  padding: 12px 14px !important;
  margin: 0 0 12px !important;
  border-radius: 16px !important;
  background: #fbfcff !important;
  box-shadow: none !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-guidance strong {
  font-size: 14px;
  line-height: 1.25;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-guidance p {
  font-size: 12px !important;
  line-height: 1.4 !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-progress {
  height: 7px !important;
  margin-bottom: 14px !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card {
  grid-template-columns: 34px minmax(0, 1fr) auto !important;
  min-height: 72px !important;
  padding: 12px !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.035) !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card__icon {
  width: 34px !important;
  height: 34px !important;
  border-radius: 12px !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card strong {
  font-size: 13.5px !important;
  line-height: 1.2;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-card-required,
body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card em {
  font-size: 9px !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-modal {
  z-index: 100000;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-modal__panel {
  width: min(860px, calc(100vw - 32px)) !important;
  max-height: min(86vh, 760px) !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-modal__body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 1040px) {
  body.db-account-builder-shell-page .db-site-main {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
  }

  body.db-account-builder-shell-page .db-dashboard-page {
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  body.db-account-builder-shell-page .db-dashboard-page .db-container {
    height: auto !important;
    min-height: 100vh !important;
  }

  body.db-account-builder-shell-page .db-owner-dashboard--builder {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr) !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
  }

  body.db-account-builder-shell-page .db-owner-dashboard--builder > .db-dashboard-shellbar {
    position: sticky !important;
    top: var(--db-dashboard-admin-offset, 0px) !important;
    grid-column: 1 / -1;
    width: 100% !important;
    z-index: 80 !important;
  }

  body.db-account-builder-shell-page .db-owner-dashboard--builder > .db-dashboard-sidebar {
    position: sticky !important;
    top: calc(var(--db-dashboard-admin-offset, 0px) + 58px) !important;
    left: auto !important;
    bottom: auto !important;
    width: 248px !important;
    height: calc(100vh - var(--db-dashboard-admin-offset, 0px) - 58px) !important;
    max-height: calc(100vh - var(--db-dashboard-admin-offset, 0px) - 58px) !important;
    min-height: 0 !important;
    padding: 14px !important;
    overflow-y: auto !important;
    transform: none !important;
    z-index: 30 !important;
  }

  body.db-account-builder-shell-page .db-owner-dashboard--builder > .db-dashboard-main {
    width: 100%;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 22px clamp(18px, 2vw, 28px) 34px !important;
  }
}

@media (max-width: 1180px) {
  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1039px) {
  body.db-account-builder-shell-page .db-owner-dashboard--builder > .db-dashboard-main {
    overflow: visible !important;
  }
}

@media (max-width: 760px) {
  body.db-account-builder-shell-page .db-dashboard-builder-panel .db-dashboard-section-head {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  body.db-account-builder-shell-page .db-dashboard-builder-panel .db-dashboard-section-head .db-btn {
    justify-self: start;
  }

  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder {
    padding: 12px !important;
    border-radius: 18px !important;
  }

  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-hero,
  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-guidance {
    grid-template-columns: 1fr !important;
  }

  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-scoreboard,
  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-cards {
    grid-template-columns: 1fr !important;
  }

  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-modal__panel {
    width: 100vw !important;
    max-height: 92vh !important;
  }
}


/* ==========================================================
   v1.2.29 Account inner-flow scroll hardening
   Scope: account/dashboard inner pages only.
   Fixes fixed-shell overflow traps without changing public pages.
   ========================================================== */

body.page-template-page-dashboard,
body.db-account-dashboard-shell-page {
  --db-dashboard-shellbar-h: 58px;
}

body.page-template-page-dashboard .db-dashboard-app,
body.db-account-dashboard-shell-page .db-dashboard-app,
body.page-template-page-dashboard .db-dashboard-main,
body.db-account-dashboard-shell-page .db-dashboard-main,
body.page-template-page-dashboard .db-dashboard-panel,
body.db-account-dashboard-shell-page .db-dashboard-panel {
  min-width: 0;
}

body.page-template-page-dashboard .db-dashboard-main,
body.db-account-dashboard-shell-page .db-dashboard-main {
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}

body.page-template-page-dashboard .db-dashboard-main > .db-dashboard-panel,
body.db-account-dashboard-shell-page .db-dashboard-main > .db-dashboard-panel {
  overflow: visible;
}

/* Normal dashboard routes keep app-style layout, but the content column must be the scroller. */
@media (min-width: 1040px) {
  body.page-template-page-dashboard:not(.db-account-builder-shell-page).admin-bar,
  body.db-account-dashboard-shell-page:not(.db-account-builder-shell-page).admin-bar {
    overflow: hidden !important;
  }

  body.page-template-page-dashboard:not(.db-account-builder-shell-page) .db-owner-dashboard > .db-dashboard-shellbar,
  body.db-account-dashboard-shell-page:not(.db-account-builder-shell-page) .db-owner-dashboard > .db-dashboard-shellbar {
    top: var(--db-dashboard-admin-offset, 0px) !important;
    min-height: var(--db-dashboard-shellbar-h) !important;
  }

  body.page-template-page-dashboard:not(.db-account-builder-shell-page) .db-owner-dashboard > .db-dashboard-sidebar,
  body.db-account-dashboard-shell-page:not(.db-account-builder-shell-page) .db-owner-dashboard > .db-dashboard-sidebar {
    top: var(--db-dashboard-admin-offset, 0px) !important;
    height: calc(100vh - var(--db-dashboard-admin-offset, 0px)) !important;
    max-height: calc(100vh - var(--db-dashboard-admin-offset, 0px)) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
  }

  body.page-template-page-dashboard:not(.db-account-builder-shell-page) .db-owner-dashboard > .db-dashboard-main,
  body.db-account-dashboard-shell-page:not(.db-account-builder-shell-page) .db-owner-dashboard > .db-dashboard-main {
    height: calc(100vh - var(--db-dashboard-admin-offset, 0px)) !important;
    max-height: calc(100vh - var(--db-dashboard-admin-offset, 0px)) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding-top: calc(var(--db-dashboard-shellbar-h) + 18px) !important;
  }
}

/* Builder routes must remain document-scroll pages because the listing builder has long card grids and modals. */
body.db-account-builder-shell-page .db-owner-dashboard--builder > .db-dashboard-main,
body.db-account-builder-shell-page .db-dashboard-builder-panel,
body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard {
  overflow: visible !important;
}

/* Long inner forms/builders inside account panels should scroll inside the content area, not clip. */
.db-dashboard-panel[data-db-dashboard-panel="ads"] .db-account-ad-builder,
.db-dashboard-panel[data-db-dashboard-panel="deals"] .db-dashboard-deals-list,
.db-dashboard-panel[data-db-dashboard-panel="claims"] .db-dashboard-claims-list,
.db-dashboard-panel[data-db-dashboard-panel="pending"] .db-pending-list,
.db-dashboard-panel[data-db-dashboard-panel="credits"] .db-credit-history,
.db-dashboard-panel[data-db-dashboard-panel="kyc"] .db-kyc-list {
  max-width: 760px;
  margin-inline: auto;
}

.db-dashboard-panel[data-db-dashboard-panel="ads"] .db-account-ad-builder {
  overflow: visible;
}

/* Slide-over and action modals should not create another full-page scroll trap. */
.db-dashboard-listing-modal .db-action-modal__panel,
body.db-account-dashboard-shell-page .db-action-modal__panel,
body.page-template-page-dashboard .db-action-modal__panel {
  max-height: min(92vh, 760px) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}

.db-dashboard-listing-modal .db-action-modal__panel {
  height: auto !important;
  min-height: min(520px, 92vh);
}

/* Keep compact account forms usable and centered on every inner route. */
.db-dashboard-panel[data-db-dashboard-panel="profile"] .db-dashboard-form,
.db-dashboard-panel[data-db-dashboard-panel="settings"] .db-dashboard-form,
.db-dashboard-panel[data-db-dashboard-panel="settings"] .db-public-form,
.db-dashboard-panel[data-db-dashboard-panel="account"] .db-dashboard-form,
.db-account-delete-form {
  max-width: 460px !important;
  margin-inline: auto !important;
}

.db-dashboard-panel[data-db-dashboard-panel="profile"] .db-dashboard-form .db-btn,
.db-dashboard-panel[data-db-dashboard-panel="settings"] .db-dashboard-form .db-btn,
.db-dashboard-panel[data-db-dashboard-panel="settings"] .db-public-form .db-btn,
.db-dashboard-panel[data-db-dashboard-panel="account"] .db-dashboard-form .db-btn,
.db-account-delete-form .db-btn {
  min-height: 36px !important;
  padding: 0 14px !important;
  border-radius: 11px !important;
  font-size: 12px !important;
}

@media (max-width: 1039px) {
  body.page-template-page-dashboard,
  body.db-account-dashboard-shell-page {
    height: auto !important;
    min-height: 100vh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  body.page-template-page-dashboard .db-site-main,
  body.db-account-dashboard-shell-page .db-site-main,
  body.page-template-page-dashboard .db-dashboard-page,
  body.db-account-dashboard-shell-page .db-dashboard-page,
  body.page-template-page-dashboard .db-dashboard-page .db-container,
  body.db-account-dashboard-shell-page .db-dashboard-page .db-container {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  body.page-template-page-dashboard .db-dashboard-main,
  body.db-account-dashboard-shell-page .db-dashboard-main {
    overflow: visible !important;
  }
}

@media (max-width: 640px) {
  .db-dashboard-listing-modal .db-action-modal__panel,
  body.db-account-dashboard-shell-page .db-action-modal__panel,
  body.page-template-page-dashboard .db-action-modal__panel {
    width: 100% !important;
    max-height: 92vh !important;
    border-radius: 20px 20px 0 0 !important;
  }

  .db-dashboard-panel[data-db-dashboard-panel="profile"] .db-dashboard-form,
  .db-dashboard-panel[data-db-dashboard-panel="settings"] .db-dashboard-form,
  .db-dashboard-panel[data-db-dashboard-panel="settings"] .db-public-form,
  .db-dashboard-panel[data-db-dashboard-panel="account"] .db-dashboard-form,
  .db-account-delete-form {
    max-width: 100% !important;
  }
}


/* ==========================================================
   v1.2.30 Account form readability + textarea cleanup polish
   Scope: account dashboard and account listing builder only.
   Labels stay scannable; input values and long textarea content stay readable.
   ========================================================== */
body.db-account-builder-shell-page .db-builder label,
body.db-account-dashboard-shell-page .db-builder label,
body.db-account-dashboard-shell-page .db-dashboard-form label,
body.db-account-dashboard-shell-page .db-public-form label,
body.db-account-dashboard-shell-page .db-account-compact-form label {
  color: #1f2937;
  font-size: 12px;
  font-weight: 600 !important;
  line-height: 1.35;
}

body.db-account-builder-shell-page .db-builder label > span,
body.db-account-builder-shell-page .db-builder label span,
body.db-account-builder-shell-page .db-hour-row span,
body.db-account-dashboard-shell-page .db-builder label > span,
body.db-account-dashboard-shell-page .db-builder label span,
body.db-account-dashboard-shell-page .db-dashboard-form label > span,
body.db-account-dashboard-shell-page .db-dashboard-form label span,
body.db-account-dashboard-shell-page .db-public-form label > span,
body.db-account-dashboard-shell-page .db-public-form label span,
body.db-account-dashboard-shell-page .db-account-compact-form label > span,
body.db-account-dashboard-shell-page .db-account-compact-form label span {
  color: #1f2937;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.35;
  letter-spacing: 0;
}

body.db-account-builder-shell-page .db-builder input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
body.db-account-builder-shell-page .db-builder select,
body.db-account-dashboard-shell-page .db-builder input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
body.db-account-dashboard-shell-page .db-builder select,
body.db-account-dashboard-shell-page .db-dashboard-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
body.db-account-dashboard-shell-page .db-dashboard-form select,
body.db-account-dashboard-shell-page .db-public-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
body.db-account-dashboard-shell-page .db-public-form select,
body.db-account-dashboard-shell-page .db-account-compact-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
body.db-account-dashboard-shell-page .db-account-compact-form select {
  color: #111827;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.45;
}

body.db-account-builder-shell-page .db-builder textarea,
body.db-account-dashboard-shell-page .db-builder textarea,
body.db-account-dashboard-shell-page .db-dashboard-form textarea,
body.db-account-dashboard-shell-page .db-public-form textarea,
body.db-account-dashboard-shell-page .db-account-compact-form textarea {
  color: #111827;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  letter-spacing: 0;
}

body.db-account-builder-shell-page .db-builder input::placeholder,
body.db-account-builder-shell-page .db-builder textarea::placeholder,
body.db-account-dashboard-shell-page .db-builder input::placeholder,
body.db-account-dashboard-shell-page .db-builder textarea::placeholder,
body.db-account-dashboard-shell-page .db-dashboard-form input::placeholder,
body.db-account-dashboard-shell-page .db-dashboard-form textarea::placeholder,
body.db-account-dashboard-shell-page .db-public-form input::placeholder,
body.db-account-dashboard-shell-page .db-public-form textarea::placeholder,
body.db-account-dashboard-shell-page .db-account-compact-form input::placeholder,
body.db-account-dashboard-shell-page .db-account-compact-form textarea::placeholder {
  color: #8a93a5;
  font-weight: 400 !important;
}

body.db-account-builder-shell-page .db-builder-modal__head p,
body.db-account-builder-shell-page .db-builder-hint,
body.db-account-builder-shell-page .db-field-help,
body.db-account-dashboard-shell-page .db-builder-hint,
body.db-account-dashboard-shell-page .db-field-help,
body.db-account-dashboard-shell-page .db-dashboard-helper {
  color: #667085;
  font-weight: 400 !important;
  line-height: 1.55;
}

body.db-account-builder-shell-page .db-builder-modal__head h3 {
  font-weight: 700;
}

body.db-account-builder-shell-page .db-builder-modal__body {
  font-weight: 400;
}

body.db-account-builder-shell-page .db-builder-modal__close,
body.db-account-builder-shell-page [data-db-close-modal] {
  font-weight: 500;
}

/* ==========================================================
   v1.2.31 Account builder alignment polish
   Scope: account dashboard + listing builder mini cards/status pills only.
   Fixes off-center SVG/dashicon alignment and pill text baseline issues.
   ========================================================== */
body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card__icon,
body.db-account-builder-shell-page .db-builder-card__icon,
body.db-account-dashboard-shell-page .db-builder-card__icon {
  display: inline-grid !important;
  place-items: center !important;
  align-self: center !important;
  justify-self: center !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  border-radius: 12px !important;
  background: rgba(215, 25, 32, 0.08) !important;
  color: var(--db-accent, #d71920) !important;
  line-height: 1 !important;
  overflow: hidden !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card__icon .db-builder-icon-svg,
body.db-account-builder-shell-page .db-builder-card__icon .db-builder-icon-svg,
body.db-account-dashboard-shell-page .db-builder-card__icon .db-builder-icon-svg {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: currentColor !important;
  line-height: 1 !important;
  overflow: visible !important;
  transform: none !important;
}

body.db-account-builder-shell-page .db-builder-card__icon .dashicons,
body.db-account-dashboard-shell-page .db-builder-card__icon .dashicons,
body.db-account-dashboard-shell-page .db-dashboard-stat-card__icon .dashicons,
body.db-account-dashboard-shell-page .db-dashboard-tabs .dashicons,
body.db-account-builder-shell-page .db-dashboard-tabs .dashicons {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 1em !important;
  height: 1em !important;
  font-size: inherit !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}

body.db-account-dashboard-shell-page .db-dashboard-stat-card__icon,
body.db-account-builder-shell-page .db-dashboard-stat-card__icon {
  display: inline-grid !important;
  place-items: center !important;
  align-self: start !important;
  justify-self: start !important;
  line-height: 1 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card em,
body.db-account-builder-shell-page .db-builder-card em,
body.db-account-dashboard-shell-page .db-builder-card em,
body.db-account-builder-shell-page .db-card-required,
body.db-account-dashboard-shell-page .db-card-required,
body.db-account-dashboard-shell-page .db-dashboard-listing__status {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  min-height: 22px !important;
  height: 22px !important;
  padding: 0 8px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

body.db-account-dashboard-shell-page .db-dashboard-listing__status {
  min-width: 72px !important;
  height: 24px !important;
  min-height: 24px !important;
  padding-inline: 10px !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card em,
body.db-account-builder-shell-page .db-builder-card em,
body.db-account-dashboard-shell-page .db-builder-card em {
  justify-self: end !important;
  align-self: center !important;
  font-style: normal !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card,
body.db-account-builder-shell-page .db-builder-card,
body.db-account-dashboard-shell-page .db-builder-card {
  align-items: center !important;
}

@media (max-width: 680px) {
  body.db-account-builder-shell-page .db-builder-card__icon,
  body.db-account-dashboard-shell-page .db-builder-card__icon {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
  }

  body.db-account-builder-shell-page .db-builder-card__icon .db-builder-icon-svg,
  body.db-account-dashboard-shell-page .db-builder-card__icon .db-builder-icon-svg {
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    min-height: 17px !important;
  }
}

/* ==========================================================
   v1.2.32 Account builder UX polish
   Scope: account dashboard + listing builder only.
   Goals: reduce repeated content, 4-card desktop builder grid, collapsible sidebar.
   ========================================================== */
.db-dashboard-sidebar__brand {
  position: relative;
  padding-right: 40px;
}

.db-dashboard-sidebar__collapse {
  appearance: none;
  position: absolute;
  top: 0;
  right: 0;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 10px;
  background: #fff;
  color: #64748b;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.db-dashboard-sidebar__collapse:hover {
  border-color: rgba(215, 25, 32, 0.22);
  background: #fff5f6;
  color: var(--db-accent, #d71920);
}

.db-dashboard-sidebar__collapse .dashicons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-size: 16px;
  line-height: 1;
}

body.db-account-builder-shell-page .db-dashboard-shellbar__intro strong {
  font-size: 14px;
}

body.db-account-builder-shell-page .db-dashboard-builder-panel .db-dashboard-section-head {
  align-items: center;
  margin-bottom: 14px;
}

body.db-account-builder-shell-page .db-dashboard-builder-panel .db-dashboard-section-head h3 {
  font-size: 14px;
  letter-spacing: -0.01em;
}

body.db-account-builder-shell-page .db-dashboard-builder-panel .db-dashboard-section-head p {
  margin-top: 3px;
  max-width: 440px;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard {
  max-width: 1280px;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder {
  padding: clamp(14px, 1.4vw, 20px) !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-hero {
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  padding: 18px !important;
  margin-bottom: 12px !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-hero h2 {
  max-width: 620px;
  font-size: clamp(22px, 2.25vw, 30px) !important;
  line-height: 1.12 !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-hero p {
  max-width: 520px;
  margin-top: 8px;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-scoreboard {
  grid-template-columns: repeat(3, minmax(92px, 112px)) !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-scoreboard > div {
  padding: 12px !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-guidance {
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) !important;
  align-items: center !important;
  padding: 12px 16px !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-guidance .db-eyebrow {
  margin-bottom: 0;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card {
  grid-template-columns: 38px minmax(0, 1fr) auto !important;
  min-height: 74px !important;
  padding: 12px 13px !important;
  text-align: left !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card__body {
  min-width: 0;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card__top {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-width: 0;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card strong {
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card__hint,
body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card__arrow {
  display: none !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card em {
  justify-self: end !important;
  min-width: 72px !important;
}

@media (min-width: 1040px) {
  .db-owner-dashboard.is-sidebar-collapsed > .db-dashboard-sidebar {
    width: 72px !important;
    padding-inline: 10px !important;
  }

  body.page-template-page-dashboard:not(.db-account-builder-shell-page) .db-owner-dashboard.is-sidebar-collapsed > .db-dashboard-sidebar,
  body.db-account-dashboard-shell-page:not(.db-account-builder-shell-page) .db-owner-dashboard.is-sidebar-collapsed > .db-dashboard-sidebar {
    padding-top: 78px !important;
  }

  body.db-account-builder-shell-page .db-owner-dashboard--builder.is-sidebar-collapsed {
    grid-template-columns: 72px minmax(0, 1fr) !important;
  }

  body.db-account-builder-shell-page .db-owner-dashboard--builder.is-sidebar-collapsed > .db-dashboard-sidebar {
    width: 72px !important;
  }

  body.page-template-page-dashboard:not(.db-account-builder-shell-page) .db-owner-dashboard.is-sidebar-collapsed > .db-dashboard-main,
  body.db-account-dashboard-shell-page:not(.db-account-builder-shell-page) .db-owner-dashboard.is-sidebar-collapsed > .db-dashboard-main {
    padding-left: 72px !important;
  }

  .db-owner-dashboard.is-sidebar-collapsed .db-dashboard-sidebar__brand {
    padding-right: 0;
    justify-items: center;
  }

  .db-owner-dashboard.is-sidebar-collapsed .db-dashboard-sidebar__kicker,
  .db-owner-dashboard.is-sidebar-collapsed .db-dashboard-sidebar__brand strong,
  .db-owner-dashboard.is-sidebar-collapsed .db-dashboard-sidebar__brand p,
  .db-owner-dashboard.is-sidebar-collapsed .db-dashboard-tabs span:not(.dashicons),
  .db-owner-dashboard.is-sidebar-collapsed .db-dashboard-tabs em,
  .db-owner-dashboard.is-sidebar-collapsed .db-dashboard-sidebar__profile div,
  .db-owner-dashboard.is-sidebar-collapsed .db-dashboard-sidebar__footer .db-btn {
    display: none !important;
  }

  .db-owner-dashboard.is-sidebar-collapsed .db-dashboard-sidebar__collapse {
    position: static;
    transform: rotate(180deg);
  }

  .db-owner-dashboard.is-sidebar-collapsed .db-dashboard-tabs button,
  .db-owner-dashboard.is-sidebar-collapsed .db-dashboard-tabs a {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    min-height: 42px !important;
    padding: 0 !important;
  }

  .db-owner-dashboard.is-sidebar-collapsed .db-dashboard-tabs .dashicons {
    margin: 0 !important;
  }

  .db-owner-dashboard.is-sidebar-collapsed .db-dashboard-sidebar__footer {
    justify-items: center;
  }

  .db-owner-dashboard.is-sidebar-collapsed .db-dashboard-sidebar__profile {
    width: 44px;
    height: 44px;
    justify-content: center;
    padding: 0;
    border-radius: 14px;
  }
}

@media (max-width: 1320px) and (min-width: 1040px) {
  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1180px) and (min-width: 1040px) {
  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 920px) {
  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-hero {
    grid-template-columns: 1fr !important;
  }

  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-scoreboard {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .db-dashboard-sidebar__collapse {
    display: none;
  }

  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-cards {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 1181px) {
  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* ==========================================================
   v1.2.33 Dashboard sidebar simplification
   Scope: account dashboard sidebar only.
   Goal: cleaner grouped navigation with readable spacing.
   ========================================================== */
.db-dashboard-sidebar {
  gap: 10px;
  padding: 12px 10px;
}

.db-dashboard-shellbar__brand,
.db-dashboard-sidebar__logo {
  display: inline-flex;
  align-items: center;
}

.db-dashboard-shellbar__brand img,
.db-dashboard-sidebar__logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 34px;
}

.db-dashboard-tabs {
  gap: 2px;
}

.db-dashboard-tab-group {
  padding: 4px 0 8px;
}

.db-dashboard-tab-group__toggle {
  appearance: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: #64748b;
  text-align: left;
  cursor: pointer;
}

.db-dashboard-tab-group__label {
  min-width: 0;
}

.db-dashboard-tab-group__toggle strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  min-width: 0;
  letter-spacing: 0;
  text-transform: none;
}

.db-dashboard-tab-group__caret {
  justify-self: end;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #64748b;
  border-bottom: 1.5px solid #64748b;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.db-dashboard-tab-group.is-open .db-dashboard-tab-group__caret {
  transform: rotate(225deg);
}

.db-dashboard-tab-group__panel {
  display: grid;
  gap: 2px;
  padding: 0;
}

.db-dashboard-sidebar .db-dashboard-tabs [data-db-dashboard-tab] {
  min-height: 42px;
  padding: 9px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #334155;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 12px;
}

.db-dashboard-sidebar .db-dashboard-tabs [data-db-dashboard-tab] .dashicons {
  width: 22px;
  height: 22px;
  color: var(--db-accent, #d71920);
  font-size: 22px;
}

.db-dashboard-sidebar .db-dashboard-tabs [data-db-dashboard-tab]:hover {
  background: #f4f6f8;
  color: #0f172a;
}

.db-dashboard-sidebar .db-dashboard-tabs [data-db-dashboard-tab].is-active {
  background: #f3f6fb;
  color: #0f172a;
  box-shadow: none;
}

.db-dashboard-sidebar .db-dashboard-tabs [data-db-dashboard-tab].is-active .dashicons,
.db-dashboard-sidebar .db-dashboard-tabs [data-db-dashboard-tab].is-active em {
  color: var(--db-accent, #d71920);
}

.db-dashboard-sidebar .db-dashboard-tabs [data-db-dashboard-tab] em {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #e9eef5;
  color: #475569;
  font-size: 10px;
}

.db-dashboard-sidebar__profile {
  display: none;
}

.db-dashboard-sidebar__footer {
  gap: 8px;
  padding: 8px 10px 0;
  border-top: 1px solid rgba(226, 232, 240, 0.92);
}

.db-dashboard-sidebar__footer .db-btn {
  min-height: 40px;
  font-size: 13px;
  border-radius: 12px;
}

.db-dashboard-shellbar,
.db-dashboard-sidebar,
.db-dashboard-main > .db-dashboard-panel {
  box-shadow: none;
}

.db-dashboard-shellbar {
  min-height: 64px;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}

.db-dashboard-shellbar__intro {
  min-width: 140px;
}

.db-dashboard-shellbar__eyebrow,
.db-dashboard-shellbar__intro p,
.db-dashboard-shellbar__date {
  display: none;
}

.db-dashboard-shellbar__search {
  max-width: 540px;
}

.db-dashboard-shellbar__search input {
  min-height: 40px;
  border-radius: 14px;
  background: #f8fafc;
  font-size: 13px;
}

.db-dashboard-shellbar__action {
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 999px;
  background: #fff;
  justify-content: center;
}

.db-dashboard-shellbar__action .dashicons {
  color: var(--db-accent, #d71920);
}

.db-dashboard-shellbar__action strong,
.db-dashboard-shellbar__action small {
  display: none;
}

.db-dashboard-shellbar__action--profile {
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.db-dashboard-shellbar__avatar {
  width: 40px;
  height: 40px;
  font-size: 15px;
}

.db-dashboard-shellbar__action--profile:hover,
.db-dashboard-shellbar__action--profile:focus-visible {
  background: transparent;
  box-shadow: none;
}

.db-dashboard-main {
  background: #f7f9fc;
}

.db-dashboard-main > .db-dashboard-panel {
  border-radius: 18px;
  border-color: rgba(226, 232, 240, 0.95);
}

.db-dashboard-listings-tablehead {
  display: none;
}

.db-dashboard-listing {
  border-color: rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  box-shadow: none;
}

.db-dashboard-listing:hover {
  transform: none;
  border-color: rgba(203, 213, 225, 1);
  box-shadow: none;
}

.db-dashboard-listing__summary {
  grid-template-columns: 18px minmax(0, 1fr) 96px 88px 108px;
  align-items: center;
  padding: 14px 16px;
}

.db-dashboard-listing__cell--business strong {
  font-size: 15px;
}

.db-dashboard-listing__cell--business span,
.db-dashboard-listing__cell--status small,
.db-dashboard-listing__cell--toggle,
.db-dashboard-helper {
  display: none !important;
}

.db-dashboard-listing__status {
  border-radius: 999px;
  min-height: 24px;
  padding: 0 10px;
  font-size: 10px;
  font-weight: 700;
}

.db-dashboard-listing__cell--metric {
  justify-self: start;
}

.db-dashboard-listing__cell--metric strong {
  font-size: 13px;
}

.db-dashboard-listing__body {
  gap: 12px;
  padding: 0 16px 16px;
}

.db-dashboard-listing__actions {
  gap: 8px;
  padding-top: 2px;
}

.db-dashboard-listing__actions .db-btn {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 12px;
}

.db-completion {
  padding: 14px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  background: #fbfdff;
}

.db-completion strong {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
}

.db-completion p {
  display: none;
}

.db-dashboard-actions-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 16px;
}

.db-dashboard-action-tile {
  min-height: 56px;
  padding: 0 14px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
}

.db-dashboard-action-tile span {
  display: none;
}

.db-dashboard-action-tile strong {
  margin: 0;
  font-size: 14px;
}

.db-dashboard-stats {
  gap: 12px;
  margin: 0;
}

.db-dashboard-stat-card {
  min-height: 96px;
  padding: 16px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  background: #fff;
}

.db-dashboard-stat-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(215, 25, 32, 0.08);
  color: var(--db-accent, #d71920);
  font-size: 18px;
}

.db-dashboard-stat-card__icon .dashicons {
  color: currentColor !important;
}

.db-dashboard-stat-card--listings .db-dashboard-stat-card__icon,
.db-dashboard-stat-card--pending .db-dashboard-stat-card__icon,
.db-dashboard-stat-card--access .db-dashboard-stat-card__icon,
.db-dashboard-stat-card--credits .db-dashboard-stat-card__icon,
.db-dashboard-stat-card--referrals .db-dashboard-stat-card__icon,
.db-dashboard-stat-card--reward .db-dashboard-stat-card__icon,
.db-dashboard-stat-card--reward-secondary .db-dashboard-stat-card__icon {
  background: rgba(215, 25, 32, 0.1);
  color: var(--db-accent, #d71920);
}

.db-dashboard-stat-card span {
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.db-dashboard-stat-card strong {
  font-size: 28px;
}

.db-dashboard-stat-card small {
  display: none;
}

.db-dashboard-head h3,
.db-dashboard-section-head h3,
.db-dashboard-main > .db-dashboard-panel > h3 {
  font-size: 28px;
  line-height: 1.15;
}

.db-dashboard-head p,
.db-dashboard-section-head p,
.db-dashboard-main > .db-dashboard-panel > p {
  display: none;
}

.db-dashboard-empty-state,
.db-empty-state {
  box-shadow: none;
}

.db-referral-panel {
  display: grid;
  gap: 16px;
}

.db-referral-panel__card {
  display: grid;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  background: #fff;
}

.db-referral-panel__intro h4 {
  margin: 8px 0 4px;
  font-size: 22px;
  line-height: 1.2;
}

.db-referral-panel__intro p {
  margin: 0;
  color: #64748b;
}

.db-referral-panel__share {
  display: grid;
  gap: 14px;
}

.db-referral-panel__code,
.db-referral-panel__field {
  display: grid;
  gap: 8px;
}

.db-referral-panel__code span,
.db-referral-panel__field span {
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.db-referral-panel__code strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  background: rgba(215, 25, 32, 0.08);
  color: var(--db-accent, #d71920);
  font-size: 18px;
  letter-spacing: 0.04em;
}

.db-referral-panel__field input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  border-radius: 12px;
  background: #f8fafc;
  color: #0f172a;
  font-size: 14px;
}

.db-referral-panel__stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 760px) {
  .db-dashboard-sidebar {
    padding: 12px 10px;
  }

  .db-dashboard-tab-group__toggle {
    padding: 10px 12px;
  }

  .db-dashboard-sidebar .db-dashboard-tabs [data-db-dashboard-tab] {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 13px;
  }

  .db-dashboard-actions-grid,
  .db-dashboard-stats,
  .db-referral-panel__stats {
    grid-template-columns: 1fr;
  }

  .db-dashboard-listing__summary {
    grid-template-columns: 18px minmax(0, 1fr);
    row-gap: 10px;
  }

  .db-referral-panel__card {
    padding: 16px;
  }
}

/* ==========================================================
   v1.2.34 Account builder + modal cleanup
   Scope: account builder route and dashboard ad builder.
   Goal: one clean shell, simpler cards, simpler modals.
   ========================================================== */
body.db-account-builder-shell-page .db-dashboard-tabs--links {
  gap: 2px;
}

body.db-account-builder-shell-page .db-dashboard-sidebar .db-dashboard-tabs--links a {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #334155;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  text-decoration: none;
}

body.db-account-builder-shell-page .db-dashboard-sidebar .db-dashboard-tabs--links a .dashicons {
  width: 22px;
  height: 22px;
  color: var(--db-accent, #d71920);
  font-size: 22px;
}

body.db-account-builder-shell-page .db-dashboard-sidebar .db-dashboard-tabs--links a:hover {
  background: #f4f6f8;
  color: #0f172a;
}

body.db-account-builder-shell-page .db-dashboard-sidebar .db-dashboard-tabs--links a.is-active {
  background: #f3f6fb;
  color: #0f172a;
}

body.db-account-builder-shell-page .db-dashboard-sidebar .db-dashboard-tabs--links a.is-active .dashicons {
  color: var(--db-accent, #d71920);
}

body.db-account-builder-shell-page .db-dashboard-builder-panel .db-dashboard-section-head {
  gap: 10px;
  margin: 0 0 8px;
  padding: 8px 14px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
}

body.db-account-builder-shell-page .db-dashboard-builder-panel .db-dashboard-section-head h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

body.db-account-builder-shell-page .db-dashboard-builder-panel .db-dashboard-section-head p {
  display: none;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard,
body.db-account-dashboard-shell-page .db-account-ad-builder {
  max-width: 1120px;
  margin: 0 auto;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder,
body.db-account-dashboard-shell-page .db-account-ad-builder .db-builder {
  padding: 12px !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-hero,
body.db-account-dashboard-shell-page .db-account-ad-builder .db-ad-workspace-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  gap: 12px !important;
  padding: 12px 14px !important;
  margin: 0 0 10px !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg, #fff, #fbfcff) !important;
  box-shadow: none !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-hero .nct-eyebrow,
body.db-account-dashboard-shell-page .db-account-ad-builder .db-ad-workspace-head .nct-eyebrow {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 10px !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-hero h2,
body.db-account-dashboard-shell-page .db-account-ad-builder .db-ad-workspace-head h2 {
  max-width: 680px;
  margin: 0;
  color: #0f172a !important;
  font-size: clamp(19px, 2vw, 25px) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.03em;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-hero p,
body.db-account-dashboard-shell-page .db-account-ad-builder .db-ad-workspace-head p {
  display: block !important;
  max-width: 520px;
  margin: 6px 0 0 !important;
  color: #64748b !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-scoreboard,
body.db-account-dashboard-shell-page .db-account-ad-builder .db-ad-scoreboard {
  min-width: 0 !important;
  grid-template-columns: repeat(2, minmax(96px, 112px)) !important;
  gap: 8px !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-scoreboard > div,
body.db-account-dashboard-shell-page .db-account-ad-builder .db-ad-scoreboard > div,
body.db-account-dashboard-shell-page .db-account-ad-builder .db-ad-review-submit .db-review-score,
body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-review-score {
  padding: 9px 10px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  background: #fff !important;
  color: #0f172a !important;
  box-shadow: none !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-scoreboard strong,
body.db-account-dashboard-shell-page .db-account-ad-builder .db-ad-scoreboard strong,
body.db-account-dashboard-shell-page .db-account-ad-builder .db-ad-review-submit .db-review-score strong,
body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-review-score strong {
  font-size: 15px !important;
  line-height: 1.1 !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-scoreboard span,
body.db-account-dashboard-shell-page .db-account-ad-builder .db-ad-scoreboard span,
body.db-account-dashboard-shell-page .db-account-ad-builder .db-ad-review-submit .db-review-score span,
body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-review-score span {
  margin-top: 4px;
  color: #64748b !important;
  font-size: 11px !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-guidance,
body.db-account-dashboard-shell-page .db-account-ad-builder .db-builder-guidance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 12px !important;
  margin: 0 0 10px !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-guidance .nct-eyebrow,
body.db-account-dashboard-shell-page .db-account-ad-builder .db-builder-guidance .nct-eyebrow {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 10px !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-guidance p,
body.db-account-dashboard-shell-page .db-account-ad-builder .db-builder-guidance p {
  display: none !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-guidance strong,
body.db-account-dashboard-shell-page .db-account-ad-builder .db-builder-guidance strong {
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-progress,
body.db-account-dashboard-shell-page .db-account-ad-builder .db-builder-progress {
  height: 7px !important;
  margin: 0 0 12px !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-cards,
body.db-account-dashboard-shell-page .db-account-ad-builder .db-builder-cards {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card,
body.db-account-dashboard-shell-page .db-account-ad-builder .db-builder-card {
  grid-template-columns: minmax(0, 1fr) !important;
  align-content: start !important;
  gap: 8px !important;
  min-height: 144px !important;
  padding: 12px 11px !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: none !important;
  transform: none !important;
  text-align: left !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card:hover,
body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card:focus-visible,
body.db-account-dashboard-shell-page .db-account-ad-builder .db-builder-card:hover,
body.db-account-dashboard-shell-page .db-account-ad-builder .db-builder-card:focus-visible {
  border-color: rgba(203, 213, 225, 1) !important;
  box-shadow: none !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card__body,
body.db-account-dashboard-shell-page .db-account-ad-builder .db-builder-card > span:not(.db-builder-card__icon):not(.db-builder-card__arrow) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card__icon,
body.db-account-dashboard-shell-page .db-account-ad-builder .db-builder-card__icon {
  align-self: start !important;
  justify-self: start !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card__top {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 6px !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card strong,
body.db-account-dashboard-shell-page .db-account-ad-builder .db-builder-card strong {
  display: block;
  min-width: 0;
  color: #0f172a !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card__hint,
body.db-account-dashboard-shell-page .db-account-ad-builder .db-builder-card small {
  display: -webkit-box !important;
  min-height: 32px;
  color: #64748b !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card__arrow {
  display: none !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-card-required--optional {
  display: none !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-card-required,
body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card em,
body.db-account-dashboard-shell-page .db-account-ad-builder .db-builder-card em {
  min-height: 20px !important;
  padding: 0 7px !important;
  border-radius: 999px !important;
  font-size: 9px !important;
  font-weight: 700 !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card em,
body.db-account-dashboard-shell-page .db-account-ad-builder .db-builder-card em {
  justify-self: start !important;
  align-self: start !important;
  min-width: 0 !important;
}

body.db-account-builder-shell-page .db-builder-modal__overlay,
body.db-account-dashboard-shell-page .db-builder-modal__overlay {
  background: rgba(15, 23, 42, 0.42) !important;
  backdrop-filter: blur(4px) !important;
}

body.db-account-builder-shell-page .db-builder-modal__panel,
body.db-account-dashboard-shell-page .db-builder-modal__panel {
  width: min(680px, calc(100vw - 32px)) !important;
  max-height: min(82vh, 780px) !important;
  margin: 7vh auto !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22) !important;
}

body.db-account-builder-shell-page .db-builder-modal__head,
body.db-account-builder-shell-page .db-builder-modal__foot,
body.db-account-dashboard-shell-page .db-builder-modal__head,
body.db-account-dashboard-shell-page .db-builder-modal__foot {
  padding: 10px 14px !important;
  border-color: rgba(226, 232, 240, 0.95) !important;
}

body.db-account-builder-shell-page .db-builder-modal__head,
body.db-account-dashboard-shell-page .db-builder-modal__head {
  align-items: flex-start !important;
}

body.db-account-builder-shell-page .db-builder-modal__head h3,
body.db-account-dashboard-shell-page .db-builder-modal__head h3 {
  margin: 0;
  color: #0f172a !important;
  font-size: 18px;
  line-height: 1.2;
}

body.db-account-builder-shell-page .db-builder-modal__head p,
body.db-account-dashboard-shell-page .db-builder-modal__head p {
  margin: 3px 0 0 !important;
  max-width: 420px;
  color: #64748b !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
}

body.db-account-builder-shell-page .db-builder-close,
body.db-account-dashboard-shell-page .db-builder-close {
  display: inline-grid;
  place-items: center;
  width: 32px;
  min-width: 32px;
  height: 32px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 8px;
  background: #fff;
  color: #475569;
  font-size: 15px;
  line-height: 1;
  box-shadow: none;
}

body.db-account-builder-shell-page .db-builder-modal__body,
body.db-account-dashboard-shell-page .db-builder-modal__body {
  padding: 12px 14px !important;
}

body.db-account-builder-shell-page .db-builder-modal__foot,
body.db-account-dashboard-shell-page .db-builder-modal__foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

body.db-account-builder-shell-page .db-builder-modal__foot .nct-btn,
body.db-account-dashboard-shell-page .db-builder-modal__foot .nct-btn {
  min-height: 36px;
  border-radius: 10px;
}

body.db-account-builder-shell-page .db-dashboard-main--builder,
body.db-account-dashboard-shell-page .db-dashboard-main {
  scroll-padding-top: calc(var(--db-dashboard-admin-offset, 0px) + 84px);
}

body.db-account-dashboard-shell-page .db-dashboard-listing__summary,
body.db-account-builder-shell-page .db-dashboard-listing__summary {
  grid-template-columns: 18px minmax(0, 1.6fr) auto 72px 118px;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
}

body.db-account-dashboard-shell-page .db-dashboard-listing__caret,
body.db-account-builder-shell-page .db-dashboard-listing__caret {
  width: 18px;
  min-width: 18px;
  font-size: 16px;
  color: #64748b;
}

body.db-account-dashboard-shell-page .db-dashboard-listing__cell--business,
body.db-account-builder-shell-page .db-dashboard-listing__cell--business {
  min-width: 0;
}

body.db-account-dashboard-shell-page .db-dashboard-listing__cell--business strong,
body.db-account-builder-shell-page .db-dashboard-listing__cell--business strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.db-account-dashboard-shell-page .db-dashboard-listing__cell--status,
body.db-account-builder-shell-page .db-dashboard-listing__cell--status,
body.db-account-dashboard-shell-page .db-dashboard-listing__cell--metric,
body.db-account-builder-shell-page .db-dashboard-listing__cell--metric {
  min-width: 0;
}

@media (max-width: 1320px) and (min-width: 1040px) {
  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-cards,
  body.db-account-dashboard-shell-page .db-account-ad-builder .db-builder-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 920px) {
  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-hero,
  body.db-account-dashboard-shell-page .db-account-ad-builder .db-ad-workspace-head,
  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-guidance,
  body.db-account-dashboard-shell-page .db-account-ad-builder .db-builder-guidance {
    grid-template-columns: 1fr !important;
  }

  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-scoreboard,
  body.db-account-dashboard-shell-page .db-account-ad-builder .db-ad-scoreboard,
  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-cards,
  body.db-account-dashboard-shell-page .db-account-ad-builder .db-builder-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  body.db-account-builder-shell-page .db-dashboard-sidebar .db-dashboard-tabs--links a {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 13px;
  }

  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder,
  body.db-account-dashboard-shell-page .db-account-ad-builder .db-builder {
    padding: 12px !important;
    border-radius: 18px !important;
  }

  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-cards,
  body.db-account-dashboard-shell-page .db-account-ad-builder .db-builder-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.db-account-builder-shell-page .db-builder-modal__panel,
  body.db-account-dashboard-shell-page .db-builder-modal__panel {
    width: 100vw !important;
    max-height: 92vh !important;
    margin: 8vh 0 0 !important;
    border-radius: 22px 22px 0 0 !important;
    position: absolute !important;
    bottom: 0 !important;
  }

  body.db-account-builder-shell-page .db-builder-modal__head h3,
  body.db-account-dashboard-shell-page .db-builder-modal__head h3 {
    font-size: 18px;
  }
}

@media (max-width: 520px) {
  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-cards,
  body.db-account-dashboard-shell-page .db-account-ad-builder .db-builder-cards {
    grid-template-columns: 1fr !important;
  }
}


/* ==========================================================
   v1.2.44 Dashboard/account scroll stability
   Keeps dashboard routes usable without trapping the whole page.
   ========================================================== */
body.page-template-page-dashboard,
body.page-template-page-dashboard.admin-bar,
body.db-account-dashboard-shell-page,
body.db-account-dashboard-shell-page.admin-bar {
  position: relative !important;
  height: auto !important;
  min-height: 100vh !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

body.page-template-page-dashboard .db-site-main,
body.db-account-dashboard-shell-page .db-site-main {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  height: auto !important;
  min-height: 100vh !important;
  overflow: visible !important;
}

body.page-template-page-dashboard .db-dashboard-page,
body.db-account-dashboard-shell-page .db-dashboard-page,
body.page-template-page-dashboard .db-dashboard-page .db-container,
body.db-account-dashboard-shell-page .db-dashboard-page .db-container {
  height: auto !important;
  min-height: 100vh !important;
  overflow: visible !important;
}

@media (min-width: 1040px) {
  body.page-template-page-dashboard .db-owner-dashboard,
  body.db-account-dashboard-shell-page .db-owner-dashboard {
    grid-template-columns: 232px minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
  }

  body.page-template-page-dashboard .db-owner-dashboard > .db-dashboard-shellbar,
  body.db-account-dashboard-shell-page .db-owner-dashboard > .db-dashboard-shellbar {
    position: sticky !important;
    top: var(--db-dashboard-admin-offset, 0px) !important;
    z-index: 90 !important;
    width: auto !important;
  }

  body.page-template-page-dashboard .db-owner-dashboard > .db-dashboard-sidebar,
  body.db-account-dashboard-shell-page .db-owner-dashboard > .db-dashboard-sidebar {
    position: sticky !important;
    top: calc(var(--db-dashboard-admin-offset, 0px) + 74px) !important;
    left: auto !important;
    bottom: auto !important;
    width: auto !important;
    max-height: calc(100vh - var(--db-dashboard-admin-offset, 0px) - 86px) !important;
    overflow-y: auto !important;
    transform: none !important;
    align-self: start;
  }

  body.page-template-page-dashboard .db-owner-dashboard > .db-dashboard-main,
  body.db-account-dashboard-shell-page .db-owner-dashboard > .db-dashboard-main {
    min-height: 0 !important;
    overflow: visible !important;
    padding-left: 0 !important;
  }
}

@media (max-width: 1039px) {
  body.page-template-page-dashboard .db-owner-dashboard > .db-dashboard-main,
  body.db-account-dashboard-shell-page .db-owner-dashboard > .db-dashboard-main {
    overflow: visible !important;
  }
}

/* ==========================================================
   v1.2.48 QA hotfix: account dashboard visibility
   Fixes /account/dashboard/ where the sidebar rendered but main panels stayed
   pushed out of view because the shell was missing an explicit grid layout.
   ========================================================== */
body.db-account-dashboard-shell-page .db-owner-dashboard,
body.page-template-page-dashboard .db-owner-dashboard {
  display: grid !important;
  width: 100% !important;
  max-width: 100% !important;
}

@media (min-width: 1040px) {
  body.db-account-dashboard-shell-page .db-owner-dashboard,
  body.page-template-page-dashboard .db-owner-dashboard {
    grid-template-columns: 248px minmax(0, 1fr) !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    align-items: start !important;
  }

  body.db-account-dashboard-shell-page .db-owner-dashboard > .db-dashboard-shellbar,
  body.page-template-page-dashboard .db-owner-dashboard > .db-dashboard-shellbar {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
  }

  body.db-account-dashboard-shell-page .db-owner-dashboard > .db-dashboard-sidebar,
  body.page-template-page-dashboard .db-owner-dashboard > .db-dashboard-sidebar {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 248px !important;
  }

  body.db-account-dashboard-shell-page .db-owner-dashboard > .db-dashboard-main,
  body.page-template-page-dashboard .db-owner-dashboard > .db-dashboard-main {
    grid-column: 2 !important;
    grid-row: 2 !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 20px 22px 34px !important;
    background: #f7f9fc !important;
  }
}

@media (max-width: 1039px) {
  body.db-account-dashboard-shell-page .db-owner-dashboard,
  body.page-template-page-dashboard .db-owner-dashboard {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.db-account-dashboard-shell-page .db-owner-dashboard > .db-dashboard-main,
  body.page-template-page-dashboard .db-owner-dashboard > .db-dashboard-main {
    display: block !important;
    width: 100% !important;
    padding: 14px !important;
  }
}

/* ==========================================================
   v1.2.50 runtime verification lock
   Real account/dashboard routes can miss body template classes on virtual
   requests. Scope the fixed two-column shell to the actual dashboard page
   markup so the sidebar cannot take the full content width again.
   ========================================================== */
.db-dashboard-page .db-owner-dashboard {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: calc(100vh - var(--db-dashboard-admin-offset, 0px)) !important;
  overflow: visible !important;
  background: #f6f8fb !important;
}

.db-dashboard-page .db-owner-dashboard > .db-dashboard-shellbar {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  border-bottom: 1px solid #e5eaf1 !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.035) !important;
}

.db-dashboard-page .db-owner-dashboard > .db-dashboard-main {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 360px !important;
  padding: 14px !important;
  overflow: visible !important;
}

.db-dashboard-page .db-owner-dashboard > .db-dashboard-main > .db-dashboard-panel.is-active,
.db-dashboard-page .db-owner-dashboard:not(.is-tabs-ready) > .db-dashboard-main > .db-dashboard-panel:first-of-type {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.db-dashboard-page .db-owner-dashboard > .db-dashboard-main > .db-dashboard-panel {
  max-width: 1180px !important;
  margin-inline: auto !important;
  border-radius: 10px !important;
  border: 1px solid #dfe6ef !important;
  box-shadow: none !important;
}

@media (min-width: 1040px) {
  .db-dashboard-page .db-owner-dashboard {
    grid-template-columns: 240px minmax(0, 1fr) !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
  }

  .db-dashboard-page .db-owner-dashboard > .db-dashboard-shellbar {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    position: sticky !important;
    top: var(--db-dashboard-admin-offset, 0px) !important;
    z-index: 80 !important;
  }

  .db-dashboard-page .db-owner-dashboard > .db-dashboard-sidebar {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 240px !important;
    max-width: 240px !important;
    position: sticky !important;
    top: calc(var(--db-dashboard-admin-offset, 0px) + 62px) !important;
    align-self: start !important;
    max-height: calc(100vh - var(--db-dashboard-admin-offset, 0px) - 76px) !important;
    overflow-y: auto !important;
    transform: none !important;
    border-radius: 0 !important;
    border-left: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
  }

  .db-dashboard-page .db-owner-dashboard > .db-dashboard-main {
    grid-column: 2 !important;
    grid-row: 2 !important;
    padding: 18px 20px 34px !important;
  }
}

@media (max-width: 1039px) {
  .db-dashboard-page .db-owner-dashboard > .db-dashboard-sidebar {
    width: min(84vw, 300px) !important;
    max-width: 300px !important;
  }

  .db-dashboard-page .db-owner-dashboard > .db-dashboard-main > .db-dashboard-panel {
    padding: 14px !important;
  }
}

/* v1.2.50 listing builder location lock. */
.db-builder-form input[readonly] {
  background: #f7f8fa;
  color: #4b5563;
}
.db-builder-form .db-search-select,
.db-builder-modal .db-search-select {
  position: relative;
  width: 100%;
}
.db-builder-form .db-search-select .db-native-select-hidden,
.db-builder-modal .db-search-select .db-native-select-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.db-builder-form .db-search-select__input,
.db-builder-modal .db-search-select__input {
  width: 100%;
}
.db-builder-form .db-search-select__list,
.db-builder-modal .db-search-select__list {
  position: absolute;
  z-index: 80;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: 220px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--db-border, #d6dbe5);
  box-shadow: 0 12px 24px rgba(15, 23, 42, .12);
}
.db-builder-form .db-search-select__option,
.db-builder-form .db-search-select__empty,
.db-builder-modal .db-search-select__option,
.db-builder-modal .db-search-select__empty {
  display: block;
  width: 100%;
  padding: 9px 11px;
  border: 0;
  background: #fff;
  text-align: left;
}
.db-builder-form .db-search-select__option:hover,
.db-builder-form .db-search-select__option.is-selected,
.db-builder-modal .db-search-select__option:hover,
.db-builder-modal .db-search-select__option.is-selected {
  background: #f5f7fb;
}
.db-builder-form .db-search-select__empty,
.db-builder-modal .db-search-select__empty {
  color: #667085;
}

/* ============================================================
   v1.2.53 mobile account/dashboard layout lock
   Fixes mobile browser and mobile desktop-mode breakage by making the
   shellbar compact, reducing oversized cards, and preventing dashboard
   panels from becoming wider than the viewport.
   ============================================================ */
@media (max-width: 1039px) {
  body.db-account-dashboard-shell-page,
  body.db-account-builder-shell-page,
  body.page-template-page-dashboard {
    background: #f6f8fb !important;
    overflow-x: hidden !important;
  }

  .db-dashboard-page {
    padding: 0 !important;
    overflow-x: hidden !important;
  }

  .db-dashboard-page .db-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-inline: 10px !important;
  }

  .db-dashboard-page .db-owner-dashboard {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: auto !important;
    overflow-x: hidden !important;
    background: #f6f8fb !important;
  }

  .db-dashboard-page .db-owner-dashboard > .db-dashboard-shellbar {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    gap: 10px !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    border-radius: 0 0 18px 18px !important;
    border-left: 0 !important;
    border-right: 0 !important;
    background: #fff !important;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05) !important;
  }

  .db-dashboard-shellbar__menu {
    display: inline-flex !important;
    min-height: 42px !important;
    height: 42px !important;
    padding: 0 13px !important;
    border-radius: 13px !important;
    font-size: 13px !important;
  }

  .db-dashboard-shellbar__intro {
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .db-dashboard-shellbar__eyebrow,
  .db-dashboard-shellbar__intro p,
  .db-dashboard-shellbar__date {
    display: none !important;
  }

  .db-dashboard-shellbar__intro strong {
    max-width: 150px !important;
    font-size: 0 !important;
    line-height: 1 !important;
  }

  .db-dashboard-shellbar__intro strong::before {
    content: 'DekhoBiz' !important;
    display: block !important;
    color: #0f172a !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
  }

  .db-dashboard-shellbar__search {
    grid-column: 1 / -1 !important;
    order: 4 !important;
    margin-top: 4px !important;
  }

  .db-dashboard-shellbar__search input {
    min-height: 44px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
  }

  .db-dashboard-shellbar__actions {
    grid-column: auto !important;
    order: 3 !important;
    display: flex !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
  }

  .db-dashboard-shellbar__action {
    flex: 0 0 auto !important;
    width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    border-radius: 13px !important;
    display: inline-grid !important;
    place-items: center !important;
  }

  .db-dashboard-shellbar__action:not(.db-dashboard-shellbar__action--profile):nth-child(n+3) {
    display: none !important;
  }

  .db-dashboard-shellbar__action strong,
  .db-dashboard-shellbar__action small,
  .db-dashboard-shellbar__action em {
    display: none !important;
  }

  .db-dashboard-shellbar__avatar {
    width: 32px !important;
    height: 32px !important;
    font-size: 13px !important;
  }

  .db-dashboard-page .db-owner-dashboard > .db-dashboard-main {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 12px 0 24px !important;
    overflow: visible !important;
  }

  .db-dashboard-page .db-owner-dashboard > .db-dashboard-main > .db-dashboard-panel {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    padding: 16px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  .db-dashboard-head h2,
  .db-dashboard-panel h2,
  .db-dashboard-page h1,
  .db-dashboard-page .db-dashboard-main h1 {
    font-size: clamp(26px, 8vw, 34px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.04em !important;
  }

  .db-dashboard-actions-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .db-dashboard-action-tile,
  .db-dashboard-listing,
  .db-dashboard-stat-card {
    border-radius: 16px !important;
    box-shadow: none !important;
  }

  .db-dashboard-sidebar {
    top: max(10px, env(safe-area-inset-top)) !important;
    left: 10px !important;
    bottom: max(10px, env(safe-area-inset-bottom)) !important;
    width: min(82vw, 292px) !important;
    max-width: 292px !important;
    padding: 14px 12px !important;
    border-radius: 18px !important;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22) !important;
  }

  .db-dashboard-sidebar__close {
    top: 12px !important;
    right: 12px !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 12px !important;
  }
}

@media (max-width: 520px) {
  .db-dashboard-page .db-container {
    padding-inline: 8px !important;
  }

  .db-dashboard-page .db-owner-dashboard > .db-dashboard-shellbar {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    padding: 10px 12px !important;
  }

  .db-dashboard-shellbar__search input {
    min-height: 42px !important;
  }

  .db-dashboard-page .db-owner-dashboard > .db-dashboard-main > .db-dashboard-panel {
    padding: 14px !important;
  }

  .db-dashboard-listing__summary {
    padding: 14px !important;
  }

  .db-dashboard-listing__cell--business strong {
    font-size: 16px !important;
    line-height: 1.22 !important;
  }
}


/* ============================================================
   v1.2.53 mobile listing builder usability lock
   Goal: keep account/listing flows compact and action-led on phones.
   ============================================================ */
body.db-account-builder-shell-page .db-builder-mobile-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 10px;
}

body.db-account-builder-shell-page .db-builder-back-link,
.db-builder-shell-back {
  min-height: 38px !important;
  padding: 0 13px !important;
  border-radius: 11px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

body.db-account-builder-shell-page .db-builder-guidance > div {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

body.db-account-builder-shell-page .db-builder-guidance .db-eyebrow {
  flex: 0 0 auto;
  margin: 0;
}

body.db-account-builder-shell-page .db-builder-guidance strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

body.db-account-builder-shell-page .db-builder-modal__foot .db-btn[data-db-modal-close] {
  color: #475569 !important;
  background: #fff !important;
}

@media (max-width: 760px) {
  body.db-account-dashboard-shell-page .db-dashboard-page .db-owner-dashboard > .db-dashboard-shellbar,
  body.db-account-builder-shell-page .db-dashboard-page .db-owner-dashboard > .db-dashboard-shellbar {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    gap: 8px !important;
    padding: 10px 12px !important;
    border-radius: 0 0 16px 16px !important;
  }

  body.db-account-dashboard-shell-page .db-dashboard-shellbar__search,
  body.db-account-builder-shell-page .db-dashboard-shellbar__search {
    display: none !important;
  }

  body.db-account-dashboard-shell-page .db-dashboard-shellbar__actions,
  body.db-account-builder-shell-page .db-dashboard-shellbar__actions {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 0 !important;
  }

  body.db-account-dashboard-shell-page .db-dashboard-shellbar__action:not(.db-dashboard-shellbar__action--profile),
  body.db-account-builder-shell-page .db-dashboard-shellbar__action:not(.db-dashboard-shellbar__action--profile) {
    display: none !important;
  }

  body.db-account-dashboard-shell-page .db-dashboard-shellbar__action--profile,
  body.db-account-builder-shell-page .db-dashboard-shellbar__action--profile {
    width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.db-account-dashboard-shell-page .db-dashboard-shellbar__avatar,
  body.db-account-builder-shell-page .db-dashboard-shellbar__avatar {
    width: 34px !important;
    height: 34px !important;
    font-size: 13px !important;
    box-shadow: 0 10px 22px rgba(220, 38, 38, .18) !important;
  }

  body.db-account-dashboard-shell-page .db-dashboard-shellbar__brand img,
  body.db-account-builder-shell-page .db-dashboard-shellbar__brand img {
    max-width: 132px !important;
    max-height: 38px !important;
  }

  body.db-account-builder-shell-page .db-dashboard-builder-panel .db-dashboard-section-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 12px !important;
  }

  body.db-account-builder-shell-page .db-dashboard-builder-panel .db-dashboard-section-head h3 {
    font-size: 16px !important;
    margin: 0 !important;
  }

  body.db-account-builder-shell-page .db-dashboard-builder-panel .db-dashboard-section-head p {
    display: none !important;
  }

  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder {
    padding: 10px !important;
    border-radius: 16px !important;
  }

  body.db-account-builder-shell-page .db-builder-mobile-actions {
    margin-bottom: 8px !important;
  }

  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-hero {
    padding: 12px !important;
    border-radius: 15px !important;
    gap: 10px !important;
  }

  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-hero h2 {
    font-size: 23px !important;
    line-height: 1.12 !important;
  }

  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-hero p {
    font-size: 12.5px !important;
    margin-top: 5px !important;
  }

  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-scoreboard {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-scoreboard > div {
    padding: 10px !important;
    min-height: 76px !important;
    border-radius: 13px !important;
  }

  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-guidance {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding: 11px 12px !important;
    border-radius: 14px !important;
  }

  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-guidance p {
    display: none !important;
  }

  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card {
    min-height: 64px !important;
    padding: 11px !important;
    border-radius: 14px !important;
  }

  body.db-account-builder-shell-page .db-builder-modal__panel {
    inset: auto 0 0 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: min(92dvh, 720px) !important;
    max-height: min(92dvh, 720px) !important;
    border-radius: 18px 18px 0 0 !important;
  }

  body.db-account-builder-shell-page .db-builder-modal__head {
    padding: 14px 16px !important;
  }

  body.db-account-builder-shell-page .db-builder-modal__head p,
  body.db-account-builder-shell-page .db-builder-modal__head .db-eyebrow {
    display: none !important;
  }

  body.db-account-builder-shell-page .db-builder-modal__body {
    padding: 12px 16px 92px !important;
  }

  body.db-account-builder-shell-page .db-builder-modal__foot {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 2 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)) !important;
    background: rgba(255,255,255,.96) !important;
    border-top: 1px solid rgba(148,163,184,.22) !important;
    backdrop-filter: blur(14px) !important;
  }

  body.db-account-builder-shell-page .db-builder-modal__foot .db-btn:only-child {
    grid-column: 1 / -1;
  }

  body.db-account-builder-shell-page .db-builder-field-grid {
    grid-template-columns: 1fr !important;
    gap: 11px !important;
  }

  body.db-account-builder-shell-page .db-builder input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
  body.db-account-builder-shell-page .db-builder select,
  body.db-account-builder-shell-page .db-builder textarea {
    min-height: 48px !important;
    border-radius: 13px !important;
    font-size: 15px !important;
  }

  body.db-account-dashboard-shell-page .db-dashboard-listing__summary {
    display: grid !important;
    grid-template-columns: 22px minmax(0, 1fr) !important;
    gap: 8px 12px !important;
    padding: 14px !important;
  }

  body.db-account-dashboard-shell-page .db-dashboard-listing__cell--business {
    grid-column: 2;
  }

  body.db-account-dashboard-shell-page .db-dashboard-listing__cell--status,
  body.db-account-dashboard-shell-page .db-dashboard-listing__cell--metric {
    grid-column: 2;
  }

  body.db-account-dashboard-shell-page .db-dashboard-listing__cell--metric {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 8px !important;
  }

  body.db-account-dashboard-shell-page .db-dashboard-listing__actions {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   v1.2.54 listing builder UX lock
   Goal: smaller inner-page headings, clearer listing accordion,
   simpler modals, and one-row repeatable sections by default.
   ============================================================ */
body.db-account-dashboard-shell-page .db-dashboard-main > .db-dashboard-panel,
body.db-account-builder-shell-page .db-dashboard-main > .db-dashboard-panel {
  border-radius: 14px !important;
}

body.db-account-dashboard-shell-page .db-dashboard-main h1,
body.db-account-dashboard-shell-page .db-dashboard-main h2,
body.db-account-builder-shell-page .db-dashboard-main h1,
body.db-account-builder-shell-page .db-dashboard-main h2 {
  font-size: clamp(22px, 2.2vw, 30px) !important;
  line-height: 1.14 !important;
  letter-spacing: -0.035em !important;
}

body.db-account-dashboard-shell-page .db-dashboard-main h3,
body.db-account-builder-shell-page .db-dashboard-main h3,
body.db-account-dashboard-shell-page .db-dashboard-section-head h3,
body.db-account-builder-shell-page .db-dashboard-section-head h3 {
  font-size: clamp(17px, 1.5vw, 21px) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.02em !important;
}

body.db-account-dashboard-shell-page .db-dashboard-section-head,
body.db-account-builder-shell-page .db-dashboard-section-head {
  gap: 12px !important;
  margin-bottom: 14px !important;
}

body.db-account-dashboard-shell-page .db-dashboard-section-head p,
body.db-account-builder-shell-page .db-dashboard-section-head p {
  max-width: 520px;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

body.db-account-dashboard-shell-page .db-dashboard-listings-toolbar {
  margin-bottom: 10px !important;
}

body.db-account-dashboard-shell-page .db-dashboard-listing {
  border-radius: 13px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.db-account-dashboard-shell-page .db-dashboard-listing[open],
body.db-account-dashboard-shell-page .db-dashboard-listing:has(.db-dashboard-listing__accordion[open]) {
  border-color: rgba(215, 25, 32, 0.2) !important;
  background: #fff !important;
}

body.db-account-dashboard-shell-page .db-dashboard-listing__summary {
  min-height: 44px !important;
  padding: 10px 12px !important;
  cursor: pointer !important;
}

body.db-account-dashboard-shell-page .db-dashboard-listing__summary:hover {
  background: #f8fafc !important;
}

body.db-account-dashboard-shell-page .db-dashboard-listing__cell--business strong {
  font-size: 13px !important;
  line-height: 1.25 !important;
}

body.db-account-dashboard-shell-page .db-dashboard-listing__body {
  padding: 10px 12px 12px !important;
  border-top: 1px solid rgba(226, 232, 240, .9) !important;
  background: #fbfcfe !important;
}

body.db-account-dashboard-shell-page .db-dashboard-listing__actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding: 0 !important;
}

body.db-account-dashboard-shell-page .db-dashboard-listing__actions .db-btn {
  min-height: 34px !important;
  border-radius: 9px !important;
  font-size: 12px !important;
}

body.db-account-dashboard-shell-page .db-completion {
  margin-top: 10px !important;
  padding: 10px !important;
  border-radius: 10px !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder {
  padding: 10px !important;
  border-radius: 14px !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-hero {
  padding: 10px 12px !important;
  border-radius: 12px !important;
  margin-bottom: 8px !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-hero h2 {
  font-size: clamp(20px, 2vw, 24px) !important;
  line-height: 1.14 !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-hero p {
  margin-top: 4px !important;
  font-size: 11.5px !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-scoreboard > div {
  min-height: 58px !important;
  padding: 8px 10px !important;
  border-radius: 10px !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-cards {
  gap: 8px !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card {
  min-height: 104px !important;
  padding: 10px !important;
  border-radius: 12px !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card strong {
  font-size: 13px !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-card__hint {
  min-height: 0 !important;
  font-size: 10.5px !important;
}

body.db-account-builder-shell-page .db-builder-modal__panel,
body.db-account-dashboard-shell-page .db-builder-modal__panel {
  width: min(860px, calc(100vw - 36px)) !important;
  max-height: min(84vh, 720px) !important;
  border-radius: 14px !important;
}

body.db-account-builder-shell-page .db-builder-modal__head,
body.db-account-dashboard-shell-page .db-builder-modal__head {
  padding: 10px 14px !important;
}

body.db-account-builder-shell-page .db-builder-modal__head h3,
body.db-account-dashboard-shell-page .db-builder-modal__head h3 {
  font-size: 17px !important;
  line-height: 1.16 !important;
}

body.db-account-builder-shell-page .db-builder-modal__head p,
body.db-account-dashboard-shell-page .db-builder-modal__head p {
  display: none !important;
}

body.db-account-builder-shell-page .db-builder-modal__body,
body.db-account-dashboard-shell-page .db-builder-modal__body {
  padding: 12px 14px !important;
}

body.db-account-builder-shell-page .db-builder-modal__foot,
body.db-account-dashboard-shell-page .db-builder-modal__foot {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  padding: 10px 14px !important;
}

body.db-account-builder-shell-page .db-builder-modal__foot .db-btn,
body.db-account-dashboard-shell-page .db-builder-modal__foot .db-btn {
  min-height: 34px !important;
  padding-inline: 12px !important;
  border-radius: 9px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

body.db-account-builder-shell-page .db-builder-field-grid,
body.db-account-dashboard-shell-page .db-builder-field-grid {
  gap: 10px 12px !important;
}

body.db-account-builder-shell-page .db-builder label,
body.db-account-dashboard-shell-page .db-builder label,
body.db-account-builder-shell-page .db-repeater-row,
body.db-account-dashboard-shell-page .db-repeater-row {
  border-radius: 12px !important;
}

body.db-account-builder-shell-page .db-builder label > span,
body.db-account-builder-shell-page .db-builder label span,
body.db-account-dashboard-shell-page .db-builder label > span,
body.db-account-dashboard-shell-page .db-builder label span {
  margin-bottom: 5px !important;
  font-size: 11px !important;
  font-weight: 750 !important;
}

body.db-account-builder-shell-page .db-builder input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
body.db-account-builder-shell-page .db-builder select,
body.db-account-builder-shell-page .db-builder textarea,
body.db-account-dashboard-shell-page .db-builder input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
body.db-account-dashboard-shell-page .db-builder select,
body.db-account-dashboard-shell-page .db-builder textarea {
  min-height: 40px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
}

body.db-account-builder-shell-page .db-builder textarea,
body.db-account-dashboard-shell-page .db-builder textarea {
  min-height: 76px !important;
}

body.db-account-builder-shell-page .db-repeater-rows,
body.db-account-dashboard-shell-page .db-repeater-rows {
  display: grid !important;
  gap: 10px !important;
}

body.db-account-builder-shell-page .db-repeater-row,
body.db-account-dashboard-shell-page .db-repeater-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto !important;
  gap: 10px !important;
  align-items: end !important;
  padding: 12px !important;
  border: 1px solid rgba(226, 232, 240, .95) !important;
  background: #fff !important;
}

body.db-account-builder-shell-page .db-repeater-row .db-field-wide,
body.db-account-dashboard-shell-page .db-repeater-row .db-field-wide {
  grid-column: 1 / span 2 !important;
}

body.db-account-builder-shell-page .db-repeater-row [data-db-form-repeater-remove],
body.db-account-dashboard-shell-page .db-repeater-row [data-db-form-repeater-remove] {
  min-height: 40px !important;
  padding-inline: 12px !important;
  border: 1px solid rgba(226, 232, 240, .95) !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #0f172a !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

body.db-account-builder-shell-page [data-db-form-repeater-add],
body.db-account-dashboard-shell-page [data-db-form-repeater-add] {
  margin-top: 10px !important;
}

body.db-account-builder-shell-page .db-builder-hours,
body.db-account-dashboard-shell-page .db-builder-hours {
  display: grid !important;
  gap: 8px !important;
}

body.db-account-builder-shell-page .db-hours-toolbar,
body.db-account-dashboard-shell-page .db-hours-toolbar {
  display: flex !important;
  justify-content: flex-start !important;
  margin-bottom: 2px !important;
}

body.db-account-builder-shell-page .db-hour-row,
body.db-account-dashboard-shell-page .db-hour-row {
  display: grid !important;
  grid-template-columns: 120px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px !important;
  border: 1px solid rgba(226, 232, 240, .95) !important;
  border-radius: 12px !important;
  background: #fff !important;
}

body.db-account-builder-shell-page .db-hour-day,
body.db-account-dashboard-shell-page .db-hour-day {
  color: #0f172a !important;
  font-size: 12.5px !important;
  font-weight: 850 !important;
}

body.db-account-builder-shell-page .db-hour-times,
body.db-account-dashboard-shell-page .db-hour-times {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

body.db-account-builder-shell-page .db-hour-flags,
body.db-account-dashboard-shell-page .db-hour-flags {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  white-space: nowrap !important;
}

body.db-account-builder-shell-page .db-hour-flags .db-check,
body.db-account-dashboard-shell-page .db-hour-flags .db-check {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

@media (max-width: 760px) {
  body.db-account-dashboard-shell-page .db-dashboard-main h1,
  body.db-account-dashboard-shell-page .db-dashboard-main h2,
  body.db-account-builder-shell-page .db-dashboard-main h1,
  body.db-account-builder-shell-page .db-dashboard-main h2 {
    font-size: 28px !important;
  }

  body.db-account-dashboard-shell-page .db-dashboard-main > .db-dashboard-panel,
  body.db-account-builder-shell-page .db-dashboard-main > .db-dashboard-panel {
    padding: 14px !important;
    border-radius: 16px !important;
  }

  body.db-account-dashboard-shell-page .db-dashboard-listings-toolbar {
    grid-template-columns: 1fr !important;
  }

  body.db-account-dashboard-shell-page .db-dashboard-listing__summary {
    min-height: 0 !important;
    padding: 12px !important;
  }

  body.db-account-dashboard-shell-page .db-dashboard-listing__cell--business strong {
    font-size: 15px !important;
  }

  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-hero h2 {
    font-size: 22px !important;
  }

  body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-scoreboard > div {
    min-height: 62px !important;
  }

  body.db-account-builder-shell-page .db-builder-modal__panel,
  body.db-account-dashboard-shell-page .db-builder-modal__panel {
    width: 100vw !important;
    max-width: 100vw !important;
    height: min(92dvh, 720px) !important;
    max-height: min(92dvh, 720px) !important;
    border-radius: 16px 16px 0 0 !important;
  }

  body.db-account-builder-shell-page .db-builder-modal__head,
  body.db-account-dashboard-shell-page .db-builder-modal__head {
    padding: 12px 14px !important;
  }

  body.db-account-builder-shell-page .db-builder-modal__head h3,
  body.db-account-dashboard-shell-page .db-builder-modal__head h3 {
    font-size: 17px !important;
  }

  body.db-account-builder-shell-page .db-builder-modal__body,
  body.db-account-dashboard-shell-page .db-builder-modal__body {
    padding: 10px 14px 84px !important;
  }

  body.db-account-builder-shell-page .db-builder-modal__foot,
  body.db-account-dashboard-shell-page .db-builder-modal__foot {
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)) !important;
    display: grid !important;
    gap: 8px !important;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom)) !important;
  }

  body.db-account-builder-shell-page .db-builder-modal__foot .db-btn,
  body.db-account-dashboard-shell-page .db-builder-modal__foot .db-btn {
    width: 100% !important;
    min-height: 38px !important;
    padding-inline: 8px !important;
    font-size: 11.5px !important;
  }

  body.db-account-builder-shell-page .db-repeater-row,
  body.db-account-dashboard-shell-page .db-repeater-row {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
    padding: 10px !important;
  }

  body.db-account-builder-shell-page .db-repeater-row .db-field-wide,
  body.db-account-dashboard-shell-page .db-repeater-row .db-field-wide {
    grid-column: auto !important;
  }

  body.db-account-builder-shell-page .db-hour-row,
  body.db-account-dashboard-shell-page .db-hour-row {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  body.db-account-builder-shell-page .db-hour-times,
  body.db-account-dashboard-shell-page .db-hour-times {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.db-account-builder-shell-page .db-hour-flags,
  body.db-account-dashboard-shell-page .db-hour-flags {
    justify-content: space-between !important;
  }
}

@media (max-width: 390px) {
  body.db-account-builder-shell-page .db-hour-times,
  body.db-account-dashboard-shell-page .db-hour-times {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================
   v1.2.55 Dashboard visual simplification and typography pass
   Goal: reduce oversized text, reduce nested-card feeling, and
   keep account pages usable as a clean business dashboard.
   ========================================================== */
body.db-account-dashboard-shell-page .db-dashboard-main,
body.page-template-page-dashboard .db-dashboard-main {
  background: #f6f8fb !important;
}

body.db-account-dashboard-shell-page .db-dashboard-main > .db-dashboard-panel,
body.page-template-page-dashboard .db-dashboard-main > .db-dashboard-panel {
  padding: 22px 24px !important;
  border: 1px solid rgba(203, 213, 225, .72) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  background: #fff !important;
}

body.db-account-dashboard-shell-page .db-dashboard-main h1,
body.db-account-dashboard-shell-page .db-dashboard-main h2,
body.page-template-page-dashboard .db-dashboard-main h1,
body.page-template-page-dashboard .db-dashboard-main h2 {
  font-size: clamp(22px, 2.15vw, 28px) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.025em !important;
}

body.db-account-dashboard-shell-page .db-dashboard-head h3,
body.db-account-dashboard-shell-page .db-dashboard-section-head h3,
body.db-account-dashboard-shell-page .db-dashboard-panel > h3,
body.page-template-page-dashboard .db-dashboard-head h3,
body.page-template-page-dashboard .db-dashboard-section-head h3,
body.page-template-page-dashboard .db-dashboard-panel > h3 {
  font-size: 18px !important;
  line-height: 1.22 !important;
  letter-spacing: -0.015em !important;
  margin: 0 !important;
}

body.db-account-dashboard-shell-page .db-dashboard-section-head,
body.page-template-page-dashboard .db-dashboard-section-head {
  margin-bottom: 14px !important;
}

body.db-account-dashboard-shell-page .db-dashboard-section-head p,
body.page-template-page-dashboard .db-dashboard-section-head p {
  margin-top: 4px !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

body.db-account-dashboard-shell-page .db-dashboard-actions-grid,
body.page-template-page-dashboard .db-dashboard-actions-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 14px 0 !important;
}

body.db-account-dashboard-shell-page .db-dashboard-action-tile,
body.page-template-page-dashboard .db-dashboard-action-tile {
  min-height: 42px !important;
  width: auto !important;
  flex: 1 1 160px !important;
  padding: 10px 13px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(203, 213, 225, .78) !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.db-account-dashboard-shell-page .db-dashboard-action-tile strong,
body.page-template-page-dashboard .db-dashboard-action-tile strong {
  font-size: 13px !important;
  line-height: 1.2 !important;
}

body.db-account-dashboard-shell-page .db-dashboard-stats,
body.page-template-page-dashboard .db-dashboard-stats {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

body.db-account-dashboard-shell-page .db-dashboard-stat-card,
body.page-template-page-dashboard .db-dashboard-stat-card {
  min-height: 70px !important;
  padding: 12px 14px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(203, 213, 225, .64) !important;
  background: #f8fafc !important;
  box-shadow: none !important;
}

body.db-account-dashboard-shell-page .db-dashboard-stat-card__icon,
body.page-template-page-dashboard .db-dashboard-stat-card__icon {
  width: 28px !important;
  height: 28px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
}

body.db-account-dashboard-shell-page .db-dashboard-stat-card span,
body.page-template-page-dashboard .db-dashboard-stat-card span {
  font-size: 10.5px !important;
  letter-spacing: .07em !important;
}

body.db-account-dashboard-shell-page .db-dashboard-stat-card strong,
body.page-template-page-dashboard .db-dashboard-stat-card strong {
  font-size: 20px !important;
  line-height: 1.05 !important;
}

body.db-account-dashboard-shell-page .db-dashboard-stat-card small,
body.page-template-page-dashboard .db-dashboard-stat-card small {
  display: none !important;
}

body.db-account-dashboard-shell-page .db-dashboard-listings-toolbar,
body.page-template-page-dashboard .db-dashboard-listings-toolbar {
  margin-bottom: 10px !important;
}

body.db-account-dashboard-shell-page .db-dashboard-listings-tablehead,
body.page-template-page-dashboard .db-dashboard-listings-tablehead {
  display: none !important;
}

body.db-account-dashboard-shell-page .db-dashboard-listing,
body.page-template-page-dashboard .db-dashboard-listing {
  border-radius: 12px !important;
  border: 1px solid rgba(203, 213, 225, .8) !important;
  box-shadow: none !important;
  background: #fff !important;
  overflow: hidden !important;
}

body.db-account-dashboard-shell-page .db-dashboard-listing:hover,
body.page-template-page-dashboard .db-dashboard-listing:hover {
  transform: none !important;
  box-shadow: none !important;
}

body.db-account-dashboard-shell-page .db-dashboard-listing__summary,
body.page-template-page-dashboard .db-dashboard-listing__summary {
  min-height: 46px !important;
  padding: 10px 12px !important;
  grid-template-columns: 18px minmax(0, 1fr) 86px 70px 108px !important;
  gap: 10px !important;
}

body.db-account-dashboard-shell-page .db-dashboard-listing__cell--business strong,
body.page-template-page-dashboard .db-dashboard-listing__cell--business strong {
  font-size: 13px !important;
  line-height: 1.25 !important;
}

body.db-account-dashboard-shell-page .db-dashboard-listing__status,
body.page-template-page-dashboard .db-dashboard-listing__status {
  min-height: 20px !important;
  padding: 0 8px !important;
  border-radius: 999px !important;
  font-size: 9px !important;
}

body.db-account-dashboard-shell-page .db-dashboard-listing__cell--metric strong,
body.page-template-page-dashboard .db-dashboard-listing__cell--metric strong,
body.db-account-dashboard-shell-page .db-dashboard-listing__cell--toggle,
body.page-template-page-dashboard .db-dashboard-listing__cell--toggle {
  font-size: 12px !important;
}

body.db-account-dashboard-shell-page .db-dashboard-listing__body,
body.page-template-page-dashboard .db-dashboard-listing__body {
  padding: 0 12px 12px !important;
  background: #fff !important;
}

body.db-account-dashboard-shell-page .db-completion,
body.page-template-page-dashboard .db-completion {
  padding: 10px !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
  border: 1px solid rgba(203, 213, 225, .72) !important;
}

body.db-account-dashboard-shell-page .db-leads-summary,
body.page-template-page-dashboard .db-leads-summary {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 10px 0 12px !important;
}

body.db-account-dashboard-shell-page .db-leads-summary__item,
body.page-template-page-dashboard .db-leads-summary__item {
  min-height: 62px !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(203, 213, 225, .72) !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
}

body.db-account-dashboard-shell-page .db-leads-summary__item span,
body.page-template-page-dashboard .db-leads-summary__item span {
  display: block !important;
  color: #64748b !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
}

body.db-account-dashboard-shell-page .db-leads-summary__item strong,
body.page-template-page-dashboard .db-leads-summary__item strong {
  display: block !important;
  margin-top: 4px !important;
  color: #0f172a !important;
  font-size: 22px !important;
  line-height: 1 !important;
}

body.db-account-dashboard-shell-page .db-leads-empty,
body.page-template-page-dashboard .db-leads-empty {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin-top: 10px !important;
  padding: 13px 14px !important;
  border: 1px solid rgba(203, 213, 225, .72) !important;
  border-radius: 10px !important;
  background: #fff !important;
  text-align: left !important;
}

body.db-account-dashboard-shell-page .db-leads-empty strong,
body.page-template-page-dashboard .db-leads-empty strong {
  color: #0f172a !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
}

body.db-account-dashboard-shell-page .db-leads-empty span,
body.page-template-page-dashboard .db-leads-empty span {
  color: #64748b !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

body.db-account-dashboard-shell-page .db-empty-state,
body.page-template-page-dashboard .db-empty-state {
  max-width: none !important;
  margin: 10px 0 0 !important;
  padding: 14px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(203, 213, 225, .72) !important;
  background: #fff !important;
  text-align: left !important;
}

body.db-account-dashboard-shell-page .db-empty-state::before,
body.page-template-page-dashboard .db-empty-state::before {
  display: none !important;
}

body.db-account-dashboard-shell-page .db-empty-state strong,
body.page-template-page-dashboard .db-empty-state strong {
  font-size: 13px !important;
}

body.db-account-dashboard-shell-page .db-empty-state p,
body.page-template-page-dashboard .db-empty-state p {
  max-width: 620px !important;
  font-size: 12px !important;
}

body.db-account-dashboard-shell-page .db-credit-dashboard,
body.page-template-page-dashboard .db-credit-dashboard,
body.db-account-dashboard-shell-page .db-referral-card,
body.page-template-page-dashboard .db-referral-card {
  max-width: none !important;
  padding: 14px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(203, 213, 225, .72) !important;
  background: #fff !important;
}

body.db-account-dashboard-shell-page .db-credit-system-notice,
body.page-template-page-dashboard .db-credit-system-notice {
  margin-top: 12px !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(203, 213, 225, .72) !important;
  border-left: 3px solid #d71920 !important;
  border-radius: 10px !important;
  background: #fff7f7 !important;
  color: #334155 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

body.db-account-dashboard-shell-page .db-credit-contact-link,
body.page-template-page-dashboard .db-credit-contact-link {
  color: #d71920 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

@media (max-width: 1180px) {
  body.db-account-dashboard-shell-page .db-dashboard-stats,
  body.page-template-page-dashboard .db-dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  body.db-account-dashboard-shell-page .db-dashboard-listing__summary,
  body.page-template-page-dashboard .db-dashboard-listing__summary {
    grid-template-columns: 18px minmax(0, 1fr) !important;
    align-items: start !important;
  }

  body.db-account-dashboard-shell-page .db-dashboard-listing__cell--business,
  body.db-account-dashboard-shell-page .db-dashboard-listing__cell--status,
  body.db-account-dashboard-shell-page .db-dashboard-listing__cell--metric,
  body.db-account-dashboard-shell-page .db-dashboard-listing__cell--toggle,
  body.page-template-page-dashboard .db-dashboard-listing__cell--business,
  body.page-template-page-dashboard .db-dashboard-listing__cell--status,
  body.page-template-page-dashboard .db-dashboard-listing__cell--metric,
  body.page-template-page-dashboard .db-dashboard-listing__cell--toggle {
    grid-column: 2 / -1 !important;
    justify-self: start !important;
  }
}

@media (max-width: 760px) {
  body.db-account-dashboard-shell-page .db-dashboard-main > .db-dashboard-panel,
  body.page-template-page-dashboard .db-dashboard-main > .db-dashboard-panel {
    padding: 14px !important;
    border-radius: 12px !important;
  }

  body.db-account-dashboard-shell-page .db-dashboard-main h1,
  body.db-account-dashboard-shell-page .db-dashboard-main h2,
  body.page-template-page-dashboard .db-dashboard-main h1,
  body.page-template-page-dashboard .db-dashboard-main h2 {
    font-size: 24px !important;
  }

  body.db-account-dashboard-shell-page .db-dashboard-head h3,
  body.db-account-dashboard-shell-page .db-dashboard-section-head h3,
  body.db-account-dashboard-shell-page .db-dashboard-panel > h3,
  body.page-template-page-dashboard .db-dashboard-head h3,
  body.page-template-page-dashboard .db-dashboard-section-head h3,
  body.page-template-page-dashboard .db-dashboard-panel > h3 {
    font-size: 18px !important;
  }

  body.db-account-dashboard-shell-page .db-dashboard-stats,
  body.page-template-page-dashboard .db-dashboard-stats,
  body.db-account-dashboard-shell-page .db-leads-summary,
  body.page-template-page-dashboard .db-leads-summary {
    grid-template-columns: 1fr !important;
  }

  body.db-account-dashboard-shell-page .db-leads-empty,
  body.page-template-page-dashboard .db-leads-empty {
    display: block !important;
  }

  body.db-account-dashboard-shell-page .db-leads-empty span,
  body.page-template-page-dashboard .db-leads-empty span {
    display: block !important;
    margin-top: 5px !important;
  }
}


/* v1.2.56: owner listings are direct action rows, not accordions. */
.db-dashboard-listings-tablehead {
  display: none !important;
}

.db-dashboard-listing--row {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 13px;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}

.db-dashboard-listing--row:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(215, 25, 32, 0.20);
}

.db-dashboard-listing__row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 98px 72px 112px auto;
  gap: 10px;
  align-items: center;
  padding: 12px 13px;
}

.db-dashboard-listing__business,
.db-dashboard-listing__status-wrap,
.db-dashboard-listing__score,
.db-dashboard-listing__verify {
  min-width: 0;
}

.db-dashboard-listing__business strong {
  display: block;
  color: #0f172a;
  font-size: 13px;
  line-height: 1.28;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.db-dashboard-listing__score strong,
.db-dashboard-listing__verify strong {
  display: block;
  color: #0f172a;
  font-size: 12px;
  line-height: 1.2;
}

.db-dashboard-listing__score span,
.db-dashboard-listing__verify span {
  display: none;
}

.db-dashboard-listing__actions--inline {
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 6px;
  padding: 0;
}

.db-dashboard-listing__actions--inline .db-btn {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 9px;
  font-size: 11.5px;
  white-space: nowrap;
}

.db-dashboard-listing__actions--inline .db-btn-primary {
  box-shadow: none;
}

.db-dashboard-listing--row .db-completion,
.db-dashboard-listing--row .db-completion-bar,
.db-dashboard-listing--row .db-dashboard-listing__accordion,
.db-dashboard-listing--row .db-dashboard-listing__summary,
.db-dashboard-listing--row .db-dashboard-listing__body,
.db-dashboard-listing--row .db-dashboard-listing__caret {
  display: none !important;
}

@media (max-width: 1024px) {
  .db-dashboard-listing__row {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "title status score"
      "verify actions actions";
    gap: 9px;
  }

  .db-dashboard-listing__business { grid-area: title; }
  .db-dashboard-listing__status-wrap { grid-area: status; justify-self: end; }
  .db-dashboard-listing__score { grid-area: score; justify-self: end; }
  .db-dashboard-listing__verify { grid-area: verify; }
  .db-dashboard-listing__actions--inline { grid-area: actions; justify-self: end; }
}

@media (max-width: 640px) {
  .db-dashboard-listing__row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "title status"
      "score verify"
      "actions actions";
    padding: 13px;
  }

  .db-dashboard-listing__business strong {
    white-space: normal;
    font-size: 13.5px;
  }

  .db-dashboard-listing__score,
  .db-dashboard-listing__verify {
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  .db-dashboard-listing__score span,
  .db-dashboard-listing__verify span {
    display: inline;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
  }

  .db-dashboard-listing__actions--inline {
    justify-content: stretch;
    width: 100%;
  }

  .db-dashboard-listing__actions--inline .db-btn {
    flex: 1 1 0;
    justify-content: center;
  }
}

/* v1.2.59 repeatable form controls: one clear Add button when empty, Add More after rows. */
body.db-account-builder-shell-page .db-form-repeater,
body.db-account-dashboard-shell-page .db-form-repeater {
  display: grid;
  gap: 10px;
}

body.db-account-builder-shell-page .db-repeater-empty,
body.db-account-dashboard-shell-page .db-repeater-empty {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 16px;
  border: 1px dashed rgba(15, 23, 42, .16);
  border-radius: 12px;
  background: #fbfcff;
}

body.db-account-builder-shell-page .db-repeater-empty[hidden],
body.db-account-dashboard-shell-page .db-repeater-empty[hidden],
body.db-account-builder-shell-page .db-repeater-footer[hidden],
body.db-account-dashboard-shell-page .db-repeater-footer[hidden] {
  display: none !important;
}

body.db-account-builder-shell-page .db-repeater-footer,
body.db-account-dashboard-shell-page .db-repeater-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
}

body.db-account-builder-shell-page .db-repeater-footer .db-btn,
body.db-account-dashboard-shell-page .db-repeater-footer .db-btn {
  min-height: 40px;
}

@media (max-width: 680px) {
  body.db-account-builder-shell-page .db-repeater-empty,
  body.db-account-dashboard-shell-page .db-repeater-empty {
    min-height: 76px;
    padding: 12px;
  }

  body.db-account-builder-shell-page .db-repeater-footer .db-btn,
  body.db-account-dashboard-shell-page .db-repeater-footer .db-btn,
  body.db-account-builder-shell-page .db-repeater-empty .db-btn,
  body.db-account-dashboard-shell-page .db-repeater-empty .db-btn {
    width: 100%;
    justify-content: center;
  }
}

/* v1.2.60: customer requests are listed separately from approved live listings. */
.db-dashboard-request-list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}
.db-dashboard-request-list h4 {
  margin: 0 0 2px;
  font-size: 0.95rem;
  font-weight: 800;
}
.db-dashboard-request-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 14px;
  background: #fff;
}
.db-dashboard-request-row strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.92rem;
}
.db-dashboard-request-row span,
.db-dashboard-request-row em {
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  color: #64748b;
}
.db-dashboard-request-row em {
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
}
@media (max-width: 640px) {
  .db-dashboard-request-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .db-dashboard-request-row strong {
    white-space: normal;
  }
}

/* ==========================================================
   v1.2.65 Stability polish: builder prompts, icons, shell actions
   Scope: account dashboard and account listing builder only.
   ========================================================== */
body.db-account-dashboard-shell-page .db-dashboard-shellbar__action,
body.db-account-builder-shell-page .db-dashboard-shellbar__action {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
}

body.db-account-dashboard-shell-page .db-dashboard-shellbar__action .dashicons,
body.db-account-builder-shell-page .db-dashboard-shellbar__action .dashicons {
  width: 20px !important;
  height: 20px !important;
  font-size: 20px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.db-account-dashboard-shell-page .db-dashboard-shellbar__action em,
body.db-account-builder-shell-page .db-dashboard-shellbar__action em {
  position: absolute !important;
  top: -5px !important;
  right: -5px !important;
  min-width: 18px !important;
  height: 18px !important;
  padding: 0 5px !important;
  border: 2px solid #fff !important;
  border-radius: 999px !important;
  line-height: 14px !important;
  font-size: 10px !important;
  z-index: 2 !important;
}

body.db-account-dashboard-shell-page .db-dashboard-tabs button .dashicons,
body.db-account-dashboard-shell-page .db-dashboard-tabs a .dashicons,
body.db-account-builder-shell-page .db-dashboard-tabs button .dashicons,
body.db-account-builder-shell-page .db-dashboard-tabs a .dashicons {
  width: 20px !important;
  min-width: 20px !important;
  height: 20px !important;
  font-size: 20px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.db-account-builder-shell-page .db-dashboard-sidebar .db-dashboard-tabs--links a {
  grid-template-columns: 24px minmax(0, 1fr) !important;
}

body.db-account-builder-shell-page .db-dashboard-sidebar .db-dashboard-tabs--links a .dashicons {
  width: 22px !important;
  min-width: 22px !important;
  height: 22px !important;
  font-size: 22px !important;
}

body.db-account-builder-shell-page .db-dashboard-main--builder > .db-dashboard-builder-panel > .db-dashboard-section-head,
body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-mobile-actions,
body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-hero,
body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-guidance,
body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-progress {
  display: none !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder {
  padding-top: 0 !important;
}

body.db-account-builder-shell-page .db-add-listing-builder-slot--dashboard .db-builder-cards {
  margin-top: 0 !important;
}

/* ==========================================================
   v1.2.68 Profile dropdown polish
   Scope: account dashboard shellbar only.
   ========================================================== */
.db-dashboard-shellbar__actions {
  overflow: visible !important;
}

.db-dashboard-profile-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.db-dashboard-profile-menu__toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 8px 0 0;
  border: 0;
  border-radius: 999px;
  color: #111827;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.db-dashboard-profile-menu__toggle::-webkit-details-marker {
  display: none;
}

.db-dashboard-profile-menu__toggle .dashicons {
  width: 16px;
  height: 16px;
  font-size: 16px;
  line-height: 1;
  color: #64748b;
  transition: transform .18s ease;
}

.db-dashboard-profile-menu[open] .db-dashboard-profile-menu__toggle .dashicons-arrow-down-alt2 {
  transform: rotate(180deg);
}

.db-dashboard-profile-menu__name {
  display: none;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 800;
}

.db-dashboard-profile-menu__panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 40;
  width: 190px;
  padding: 8px;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .14);
}

.db-dashboard-profile-menu__panel::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 18px;
  width: 12px;
  height: 12px;
  border-top: 1px solid rgba(226, 232, 240, .95);
  border-left: 1px solid rgba(226, 232, 240, .95);
  background: #fff;
  transform: rotate(45deg);
}

.db-dashboard-profile-menu__panel a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 9px 10px;
  border-radius: 11px;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.db-dashboard-profile-menu__panel a:hover,
.db-dashboard-profile-menu__panel a:focus-visible {
  background: #f8fafc;
  color: var(--db-accent, #d71920);
  outline: none;
}

.db-dashboard-profile-menu__panel .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
  line-height: 1;
  color: var(--db-accent, #d71920);
}

.db-dashboard-profile-menu__logout {
  color: var(--db-accent, #d71920) !important;
}

@media (min-width: 1180px) {
  .db-dashboard-profile-menu__name {
    display: inline-block;
  }
}

@media (max-width: 620px) {
  .db-dashboard-profile-menu__toggle {
    padding-right: 0;
  }
  .db-dashboard-profile-menu__toggle .dashicons-arrow-down-alt2 {
    display: none;
  }
  .db-dashboard-profile-menu__panel {
    right: -4px;
    width: 178px;
  }
}


/* ==========================================================
   v1.2.70 Dashboard shellbar account dropdown fix
   Scope: owner/admin dashboard shellbar, desktop + mobile.
   ========================================================== */
.db-dashboard-shellbar,
.db-dashboard-shellbar__actions,
.db-dashboard-main {
  overflow: visible !important;
}

.db-dashboard-profile-menu {
  position: relative;
  display: inline-block;
  overflow: visible;
}

.db-dashboard-profile-menu__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 6px 12px 6px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  color: #1f2937;
  cursor: pointer;
  list-style: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.db-dashboard-profile-menu__toggle::-webkit-details-marker {
  display: none;
}

.db-dashboard-profile-menu__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1.5px solid #cbd5e1;
  background: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.db-dashboard-profile-menu__name {
  display: inline-block !important;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
}

.db-dashboard-profile-menu__chevron {
  display: inline-block;
  color: #475569;
  font-size: 11px;
  line-height: 1;
  transition: transform .18s ease;
}

.db-dashboard-profile-menu[open] .db-dashboard-profile-menu__chevron {
  transform: rotate(180deg);
}

.db-dashboard-profile-menu__panel {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  right: 0 !important;
  z-index: 60;
  min-width: 192px;
  padding: 8px 0;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.db-dashboard-profile-menu__panel::before {
  content: none;
}

.db-dashboard-profile-menu__panel a {
  display: block;
  min-height: 42px;
  padding: 12px 16px;
  color: #334155;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
}

.db-dashboard-profile-menu__panel a:hover,
.db-dashboard-profile-menu__panel a:focus-visible {
  background: #f8fafc;
  color: #111827;
  outline: none;
}

.db-dashboard-profile-menu__logout {
  color: #334155 !important;
}

@media (max-width: 620px) {
  .db-dashboard-profile-menu__toggle {
    gap: 8px;
    min-height: 40px;
    padding: 6px 10px 6px 8px;
  }
  .db-dashboard-profile-menu__name {
    max-width: 82px;
    font-size: 13px;
  }
  .db-dashboard-profile-menu__panel {
    right: 0 !important;
    min-width: 176px;
  }
  .db-dashboard-profile-menu__panel a {
    min-height: 40px;
    padding: 11px 14px;
    font-size: 14px;
  }
}
