body {
  font-family: 'Roboto', arial, sans-serif;
  color: #444444;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
p {
  margin-bottom: 15px;
  line-height: 1.5;
}
a {
  color: #ec6952;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
}

.template-item
{
   margin-top:10px;
   margin-bottom:10px;
}

.nav-second-level li a
{
     color: grey;
}

/* Follow-up page and administration refinements */
.dashboard-page .qp-upgrade-result-hero.is-neutral {
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .08), transparent 34%),
    linear-gradient(135deg, #243c39, #52645e);
}

.dashboard-page .qp-page-manage-preview-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dashboard-page .qp-page-manage-preview-actions > a {
  color: #356e64;
  font-size: 12px;
  font-weight: 800;
}

.dashboard-page .qp-page-manage-preview-actions .btn {
  min-width: 118px;
}

.dashboard-page .qp-page-manage-preview-panel[hidden] {
  display: none;
}

.dashboard-page .qp-admin-filter-card {
  margin-bottom: 16px;
}

.dashboard-page .qp-admin-filter-field {
  min-width: 0;
}

.dashboard-page .qp-admin-filter-field.is-wide {
  min-width: 240px;
}

.dashboard-page .qp-admin-user-search {
  grid-template-columns: minmax(280px, 1fr) 190px auto auto;
}

.dashboard-page .qp-admin-filter-form > .btn {
  height: 38px;
}

.dashboard-page .qp-admin-result-count {
  padding: 5px 9px;
  color: #49635e;
  background: #eef4f2;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.dashboard-page .qp-admin-ledger-note {
  display: block;
  margin-top: 5px;
  color: #788884;
  font-size: 12px;
  line-height: 1.4;
}

.dashboard-page .qp-admin-reward-history {
  margin-top: 7px;
}

.dashboard-page .qp-admin-reward-history summary {
  color: #356e64;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.dashboard-page .qp-admin-reward-history ol {
  min-width: 240px;
  margin: 7px 0 0;
  padding: 9px 10px 9px 26px;
  color: #62736f;
  background: #f5f8f7;
  border: 1px solid #dfe8e5;
  border-radius: 7px;
}

.dashboard-page .qp-admin-reward-history li + li {
  margin-top: 8px;
}

.dashboard-page .qp-admin-reward-history li strong,
.dashboard-page .qp-admin-reward-history li span,
.dashboard-page .qp-admin-reward-history li small {
  display: block;
}

.dashboard-page .qp-admin-reward-history li strong {
  color: #2f4f49;
  font-size: 12px;
}

.dashboard-page .qp-admin-reward-history li span,
.dashboard-page .qp-admin-reward-history li small {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.4;
}

/* Dashboard workspace */
.dashboard-page .qp-workspace-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 26px;
}

.dashboard-page .qp-workspace-overview > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--qp-line);
  border-radius: 10px;
  box-shadow: 0 7px 22px rgba(17, 49, 45, .04);
}

.dashboard-page .qp-workspace-overview-icon,
.dashboard-page .qp-workspace-section-icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: #d85d48;
  background: #fff0ec;
  border-radius: 9px;
}

.dashboard-page .qp-workspace-overview-icon {
  width: 38px;
  height: 38px;
}

.dashboard-page .qp-workspace-overview p,
.dashboard-page .qp-workspace-overview strong,
.dashboard-page .qp-workspace-overview span {
  display: block;
  margin: 0;
}

.dashboard-page .qp-workspace-overview strong {
  color: var(--qp-ink);
  font-size: 22px;
  line-height: 1;
}

.dashboard-page .qp-workspace-overview p > span {
  margin-top: 4px;
  color: #7c8986;
  font-size: 12px;
  font-weight: 700;
}

.dashboard-page .qp-workspace-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 30px 0 12px;
}

.dashboard-page .qp-workspace-section-heading > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.dashboard-page .qp-workspace-section-icon {
  width: 36px;
  height: 36px;
}

.dashboard-page .qp-workspace-section-heading h2 {
  margin: 0;
  color: var(--qp-ink);
  font-size: 18px;
  font-weight: 800;
}

.dashboard-page .qp-workspace-section-heading p {
  margin: 3px 0 0;
  color: #7b8986;
  font-size: 12px;
}

.dashboard-page .qp-workspace-table-card,
.dashboard-page .qp-workspace-group-card,
.dashboard-page .qp-workspace-test-card {
  overflow: visible;
  border-radius: 11px;
  box-shadow: 0 8px 25px rgba(17, 49, 45, .045);
}

.dashboard-page .qp-workspace-table-card > .panel-body {
  padding: 0;
}

.dashboard-page .qp-workspace-table-card .table-responsive {
  margin: 0;
}

.dashboard-page .qp-workspace-table {
  margin-bottom: 0;
}

.dashboard-page .qp-workspace-table > tbody > tr > td:first-child a {
  color: #245d55;
  font-weight: 800;
}

.dashboard-page .qp-workspace-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.dashboard-page .qp-workspace-empty,
.dashboard-page .qp-workspace-group-empty {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px;
  color: #677773;
  background: #fff;
  border: 1px dashed #cbd8d4;
  border-radius: 10px;
}

.dashboard-page .qp-workspace-empty {
  justify-content: space-between;
}

.dashboard-page .qp-workspace-empty > span,
.dashboard-page .qp-workspace-group-empty > i {
  display: flex;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: #356e64;
  background: #edf4f2;
  border-radius: 50%;
}

.dashboard-page .qp-workspace-empty > div,
.dashboard-page .qp-workspace-group-empty > div {
  min-width: 0;
  flex: 1;
}

.dashboard-page .qp-workspace-empty strong,
.dashboard-page .qp-workspace-group-empty strong {
  display: block;
  color: #294943;
  font-size: 13px;
}

.dashboard-page .qp-workspace-empty p,
.dashboard-page .qp-workspace-group-empty p {
  margin: 3px 0 6px;
  font-size: 12px;
}

.dashboard-page .qp-workspace-test-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.dashboard-page .qp-workspace-test-heading > div {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.dashboard-page .qp-workspace-test-heading strong {
  font-size: 13px;
}

.dashboard-page .qp-workspace-test-url {
  max-width: 420px;
  overflow: hidden;
  color: #6b7e79;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-page .qp-workspace-test-winner {
  flex: 0 0 auto;
  color: #8b671b;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 1050px) {
  .dashboard-page .qp-admin-user-search {
    grid-template-columns: minmax(240px, 1fr) 170px;
  }
}

@media (max-width: 767px) {
  .dashboard-page .qp-page-manage-preview-actions,
  .dashboard-page .qp-workspace-section-heading,
  .dashboard-page .qp-workspace-empty,
  .dashboard-page .qp-workspace-test-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-page .qp-page-manage-preview-actions {
    width: 100%;
  }

  .dashboard-page .qp-page-manage-preview-actions .btn,
  .dashboard-page .qp-workspace-section-heading > .btn,
  .dashboard-page .qp-workspace-empty > .btn {
    width: 100%;
  }

  .dashboard-page .qp-admin-user-search,
  .dashboard-page .qp-workspace-overview {
    grid-template-columns: 1fr;
  }

  .dashboard-page .qp-admin-filter-field.is-wide {
    min-width: 0;
  }

  .dashboard-page .qp-admin-reward-history ol {
    min-width: 0;
  }

  .dashboard-page .qp-workspace-section-heading > div {
    align-items: flex-start;
  }

  .dashboard-page .qp-workspace-test-heading > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .dashboard-page .qp-workspace-test-url {
    max-width: 100%;
    grid-column: 1 / -1;
  }
}

/* Account closure */
.dashboard-page .qp-account-delete-page,
.dashboard-page .qp-upgrade-result-page,
.dashboard-page .qp-page-manage-page,
.dashboard-page .qp-ab-create-page,
.dashboard-page .qp-admin-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 0 72px;
}

.dashboard-page .qp-account-delete-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 44px;
  align-items: center;
  margin-top: 12px;
  padding: 42px 46px;
  color: #fff;
  background:
    radial-gradient(circle at 91% 11%, rgba(242, 106, 82, .23), transparent 31%),
    linear-gradient(135deg, #102c2a, #214b47);
  border-radius: 22px;
  box-shadow: 0 22px 52px rgba(16, 44, 42, .16);
}

.dashboard-page .qp-account-delete-eyebrow,
.dashboard-page .qp-account-delete-card header > span {
  display: block;
  color: #ef7864;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.dashboard-page .qp-account-delete-hero .qp-account-delete-eyebrow {
  color: #ffad9e;
}

.dashboard-page .qp-account-delete-hero h1 {
  max-width: 670px;
  margin: 10px 0 13px;
  color: #fff;
  font-family: "Newsreader", serif;
  font-size: clamp(42px, 4.5vw, 58px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .98;
}

.dashboard-page .qp-account-delete-hero p {
  max-width: 610px;
  margin: 0;
  color: #bfd0cc;
  font-size: 13px;
  line-height: 1.65;
}

.dashboard-page .qp-account-delete-identity {
  min-width: 0;
  padding: 22px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 15px;
}

.dashboard-page .qp-account-delete-identity span,
.dashboard-page .qp-account-delete-identity strong,
.dashboard-page .qp-account-delete-identity small {
  display: block;
}

.dashboard-page .qp-account-delete-identity span {
  color: #9eb5b0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.dashboard-page .qp-account-delete-identity strong {
  margin-top: 7px;
  color: #fff;
  font-size: 14px;
}

.dashboard-page .qp-account-delete-identity small {
  margin-top: 3px;
  overflow: hidden;
  color: #b8c9c5;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-page .qp-account-delete-error {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  padding: 13px 16px;
  color: #92483c;
  background: #fff2ef;
  border: 1px solid #f1c8c0;
  border-radius: 10px;
}

.dashboard-page .qp-account-delete-error > i {
  text-align: center;
}

.dashboard-page .qp-account-delete-error strong,
.dashboard-page .qp-account-delete-error span {
  display: block;
}

.dashboard-page .qp-account-delete-error span {
  margin-top: 2px;
  color: #9c6b63;
  font-size: 13px;
}

.dashboard-page .qp-account-delete-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: 20px;
  align-items: start;
  margin-top: 22px;
}

.dashboard-page .qp-account-delete-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--qp-line);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(16, 44, 42, .06);
}

.dashboard-page .qp-account-delete-card > header {
  padding: 23px 24px 18px;
  border-bottom: 1px solid var(--qp-line);
}

.dashboard-page .qp-account-delete-card header h2 {
  margin: 6px 0 4px;
  color: var(--qp-ink);
  font-family: "Newsreader", serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -.025em;
}

.dashboard-page .qp-account-delete-card header p {
  margin: 0;
  color: var(--qp-muted);
  font-size: 13px;
}

.dashboard-page .qp-account-delete-consequences {
  margin: 0;
  padding: 5px 24px;
  list-style: none;
}

.dashboard-page .qp-account-delete-consequences li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 17px 0;
}

.dashboard-page .qp-account-delete-consequences li + li {
  border-top: 1px solid #edf1ef;
}

.dashboard-page .qp-account-delete-consequences > li > i {
  display: flex;
  width: 35px;
  height: 35px;
  align-items: center;
  justify-content: center;
  color: #e46650;
  background: #fff0ed;
  border-radius: 10px;
}

.dashboard-page .qp-account-delete-consequences strong,
.dashboard-page .qp-account-delete-consequences span {
  display: block;
}

.dashboard-page .qp-account-delete-consequences strong {
  color: #27433f;
  font-size: 13px;
}

.dashboard-page .qp-account-delete-consequences span {
  margin-top: 3px;
  color: #7a8986;
  font-size: 12px;
  line-height: 1.45;
}

.dashboard-page .qp-account-delete-help {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  margin: 0 24px 23px;
  padding: 13px;
  background: #f2f7f5;
  border-radius: 10px;
}

.dashboard-page .qp-account-delete-help > i {
  color: #3e766c;
  text-align: center;
}

.dashboard-page .qp-account-delete-help strong,
.dashboard-page .qp-account-delete-help span {
  display: block;
}

.dashboard-page .qp-account-delete-help strong {
  color: #31534e;
  font-size: 13px;
}

.dashboard-page .qp-account-delete-help span {
  margin-top: 2px;
  color: #738682;
  font-size: 12px;
  line-height: 1.4;
}

.dashboard-page .qp-account-delete-help a {
  color: #28665c;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.dashboard-page .qp-account-delete-confirm {
  border-color: #efc6bf;
}

.dashboard-page .qp-account-delete-confirm form {
  padding: 23px 24px;
}

.dashboard-page .qp-account-delete-confirm .form-group > label:first-child {
  color: #294540;
  font-size: 13px;
  font-weight: 800;
}

.dashboard-page .qp-account-delete-confirm .form-control {
  height: 44px;
  border-color: #cfdbd8;
  border-radius: 9px;
  box-shadow: none;
}

.dashboard-page .qp-account-delete-field-note {
  display: block;
  margin-top: 6px;
  color: #83918e;
  font-size: 12px;
}

.dashboard-page .qp-account-delete-social-note {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 9px;
  align-items: center;
  margin-bottom: 18px;
  padding: 12px;
  color: #5f7772;
  background: #f1f6f4;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.45;
}

.dashboard-page .qp-account-delete-social-note i {
  text-align: center;
}

.dashboard-page .qp-account-delete-check {
  margin: 19px 0;
  padding: 14px;
  background: #fff7f5;
  border: 1px solid #f0d4ce;
  border-radius: 10px;
}

.dashboard-page .qp-account-delete-check > label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0;
  cursor: pointer;
}

.dashboard-page .qp-account-delete-check input {
  margin-top: 2px;
}

.dashboard-page .qp-account-delete-check strong,
.dashboard-page .qp-account-delete-check small {
  display: block;
}

.dashboard-page .qp-account-delete-check strong {
  color: #713f37;
  font-size: 13px;
}

.dashboard-page .qp-account-delete-check small {
  margin-top: 3px;
  color: #9b6c64;
  font-size: 12px;
  line-height: 1.45;
}

.dashboard-page .qp-account-delete-submit,
.dashboard-page .qp-account-delete-cancel {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
}

.dashboard-page .qp-account-delete-submit {
  gap: 12px;
  color: #fff;
  background: #c84e3c;
  border: 1px solid #c84e3c;
}

.dashboard-page .qp-account-delete-cancel {
  margin-top: 8px;
  color: #3c615b;
  background: #fff;
  border: 1px solid #d6dfdc;
}

/* Upgrade result */
.dashboard-page .qp-upgrade-result-page {
  max-width: 940px;
  padding-top: 40px;
}

.dashboard-page .qp-upgrade-result-hero {
  position: relative;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 25px;
  overflow: hidden;
  padding: 50px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(242, 106, 82, .23), transparent 34%),
    linear-gradient(135deg, #102c2a, #214d48);
  border-radius: 24px;
  box-shadow: 0 26px 65px rgba(16, 44, 42, .2);
}

.dashboard-page .qp-upgrade-result-hero.is-failed {
  background: linear-gradient(135deg, #4f2925, #783f35);
}

.dashboard-page .qp-upgrade-result-hero.needs-support {
  background: linear-gradient(135deg, #263c3a, #4e5f54);
}

.dashboard-page .qp-upgrade-result-hero.is-pending {
  background: linear-gradient(135deg, #173432, #45594f);
}

.dashboard-page .qp-upgrade-result-icon {
  display: flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  color: var(--qp-ink);
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 9px 25px rgba(0, 0, 0, .12);
  font-size: 22px;
}

.dashboard-page .qp-upgrade-result-copy > span {
  color: #ffad9e;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.dashboard-page .qp-upgrade-result-copy h1 {
  margin: 8px 0 12px;
  color: #fff;
  font-family: "Newsreader", serif;
  font-size: clamp(42px, 5vw, 60px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .98;
}

.dashboard-page .qp-upgrade-result-copy > p {
  max-width: 650px;
  margin: 0;
  color: #c4d3d0;
  font-size: 13px;
  line-height: 1.65;
}

.dashboard-page .qp-upgrade-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
}

.dashboard-page .qp-upgrade-result-actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  justify-content: center;
  padding: 0 18px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .19);
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
}

.dashboard-page .qp-upgrade-result-actions a.is-primary {
  color: var(--qp-ink);
  background: #fff;
  border-color: #fff;
}

.dashboard-page .qp-upgrade-result-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  margin-top: 20px;
  background: #fff;
  border: 1px solid var(--qp-line);
  border-radius: 14px;
  box-shadow: 0 9px 28px rgba(16, 44, 42, .06);
}

.dashboard-page .qp-upgrade-result-details > div {
  position: relative;
  min-width: 0;
  padding: 21px 22px 20px 49px;
}

.dashboard-page .qp-upgrade-result-details > div + div {
  border-left: 1px solid var(--qp-line);
}

.dashboard-page .qp-upgrade-result-details i {
  position: absolute;
  top: 24px;
  left: 20px;
  color: #e46650;
}

.dashboard-page .qp-upgrade-result-details span,
.dashboard-page .qp-upgrade-result-details strong {
  display: block;
}

.dashboard-page .qp-upgrade-result-details span {
  color: #879491;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dashboard-page .qp-upgrade-result-details strong {
  margin-top: 5px;
  overflow: hidden;
  color: #26433f;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-page .qp-upgrade-result-help {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  margin-top: 16px;
  padding: 16px 18px;
  background: #fff8f5;
  border: 1px solid #efd8d2;
  border-radius: 12px;
}

.dashboard-page .qp-upgrade-result-help > div {
  display: flex;
  width: 39px;
  height: 39px;
  align-items: center;
  justify-content: center;
  color: #e3654f;
  background: #fff;
  border-radius: 10px;
}

.dashboard-page .qp-upgrade-result-help p {
  margin: 0;
}

.dashboard-page .qp-upgrade-result-help strong,
.dashboard-page .qp-upgrade-result-help span {
  display: block;
}

.dashboard-page .qp-upgrade-result-help strong {
  color: #3a514d;
  font-size: 13px;
}

.dashboard-page .qp-upgrade-result-help span {
  margin-top: 2px;
  color: #7c8b88;
  font-size: 12px;
}

.dashboard-page .qp-upgrade-result-help > a {
  color: #d45c47;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

/* Page management */
.dashboard-page .qp-page-manage-page,
.dashboard-page .qp-ab-create-page,
.dashboard-page .qp-admin-page {
  max-width: 1180px;
}

.dashboard-page .qp-page-manage-header > div:first-child {
  min-width: 0;
}

.dashboard-page .qp-page-manage-header p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-page .qp-page-manage-funnel {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  margin-bottom: 18px;
  padding: 13px 15px;
  color: #315850;
  background: #eef6f3;
  border: 1px solid #cfe2dc;
  border-radius: 10px;
}

.dashboard-page .qp-page-manage-funnel > i {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #467d70;
  border-radius: 9px;
}

.dashboard-page .qp-page-manage-funnel strong,
.dashboard-page .qp-page-manage-funnel span {
  display: block;
}

.dashboard-page .qp-page-manage-funnel strong {
  font-size: 13px;
}

.dashboard-page .qp-page-manage-funnel span {
  margin-top: 2px;
  color: #6b817c;
  font-size: 12px;
}

.dashboard-page .qp-page-manage-funnel > a {
  color: #2f6d61;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.dashboard-page .qp-page-manage-settings {
  overflow: visible;
}

.dashboard-page .qp-page-manage-settings > .qp-app-card-header {
  border-radius: 14px 14px 0 0;
}

.dashboard-page .qp-page-manage-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  color: #31715f;
  background: #e6f4ee;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-page .qp-page-manage-saved {
  margin: 16px 18px 0;
}

.dashboard-page .qp-page-report-toolbar {
  display: flex;
  gap: 15px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 13px 14px;
  background: #f5f8f6;
  border: 1px solid var(--qp-line);
  border-radius: 10px;
}

.dashboard-page .qp-page-report-toolbar .form-inline,
.dashboard-page .qp-page-report-toolbar form {
  margin: 0;
}

.dashboard-page .qp-page-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.dashboard-page .qp-page-report-metrics {
  margin-bottom: 14px;
}

.dashboard-page .qp-page-report-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  margin: 0;
  background: #fbfcfb;
  border: 1px solid var(--qp-line);
  border-radius: 10px;
}

.dashboard-page .qp-page-report-details > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 15px;
}

.dashboard-page .qp-page-report-details > div:nth-child(even) {
  border-left: 1px solid var(--qp-line);
}

.dashboard-page .qp-page-report-details > div:nth-child(n+3) {
  border-top: 1px solid var(--qp-line);
}

.dashboard-page .qp-page-report-details dt {
  color: #889592;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.dashboard-page .qp-page-report-details dd {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #35514c;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-page .qp-page-report-details dd a {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-page .qp-page-manage-preview-card {
  overflow: hidden;
}

.dashboard-page .qp-page-manage-preview-card > .qp-app-card-header > a {
  color: #356e64;
  font-size: 12px;
  font-weight: 800;
}

.dashboard-page .qp-page-manage-preview-tools {
  padding: 13px 17px;
  background: #f5f8f7;
  border-bottom: 1px solid var(--qp-line);
}

.dashboard-page .qp-page-manage-preview-tools .qp-preview-toolbar {
  margin: 0;
}

/* A/B test creation */
.dashboard-page .qp-ab-create-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  margin: 0 0 18px;
  background: #fff;
  border: 1px solid var(--qp-line);
  border-radius: 10px;
}

.dashboard-page .qp-ab-create-progress > div {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 10px;
  padding: 14px 15px;
}

.dashboard-page .qp-ab-create-progress > div + div {
  border-left: 1px solid var(--qp-line);
}

.dashboard-page .qp-ab-create-progress span {
  display: flex;
  width: 27px;
  height: 27px;
  grid-row: 1 / 3;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--qp-ink);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.dashboard-page .qp-ab-create-progress strong,
.dashboard-page .qp-ab-create-progress small {
  display: block;
}

.dashboard-page .qp-ab-create-progress strong {
  color: #304b47;
  font-size: 13px;
}

.dashboard-page .qp-ab-create-progress small {
  margin-top: 2px;
  color: #84918e;
  font-size: 12px;
}

.dashboard-page .qp-ab-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 20px;
}

.dashboard-page .qp-ab-create-form .form-group label {
  color: #2d4944;
  font-size: 13px;
  font-weight: 800;
}

.dashboard-page .qp-ab-create-form .form-control {
  height: 42px;
  border-color: #cfdbd8;
  border-radius: 8px;
  box-shadow: none;
  font-size: 13px;
}

.dashboard-page .qp-ab-create-form .help-block {
  margin-top: 5px;
  color: #84918e;
  font-size: 12px;
}

.dashboard-page .qp-ab-url-input .input-group-addon {
  color: #687d78;
  background: #f3f6f5;
  border-color: #cfdbd8;
  border-radius: 8px 0 0 8px;
  font-size: 13px;
}

.dashboard-page .qp-ab-url-input .form-control {
  border-radius: 0 8px 8px 0;
}

.dashboard-page .qp-ab-url-preview {
  display: grid;
  grid-template-columns: 32px 110px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 11px 13px;
  color: #31574f;
  background: #eff6f3;
  border: 1px solid #d3e4df;
  border-radius: 9px;
}

.dashboard-page .qp-ab-url-preview i {
  text-align: center;
}

.dashboard-page .qp-ab-url-preview span {
  color: #70847f;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-page .qp-ab-url-preview strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-page .qp-ab-selected-count {
  padding: 6px 9px;
  color: #d45c47;
  background: #fff0ed;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-page .qp-ab-variant-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-page .qp-ab-variant-card {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  margin: 0;
  padding: 15px;
  cursor: pointer;
  background: #fbfcfb;
  border: 1px solid #dce5e2;
  border-radius: 11px;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.dashboard-page .qp-ab-variant-card:hover,
.dashboard-page .qp-ab-variant-card.is-selected {
  background: #fff8f5;
  border-color: #ee9e90;
  box-shadow: 0 6px 18px rgba(16, 44, 42, .055);
}

.dashboard-page .qp-ab-variant-card > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dashboard-page .qp-ab-variant-check {
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  color: transparent;
  background: #edf2f0;
  border: 1px solid #d7e0dd;
  border-radius: 9px;
}

.dashboard-page .qp-ab-variant-card.is-selected .qp-ab-variant-check {
  color: #fff;
  background: #ed6852;
  border-color: #ed6852;
}

.dashboard-page .qp-ab-variant-copy {
  min-width: 0;
}

.dashboard-page .qp-ab-variant-copy strong,
.dashboard-page .qp-ab-variant-copy small,
.dashboard-page .qp-ab-variant-copy em {
  display: block;
}

.dashboard-page .qp-ab-variant-copy strong {
  overflow: hidden;
  color: #294641;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-page .qp-ab-variant-copy small {
  margin-top: 3px;
  overflow: hidden;
  color: #71837f;
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-page .qp-ab-variant-copy em {
  margin-top: 5px;
  color: #9a7770;
  font-size: 12px;
  font-style: normal;
}

.dashboard-page .qp-ab-funnel-badge {
  grid-column: 2;
  justify-self: start;
  padding: 4px 7px;
  color: #4d736b;
  background: #eaf3f0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.dashboard-page .qp-ab-empty-state {
  padding: 42px 20px;
  text-align: center;
}

.dashboard-page .qp-ab-empty-state > i {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 13px;
  color: #e16550;
  background: #fff0ed;
  border-radius: 14px;
  font-size: 17px;
}

.dashboard-page .qp-ab-empty-state h3 {
  margin: 0;
  color: #294641;
  font-family: "Newsreader", serif;
  font-size: 24px;
  font-weight: 600;
}

.dashboard-page .qp-ab-empty-state p {
  margin: 5px 0 15px;
  color: #7d8c89;
  font-size: 13px;
}

.dashboard-page .qp-ab-create-review {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 18px 20px;
  color: #fff;
  background: var(--qp-ink);
  border-radius: 11px;
}

.dashboard-page .qp-ab-create-review strong,
.dashboard-page .qp-ab-create-review small {
  display: block;
}

.dashboard-page .qp-ab-create-review strong {
  margin-top: 3px;
  color: #fff;
  font-size: 13px;
}

.dashboard-page .qp-ab-create-review small {
  margin-top: 3px;
  color: #b9ccc7;
  font-size: 12px;
}

.dashboard-page .qp-ab-create-review .btn {
  min-width: 175px;
}

/* Administration */
.dashboard-page .qp-admin-header-count {
  min-width: 120px;
  padding: 12px 16px;
  text-align: right;
  background: #fff;
  border: 1px solid var(--qp-line);
  border-radius: 10px;
}

.dashboard-page .qp-admin-header-count strong,
.dashboard-page .qp-admin-header-count span {
  display: block;
}

.dashboard-page .qp-admin-header-count strong {
  color: var(--qp-ink);
  font-family: "Newsreader", serif;
  font-size: 24px;
  line-height: 1;
}

.dashboard-page .qp-admin-header-count span {
  margin-top: 3px;
  color: #7d8c89;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-page .qp-admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: -4px 0 18px;
}

.dashboard-page .qp-admin-nav a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  color: #60746f;
  background: #fff;
  border: 1px solid var(--qp-line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.dashboard-page .qp-admin-nav a.is-active {
  color: #fff;
  background: var(--qp-ink);
  border-color: var(--qp-ink);
}

.dashboard-page .qp-admin-search-card > .qp-app-card-header > i,
.dashboard-page .qp-admin-referral-tools .qp-app-card-header > i {
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  color: #e26650;
  background: #fff0ed;
  border-radius: 9px;
}

.dashboard-page .qp-admin-user-search {
  max-width: 650px;
}

.dashboard-page .qp-admin-user-search .form-control {
  height: 42px;
  border-color: #cedad6;
  box-shadow: none;
}

.dashboard-page .qp-admin-user-search .input-group-addon {
  color: #7a8b87;
  background: #f3f6f5;
  border-color: #cedad6;
}

.dashboard-page .qp-admin-user-search .btn {
  height: 42px;
}

.dashboard-page .qp-admin-search-results {
  border-top: 1px solid var(--qp-line);
}

.dashboard-page .qp-admin-subheading {
  padding: 13px 17px;
  background: #fbfcfb;
  border-bottom: 1px solid var(--qp-line);
}

.dashboard-page .qp-admin-subheading span,
.dashboard-page .qp-admin-subheading strong {
  display: block;
}

.dashboard-page .qp-admin-subheading span {
  color: #e06651;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.dashboard-page .qp-admin-subheading strong {
  margin-top: 2px;
  color: #3a5550;
  font-size: 13px;
}

.dashboard-page .qp-admin-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.dashboard-page .qp-admin-table {
  width: 100%;
  border-collapse: collapse;
}

.dashboard-page .qp-admin-table th {
  padding: 11px 14px;
  color: #82908d;
  background: #f7f9f8;
  border-bottom: 1px solid var(--qp-line);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-align: left;
  text-transform: uppercase;
}

.dashboard-page .qp-admin-table td {
  padding: 13px 14px;
  color: #526864;
  border-bottom: 1px solid #edf1ef;
  font-size: 12px;
  vertical-align: middle;
}

.dashboard-page .qp-admin-table tbody tr:last-child td {
  border-bottom: 0;
}

.dashboard-page .qp-admin-table td > strong,
.dashboard-page .qp-admin-table td > small,
.dashboard-page .qp-admin-table td > em,
.dashboard-page .qp-admin-feedback-table time {
  display: block;
}

.dashboard-page .qp-admin-table td > strong {
  color: #294641;
  font-size: 13px;
}

.dashboard-page .qp-admin-table td > small,
.dashboard-page .qp-admin-feedback-table time + small {
  margin-top: 2px;
  color: #8a9693;
  font-size: 12px;
}

.dashboard-page .qp-admin-table td > em {
  color: #8a9693;
  font-size: 12px;
  font-style: normal;
}

.dashboard-page .qp-admin-table code {
  padding: 4px 6px;
  color: #9c5144;
  background: #fff1ee;
  border-radius: 5px;
  font-size: 12px;
}

.dashboard-page .qp-admin-user {
  display: flex;
  min-width: 220px;
  gap: 9px;
  align-items: center;
}

.dashboard-page .qp-admin-user-avatar {
  display: flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--qp-ink);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.dashboard-page .qp-admin-user strong,
.dashboard-page .qp-admin-user small,
.dashboard-page .qp-admin-user em {
  display: block;
}

.dashboard-page .qp-admin-user strong {
  color: #294641;
  font-size: 13px;
}

.dashboard-page .qp-admin-user small {
  margin-top: 1px;
  color: #758783;
  font-size: 12px;
}

.dashboard-page .qp-admin-user em {
  margin-top: 2px;
  color: #9ba5a3;
  font-size: 12px;
  font-style: normal;
}

.dashboard-page .qp-admin-status,
.dashboard-page .qp-admin-role,
.dashboard-page .qp-admin-current {
  display: inline-flex;
  align-items: center;
  padding: 5px 7px;
  color: #60736f;
  background: #edf2f0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.dashboard-page .qp-admin-status.is-active,
.dashboard-page .qp-admin-status.is-paid {
  color: #2d765e;
  background: #e2f4ed;
}

.dashboard-page .qp-admin-status.is-pending {
  color: #8a6620;
  background: #fff1ce;
}

.dashboard-page .qp-admin-status.is-disabled {
  color: #a14f42;
  background: #ffebe7;
}

.dashboard-page .qp-admin-row-action {
  color: #2f6e63;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.dashboard-page .qp-admin-feedback-message {
  min-width: 260px;
  max-width: 510px;
  margin: 0;
  color: #405a55;
  font-size: 12px;
  line-height: 1.55;
}

.dashboard-page .qp-admin-path {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dashboard-page .qp-admin-path code {
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-page .qp-admin-empty {
  padding: 45px 20px;
  color: #7d8c89;
  text-align: center;
}

.dashboard-page .qp-admin-empty.is-compact {
  padding: 16px;
}

.dashboard-page .qp-admin-empty i {
  display: block;
  margin-bottom: 9px;
  color: #e16752;
  font-size: 18px;
}

.dashboard-page .qp-admin-empty strong,
.dashboard-page .qp-admin-empty span {
  display: block;
}

.dashboard-page .qp-admin-empty strong {
  color: #36524d;
  font-size: 13px;
}

.dashboard-page .qp-admin-empty span {
  margin-top: 3px;
  font-size: 12px;
}

.dashboard-page .qp-admin-pagination {
  padding: 8px 16px 14px;
  border-top: 1px solid var(--qp-line);
}

.dashboard-page .qp-admin-pagination .pagination {
  margin: 6px 0 0;
}

.dashboard-page .qp-admin-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 16px;
}

.dashboard-page .qp-admin-tabs > a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 13px 14px;
  color: #60736f;
  background: #fff;
  border: 1px solid var(--qp-line);
  border-radius: 10px;
}

.dashboard-page .qp-admin-tabs > a.is-active {
  color: #fff;
  background: var(--qp-ink);
  border-color: var(--qp-ink);
}

.dashboard-page .qp-admin-tabs > a > i {
  text-align: center;
}

.dashboard-page .qp-admin-tabs strong,
.dashboard-page .qp-admin-tabs small {
  display: block;
}

.dashboard-page .qp-admin-tabs strong {
  font-size: 13px;
}

.dashboard-page .qp-admin-tabs small {
  margin-top: 2px;
  color: #83938f;
  font-size: 12px;
}

.dashboard-page .qp-admin-tabs > a.is-active small {
  color: #b7cbc6;
}

.dashboard-page .qp-admin-filter-form {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr .8fr .8fr;
  gap: 10px;
  align-items: end;
}

.dashboard-page .qp-admin-filter-form.is-compact {
  grid-template-columns: minmax(240px, 1fr) auto;
}

.dashboard-page .qp-admin-filter-form .form-group {
  margin: 0;
}

.dashboard-page .qp-admin-filter-form label {
  color: #49635e;
  font-size: 12px;
  font-weight: 800;
}

.dashboard-page .qp-admin-filter-form .form-control {
  height: 38px;
  border-color: #cfdbd7;
  border-radius: 7px;
  box-shadow: none;
  font-size: 12px;
}

.dashboard-page .qp-admin-filter-actions {
  display: flex;
  grid-column: 1 / -1;
  gap: 7px;
  margin-top: 2px;
}

.dashboard-page .qp-admin-filter-form.is-compact .qp-admin-filter-actions {
  grid-column: auto;
  margin: 0;
}

.dashboard-page .qp-admin-referral-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.dashboard-page .qp-admin-referral-summary > div {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--qp-line);
  border-radius: 10px;
}

.dashboard-page .qp-admin-referral-summary span,
.dashboard-page .qp-admin-referral-summary strong,
.dashboard-page .qp-admin-referral-summary small {
  display: block;
}

.dashboard-page .qp-admin-referral-summary span {
  color: #81908d;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-page .qp-admin-referral-summary strong {
  margin-top: 6px;
  color: var(--qp-ink);
  font-family: "Newsreader", serif;
  font-size: 27px;
  line-height: 1;
}

.dashboard-page .qp-admin-referral-summary small {
  margin-top: 5px;
  color: #8b9694;
  font-size: 12px;
}

.dashboard-page .qp-admin-referral-tools {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 14px;
}

.dashboard-page .qp-admin-referral-tools form > label {
  color: #3f5a55;
  font-size: 12px;
}

.dashboard-page .qp-admin-referral-tools form > small {
  display: block;
  margin-top: 6px;
  color: #899693;
  font-size: 12px;
}

.dashboard-page .qp-admin-payout-options {
  display: flex;
  max-height: 104px;
  flex-wrap: wrap;
  gap: 6px;
  overflow-y: auto;
  margin-bottom: 12px;
}

.dashboard-page .qp-admin-payout-options label {
  display: inline-grid;
  grid-template-columns: 14px auto;
  gap: 5px;
  align-items: center;
  margin: 0;
  padding: 7px 8px;
  cursor: pointer;
  background: #f4f7f6;
  border: 1px solid var(--qp-line);
  border-radius: 7px;
}

.dashboard-page .qp-admin-payout-options strong,
.dashboard-page .qp-admin-payout-options small {
  display: block;
  font-size: 12px;
}

.dashboard-page .qp-admin-disallow-reason {
  display: block;
  max-width: 150px;
  margin-top: 5px;
  color: #a14f42 !important;
  line-height: 1.35;
}

.dashboard-page .qp-admin-impersonation-page {
  max-width: 940px;
}

.dashboard-page .qp-admin-impersonation-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--qp-line);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(16, 44, 42, .08);
}

.dashboard-page .qp-admin-impersonation-warning {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: center;
  padding: 17px 20px;
  color: #6e5523;
  background: #fff4d7;
  border-bottom: 1px solid #ebdbb7;
}

.dashboard-page .qp-admin-impersonation-warning > i {
  display: flex;
  width: 39px;
  height: 39px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #a77b2e;
  border-radius: 10px;
}

.dashboard-page .qp-admin-impersonation-warning strong,
.dashboard-page .qp-admin-impersonation-warning span {
  display: block;
}

.dashboard-page .qp-admin-impersonation-warning strong {
  font-size: 13px;
}

.dashboard-page .qp-admin-impersonation-warning span {
  margin-top: 3px;
  color: #8a754d;
  font-size: 12px;
}

.dashboard-page .qp-admin-impersonation-grid {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
}

.dashboard-page .qp-admin-impersonation-grid > dl {
  margin: 0;
  padding: 20px;
  background: #f7f9f8;
  border-right: 1px solid var(--qp-line);
}

.dashboard-page .qp-admin-impersonation-grid > dl > div {
  display: grid;
  grid-template-columns: 75px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 0;
}

.dashboard-page .qp-admin-impersonation-grid > dl > div + div {
  border-top: 1px solid var(--qp-line);
}

.dashboard-page .qp-admin-impersonation-grid dt {
  color: #82918e;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-page .qp-admin-impersonation-grid dd {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #34514c;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
}

.dashboard-page .qp-admin-impersonation-grid > form {
  padding: 20px;
}

.dashboard-page .qp-admin-impersonation-grid label {
  color: #34514c;
  font-size: 13px;
  font-weight: 800;
}

.dashboard-page .qp-admin-impersonation-grid label span {
  color: #8c9996;
  font-size: 12px;
  font-weight: 500;
}

.dashboard-page .qp-admin-impersonation-grid textarea {
  border-color: #cdd9d5;
  border-radius: 8px;
  box-shadow: none;
  resize: vertical;
}

.dashboard-page .qp-admin-impersonation-grid form small {
  display: block;
  margin-top: 6px;
  color: #879491;
  font-size: 12px;
}

.dashboard-page .qp-admin-impersonation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

@media (max-width: 1050px) {
  .dashboard-page .qp-account-delete-grid,
  .dashboard-page .qp-admin-referral-tools {
    grid-template-columns: 1fr;
  }

  .dashboard-page .qp-admin-filter-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .dashboard-page .qp-account-delete-page,
  .dashboard-page .qp-upgrade-result-page,
  .dashboard-page .qp-page-manage-page,
  .dashboard-page .qp-ab-create-page,
  .dashboard-page .qp-admin-page {
    padding: 18px 0 54px;
  }

  .dashboard-page .qp-account-delete-hero,
  .dashboard-page .qp-upgrade-result-hero {
    grid-template-columns: 1fr;
    gap: 23px;
    padding: 31px 22px;
    border-radius: 17px;
  }

  .dashboard-page .qp-account-delete-hero h1,
  .dashboard-page .qp-upgrade-result-copy h1 {
    font-size: 40px;
  }

  .dashboard-page .qp-account-delete-identity {
    padding: 17px;
  }

  .dashboard-page .qp-account-delete-help,
  .dashboard-page .qp-upgrade-result-help,
  .dashboard-page .qp-page-manage-funnel {
    grid-template-columns: 35px minmax(0, 1fr);
  }

  .dashboard-page .qp-account-delete-help > a,
  .dashboard-page .qp-upgrade-result-help > a,
  .dashboard-page .qp-page-manage-funnel > a {
    grid-column: 2;
    justify-self: start;
  }

  .dashboard-page .qp-upgrade-result-icon {
    width: 59px;
    height: 59px;
  }

  .dashboard-page .qp-upgrade-result-details,
  .dashboard-page .qp-ab-create-progress,
  .dashboard-page .qp-admin-tabs,
  .dashboard-page .qp-admin-referral-summary,
  .dashboard-page .qp-admin-impersonation-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-page .qp-upgrade-result-details > div + div {
    border-top: 1px solid var(--qp-line);
    border-left: 0;
  }

  .dashboard-page .qp-upgrade-result-actions {
    flex-direction: column;
  }

  .dashboard-page .qp-upgrade-result-actions a {
    width: 100%;
  }

  .dashboard-page .qp-page-manage-header p {
    max-width: 100%;
  }

  .dashboard-page .qp-page-manage-header > div:first-child {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .dashboard-page .qp-page-report-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-page .qp-page-report-actions .btn {
    flex: 1;
  }

  .dashboard-page .qp-page-report-details,
  .dashboard-page .qp-ab-settings-grid,
  .dashboard-page .qp-ab-variant-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-page .qp-page-report-details > div {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .dashboard-page .qp-page-report-details > div:nth-child(even) {
    border-left: 0;
  }

  .dashboard-page .qp-page-report-details > div + div {
    border-top: 1px solid var(--qp-line);
  }

  .dashboard-page .qp-ab-create-progress > div + div {
    border-top: 1px solid var(--qp-line);
    border-left: 0;
  }

  .dashboard-page .qp-ab-url-preview {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .dashboard-page .qp-ab-url-preview strong {
    grid-column: 2;
  }

  .dashboard-page .qp-ab-create-review {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-page .qp-ab-create-review .btn {
    width: 100%;
  }

  .dashboard-page .qp-admin-header-count {
    min-width: 0;
    text-align: left;
  }

  .dashboard-page .qp-admin-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-page .qp-admin-filter-form,
  .dashboard-page .qp-admin-filter-form.is-compact {
    grid-template-columns: 1fr;
  }

  .dashboard-page .qp-admin-filter-form.is-compact .qp-admin-filter-actions,
  .dashboard-page .qp-admin-filter-actions {
    grid-column: auto;
  }

  .dashboard-page .qp-admin-table,
  .dashboard-page .qp-admin-table tbody,
  .dashboard-page .qp-admin-table tr,
  .dashboard-page .qp-admin-table td {
    display: block;
    width: 100%;
  }

  .dashboard-page .qp-admin-table thead {
    display: none;
  }

  .dashboard-page .qp-admin-table tr {
    padding: 10px 14px;
  }

  .dashboard-page .qp-admin-table tr + tr {
    border-top: 1px solid var(--qp-line);
  }

  .dashboard-page .qp-admin-table td {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 8px 0;
    border: 0;
    text-align: right;
  }

  .dashboard-page .qp-admin-table td::before {
    color: #879491;
    content: attr(data-label);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .07em;
    text-align: left;
    text-transform: uppercase;
  }

  .dashboard-page .qp-admin-user {
    min-width: 0;
    justify-self: end;
    text-align: left;
  }

  .dashboard-page .qp-admin-feedback-message {
    min-width: 0;
    justify-self: end;
    text-align: left;
  }

  .dashboard-page .qp-admin-table td > small,
  .dashboard-page .qp-admin-table td > em,
  .dashboard-page .qp-admin-table td > a,
  .dashboard-page .qp-admin-table td > strong,
  .dashboard-page .qp-admin-table td > span,
  .dashboard-page .qp-admin-table td > form,
  .dashboard-page .qp-admin-path {
    justify-self: end;
  }

  .dashboard-page .qp-admin-impersonation-grid > dl {
    border-right: 0;
    border-bottom: 1px solid var(--qp-line);
  }

  .dashboard-page .qp-admin-impersonation-actions {
    flex-direction: column;
  }

  .dashboard-page .qp-admin-impersonation-actions .btn {
    width: 100%;
  }
}

/* Referral program */
.qp-dashboard-brand { display:flex; align-items:center; gap:14px; height:50px; padding:10px 18px !important; }
.qp-dashboard-brand img { display:block; width:128px; height:auto; }
.qp-dashboard-brand span { border-left:1px solid #d9dde1; color:#617080; font-size:13px; line-height:20px; padding-left:14px; }
.qp-referrals-page { padding-bottom:48px !important; }
.qp-referral-hero { align-items:center; background:#102c2a; border-radius:16px; color:#fff; display:flex; justify-content:space-between; margin:28px 0 22px; overflow:hidden; padding:34px 38px; position:relative; }
.qp-referral-hero:after { background:#f26a52; border-radius:50%; content:""; height:180px; opacity:.22; position:absolute; right:90px; top:-95px; width:180px; }
.qp-referral-hero h1 { color:#fff; font-family:"Roboto Slab",serif; font-size:32px; margin:6px 0 8px; }
.qp-referral-hero p { color:#d6e2df; margin:0; max-width:650px; }
.qp-referral-kicker { color:#f6b6a8; font-size:13px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.qp-referral-rate { color:#ffd6cc; font-size:44px; font-weight:800; line-height:1; position:relative; text-align:center; z-index:1; }
.qp-referral-rate small { color:#fff; display:block; font-size:13px; letter-spacing:.12em; margin-top:7px; text-transform:uppercase; }
.qp-referral-link-card { background:#fff; border:1px solid #dfe5e3; border-radius:12px; box-shadow:0 8px 24px rgba(17,45,43,.06); margin-bottom:20px; padding:20px 22px; }
.qp-referral-link-card label { color:#263f3d; display:block; font-size:13px; margin-bottom:8px; }
.qp-referral-link-card small { display:block; margin-top:8px; }
.qp-referral-stat { background:#fff; border:1px solid #dfe5e3; border-radius:12px; margin-bottom:20px; min-height:126px; padding:18px 20px; }
.qp-referral-stat span,.qp-referral-stat small { color:#73817f; display:block; }
.qp-referral-stat strong { color:#183b38; display:block; font-size:27px; margin:7px 0 3px; }
.qp-payout-panel .panel-body { align-items:center; display:grid; gap:18px; grid-template-columns:minmax(240px,1fr) minmax(180px,1fr) auto; }
.qp-payout-panel .panel-body:before,.qp-payout-panel .panel-body:after { content:none; display:none; }
.qp-payout-copy span { color:#75817f; display:block; font-size:13px; margin-top:3px; }
.qp-payout-progress { background:#e6ecea; border-radius:20px; height:9px; overflow:hidden; }
.qp-payout-progress i { background:#f26a52; border-radius:20px; display:block; height:100%; }
.qp-reward-status { border-radius:20px; display:inline-block; font-size:13px; font-weight:700; padding:4px 9px; }
.qp-status-pending { background:#fff3d6; color:#8b6410; }
.qp-status-available { background:#dff4e9; color:#256944; }
.qp-status-paid { background:#e3edf8; color:#2b5e8c; }
.qp-status-disallowed,.qp-status-disallowed-after-payout { background:#fbe2de; color:#a63829; }
.qp-status-note { display:block; margin-top:5px; }
.qp-empty-referrals { color:#788784; padding:44px 20px; text-align:center; }
.qp-empty-referrals i { color:#bac7c4; font-size:34px; }
.qp-empty-referrals h3 { color:#2d4845; }
.qp-admin-referral-filters .form-control,.qp-admin-referral-filters .btn { margin-bottom:6px; margin-right:5px; }
.qp-admin-referral-tabs { margin-bottom:20px; }
.qp-admin-referral-description { margin-bottom:16px; }
@media (max-width:767px) {
  .qp-dashboard-brand span { display:none; }
  .qp-referral-hero { align-items:flex-start; flex-direction:column; gap:24px; padding:26px; }
  .qp-referral-hero h1 { font-size:27px; }
  .qp-payout-panel .panel-body { grid-template-columns:1fr; }
}

.qp-section-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.qp-section-heading .page-header {
  flex: 1 1 auto;
}

.qp-dashboard-inline-form {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 4px;
  margin: -8px 0 16px;
  padding: 12px;
}

.qp-template-choice {
  border: 1px solid #e4e4e4;
  border-radius: 5px;
  cursor: pointer;
  display: block;
  margin-bottom: 10px;
  padding: 12px 14px;
}

.qp-template-choice:hover {
  background: #fafafa;
  border-color: #ec6952;
}

.qp-template-choice input {
  margin-right: 8px;
}

.qp-template-choice strong {
  display: inline-block;
  margin-right: 6px;
}

.qp-template-choice span {
  color: #777;
  display: block;
  margin: 5px 0 0 24px;
}

.qp-back-link {
  align-items: center;
  background: #f7fafc;
  border: 1px solid #dfe7ee;
  border-radius: 999px;
  color: #526272;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 7px;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  padding: 7px 12px;
}

.qp-back-link:hover,
.qp-back-link:focus {
  background: #fff;
  border-color: #ec6952;
  color: #ec6952;
  text-decoration: none;
}

.qp-back-link .fa {
  font-size: 13px;
}

.qp-funnel-template-grid {
  display: flex;
  flex-wrap: wrap;
}

.qp-funnel-template-card-wrap {
  display: flex;
  margin-bottom: 18px;
}

.qp-funnel-template-card {
  background: #fff;
  border: 2px solid #e6e6e6;
  border-radius: 7px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100%;
  overflow: hidden;
  position: relative;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
  width: 100%;
}

.qp-funnel-template-card:hover {
  border-color: #ec6952;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .08);
  transform: translateY(-1px);
}

.qp-funnel-template-card.is-selected {
  border-color: #ec6952;
  box-shadow: 0 0 0 3px rgba(236, 105, 82, .18);
}

.qp-funnel-template-card input[type="radio"] {
  opacity: 0;
  position: absolute;
  pointer-events: none;
}

.qp-funnel-template-card img {
  background: #f7f7f7;
  border-bottom: 1px solid #eee;
  height: 150px;
  object-fit: cover;
  width: 100%;
}

.qp-funnel-template-body {
  display: block;
  flex: 1 1 auto;
  padding: 13px 14px 8px;
}

.qp-funnel-template-body strong {
  color: #333;
  display: block;
  font-size: 17px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.qp-funnel-template-body em {
  color: #999;
  display: block;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .05em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.qp-funnel-template-body span {
  color: #666;
  display: block;
  font-size: 13px;
  line-height: 1.4;
}

.qp-funnel-template-actions {
  align-items: center;
  border-top: 1px solid #eee;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  padding: 10px 14px 13px;
}

.qp-funnel-template-selected {
  background: #ec6952;
  border-radius: 0 0 0 7px;
  color: #fff;
  display: none;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 9px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}

.qp-funnel-template-card.is-selected .qp-funnel-template-selected {
  display: block;
}

.qp-funnel-no-template-message {
  display: none;
  margin: 0;
}

.qp-funnel-page-badge {
  display: inline-block;
  margin-top: 5px;
  white-space: normal;
}

.qp-funnel-context-banner {
  border-left: 5px solid #31708f;
}

.qp-funnel-step-card {
  background: #fff;
  border: 1px solid #e5e8ec;
  border-radius: 6px;
  min-height: 260px;
  padding: 22px;
}

.qp-funnel-step-card h3 {
  margin-top: 12px;
}

.qp-funnel-step-card .row {
  margin-top: 18px;
}

.qp-panel-heading-with-settings {
  align-items: center;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.qp-settings-menu-wrap {
  flex: 0 0 auto;
  position: relative;
}

.qp-settings-popover {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
  min-width: 260px;
  padding: 10px;
  position: absolute;
  right: 0;
  top: 28px;
  z-index: 30;
}

.qp-settings-popover.collapsing,
.qp-settings-popover-form.collapsing {
  height: auto !important;
  transition: none !important;
}

.qp-settings-popover.collapsing {
  display: block !important;
  overflow: visible !important;
}

.qp-settings-popover .btn-link {
  padding-left: 0;
}

.qp-settings-popover-form {
  margin-top: 8px;
}

.qp-inline-form {
  display: inline-block;
  margin: 0 0 0 10px;
}

.qp-row-actions {
  align-items: center;
  display: flex;
  gap: 8px;
  position: relative;
  white-space: nowrap;
}

.qp-row-actions a {
  cursor: pointer;
}

.qp-row-actions button {
  cursor: pointer;
}

.qp-page-action-menu-wrap {
  display: inline-flex;
  position: relative;
}

.qp-row-action-toggle {
  align-items: center;
  border-radius: 4px;
  color: #ec6952;
  display: inline-flex;
  height: 20px;
  justify-content: center;
  line-height: 1;
  margin: 0;
  padding: 0;
  width: 20px;
}

.qp-row-action-toggle:hover,
.qp-row-action-toggle:focus {
  background: #f0f0f0;
  color: #d95843;
  outline: none;
  text-decoration: none;
}

.qp-page-move-popover {
  left: auto;
  min-width: 220px;
  right: 0;
  text-align: left;
  top: 24px;
}

.qp-page-move-popover label {
  color: #555;
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
}

.qp-popover-submit {
  margin-top: 8px;
}

.qp-settings-toggle {
  align-items: center;
  border-radius: 4px;
  color: #888;
  display: inline-flex;
  font-size: 14px;
  height: 24px;
  justify-content: center;
  line-height: 1;
  margin: 0;
  padding: 0;
  width: 24px;
}

.qp-settings-toggle:hover,
.qp-settings-toggle:focus {
  background: #f0f0f0;
  border-color: transparent;
  color: #ec6952;
  outline: none;
  text-decoration: none;
}

@media(min-width:992px) {
  .sidebar {
    width: 310px !important;
  }

  #page-wrapper {
    margin-left: 310px !important;
  }

  .dashboard-page #page-wrapper {
    padding-left: 45px !important;
    padding-right: 30px !important;
    min-height: calc(100vh - 65px);
    padding-bottom: 70px;
    width: calc(100% - 310px);
  }

  .dashboard-page .footer {
    margin-left: 310px;
    width: calc(100% - 310px);
  }

  .dashboard-page.qp-no-sidebar-dashboard-page .footer {
    margin-left: 0;
    width: 100%;
  }
}

.dashboard-page #page-wrapper .col-lg-12 {
  padding-left: 12px;
  padding-right: 12px;
}

.dashboard-page .panel-body {
  padding: 10px;
}

.qp-template-customizer-page {
  box-sizing: border-box;
  margin-bottom: 90px;
  margin-left: 0 !important;
  padding-left: 45px !important;
  padding-right: 30px !important;
  width: auto !important;
}

#page-wrapper.qp-template-customizer-page {
  margin-left: 0 !important;
  width: auto !important;
}

.qp-template-builder-preview {
  background: #f5f5f5;
  border: 1px solid #ddd;
  height: calc(100vh - 185px);
  min-height: 720px;
  overflow: hidden;
}

.qp-template-builder-preview iframe {
  border: 0;
  height: 100%;
  width: 100%;
}

.qp-visual-editor-page {
  box-sizing: border-box;
  margin: 0 !important;
  padding: 0 24px 50px !important;
  width: 100% !important;
}

#page-wrapper.qp-visual-editor-page {
  margin-left: 0 !important;
  padding-left: 24px !important;
  width: 100% !important;
}

.qp-visual-editor {
  margin: 0 auto;
  max-width: 1900px;
}

.qp-editor-validation-summary {
  border-radius: 12px;
  margin: 0 0 16px;
}

.qp-editor-validation-summary ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.qp-visual-editor-header {
  align-items: flex-end;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid #dfe6eb;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 -24px 18px;
  padding: 18px 30px 16px;
  position: sticky;
  top: 0;
  z-index: 30;
}

.qp-visual-editor-heading h1 {
  color: #253340;
  font-size: 27px;
  font-weight: 700;
  margin: 5px 0 0;
}

.qp-visual-editor-heading .qp-back-link {
  margin-bottom: 7px;
}

.qp-editor-eyebrow {
  color: #df5b46;
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .09em;
  margin-top: 9px;
  text-transform: uppercase;
}

.qp-editor-eyebrow i {
  margin-right: 5px;
}

.qp-editor-command-bar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
}

.qp-editor-save-state {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 6px;
  min-width: 112px;
  padding: 8px 12px;
}

.qp-editor-save-state.is-saved {
  background: #edf8f1;
  color: #2d7d4e;
}

.qp-editor-save-state.is-dirty,
.qp-editor-save-state.is-saving {
  background: #fff6e5;
  color: #93621f;
}

.qp-editor-save-state.is-error {
  background: #fff0ee;
  color: #b74635;
}

.qp-editor-history .btn {
  min-width: 39px;
}

.qp-visual-editor-workspace {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 370px;
}

.qp-editor-canvas-column {
  min-width: 0;
}

.qp-editor-canvas-tip {
  align-items: center;
  background: #fff8ed;
  border-left: 1px solid #dfe7ee;
  border-right: 1px solid #dfe7ee;
  color: #74552b;
  display: flex;
  font-size: 13px;
  gap: 7px;
  padding: 7px 12px;
}

.qp-editor-canvas-tip i {
  color: #df5b46;
}

.qp-visual-editor .qp-template-builder-preview {
  height: calc(100vh - 235px);
  min-height: 650px;
}

.qp-editor-inspector {
  background: #f7f9fa;
  border: 1px solid #dfe6eb;
  border-radius: 6px;
  height: calc(100vh - 176px);
  min-height: 710px;
  overflow-y: auto;
  padding: 12px;
  position: sticky;
  top: 112px;
}

.qp-editor-selection-card {
  background: #fff;
  border: 1px dashed #cbd6de;
  border-radius: 5px;
  margin-bottom: 12px;
  padding: 14px;
}

.qp-editor-selection-card.has-selection {
  background: #fff7f5;
  border-color: #ef9a8d;
  border-style: solid;
}

.qp-editor-selection-card span,
.qp-editor-selection-card strong {
  display: block;
}

.qp-editor-selection-label {
  color: #8a98a4;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.qp-editor-selection-card strong {
  color: #253340;
  font-size: 15px;
}

.qp-editor-selection-card p {
  color: #778692;
  font-size: 13px;
  margin: 5px 0 0;
}

.qp-editor-field-search {
  margin-bottom: 12px;
  position: relative;
}

.qp-editor-field-search i {
  color: #8b98a3;
  left: 11px;
  position: absolute;
  top: 11px;
  z-index: 2;
}

.qp-editor-field-search input {
  padding-left: 32px;
}

.qp-editor-field-group {
  background: #fff;
  border: 1px solid #dfe6eb;
  border-radius: 5px;
  margin-bottom: 10px;
  overflow: hidden;
}

.qp-editor-field-group-toggle {
  align-items: center;
  background: #fff;
  border: 0;
  color: #344451;
  display: flex;
  font-size: 13px;
  font-weight: 800;
  justify-content: space-between;
  padding: 12px 13px;
  text-align: left;
  width: 100%;
}

.qp-editor-field-group-toggle span i {
  color: #df5b46;
  margin-right: 7px;
  width: 15px;
}

.qp-editor-field-group-toggle.collapsed > i {
  transform: rotate(180deg);
}

.qp-editor-field-group-body {
  border-top: 1px solid #edf1f3;
  padding: 4px 12px 12px;
}

.qp-editor-field {
  border-radius: 4px;
  margin-top: 8px;
  padding: 8px;
  transition: background .15s ease, box-shadow .15s ease;
}

.qp-editor-field.is-selected {
  background: #fff3f0;
  box-shadow: inset 3px 0 0 #ef654f;
}

.qp-editor-field label {
  color: #536370;
  font-size: 13px;
  margin-bottom: 5px;
}

.qp-editor-field textarea {
  resize: vertical;
}

.qp-editor-color-control {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: 42px minmax(0, 1fr);
}

.qp-editor-color-control input[type="color"] {
  background: #fff;
  border: 1px solid #ccd6dd;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
  padding: 3px;
  width: 42px;
}

.qp-editor-image-control {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 68px minmax(0, 1fr);
}

.qp-editor-image-thumb {
  align-items: center;
  background: #eef2f4;
  border: 1px solid #d7e0e5;
  border-radius: 5px;
  color: #9aa8b2;
  display: flex;
  height: 58px;
  justify-content: center;
  overflow: hidden;
}

.qp-editor-image-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.qp-editor-image-control input[type="file"] {
  font-size: 13px;
  height: auto;
  padding: 5px;
}

.qp-editor-image-control small,
.qp-editor-field-help {
  color: #81909b;
  display: block;
  font-size: 13px;
  line-height: 1.45;
  margin-top: 4px;
}

.qp-editor-inspector-actions {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 3px 2px 8px;
}

@media (max-width: 1100px) {
  .qp-visual-editor-workspace {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
}

@media (max-width: 850px) {
  .qp-visual-editor-header {
    align-items: flex-start;
    flex-direction: column;
    position: static;
  }

  .qp-editor-command-bar {
    justify-content: flex-start;
    width: 100%;
  }

  .qp-visual-editor-workspace {
    display: flex;
    flex-direction: column;
  }

  .qp-editor-inspector {
    height: auto;
    min-height: 0;
    order: -1;
    position: static;
  }

  .qp-visual-editor .qp-template-builder-preview {
    height: 680px;
    min-height: 500px;
  }
}

.qp-preview-toolbar {
  align-items: center;
  background: #fff;
  border: 1px solid #dfe7ee;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
}

.qp-preview-toolbar strong,
.qp-preview-toolbar span {
  display: block;
}

.qp-preview-toolbar strong {
  color: #253340;
}

.qp-preview-toolbar span {
  color: #788896;
  font-size: 13px;
}

.qp-preview-toolbar .btn.active {
  background: #253340;
  border-color: #253340;
  color: #fff;
}

.qp-responsive-preview {
  align-items: stretch;
  background-color: #e8edf1;
  background-image: linear-gradient(45deg, rgba(255,255,255,.45) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.45) 75%), linear-gradient(45deg, rgba(255,255,255,.45) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.45) 75%);
  background-position: 0 0, 12px 12px;
  background-size: 24px 24px;
  display: flex;
  justify-content: center;
  transition: padding .2s ease;
}

.qp-responsive-preview iframe {
  background: #fff;
  border: 0;
  height: 100%;
  transition: width .2s ease;
  width: 100%;
}

.qp-responsive-preview.is-mobile {
  padding: 18px;
}

.qp-responsive-preview.is-mobile iframe {
  box-shadow: 0 8px 30px rgba(37, 51, 64, .2);
  flex: 0 0 390px;
  max-width: 100%;
  width: 390px;
}

.qp-editor-page-preview,
.qp-management-page-preview {
  border: 1px solid #dfe7ee;
  height: 720px;
  overflow: hidden;
}

.qp-page-management-actions {
  align-items: center;
  border-top: 1px solid #edf0f2;
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 14px;
}

.qp-page-management-secondary,
.qp-page-management-primary {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qp-danger-button {
  border-color: #e4b4b1;
  color: #b33b34;
}

.qp-danger-button:hover,
.qp-danger-button:focus {
  background: #fff3f2;
  border-color: #d9534f;
  color: #a72f29;
}

.qp-row-action {
  align-items: center;
  border-radius: 4px;
  color: #607383;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 30px;
}

.qp-row-action:hover,
.qp-row-action:focus {
  background: #edf2f5;
  color: #ef6652;
  text-decoration: none;
}

.qp-row-action-danger {
  border: 0;
  color: #a94b45;
}

.qp-row-action-danger:hover,
.qp-row-action-danger:focus {
  background: #fff0ef;
  color: #c9302c;
}

.qp-field-intro {
  margin: 0 0 9px;
}

.qp-page-slug-input .input-group-addon {
  background: #edf2f5;
  color: #536572;
  font-size: 13px;
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qp-page-url-feedback {
  margin-bottom: 0;
  min-height: 0;
}

.qp-page-url-feedback:not(:empty) {
  margin-top: 5px;
}

.qp-choice-list {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.qp-choice-card {
  align-items: flex-start;
  background: #fff;
  border: 1px solid #dfe5e9;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  gap: 8px;
  margin: 0;
  min-height: 72px;
  padding: 9px;
}

.qp-choice-card:hover,
.qp-choice-card.is-selected {
  border-color: #f06451;
  box-shadow: 0 0 0 1px rgba(240, 100, 81, .12);
}

.qp-choice-card.is-selected {
  background: #fff8f6;
}

.qp-choice-card.is-disabled {
  background: #f5f6f7;
  color: #89949c;
  cursor: help;
}

.qp-choice-card input {
  margin: 3px 0 0;
}

.qp-choice-card span,
.qp-choice-card strong,
.qp-choice-card small {
  display: block;
}

.qp-choice-card strong {
  color: #2d3d49;
  font-size: 13px;
  line-height: 1.3;
}

.qp-choice-card small {
  color: #75848f;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  margin-top: 3px;
}

.qp-thank-you-panel {
  background: #f7f9fa;
  border: 1px solid #e1e7eb;
  border-radius: 6px;
  margin-top: 9px;
  padding: 10px;
}

.qp-thank-you-panel label {
  font-size: 13px;
}

.qp-inline-action {
  display: inline-block;
  font-size: 13px;
  margin-top: 7px;
}

.qp-empty-destination {
  color: #6f7e89;
  font-size: 13px;
  margin: 0;
}

.qp-managed-destination {
  align-items: center;
  background: #f5faf7;
  border: 1px solid #cfe5d7;
  border-radius: 6px;
  display: flex;
  gap: 10px;
  padding: 10px;
}

.qp-managed-destination > span,
.qp-managed-destination strong,
.qp-managed-destination small,
.qp-managed-destination a {
  display: block;
}

.qp-managed-destination strong {
  color: #2d4937;
  font-size: 13px;
}

.qp-managed-destination small {
  color: #6b7e72;
  font-size: 13px;
  font-weight: 400;
  margin: 2px 0 4px;
}

.qp-managed-destination-icon {
  align-items: center;
  background: #dcefe3;
  border-radius: 50%;
  color: #2d7650;
  display: flex;
  flex: 0 0 30px;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.qp-funnel-primary-actions {
  align-items: center;
  display: flex;
  gap: 12px;
  margin: 12px 0 18px;
}

.qp-funnel-primary-actions span {
  color: #788896;
  font-size: 13px;
}

.qp-publishing-checklist {
  border: 0;
  border-radius: 9px;
  box-shadow: 0 2px 12px rgba(37, 51, 64, .08);
  overflow: hidden;
}

.qp-publishing-checklist .panel-heading {
  align-items: center;
  background: #f7f9fb;
  border-bottom: 1px solid #e4e9ed;
  display: flex;
  justify-content: space-between;
  padding: 11px 14px;
}

.qp-checklist-heading-copy {
  align-items: center;
  display: flex;
  gap: 9px;
}

.qp-checklist-heading-copy > div > strong,
.qp-checklist-heading-copy > div > span {
  display: block;
}

.qp-checklist-heading-copy > div > strong {
  color: #253340;
  font-size: 14px;
  line-height: 1.25;
}

.qp-checklist-heading-copy > div > span {
  color: #788896;
  font-size: 13px;
  margin-top: 2px;
}

.qp-checklist-heading-icon {
  align-items: center;
  background: #253340;
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex: 0 0 28px;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.qp-checklist-summary {
  border-radius: 20px;
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 5px 10px;
  text-transform: uppercase;
}

.qp-checklist-summary.has-errors {
  background: #fce8e5;
  color: #a73528;
}

.qp-checklist-summary.has-warnings {
  background: #fff0c7;
  color: #8a6300;
}

.qp-checklist-summary.is-ready {
  background: #dff3e6;
  color: #216b3c;
}

.qp-publishing-checklist .panel-body {
  padding: 11px 14px 13px;
}

.qp-check-results {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.qp-check-result {
  align-items: flex-start;
  border: 1px solid #e4e9ed;
  border-radius: 7px;
  display: flex;
  gap: 8px;
  min-height: 56px;
  padding: 9px 10px;
}

.qp-check-result > .fa {
  align-items: center;
  border-radius: 50%;
  display: flex;
  flex: 0 0 23px;
  font-size: 13px;
  height: 23px;
  justify-content: center;
  width: 23px;
}

.qp-check-result strong,
.qp-check-result span {
  display: block;
}

.qp-check-result strong {
  color: #7b8790;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.qp-check-result span {
  color: #354652;
  font-size: 13px;
  line-height: 1.35;
  margin-top: 1px;
}

.qp-check-error { background: #fff8f7; border-color: #f1d3cf; }
.qp-check-warning { background: #fffaf0; border-color: #eadba9; }
.qp-check-passed { background: #f5fbf7; border-color: #cfe8d8; }
.qp-check-error > .fa { background: #f7deda; color: #a73528; }
.qp-check-warning > .fa { background: #ffedb9; color: #8a6300; }
.qp-check-passed > .fa { background: #dff3e6; color: #27864f; }

@media (max-width: 600px) {
  .qp-preview-toolbar,
  .qp-publishing-checklist .panel-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .qp-responsive-preview.is-mobile {
    padding: 8px;
  }

  .qp-page-management-actions .delete-span {
    margin-left: 0;
  }

  .qp-funnel-primary-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .qp-choice-list {
    grid-template-columns: 1fr;
  }

  .qp-choice-card {
    min-height: 0;
  }

  .qp-page-slug-input {
    display: block;
  }

  .qp-page-slug-input .input-group-addon,
  .qp-page-slug-input .form-control {
    border-radius: 4px;
    display: block;
    max-width: none;
    width: 100%;
  }

  .qp-page-slug-input .input-group-addon {
    border-bottom: 0;
    text-align: left;
  }
}

.qp-template-fields-column {
  max-height: calc(100vh - 185px);
  min-height: 720px;
  overflow-y: auto;
  padding-bottom: 30px;
}

.qp-template-save-bar {
  align-items: center;
  background: #fff;
  border: 1px solid #dfe7ee;
  border-radius: 5px;
  box-shadow: 0 8px 24px rgba(37, 51, 64, 0.12);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 12px 14px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.qp-template-save-bar strong {
  color: #253340;
  display: block;
}

.qp-template-save-bar span {
  color: #777;
  display: block;
  font-size: 13px;
  line-height: 1.35;
}

.qp-template-save-actions {
  flex: 0 0 auto;
  white-space: nowrap;
}

.qp-template-save-actions .btn {
  margin-left: 4px;
}

.qp-sidebar-nav {
  padding: 12px 0 24px;
}

.qp-sidebar-actions {
  border-bottom: 1px solid #e7e7e7;
  margin-bottom: 10px;
  padding: 0 12px 12px;
}

.qp-sidebar-primary-action,
.qp-sidebar-secondary-action {
  display: block;
  border-radius: 4px;
  font-weight: 700;
  text-align: center;
}

.qp-sidebar-primary-action {
  background: #ec6952;
  color: #fff;
  padding: 9px 10px;
}

.qp-sidebar-primary-action:hover,
.qp-sidebar-primary-action:focus {
  background: #d95843;
  color: #fff;
  text-decoration: none;
}

.qp-sidebar-secondary-action {
  background: #fff;
  border: 1px solid #ddd;
  color: #555;
  margin-top: 8px;
  padding: 7px 10px;
}

.qp-sidebar-secondary-action:hover,
.qp-sidebar-secondary-action:focus {
  border-color: #ec6952;
  color: #ec6952;
  text-decoration: none;
}

.qp-sidebar-heading {
  align-items: center;
  color: #888;
  display: flex;
  font-size: 13px;
  font-weight: 900;
  justify-content: space-between;
  letter-spacing: 0.08em;
  margin: 12px 12px 8px;
  text-transform: uppercase;
}

.qp-sidebar-heading-action {
  color: #ec6952;
  font-size: 13px;
  font-weight: 700;
  padding: 0;
}

.qp-sidebar-form {
  margin: 8px 12px 12px;
}

.qp-dashboard-nav-block {
  border-bottom: 1px solid #e7e7e7;
  margin-bottom: 0;
  overflow: visible;
}

.qp-dashboard-nav-block.active {
  border-color: #e7e7e7;
  box-shadow: inset 4px 0 0 #ec6952;
}

.qp-dashboard-nav-row {
  align-items: center;
  background: transparent;
  display: flex;
  justify-content: space-between;
  padding: 12px 12px 12px 16px;
}

.qp-dashboard-nav-block.active .qp-dashboard-nav-row {
  background: #f3f3f3;
}

.qp-dashboard-nav-title {
  color: #333;
  display: block;
  font-weight: 800;
  line-height: 1.25;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qp-dashboard-nav-title:hover,
.qp-dashboard-nav-title:focus {
  color: #ec6952;
  text-decoration: none;
}

.qp-dashboard-row-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 2px;
}

.qp-sidebar-settings-menu-wrap {
  flex: 0 0 auto;
  position: relative;
}

.qp-sidebar-settings-popover {
  right: -4px;
  top: 28px;
}

.qp-dashboard-nav-toggle,
.qp-dashboard-manage-toggle,
.qp-sidebar-group-toggle {
  align-items: center;
  background: transparent;
  border-radius: 4px;
  display: inline-flex;
  height: 24px;
  justify-content: center;
  line-height: 1;
  margin: 0;
  width: 24px;
}

.qp-dashboard-nav-toggle,
.qp-dashboard-manage-toggle {
  color: #999;
  font-size: 14px;
  font-weight: 600;
  padding: 0;
}

.qp-dashboard-manage-toggle {
  color: #aaa;
  font-size: 13px;
}

.qp-dashboard-nav-toggle:hover,
.qp-dashboard-nav-toggle:focus,
.qp-dashboard-manage-toggle:hover,
.qp-dashboard-manage-toggle:focus,
.qp-sidebar-group-toggle:hover,
.qp-sidebar-group-toggle:focus {
  background: #e9e9e9;
  border-color: transparent;
  color: #ec6952;
  outline: none;
  text-decoration: none;
}

.qp-dashboard-nested {
  border-left: 2px solid #e5e5e5;
  margin: 0 0 11px 18px;
  padding: 1px 0 1px 0;
}

.qp-sidebar-manage-row {
  align-items: center;
  background: #fafafa;
  border-top: 1px solid #eee;
  display: flex;
  gap: 8px;
  padding: 4px 12px 4px 20px;
}

.qp-sidebar-manage-row form {
  margin: 0;
}

.qp-sidebar-manage-row .btn {
  padding-left: 0;
}

.qp-sidebar-subheading {
  color: #999;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 12px 12px 6px 14px;
  text-transform: uppercase;
}

.qp-sidebar-group {
  margin: 0;
}

.qp-sidebar-group-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 5px 12px 5px 14px;
}

.qp-sidebar-group-link,
.qp-sidebar-test-link {
  color: #444;
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.qp-sidebar-group-link {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qp-sidebar-group-link .fa {
  color: #999;
  margin-right: 5px;
}

.qp-sidebar-group-toggle {
  color: #aaa;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 600;
  padding: 0;
}

.qp-sidebar-group-link:hover,
.qp-sidebar-test-link:hover {
  color: #ec6952;
  text-decoration: none;
}

.qp-sidebar-page-list {
  border-left: 1px solid #e5e5e5;
  list-style: none;
  margin: 3px 12px 8px 29px;
  padding-left: 10px;
}

.qp-sidebar-page-list li {
  line-height: 1.25;
  margin-bottom: 5px;
}

.qp-sidebar-page-list a {
  color: #777;
  display: block;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qp-sidebar-page-list a:hover {
  color: #ec6952;
  text-decoration: none;
}

.qp-sidebar-test-link {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin: 0;
  padding: 5px 12px 7px 14px;
}

.qp-sidebar-test-link span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qp-sidebar-test-link em {
  background: #eee;
  border-radius: 999px;
  color: #777;
  flex: 0 0 auto;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 3px 6px;
  text-transform: uppercase;
}

.qp-sidebar-empty {
  color: #aaa;
  font-size: 13px;
  font-style: italic;
  margin: 0 12px 8px 28px;
}

.qp-sidebar-funnel-block {
  margin-bottom: 8px;
}

.qp-sidebar-funnel-link {
  font-weight: 800;
}

.qp-sidebar-funnel-step-list {
  margin-bottom: 8px;
}

.qp-sidebar-funnel-step-list a {
  font-size: 13px;
}

/* ======= Footer ======= */
.footer {
  background: #253340;
  color: #fff;
  padding-top: 40px;
  font-size: 14px;
  position: relative;
  z-index: 20;
}
.footer p {
  -webkit-opacity: 0.5;
  -moz-opacity: 0.5;
  opacity: 0.5;
}
.footer .btn-cta,
.footer a.btn-cta {
  padding: 9px 10px;
}
.footer .footer-col.links .fa {
  margin-right: 5px;
}
.footer .footer-col.links li {
  margin-bottom: 10px;
}
.footer .footer-col.connect .social {
  margin-bottom: 15px;
  overflow: hidden;
}
.footer .footer-col.connect .social li {
  margin-right: 10px;
}
.footer .footer-col.connect .social li a .fa {
  color: #b3b3b3;
  font-size: 22px;
}
.footer .footer-col.connect .social li a:hover .fa {
  color: #ec6952;
}
.footer .footer-col.connect .btn-cta-primary {
  background: #5d80a1;
  border-color: #5d80a1;
}
.footer .footer-col.connect .btn-cta-primary:hover {
  background: #4a6781;
  border-color: #4a6781;
}
.footer .footer-col .title {
  color: #fff;
  font-weight: normal;
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 20px;
  -webkit-opacity: 0.9;
  -moz-opacity: 0.9;
  opacity: 0.9;
}
.footer .footer-col p {
  color: #fff;
}
.footer .footer-col a {
  color: #6d8dab;
}
.footer .footer-col a:hover {
  color: #8da6bd;
}
.footer .footer-col .navbar-form {
  padding-left: 0;
  padding-right: 0;
}
.footer .footer-col .navbar-form .form-control {
  -webkit-opacity: 0.9;
  -moz-opacity: 0.9;
  opacity: 0.9;
}
.footer .footer-col .navbar-form .form-control:focus {
  -webkit-opacity: 1;
  -moz-opacity: 1;
  opacity: 1;
}
.footer .has-divider {
  border-top: 1px solid #2b3b4a;
  padding-top: 30px;
  padding-bottom: 30px;
}
.footer .download .download-list li {
  margin-bottom: 15px;
}
.footer .download .download-list li .btn-ghost {
  text-align: left;
  -webkit-opacity: 0.6;
  -moz-opacity: 0.6;
  opacity: 0.6;
  width: 230px;
}
.footer .download .download-list li .btn-ghost:hover {
  -webkit-opacity: 1;
  -moz-opacity: 1;
  opacity: 1;
}
.footer .contact p {
  -webkit-opacity: 0.5;
  -moz-opacity: 0.5;
  opacity: 0.5;
}
.footer .contact p a {
  -webkit-opacity: 1;
  -moz-opacity: 1;
  opacity: 1;
}
.footer .contact .fa {
  margin-right: 10px;
  font-size: 20px;
}
.footer .contact .email .fa {
  font-size: 16px;
}
.footer .bottom-bar {
  background: #1e1e1e;
  color: #b3b3b3;
  font-size: 14px;
  padding: 10px 0;
}
.footer .bottom-bar .copyright {
  line-height: 1.6;
}

.qp-feedback-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1060;
  font-family: "Roboto", sans-serif;
}
.qp-sidebar-feedback-link {
  align-items: center;
  background: #fff;
  border: 1px solid #e4e8eb;
  border-radius: 5px;
  color: #34495e;
  display: inline-flex;
  gap: 12px;
  margin: 0 18px 12px;
  padding: 11px 14px;
  text-align: left;
  width: calc(100% - 36px);
}
.qp-sidebar-feedback-link:hover,
.qp-sidebar-feedback-link:focus {
  background: #f8fafb;
  border-color: #ec6952;
  color: #34495e;
  outline: none;
}
.qp-sidebar-feedback-link .fa {
  color: #ec6952;
  font-size: 16px;
}
.qp-sidebar-feedback-link span,
.qp-sidebar-feedback-link small {
  display: block;
}
.qp-sidebar-feedback-link small {
  color: #8996a0;
  font-size: 13px;
  font-weight: 400;
}
.qp-feedback-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 360px;
  max-width: calc(100vw - 32px);
  overflow: hidden;
  border: 1px solid #dfe7ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(37, 51, 64, 0.22);
}
.qp-feedback-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #edf1f5;
  background: #f7fafc;
  color: #253340;
}
.qp-feedback-panel-header button {
  border: 0;
  background: transparent;
  color: #7a8792;
  font-size: 22px;
  line-height: 1;
}
.qp-feedback-panel form {
  padding: 16px;
}
.qp-feedback-panel p {
  margin-bottom: 12px;
  color: #66727d;
}
.qp-feedback-panel textarea {
  resize: vertical;
}
.qp-feedback-status {
  margin: 10px 0;
  font-size: 13px;
}

.qp-free-plan-alert {
  border-left: 4px solid #f0644f;
}

.qp-sidebar-upgrade,
.qp-sidebar-pro-badge {
  display: block;
  margin: 0 18px 18px;
  padding: 12px 14px;
  border-radius: 6px;
  text-decoration: none;
}

.qp-sidebar-upgrade {
  background: #fff4ef;
  border: 1px solid #f5c7b8;
  color: #873729;
}

.qp-sidebar-upgrade:hover {
  background: #ffe9df;
  color: #6f2b20;
  text-decoration: none;
}

.qp-sidebar-upgrade strong,
.qp-sidebar-pro-badge strong {
  display: block;
  font-size: 14px;
}

.qp-sidebar-upgrade span,
.qp-sidebar-pro-badge span {
  display: block;
  font-size: 13px;
  margin-top: 3px;
}

.qp-sidebar-pro-badge {
  background: #eef8f1;
  border: 1px solid #bfe4c8;
  color: #236533;
}

.qp-sidebar-pro-badge:hover,
.qp-sidebar-pro-badge:focus {
  background: #e2f3e7;
  color: #194d26;
  text-decoration: none;
}

.qp-billing-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  padding: 24px;
  border: 1px solid #bfe4c8;
  border-radius: 8px;
  background: linear-gradient(135deg, #f3fbf5 0%, #e8f6ec 100%);
}

.qp-billing-hero-icon {
  display: flex;
  flex: 0 0 54px;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #2f8a48;
  color: #fff;
  font-size: 24px;
}

.qp-billing-hero h2 {
  margin: 0 0 4px;
  color: #194d26;
}

.qp-billing-hero p {
  margin: 0;
  color: #42684b;
}

.qp-billing-detail-list {
  margin: 0;
}

.qp-billing-detail-list > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid #edf0f2;
}

.qp-billing-detail-list > div:last-child {
  border-bottom: 0;
}

.qp-billing-detail-list dt {
  color: #6d7880;
  font-weight: 500;
}

.qp-billing-detail-list dd {
  margin: 0;
  color: #26343d;
  font-weight: 700;
  text-align: right;
}

.qp-billing-benefits {
  margin: 0;
  padding: 0;
  list-style: none;
}

.qp-billing-benefits li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 26px;
}

.qp-billing-benefits li:last-child {
  margin-bottom: 0;
}

.qp-billing-benefits .fa-check {
  position: absolute;
  top: 3px;
  left: 0;
  color: #2f8a48;
}

.qp-sidebar-leads-link {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 18px 14px;
  padding: 11px 13px;
  border: 1px solid #dce4eb;
  border-radius: 6px;
  background: #fff;
  color: #34495e;
  text-decoration: none;
}

.qp-sidebar-leads-link:hover,
.qp-sidebar-leads-link:focus,
.qp-sidebar-leads-link.active {
  border-color: #ef8b78;
  background: #fff7f4;
  color: #a84331;
  text-decoration: none;
}

.qp-sidebar-leads-link > i {
  color: #ec6952;
  font-size: 18px;
}

.qp-sidebar-leads-link span,
.qp-sidebar-leads-link strong,
.qp-sidebar-leads-link small {
  display: block;
}

.qp-sidebar-leads-link small {
  margin-top: 2px;
  color: #7c8995;
  font-size: 13px;
}

.qp-leads-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.qp-lead-context-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
  padding: 14px 18px;
  border: 1px solid #b9ddec;
  border-left: 4px solid #4b9fc2;
  border-radius: 5px;
  background: #f2f9fc;
  color: #435363;
}

.qp-lead-context-banner > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.qp-lead-context-banner > div:last-child {
  justify-content: flex-end;
}

.qp-lead-context-banner a + a {
  padding-left: 12px;
  border-left: 1px solid #b9ddec;
}

.qp-lead-context-banner-warning {
  border-color: #ead5a9;
  border-left-color: #d9a441;
  background: #fffaf0;
}

.qp-leads-heading .page-header {
  margin-bottom: 5px;
}

.qp-leads-heading p {
  margin: 0;
}

.qp-lead-filter-panel {
  border-top: 3px solid #ec6952;
}

.qp-lead-filter-panel label {
  color: #435363;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.qp-lead-filter-actions {
  margin-top: 15px;
}

.qp-lead-filter-buttons {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 34px;
}

.qp-lead-filter-buttons .btn,
.qp-lead-filter-buttons .checkbox-inline {
  margin: 0;
}

.qp-active-filter-label {
  align-self: center;
}

.qp-lead-results-heading {
  display: flex;
  justify-content: space-between;
  color: #435363;
}

.qp-lead-results-heading span {
  color: #7a8792;
  font-size: 13px;
}

.qp-lead-table > tbody > tr > td {
  vertical-align: middle;
}

.qp-lead-context,
.qp-lead-field-summary {
  display: block;
  margin-top: 4px;
  color: #7a8792;
  font-size: 13px;
}

.qp-lead-field-summary:first-child {
  margin-top: 0;
}

.qp-lead-source {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef3f6;
  color: #435363;
  font-size: 13px;
  font-weight: 700;
}

.qp-lead-detail-row > td {
  padding: 0 !important;
  border-top: 0 !important;
  background: #f7fafc;
}

.qp-lead-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
  gap: 36px;
  padding: 22px 28px;
  border-left: 3px solid #ec6952;
}

.qp-lead-detail h4 {
  margin: 0 0 14px;
  color: #34495e;
}

.qp-lead-detail dd {
  margin-bottom: 8px;
}

.qp-break-long-text {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.qp-lead-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.qp-lead-pagination .pagination {
  margin: 10px 0 0;
}

.qp-lead-empty {
  padding: 55px 20px;
  text-align: center;
  color: #7a8792;
}

.qp-lead-empty i {
  color: #c9d2da;
  font-size: 42px;
}

.qp-lead-empty h3 {
  color: #435363;
}

.qp-ab-test-page {
  color: #34495e;
}

.qp-ab-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 20px;
}

.qp-ab-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 17px;
}

.qp-ab-page-type {
  margin-top: 18px;
  color: #d95640;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.qp-ab-page-type i {
  margin-right: 6px;
}

.qp-ab-title-row h1 {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
}

.qp-ab-title-row .label {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.qp-ab-header p {
  margin: 8px 0 0;
  color: #71808e;
}

.qp-ab-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qp-ab-header-actions .dropdown-menu {
  min-width: 255px;
  padding: 6px 0;
}

.qp-ab-header-actions .dropdown-menu a {
  padding: 10px 16px;
}

.qp-ab-header-actions .dropdown-menu strong,
.qp-ab-header-actions .dropdown-menu small {
  display: block;
}

.qp-ab-settings-menu {
  min-width: 285px !important;
}

.qp-ab-settings-menu form {
  margin: 0;
}

.qp-ab-delete-action {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  border: 0;
  background: transparent;
  color: #b74635;
  text-align: left;
}

.qp-ab-delete-action:hover,
.qp-ab-delete-action:focus {
  background: #fff3f1;
  outline: 0;
}

.qp-ab-delete-action i {
  margin-top: 3px;
}

.qp-ab-delete-action span,
.qp-ab-delete-action strong,
.qp-ab-delete-action small {
  display: block;
}

.qp-ab-delete-action small {
  margin-top: 3px;
  color: #7a8792;
  font-weight: 400;
  white-space: normal;
}

.qp-ab-header-actions .dropdown-menu small {
  margin-top: 2px;
  color: #7a8792;
}

.qp-ab-toolbar {
  margin-bottom: 18px;
  padding: 13px 16px;
  border: 1px solid #e1e7ec;
  border-radius: 5px;
  background: #f8fafb;
}

.qp-ab-toolbar .form-group {
  margin-bottom: 0;
}

.qp-ab-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.qp-ab-metric {
  min-height: 130px;
  padding: 18px 20px;
  border: 1px solid #dfe6eb;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(52, 73, 94, .05);
}

.qp-ab-metric span,
.qp-ab-metric small {
  display: block;
}

.qp-ab-metric span {
  color: #71808e;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.qp-ab-metric strong {
  display: block;
  margin: 7px 0 3px;
  color: #263746;
  font-size: 30px;
  line-height: 1.1;
}

.qp-ab-metric small {
  color: #8995a0;
}

.qp-ab-metric-accent {
  border-color: #f2a697;
  background: linear-gradient(135deg, #fff 0%, #fff5f2 100%);
}

.qp-ab-metric-accent strong {
  color: #d95640;
}

.qp-ab-overview-row {
  display: flex;
  align-items: stretch;
  margin-bottom: 18px;
}

.qp-ab-overview-row > div {
  display: flex;
  flex-direction: column;
}

.qp-ab-delivery-card,
.qp-ab-winner-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 22px;
  border: 1px solid #dfe6eb;
  background: #fff;
}

.qp-ab-delivery-card {
  border-radius: 7px 7px 0 0;
}

.qp-ab-winner-card {
  border-top: 0;
  border-radius: 0 0 7px 7px;
  background: #fffaf0;
}

.qp-ab-eyebrow,
.qp-ab-winner-card span {
  display: block;
  color: #8995a0;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.qp-ab-test-url {
  display: block;
  margin: 4px 0 6px;
  overflow-wrap: anywhere;
  font-size: 17px;
  font-weight: 700;
}

.qp-ab-delivery-card p,
.qp-ab-winner-card p {
  margin: 0;
  color: #71808e;
}

.qp-ab-winner-card > i {
  color: #e5a126;
  font-size: 26px;
}

.qp-ab-winner-card > div {
  flex: 1;
}

.qp-ab-winner-card strong {
  display: block;
  margin: 2px 0 3px;
  color: #66480d;
  font-size: 17px;
}

.qp-ab-control-card {
  flex: 1;
  margin-bottom: 0;
  border-radius: 7px;
}

.qp-ab-control-card .panel-heading {
  font-weight: 700;
}

.qp-ab-control-card .panel-body > p:last-child {
  margin-bottom: 0;
}

.qp-ab-end-toggle {
  margin-top: 12px;
}

.qp-ab-end-form {
  margin-top: 10px;
  padding-top: 15px;
  border-top: 1px solid #e4e9ed;
}

.qp-ab-results-panel {
  border-radius: 7px;
}

.qp-ab-results-panel > .panel-heading {
  padding: 14px 16px;
}

.qp-ab-results-panel > .panel-heading strong,
.qp-ab-results-panel > .panel-heading span {
  display: block;
}

.qp-ab-results-panel > .panel-heading strong {
  font-size: 16px;
}

.qp-ab-results-panel > .panel-heading span {
  margin-top: 2px;
  color: #7a8792;
  font-size: 13px;
}

.qp-ab-results-table {
  margin-bottom: 0;
}

.qp-ab-results-table > thead > tr > th {
  border-bottom-width: 1px;
  color: #71808e;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.qp-ab-results-table > tbody > tr > td {
  padding-top: 15px;
  padding-bottom: 15px;
  vertical-align: middle;
}

.qp-ab-results-table > tfoot > tr > th {
  padding-top: 14px;
  border-top: 2px solid #dfe6eb;
}

.qp-ab-winner-row {
  background: #fffcf4;
}

.qp-ab-variant-name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.qp-ab-variant-url {
  display: block;
  max-width: 330px;
  margin-top: 4px;
  overflow: hidden;
  color: #8995a0;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qp-ab-rate {
  min-width: 115px;
}

.qp-ab-rate > span {
  display: block;
  width: 100%;
  height: 4px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 4px;
  background: #e7ecef;
}

.qp-ab-rate > span > i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #ec6952;
}

.qp-ab-row-actions {
  justify-content: flex-end;
}

.qp-upgrade-panel h2 {
  font-size: 44px;
  margin-top: 5px;
}

.qp-upgrade-kicker {
  color: #f0644f;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.qp-upgrade-features {
  margin: 24px 0;
}

.qp-upgrade-features li,
.qp-limit-list li {
  margin-bottom: 9px;
}

.qp-upgrade-note {
  margin-top: 14px;
}

@media (max-width: 767px) {
  .qp-feedback-widget {
    right: 14px;
    bottom: 14px;
  }
  .qp-feedback-panel {
    width: calc(100vw - 28px);
  }
  .qp-leads-heading,
  .qp-lead-pagination,
  .qp-ab-header,
  .qp-lead-context-banner {
    align-items: stretch;
    flex-direction: column;
  }
  .qp-ab-header-actions,
  .qp-ab-delivery-card,
  .qp-ab-winner-card {
    align-items: stretch;
    flex-direction: column;
  }
  .qp-ab-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .qp-ab-overview-row {
    display: block;
  }
  .qp-lead-detail {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }
}

@media (max-width: 480px) {
  .qp-ab-metrics {
    grid-template-columns: 1fr;
  }
}
.qp-context-guide-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 15px;
}

.qp-context-guide-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid #d9e3e9;
    border-radius: 5px;
    background: #f8fafb;
    color: #496274;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.qp-context-guide-link:hover,
.qp-context-guide-link:focus {
    border-color: #ef8b79;
    background: #fff7f4;
    color: #d95c47;
    text-decoration: none;
}

.qp-context-guide-link .qp-context-guide-link-external {
    color: #9aa8b2;
    font-size: 13px;
}

.qp-context-guide-row-analytics {
    margin-top: -5px;
}
.qp-impersonation-banner {
  position: sticky;
  top: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 18px;
  border-bottom: 1px solid #d39e00;
  background: #fff3cd;
  color: #5f4700;
  box-shadow: 0 2px 8px rgba(37, 51, 64, 0.14);
}

.qp-impersonation-banner form {
  margin: 0;
}

@media (max-width: 767px) {
  .qp-impersonation-banner {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Shared application surface */
.dashboard-page{background:#f5f7f7;color:#2f4244}.dashboard-page #page-wrapper{background:#f5f7f7}.dashboard-page .page-header{border-bottom-color:#dde5e3;color:#173937;font-weight:700}.dashboard-page .panel-default{border:1px solid #dfe6e4;border-radius:9px;box-shadow:0 3px 12px rgba(16,44,42,.045);overflow:visible}.dashboard-page .panel-default>.panel-heading{background:#f9fbfa;border-bottom-color:#e4eae8;color:#244340;padding:13px 16px}.dashboard-page .panel-default>.panel-body{padding:16px}.dashboard-page .btn-danger{background:#ed6852;border-color:#ed6852}.dashboard-page .btn-danger:hover,.dashboard-page .btn-danger:focus{background:#db5945;border-color:#db5945}.qp-app-page-header{align-items:flex-end;border-bottom:1px solid #dce5e2;display:flex;gap:24px;justify-content:space-between;margin:22px 0 18px;padding:0 0 20px}.qp-app-page-header h1{color:#173937;font-size:35px;font-weight:700;letter-spacing:-.025em;line-height:1.1;margin:6px 0 7px}.qp-app-page-header p{color:#71807e;margin:0;max-width:720px}.qp-app-kicker{color:#db5e49;font-size:13px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.qp-app-header-actions{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.qp-app-card{background:#fff;border:1px solid #dfe6e4;border-radius:10px;box-shadow:0 4px 15px rgba(16,44,42,.045);margin-bottom:18px}.qp-app-card-header{align-items:center;background:#f9fbfa;border-bottom:1px solid #e4eae8;display:flex;gap:18px;justify-content:space-between;padding:14px 17px}.qp-app-card-header h2,.qp-app-card-header h3{color:#213f3c;font-size:16px;font-weight:800;margin:0}.qp-app-card-header p{color:#7b8987;font-size:13px;margin:3px 0 0}.qp-app-card-body{padding:18px}.qp-dashboard-toolbar{background:#fff;border:1px solid #dfe6e4;border-radius:8px;margin-bottom:8px;padding:12px 15px}.qp-admin-menu .dropdown-header{color:#899591;font-size:13px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.qp-admin-menu .divider{margin:5px 0}.qp-sidebar-actions .qp-sidebar-secondary-action:last-child{background:#fff}.qp-sidebar-actions .qp-sidebar-secondary-action:last-child i{color:#d85b47}

/* First-session activation */
.qp-activation-start{background:#fff;border:1px solid #dce5e2;border-radius:14px;box-shadow:0 12px 38px rgba(16,44,42,.07);margin:10px 0 40px;overflow:hidden}.qp-activation-hero{align-items:center;background:linear-gradient(135deg,#102c2a 0%,#1d4b46 100%);color:#fff;display:flex;gap:28px;justify-content:space-between;padding:38px 42px}.qp-activation-hero .qp-app-kicker{color:#f5ab9e}.qp-activation-hero h2{color:#fff;font-size:32px;font-weight:700;letter-spacing:-.02em;margin:8px 0 9px}.qp-activation-hero p{color:#d1dfdc;margin:0;max-width:690px}.qp-activation-progress{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);border-radius:12px;min-width:145px;padding:16px 18px;text-align:center}.qp-activation-progress strong,.qp-activation-progress span{display:block}.qp-activation-progress strong{font-size:27px}.qp-activation-progress span{color:#c7d8d5;font-size:13px;margin-top:2px}.qp-activation-goals{display:grid;gap:16px;grid-template-columns:repeat(3,minmax(0,1fr));padding:28px 30px 22px}.qp-activation-goal{background:#fbfcfc;border:1px solid #dfe7e4;border-radius:10px;color:#2d4542;display:block;min-height:225px;padding:22px;text-decoration:none}.qp-activation-goal:hover,.qp-activation-goal:focus{border-color:#ed8d7b;box-shadow:0 8px 24px rgba(16,44,42,.08);color:#2d4542;text-decoration:none;transform:translateY(-2px)}.qp-activation-icon{align-items:center;background:#edf3f1;border-radius:9px;color:#1e514c;display:flex;font-size:17px;height:42px;justify-content:center;margin-bottom:20px;width:42px}.qp-activation-goal strong{display:block;font-size:18px}.qp-activation-goal p{color:#75827f;font-size:13px;line-height:1.55;margin:9px 0 17px}.qp-activation-link{color:#d85843;font-size:13px;font-weight:800}.qp-activation-link i{font-size:13px;margin-left:4px}.qp-activation-checklist{border-top:1px solid #e4eae8;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0 30px;padding:23px 0}.qp-activation-checklist>div{align-items:start;display:grid;gap:2px 10px;grid-template-columns:28px 1fr;padding:0 18px}.qp-activation-checklist>div+div{border-left:1px solid #e4eae8}.qp-activation-checklist span{align-items:center;background:#173937;border-radius:50%;color:#fff;display:flex;font-size:13px;font-weight:800;grid-row:1/3;height:25px;justify-content:center;width:25px}.qp-activation-checklist strong{color:#294541;font-size:13px}.qp-activation-checklist small{color:#7a8885;font-size:13px}.qp-activation-help{color:#74827f;font-size:13px;margin:0;padding:0 30px 25px;text-align:center}.qp-activation-help a{font-weight:700}

/* Funnel workflow */
.qp-funnel-progress{display:grid;gap:0;grid-template-columns:repeat(3,minmax(0,1fr));margin:4px 0 22px}.qp-funnel-progress-step{align-items:center;background:#fff;border:1px solid #dfe6e4;display:flex;gap:11px;padding:13px 16px}.qp-funnel-progress-step:first-child{border-radius:8px 0 0 8px}.qp-funnel-progress-step:last-child{border-radius:0 8px 8px 0}.qp-funnel-progress-step+.qp-funnel-progress-step{border-left:0}.qp-funnel-progress-step span{align-items:center;background:#173937;border-radius:50%;color:#fff;display:flex;font-size:13px;font-weight:800;height:25px;justify-content:center;width:25px}.qp-funnel-progress-step strong,.qp-funnel-progress-step small{display:block}.qp-funnel-progress-step strong{color:#294541;font-size:13px}.qp-funnel-progress-step small{color:#7e8b89;font-size:13px}.qp-funnel-create-form .panel-heading{align-items:center;display:flex;gap:8px;justify-content:space-between}.qp-step-label{color:#da5c47;font-size:13px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.qp-template-options-toggle{font-size:13px!important}.qp-funnel-template-options:not(.is-expanded) .qp-funnel-template-card-wrap:not(.is-selected-wrap){display:none}.qp-funnel-template-options:not(.is-expanded) .qp-funnel-template-category:not(.has-selected-template){display:none}.qp-funnel-template-options:not(.is-expanded) .qp-funnel-template-category h4{display:none}.qp-funnel-review-bar{align-items:center;background:#173937;border-radius:9px;color:#fff;display:flex;gap:22px;justify-content:space-between;margin:4px 0 40px;padding:18px 20px}.qp-funnel-review-bar strong,.qp-funnel-review-bar small{display:block}.qp-funnel-review-bar small{color:#c5d6d2;margin-top:3px}.qp-funnel-review-bar .btn{min-width:170px}.qp-report-metrics{display:grid;gap:13px;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:18px}.qp-report-metric{background:#fff;border:1px solid #dfe6e4;border-radius:9px;min-height:125px;padding:18px 19px}.qp-report-metric span{color:#748380;display:block;font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.qp-report-metric strong{color:#173937;display:block;font-size:29px;line-height:1.1;margin:8px 0 4px}.qp-report-metric small{color:#899592}.qp-report-metric.is-accent{background:linear-gradient(135deg,#fff,#fff5f2);border-color:#efaa9e}.qp-report-metric.is-accent strong{color:#d85843}.qp-journey-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));text-align:center}.qp-journey-stat{padding:8px 15px}.qp-journey-stat+.qp-journey-stat{border-left:1px solid #e6ecea}.qp-journey-stat strong{color:#173937;display:block;font-size:25px}.qp-journey-stat span{color:#3f5652;display:block;font-size:13px;font-weight:700;margin-top:5px}.qp-journey-stat small{color:#899592;display:block;font-size:13px;margin-top:4px}.qp-funnel-flow-grid{align-items:stretch;display:grid;gap:16px;grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr)}.qp-funnel-flow-arrow{align-items:center;color:#a6b2af;display:flex;font-size:24px;justify-content:center}.qp-funnel-step-card{background:#fbfcfc;border:1px solid #dfe6e4;border-radius:8px;height:100%;padding:18px}.qp-funnel-step-card h3{color:#25413e;font-size:17px;margin:11px 0}.qp-danger-zone{border:1px solid #ead9d6;border-radius:9px;margin:25px 0 10px;overflow:hidden}.qp-danger-zone-toggle{align-items:center;background:#fff;border:0;color:#8d5149;display:flex;font-weight:700;justify-content:space-between;padding:13px 16px;text-align:left;width:100%}.qp-danger-zone-toggle:hover,.qp-danger-zone-toggle:focus{background:#fff8f6;outline:0}.qp-danger-zone-body{background:#fff;border-top:1px solid #f0e4e1;padding:17px}.qp-danger-zone-body p{color:#6f7775;font-size:13px}

/* Editor inspector */
.qp-editor-inspector-actions{background:rgba(247,249,250,.97);border-top:1px solid #dfe6eb;bottom:-12px;margin:8px -12px -12px;padding:12px;position:sticky;z-index:4}.qp-editor-inspector-actions .btn-default{background:#173937;border-color:#173937;color:#fff}.qp-editor-inspector-actions .btn-default:hover,.qp-editor-inspector-actions .btn-default:focus{background:#26514d;border-color:#26514d;color:#fff}

@media(max-width:1000px){.qp-activation-goals,.qp-activation-checklist{grid-template-columns:1fr}.qp-activation-checklist>div{padding:10px 18px}.qp-activation-checklist>div+div{border-left:0}.qp-report-metrics,.qp-journey-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.qp-journey-stat:nth-child(3){border-left:0}.qp-funnel-progress{grid-template-columns:1fr}.qp-funnel-progress-step,.qp-funnel-progress-step:first-child,.qp-funnel-progress-step:last-child{border:1px solid #dfe6e4;border-radius:0}.qp-funnel-progress-step+.qp-funnel-progress-step{border-top:0}.qp-funnel-progress-step:first-child{border-radius:8px 8px 0 0}.qp-funnel-progress-step:last-child{border-radius:0 0 8px 8px}}
@media(max-width:767px){.qp-app-page-header,.qp-activation-hero,.qp-funnel-review-bar{align-items:flex-start;flex-direction:column}.qp-app-page-header h1{font-size:29px}.qp-activation-hero{padding:28px 24px}.qp-activation-hero h2{font-size:27px}.qp-activation-progress{width:100%}.qp-activation-goals{padding:20px}.qp-activation-checklist{margin:0 20px}.qp-report-metrics,.qp-journey-grid{grid-template-columns:1fr}.qp-journey-stat+.qp-journey-stat{border-left:0;border-top:1px solid #e6ecea}.qp-funnel-flow-grid{grid-template-columns:1fr}.qp-funnel-flow-arrow{transform:rotate(90deg)}.qp-funnel-review-bar .btn{width:100%}}

/* 2026 application redesign */
.dashboard-page {
  --qp-ink: #102c2a;
  --qp-ink-soft: #294743;
  --qp-muted: #687b77;
  --qp-paper: #f7f3ea;
  --qp-canvas: #f4f5f1;
  --qp-surface: #ffffff;
  --qp-line: #dce4e1;
  --qp-coral: #f26a52;
  --qp-coral-dark: #d95440;
  --qp-sage: #dce9e3;
  --qp-sidebar: #eee9df;
  --qp-sidebar-raised: rgba(255, 255, 255, .72);
  --qp-sidebar-text: #2f4541;
  --qp-sidebar-muted: #737c78;
  --qp-sidebar-line: rgba(16, 44, 42, .11);
  background: var(--qp-canvas);
  color: var(--qp-ink-soft);
  font-family: "Inter", "Roboto", sans-serif;
  font-size: 14px;
  padding-top: 68px;
}

.dashboard-page h1,
.dashboard-page .qp-app-page-header h1,
.dashboard-page .qp-referral-hero h1 {
  font-family: "Newsreader", serif;
  font-weight: 600;
}

.dashboard-page h2,
.dashboard-page h3,
.dashboard-page h4,
.dashboard-page strong,
.dashboard-page label {
  color: var(--qp-ink);
}

.dashboard-page a {
  color: var(--qp-coral-dark);
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.dashboard-page a:hover,
.dashboard-page a:focus {
  color: #b94433;
}

.dashboard-page .qp-referral-hero,
.dashboard-page .qp-activation-hero {
  background: linear-gradient(135deg, #fffaf6 0%, #f1ece3 100%);
  border: 1px solid #eaded7;
  color: var(--qp-ink-soft);
}

.dashboard-page .qp-referral-hero h1,
.dashboard-page .qp-activation-hero h2 {
  color: var(--qp-ink);
}

.dashboard-page .qp-referral-hero p,
.dashboard-page .qp-activation-hero p {
  color: var(--qp-muted);
}

.dashboard-page .qp-referral-kicker,
.dashboard-page .qp-activation-hero .qp-app-kicker {
  color: var(--qp-coral-dark);
}

.dashboard-page .qp-referral-rate {
  color: var(--qp-coral-dark);
}

.dashboard-page .qp-referral-rate small {
  color: var(--qp-ink-soft);
}

.dashboard-page .qp-activation-progress {
  background: rgba(255, 255, 255, .72);
  border-color: rgba(16, 44, 42, .11);
}

.dashboard-page .qp-activation-progress strong {
  color: var(--qp-ink);
}

.dashboard-page .qp-activation-progress span {
  color: var(--qp-muted);
}

.dashboard-page .qp-activation-checklist span,
.dashboard-page .qp-funnel-progress-step span {
  background: #fff0ec;
  border: 1px solid #efc0b6;
  color: var(--qp-coral-dark);
}

.dashboard-page .qp-funnel-review-bar {
  background: linear-gradient(135deg, #fff 0%, #fff8f4 100%);
  border: 1px solid #ebd8d2;
  border-left: 4px solid var(--qp-coral);
  border-radius: 12px;
  box-shadow: 0 7px 22px rgba(16, 44, 42, .055);
  color: var(--qp-ink-soft);
  padding: 19px 20px;
}

.dashboard-page .qp-funnel-review-bar strong {
  color: var(--qp-ink);
}

.dashboard-page .qp-funnel-review-bar small {
  color: var(--qp-muted);
}

.dashboard-page .qp-app-navbar {
  background: rgba(247, 243, 234, .98);
  border: 0;
  border-bottom: 1px solid rgba(16, 44, 42, .11);
  box-shadow: 0 3px 16px rgba(16, 44, 42, .045);
  margin: 0;
  min-height: 68px;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1035;
}

.dashboard-page .navbar-header {
  min-height: 68px;
}

.dashboard-page .qp-dashboard-brand {
  gap: 17px;
  height: 68px;
  padding: 17px 22px !important;
  width: 286px;
}

.dashboard-page .qp-dashboard-brand img {
  width: 142px;
}

.dashboard-page .qp-dashboard-brand span {
  border-left-color: rgba(16, 44, 42, .16);
  color: #61716d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 18px;
  padding-left: 16px;
  text-transform: uppercase;
}

.dashboard-page .navbar-top-links {
  align-items: center;
  display: flex;
  height: 67px;
  margin-right: 16px;
}

.dashboard-page .navbar-top-links > li:last-child {
  margin-right: 0;
}

.dashboard-page .navbar-top-links > li > a {
  align-items: center;
  color: #405652;
  display: flex;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
}

.dashboard-page .navbar-top-links > li > a:hover,
.dashboard-page .navbar-top-links > li > a:focus,
.dashboard-page .navbar-top-links > .open > a,
.dashboard-page .navbar-top-links > .open > a:hover,
.dashboard-page .navbar-top-links > .open > a:focus {
  background: rgba(16, 44, 42, .06);
  border-radius: 10px;
  color: var(--qp-ink);
}

.qp-topbar-control {
  font-size: 13px;
  font-weight: 700;
}

.qp-account-trigger {
  border-left: 1px solid rgba(16, 44, 42, .11);
  margin-left: 6px;
  padding-left: 18px !important;
}

.qp-account-avatar {
  align-items: center;
  background: var(--qp-ink);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.qp-account-copy,
.qp-account-copy strong,
.qp-account-copy small {
  display: block;
}

.qp-account-copy strong {
  color: var(--qp-ink);
  font-size: 13px;
  line-height: 1.2;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qp-account-copy small {
  color: #7b8a87;
  font-size: 12px;
  margin-top: 2px;
  text-transform: uppercase;
}

.dashboard-page .navbar-top-links .dropdown-menu {
  border: 1px solid var(--qp-line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(16, 44, 42, .14);
  margin-top: 5px;
  min-width: 220px;
  padding: 8px;
}

.dashboard-page .navbar-top-links .dropdown-menu li a,
.dashboard-page .navbar-top-links .dropdown-menu li form a {
  border-radius: 7px;
  color: #405652;
  font-size: 13px;
  padding: 9px 10px;
}

.dashboard-page .navbar-top-links .dropdown-menu li a:hover,
.dashboard-page .navbar-top-links .dropdown-menu li a:focus {
  background: #f4f7f5;
  color: var(--qp-ink);
}

.dashboard-page .navbar-top-links .dropdown-menu .divider {
  background: var(--qp-line);
  margin: 6px 3px;
}

.dashboard-page .sidebar {
  background: var(--qp-sidebar) !important;
  border: 0;
  color: var(--qp-ink-soft);
}

.dashboard-page .qp-sidebar-nav {
  background: var(--qp-sidebar);
  min-height: 100%;
  padding: 22px 14px 30px;
}

.qp-sidebar-section-label,
.dashboard-page .qp-sidebar-heading,
.dashboard-page .qp-sidebar-subheading {
  color: #7e817c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.qp-sidebar-section-label {
  margin: 0 9px 9px;
}

.qp-sidebar-main-link,
.dashboard-page .qp-sidebar-leads-link {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--qp-ink-soft);
  display: flex;
  gap: 12px;
  margin: 0 0 4px;
  padding: 10px 11px;
  text-decoration: none;
}

.qp-sidebar-main-link:hover,
.qp-sidebar-main-link:focus,
.qp-sidebar-main-link.active,
.dashboard-page .qp-sidebar-leads-link:hover,
.dashboard-page .qp-sidebar-leads-link:focus,
.dashboard-page .qp-sidebar-leads-link.active {
  background: rgba(255, 255, 255, .68);
  border-color: var(--qp-sidebar-line);
  color: var(--qp-ink);
}

.qp-sidebar-main-link.active {
  box-shadow: inset 3px 0 0 var(--qp-coral);
}

.qp-sidebar-main-link > i,
.dashboard-page .qp-sidebar-leads-link > i {
  color: #f8a796;
  font-size: 15px;
  text-align: center;
  width: 20px;
}

.qp-sidebar-main-link span,
.qp-sidebar-main-link strong,
.qp-sidebar-main-link small {
  display: block;
}

.qp-sidebar-main-link strong,
.dashboard-page .qp-sidebar-leads-link strong {
  color: var(--qp-ink);
  font-size: 13px;
}

.qp-sidebar-main-link small,
.dashboard-page .qp-sidebar-leads-link small {
  color: var(--qp-sidebar-muted);
  font-size: 13px;
  margin-top: 2px;
}

.dashboard-page .qp-sidebar-actions {
  border-bottom: 1px solid var(--qp-sidebar-line);
  display: grid;
  gap: 7px;
  grid-template-columns: 1fr 1fr;
  margin: 17px 0 15px;
  padding: 0 0 17px;
}

.dashboard-page .qp-sidebar-actions .qp-sidebar-primary-action {
  background: var(--qp-coral);
  border-radius: 9px;
  color: #fff;
  grid-column: 1 / -1;
  padding: 10px 12px;
}

.dashboard-page .qp-sidebar-actions .qp-sidebar-primary-action:hover,
.dashboard-page .qp-sidebar-actions .qp-sidebar-primary-action:focus {
  background: #df5a45;
  transform: translateY(-1px);
}

.dashboard-page .qp-sidebar-actions .qp-sidebar-secondary-action,
.dashboard-page .qp-sidebar-actions .qp-sidebar-secondary-action:last-child {
  align-items: center;
  background: rgba(255, 255, 255, .58);
  border: 1px solid var(--qp-sidebar-line);
  border-radius: 8px;
  color: var(--qp-ink-soft);
  display: flex;
  font-size: 13px;
  gap: 6px;
  justify-content: center;
  margin: 0;
  min-height: 38px;
  padding: 7px;
}

.dashboard-page .qp-sidebar-actions .qp-sidebar-secondary-action:hover,
.dashboard-page .qp-sidebar-actions .qp-sidebar-secondary-action:focus {
  background: #fff;
  border-color: rgba(16, 44, 42, .2);
  color: var(--qp-ink);
}

.dashboard-page .qp-sidebar-actions .qp-sidebar-secondary-action i,
.dashboard-page .qp-sidebar-actions .qp-sidebar-secondary-action:last-child i {
  color: #f4a594;
}

.dashboard-page .qp-sidebar-heading {
  margin: 14px 8px 8px;
}

.dashboard-page .qp-sidebar-heading-action {
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--qp-sidebar-line);
  border-radius: 999px;
  color: var(--qp-coral-dark);
  padding: 3px 8px;
}

.dashboard-page .qp-sidebar-form {
  margin: 8px 2px 13px;
}

.dashboard-page .qp-dashboard-nav-block {
  border: 1px solid transparent;
  border-radius: 10px;
  margin: 3px 0 6px;
}

.dashboard-page .qp-dashboard-nav-block.active {
  background: var(--qp-sidebar-raised);
  border-color: var(--qp-sidebar-line);
  box-shadow: none;
}

.dashboard-page .qp-dashboard-nav-row,
.dashboard-page .qp-dashboard-nav-block.active .qp-dashboard-nav-row {
  background: transparent;
  padding: 11px 8px 9px 11px;
}

.dashboard-page .qp-dashboard-nav-title {
  color: var(--qp-sidebar-text);
  font-size: 13px;
}

.dashboard-page .qp-dashboard-nav-title:hover,
.dashboard-page .qp-dashboard-nav-title:focus {
  color: var(--qp-coral-dark);
}

.dashboard-page .qp-dashboard-nav-toggle,
.dashboard-page .qp-dashboard-manage-toggle,
.dashboard-page .qp-sidebar-group-toggle {
  color: #7c8985;
}

.dashboard-page .qp-dashboard-nav-toggle:hover,
.dashboard-page .qp-dashboard-nav-toggle:focus,
.dashboard-page .qp-dashboard-manage-toggle:hover,
.dashboard-page .qp-dashboard-manage-toggle:focus,
.dashboard-page .qp-sidebar-group-toggle:hover,
.dashboard-page .qp-sidebar-group-toggle:focus {
  background: rgba(255, 255, 255, .78);
  color: var(--qp-ink);
}

.dashboard-page .qp-dashboard-nested {
  border-left-color: rgba(16, 44, 42, .13);
  margin-left: 14px;
}

.dashboard-page .qp-sidebar-subheading {
  margin-left: 12px;
}

.dashboard-page .qp-sidebar-group-row {
  padding-left: 12px;
}

.dashboard-page .qp-sidebar-group-link,
.dashboard-page .qp-sidebar-test-link {
  color: var(--qp-ink-soft);
  font-size: 13px;
}

.dashboard-page .qp-sidebar-group-link:hover,
.dashboard-page .qp-sidebar-test-link:hover {
  color: var(--qp-coral-dark);
}

.dashboard-page .qp-sidebar-group-link .fa {
  color: #989a95;
}

.dashboard-page .qp-sidebar-page-list {
  border-left-color: rgba(16, 44, 42, .12);
}

.dashboard-page .sidebar .qp-sidebar-page-list li {
  border-bottom: 0;
  margin-bottom: 2px;
}

.dashboard-page .qp-sidebar-page-list a {
  border-radius: 6px;
  color: var(--qp-sidebar-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  margin-left: -5px;
  padding: 4px 6px;
}

.dashboard-page .qp-sidebar-page-list a:hover {
  background: rgba(255, 255, 255, .78);
  color: var(--qp-ink);
}

.dashboard-page .qp-sidebar-test-link em {
  background: rgba(16, 44, 42, .07);
  color: #61726e;
}

.dashboard-page .qp-sidebar-empty {
  color: #858b87;
}

.qp-sidebar-support {
  border-top: 1px solid var(--qp-sidebar-line);
  margin-top: 18px;
  padding-top: 16px;
}

.dashboard-page .qp-sidebar-pro-badge,
.dashboard-page .qp-sidebar-upgrade {
  background: rgba(255, 255, 255, .62);
  border: 1px solid var(--qp-sidebar-line);
  border-left: 3px solid #f0a190;
  border-radius: 9px;
  margin: 0 0 8px;
  padding: 11px 12px;
}

.dashboard-page .qp-sidebar-pro-badge:hover,
.dashboard-page .qp-sidebar-pro-badge:focus,
.dashboard-page .qp-sidebar-upgrade:hover,
.dashboard-page .qp-sidebar-upgrade:focus {
  background: #fff;
  border-color: rgba(16, 44, 42, .2);
  border-left-color: var(--qp-coral);
}

.dashboard-page .qp-sidebar-pro-badge strong,
.dashboard-page .qp-sidebar-upgrade strong,
.dashboard-page .qp-sidebar-pro-badge span,
.dashboard-page .qp-sidebar-upgrade span {
  color: var(--qp-ink);
}

.dashboard-page .qp-sidebar-pro-badge span,
.dashboard-page .qp-sidebar-upgrade span {
  color: var(--qp-sidebar-muted);
}

.dashboard-page .qp-sidebar-feedback-link {
  background: transparent;
  border: 0;
  border-radius: 9px;
  color: var(--qp-ink-soft);
  margin: 0;
  padding: 10px 11px;
  width: 100%;
}

.dashboard-page .qp-sidebar-feedback-link:hover,
.dashboard-page .qp-sidebar-feedback-link:focus {
  background: rgba(255, 255, 255, .72);
  color: var(--qp-ink);
}

.dashboard-page .qp-sidebar-feedback-link .fa {
  color: #f0a190;
}

.dashboard-page .qp-sidebar-feedback-link strong {
  color: var(--qp-ink);
}

.dashboard-page .qp-sidebar-feedback-link small {
  color: var(--qp-sidebar-muted);
}

.dashboard-page .qp-settings-popover {
  background: #fff;
  border-color: var(--qp-line);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(5, 25, 23, .2);
  color: var(--qp-ink-soft);
}

.dashboard-page #page-wrapper {
  background:
    radial-gradient(circle at 92% 1%, rgba(201, 222, 212, .34), transparent 240px),
    var(--qp-canvas);
  border: 0;
  min-height: calc(100vh - 68px);
}

.dashboard-page .footer {
  display: none;
}

.dashboard-page .qp-app-page-header,
.dashboard-page .page-header {
  border: 0;
}

.dashboard-page .qp-app-page-header {
  align-items: center;
  border-bottom: 1px solid var(--qp-line);
  margin: 10px 0 26px;
  padding: 6px 0 24px;
}

.dashboard-page .qp-app-page-header h1 {
  color: var(--qp-ink);
  font-size: 43px;
  letter-spacing: -.035em;
  margin: 7px 0 8px;
}

.dashboard-page .qp-app-page-header p {
  color: var(--qp-muted);
  font-size: 15px;
  line-height: 1.55;
}

.dashboard-page .qp-app-kicker {
  color: var(--qp-coral-dark);
  font-size: 13px;
  letter-spacing: .15em;
}

.dashboard-page h1.page-header {
  color: var(--qp-ink);
  font-family: "Newsreader", serif;
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -.03em;
  margin: 20px 0 26px;
  padding: 0 0 18px;
}

.dashboard-page .qp-section-heading {
  align-items: center;
  border-bottom: 1px solid var(--qp-line);
  margin: 18px 0 14px;
  padding-bottom: 11px;
}

.dashboard-page .qp-section-heading .page-header,
.dashboard-page .qp-section-heading h2.page-header,
.dashboard-page h2.page-header {
  border: 0;
  color: var(--qp-ink);
  font-family: "Newsreader", serif;
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -.015em;
  margin: 0;
  padding: 0;
}

.dashboard-page .panel,
.dashboard-page .panel-default,
.dashboard-page .panel-info,
.dashboard-page .qp-app-card,
.dashboard-page .qp-dashboard-toolbar {
  background: var(--qp-surface);
  border: 1px solid var(--qp-line);
  border-radius: 14px;
  box-shadow: 0 7px 24px rgba(16, 44, 42, .055);
}

.dashboard-page .panel-default > .panel-heading,
.dashboard-page .panel-info > .panel-heading,
.dashboard-page .qp-app-card-header {
  background: #fbfcfa;
  border-bottom: 1px solid var(--qp-line);
  border-radius: 14px 14px 0 0;
  color: var(--qp-ink);
  font-size: 13px;
  font-weight: 700;
  padding: 15px 18px;
}

.dashboard-page .panel-default > .panel-body,
.dashboard-page .panel-info > .panel-body,
.dashboard-page .qp-app-card-body {
  padding: 20px;
}

.dashboard-page .qp-dashboard-toolbar {
  margin-bottom: 28px;
  padding: 15px 18px;
}

.dashboard-page .form-control,
.dashboard-page select.form-control,
.dashboard-page textarea.form-control,
.dashboard-page .input-group-addon {
  border-color: #cbd8d4;
  border-radius: 9px;
  box-shadow: none;
  color: var(--qp-ink);
  font-family: "Inter", "Roboto", sans-serif;
  font-size: 13px;
}

.dashboard-page input.form-control,
.dashboard-page select.form-control {
  height: 42px;
}

.dashboard-page textarea.form-control {
  line-height: 1.55;
  padding: 11px 13px;
}

.dashboard-page .form-control:focus {
  border-color: #79a197;
  box-shadow: 0 0 0 3px rgba(91, 139, 128, .14);
}

.dashboard-page .form-group label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .035em;
  margin-bottom: 7px;
}

.dashboard-page .help-block,
.dashboard-page .text-muted {
  color: #778783;
}

.dashboard-page .btn {
  border-radius: 8px;
  font-family: "Inter", "Roboto", sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 13px;
}

.dashboard-page .btn-sm,
.dashboard-page .btn-group-sm > .btn {
  padding: 7px 10px;
}

.dashboard-page .btn-xs,
.dashboard-page .btn-group-xs > .btn {
  padding: 3px 7px;
}

.dashboard-page .btn-default {
  background: #fff;
  border-color: #cad6d2;
  color: #36504c;
}

.dashboard-page .btn-default:hover,
.dashboard-page .btn-default:focus {
  background: #f4f7f5;
  border-color: #95aea8;
  color: var(--qp-ink);
}

.dashboard-page .btn-primary {
  background: var(--qp-ink);
  border-color: var(--qp-ink);
  color: #fff;
}

.dashboard-page .btn-primary:hover,
.dashboard-page .btn-primary:focus {
  background: #214b47;
  border-color: #214b47;
  color: #fff;
}

.dashboard-page .btn-danger {
  background: var(--qp-coral);
  border-color: var(--qp-coral);
  color: #fff;
}

.dashboard-page .btn-danger:hover,
.dashboard-page .btn-danger:focus {
  background: var(--qp-coral-dark);
  border-color: var(--qp-coral-dark);
  color: #fff;
}

.dashboard-page .alert {
  border: 0;
  border-left: 4px solid;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.55;
  padding: 14px 17px;
}

.dashboard-page .alert-info {
  background: #edf6f3;
  border-left-color: #5f978a;
  color: #365f57;
}

.dashboard-page .alert-success {
  background: #edf7f0;
  border-left-color: #59a26e;
  color: #356344;
}

.dashboard-page .alert-warning {
  background: #fff8e8;
  border-left-color: #dba94e;
  color: #795d28;
}

.dashboard-page .alert-danger {
  background: #fff0ed;
  border-left-color: var(--qp-coral);
  color: #874638;
}

.dashboard-page .qp-form-error-summary {
  margin: 0 0 22px;
  outline: 0;
}

.dashboard-page .qp-form-error-summary > strong {
  color: #743d33;
  display: block;
  margin-bottom: 5px;
}

.dashboard-page .qp-form-error-summary ul {
  margin: 0;
  padding-left: 19px;
}

.dashboard-page .qp-field-error {
  color: #b64635;
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  margin: 6px 0 0;
}

.dashboard-page .form-group.has-error .form-control,
.dashboard-page .qp-validation-fieldset.has-error {
  border-color: #e18777;
}

.dashboard-page .form-group.has-error .form-control:focus {
  border-color: var(--qp-coral-dark);
  box-shadow: 0 0 0 3px rgba(242, 106, 82, .14);
}

.dashboard-page .qp-validation-fieldset.has-error {
  box-shadow: 0 0 0 3px rgba(242, 106, 82, .09);
}

.dashboard-page .table-responsive {
  border: 0;
  margin: 0;
}

.dashboard-page table.table,
.dashboard-page table.dataTable {
  border-collapse: separate;
  border-spacing: 0;
  margin: 0 !important;
  width: 100% !important;
}

.dashboard-page table.table > thead > tr > th,
.dashboard-page table.dataTable > thead > tr > th {
  background: #f7f9f7;
  border-bottom: 1px solid #cfdad6;
  color: #50635f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  padding: 11px 10px;
  text-transform: uppercase;
  vertical-align: bottom;
}

.dashboard-page table.table > tbody > tr > td,
.dashboard-page table.dataTable > tbody > tr > td {
  border-top: 1px solid #e7ecea;
  color: #405652;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  padding: 12px 10px;
  vertical-align: middle;
}

.dashboard-page table.table > tbody > tr:nth-of-type(odd):not(.qp-mobile-detail-row) > td,
.dashboard-page table.dataTable > tbody > tr:nth-of-type(odd):not(.qp-mobile-detail-row) > td {
  background: #f6f8f6;
}

.dashboard-page table.table > tbody > tr:nth-of-type(even):not(.qp-mobile-detail-row) > td,
.dashboard-page table.dataTable > tbody > tr:nth-of-type(even):not(.qp-mobile-detail-row) > td {
  background: #fff;
}

.dashboard-page table.table-hover > tbody > tr:hover > td,
.dashboard-page table.table > tbody > tr:hover > td,
.dashboard-page table.dataTable > tbody > tr:hover > td {
  background: #edf3f0;
}

.dashboard-page .qp-site-footer {
  font-family: "Inter", "Roboto", sans-serif;
}

.dashboard-page table.table > tfoot > tr > th,
.dashboard-page table.dataTable > tfoot > tr > th {
  background: #f0f5f2;
  border-top: 1px solid #cbd8d3;
  color: var(--qp-ink);
  font-size: 13px;
  padding: 11px 10px;
}

.dashboard-page table.dataTable.no-footer {
  border-bottom: 0;
}

.dashboard-page .qp-row-actions {
  flex-wrap: nowrap;
  gap: 5px;
}

.dashboard-page .qp-row-action {
  align-items: center;
  background: #f1f5f3;
  border: 1px solid #dce5e2;
  border-radius: 7px;
  color: #59716c;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.dashboard-page .qp-row-action:hover,
.dashboard-page .qp-row-action:focus {
  background: var(--qp-sage);
  border-color: #bfd2cb;
  color: var(--qp-ink);
}

.dashboard-page .qp-row-action-danger {
  color: #b95847;
}

.dashboard-page .nav-tabs {
  border-bottom: 1px solid var(--qp-line);
  display: flex;
  gap: 7px;
}

.dashboard-page .nav-tabs > li {
  float: none;
  margin: 0 0 -1px;
}

.dashboard-page .nav-tabs > li > a {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 8px 8px 0 0;
  color: #657773;
  font-size: 13px;
  font-weight: 700;
  margin: 0;
  padding: 11px 14px;
}

.dashboard-page .nav-tabs > li > a:hover {
  background: rgba(255, 255, 255, .65);
  border-color: transparent;
  color: var(--qp-ink);
}

.dashboard-page .nav-tabs > li.active > a,
.dashboard-page .nav-tabs > li.active > a:hover,
.dashboard-page .nav-tabs > li.active > a:focus {
  background: #fff;
  border: 0;
  border-bottom: 2px solid var(--qp-coral);
  color: var(--qp-ink);
}

.dashboard-page .template-item {
  background: #fff;
  border: 1px solid var(--qp-line);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(16, 44, 42, .055);
  margin: 10px 15px 20px;
  padding: 13px 13px 17px;
  width: calc(33.333333% - 30px);
}

.dashboard-page .template-item:hover {
  border-color: #efad9f;
  box-shadow: 0 13px 32px rgba(16, 44, 42, .09);
  transform: translateY(-2px);
}

.dashboard-page .template-item img {
  border-radius: 9px;
  width: 100%;
}

.dashboard-page .template-item h3 {
  font-size: 17px;
  margin: 16px 3px 7px;
}

.dashboard-page .template-item p {
  color: var(--qp-muted);
  font-size: 13px;
  min-height: 54px;
}

.dashboard-page .modal-content {
  border: 0;
  border-radius: 15px;
  box-shadow: 0 24px 70px rgba(16, 44, 42, .24);
  overflow: hidden;
}

.dashboard-page .modal-header,
.dashboard-page .modal-footer {
  background: #fafbf9;
  border-color: var(--qp-line);
}

.dashboard-page .pagination > li > a,
.dashboard-page .pagination > li > span {
  border-color: var(--qp-line);
  color: var(--qp-ink-soft);
}

.dashboard-page .pagination > .active > span,
.dashboard-page .pagination > .active > span:hover {
  background: var(--qp-ink);
  border-color: var(--qp-ink);
}

@media (min-width: 992px) {
  .dashboard-page .qp-dashboard-shell {
    align-items: stretch;
    display: flex;
    min-height: calc(100vh - 68px);
  }

  .dashboard-page .sidebar {
    align-self: stretch;
    flex: 0 0 286px;
    margin-top: 0 !important;
    overflow-x: visible;
    overflow-y: visible;
    position: static !important;
    width: 286px !important;
    z-index: auto;
  }

  .dashboard-page .qp-dashboard-sidebar-collapse {
    display: block !important;
    height: 100% !important;
  }

  .dashboard-page .qp-sidebar-nav {
    height: 100%;
  }

  .dashboard-page .qp-mobile-filter-drawer.collapse {
    display: block !important;
    height: auto !important;
  }

  .dashboard-page #page-wrapper {
    flex: 1 1 auto;
    margin-left: 0 !important;
    min-width: 0;
    padding: 28px 38px 70px !important;
    width: 100% !important;
  }

  .dashboard-page.qp-no-sidebar-dashboard-page #page-wrapper,
  .dashboard-page #page-wrapper.qp-template-customizer-page,
  .dashboard-page #page-wrapper.qp-visual-editor-page {
    margin-left: 0 !important;
  }
}

@media (max-width: 991px) {
  .dashboard-page .template-item {
    width: calc(50% - 30px);
  }

  .qp-account-copy,
  .qp-topbar-label {
    display: none;
  }
}

@media (max-width: 991px) {
  .dashboard-page .qp-dashboard-shell {
    display: block;
  }

  .dashboard-page .qp-app-navbar,
  .dashboard-page .navbar-header {
    min-height: 62px;
  }

  .dashboard-page {
    padding-top: 62px;
  }

  .dashboard-page .navbar-header {
    float: none;
  }

  .dashboard-page .qp-dashboard-brand {
    height: 62px;
    padding: 16px 15px !important;
    width: auto;
  }

  .dashboard-page .qp-dashboard-brand img {
    width: 132px;
  }

  .dashboard-page .qp-dashboard-brand span {
    display: none;
  }

  .dashboard-page .qp-dashboard-menu-toggle {
    align-items: center;
    background: transparent;
    border: 1px solid #cbd6d3;
    border-radius: 8px;
    display: flex;
    gap: 3px;
    margin: 13px 0 0;
    padding: 9px;
    position: absolute;
    right: 100px;
    top: 0;
  }

  .dashboard-page .qp-dashboard-menu-toggle .icon-bar {
    background: var(--qp-ink);
    display: block;
    height: 2px;
    margin: 0;
    width: 16px;
  }

  .dashboard-page .qp-menu-icon {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .dashboard-page .qp-menu-label {
    color: var(--qp-ink);
    font-size: 13px;
    font-weight: 800;
    margin-left: 5px;
    text-transform: uppercase;
  }

  .dashboard-page .navbar-top-links {
    height: 61px;
    margin: 0 7px 0 0;
    position: absolute;
    right: 0;
    top: 0;
  }

  .dashboard-page .navbar-top-links > li > a {
    min-height: 38px;
    padding: 7px;
  }

  .dashboard-page .navbar-top-links > li:first-child {
    display: none;
  }

  .qp-account-trigger {
    border: 0;
    margin: 0;
    padding-left: 7px !important;
  }

  .qp-account-avatar {
    height: 32px;
    width: 32px;
  }

  .dashboard-page .sidebar {
    margin: 0;
    max-height: calc(100vh - 62px);
    overflow-y: auto;
    position: static !important;
    width: 100% !important;
  }

  .dashboard-page .qp-dashboard-sidebar-collapse {
    border: 0;
    box-shadow: 0 18px 32px rgba(16, 44, 42, .18);
    padding: 0;
  }

  .dashboard-page .sidebar .qp-dashboard-sidebar-collapse {
    display: none !important;
  }

  .dashboard-page .sidebar .qp-dashboard-sidebar-collapse.in,
  .dashboard-page .sidebar .qp-dashboard-sidebar-collapse.collapsing {
    display: block !important;
    overflow-y: auto !important;
  }

  .dashboard-page .sidebar .qp-sidebar-page-list {
    display: none !important;
  }

  .dashboard-page #page-wrapper,
  .dashboard-page #page-wrapper.qp-template-customizer-page,
  .dashboard-page #page-wrapper.qp-visual-editor-page {
    margin: 0 !important;
    min-height: calc(100vh - 62px);
    padding: 21px 14px 50px !important;
    width: 100% !important;
  }

  .dashboard-page .qp-app-page-header {
    align-items: flex-start;
    gap: 17px;
    margin-top: 3px;
    padding-bottom: 20px;
  }

  .dashboard-page .qp-app-page-header h1,
  .dashboard-page h1.page-header {
    font-size: 34px;
  }

  .dashboard-page .qp-app-header-actions,
  .dashboard-page .qp-app-header-actions .btn {
    width: 100%;
  }

  .dashboard-page .qp-section-heading {
    align-items: flex-start;
    gap: 12px;
  }

  .dashboard-page .qp-section-heading .page-header,
  .dashboard-page h2.page-header {
    font-size: 25px;
  }

  .dashboard-page .panel-default > .panel-body,
  .dashboard-page .panel-info > .panel-body,
  .dashboard-page .qp-app-card-body {
    padding: 15px;
  }

  .dashboard-page .nav-tabs {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
  }

  .dashboard-page .nav-tabs > li > a {
    padding: 10px 12px;
  }

  .dashboard-page .template-item {
    margin-left: 15px;
    margin-right: 15px;
    width: calc(100% - 30px);
  }

  .dashboard-page .template-item p {
    min-height: 0;
  }

  .dashboard-page .table-responsive {
    overflow: visible;
  }

  .dashboard-page table.qp-mobile-card-table,
  .dashboard-page table.qp-mobile-card-table tbody {
    background: transparent;
    border: 0;
    display: block;
    width: 100% !important;
  }

  .dashboard-page table.qp-mobile-card-table > thead {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

  .dashboard-page table.qp-mobile-card-table > tbody > tr:not(.qp-mobile-detail-row) {
    background: #fff;
    border: 1px solid var(--qp-line);
    border-radius: 12px;
    box-shadow: 0 5px 16px rgba(16, 44, 42, .045);
    display: block;
    margin-bottom: 12px;
    overflow: visible;
    padding: 7px 13px;
  }

  .dashboard-page table.qp-mobile-card-table > tbody > tr:not(.qp-mobile-detail-row):hover {
    background: #fff;
  }

  .dashboard-page table.qp-mobile-card-table > tbody > tr:not(.qp-mobile-detail-row) > td {
    align-items: start;
    background: transparent !important;
    border: 0;
    border-bottom: 1px solid #edf1ef;
    display: grid !important;
    gap: 12px;
    grid-template-columns: minmax(92px, 34%) minmax(0, 1fr);
    min-height: 38px;
    padding: 10px 0 !important;
    text-align: left !important;
    white-space: normal !important;
    width: 100% !important;
  }

  .dashboard-page table.qp-mobile-card-table > tbody > tr:not(.qp-mobile-detail-row) > td:last-child {
    border-bottom: 0;
  }

  .dashboard-page table.qp-mobile-card-table > tbody > tr:not(.qp-mobile-detail-row) > td::before {
    color: #7a8b87;
    content: attr(data-label);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .055em;
    padding-top: 2px;
    text-transform: uppercase;
  }

  .dashboard-page table.qp-mobile-card-table > tbody > tr:not(.qp-mobile-detail-row) > td > a,
  .dashboard-page table.qp-mobile-card-table > tbody > tr:not(.qp-mobile-detail-row) > td > button,
  .dashboard-page table.qp-mobile-card-table > tbody > tr:not(.qp-mobile-detail-row) > td > div,
  .dashboard-page table.qp-mobile-card-table > tbody > tr:not(.qp-mobile-detail-row) > td > small,
  .dashboard-page table.qp-mobile-card-table > tbody > tr:not(.qp-mobile-detail-row) > td > span,
  .dashboard-page table.qp-mobile-card-table > tbody > tr:not(.qp-mobile-detail-row) > td > strong {
    grid-column: 2;
  }

  .dashboard-page table.qp-mobile-card-table > tbody > tr:not(.qp-mobile-detail-row) > td:empty {
    display: none !important;
  }

  .dashboard-page table.qp-mobile-card-table .qp-row-actions,
  .dashboard-page table.qp-mobile-card-table .qp-ab-row-actions {
    justify-content: flex-start;
  }

  .dashboard-page table.qp-mobile-card-table > tbody > tr.qp-mobile-detail-row {
    background: #f7faf8;
    border: 1px solid var(--qp-line);
    border-radius: 0 0 12px 12px;
    margin: -17px 0 12px;
    overflow: hidden;
  }

  .dashboard-page table.qp-mobile-card-table > tbody > tr.qp-mobile-detail-row.in {
    display: block;
  }

  .dashboard-page table.qp-mobile-card-table > tbody > tr.qp-mobile-detail-row > td {
    border: 0 !important;
    display: block !important;
    padding: 0 !important;
  }

  .dashboard-page table.qp-mobile-card-table > tbody > tr.qp-mobile-detail-row > td::before {
    content: none;
  }

  .dashboard-page table.qp-mobile-card-table > tfoot {
    display: none;
  }

  .dashboard-page .qp-lead-detail {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .dashboard-page .qp-lead-pagination,
  .dashboard-page .qp-leads-heading,
  .dashboard-page .qp-lead-context-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-page .qp-mobile-filter-toggle {
    margin-bottom: 13px;
  }

  .dashboard-page .qp-lead-pagination .pagination {
    max-width: 100%;
    overflow-x: auto;
  }

  .dashboard-page .qp-payout-panel .panel-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .dashboard-page .qp-dashboard-menu-toggle {
    right: 72px;
  }

  .dashboard-page .qp-menu-label {
    display: none;
  }

  .dashboard-page .navbar-top-links .dropdown-user {
    right: -3px;
  }

  .dashboard-page .qp-section-heading {
    flex-direction: column;
  }

  .dashboard-page .qp-section-heading .btn,
  .dashboard-page .qp-section-heading > a {
    width: 100%;
  }

  .dashboard-page table.qp-mobile-card-table > tbody > tr:not(.qp-mobile-detail-row) > td {
    grid-template-columns: 82px minmax(0, 1fr);
  }
}

/* Page creation flow */
.dashboard-page .qp-creation-page-header {
  margin-bottom: 18px;
}

.dashboard-page .qp-creation-progress {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 30px;
}

.dashboard-page .qp-creation-step {
  align-items: center;
  background: rgba(255, 255, 255, .62);
  border: 1px solid var(--qp-line);
  border-radius: 12px;
  color: #71817d;
  display: flex;
  gap: 11px;
  min-height: 58px;
  padding: 10px 13px;
  position: relative;
  text-decoration: none;
}

.dashboard-page a.qp-creation-step:hover,
.dashboard-page a.qp-creation-step:focus {
  background: #fff;
  border-color: #aac1ba;
  color: var(--qp-ink);
  text-decoration: none;
  transform: translateY(-1px);
}

.dashboard-page .qp-creation-step.is-current {
  background: #fff;
  border-color: #ef9a89;
  box-shadow: 0 7px 22px rgba(16, 44, 42, .07);
  color: var(--qp-ink);
}

.dashboard-page .qp-creation-step.is-complete {
  background: #eef6f2;
  border-color: #cadfd7;
  color: #41675f;
}

.dashboard-page .qp-creation-step-number {
  align-items: center;
  background: #e8eeeb;
  border-radius: 50%;
  color: #60746f;
  display: flex;
  flex: 0 0 30px;
  font-size: 13px;
  font-weight: 900;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.dashboard-page .qp-creation-step.is-current .qp-creation-step-number {
  background: var(--qp-coral);
  color: #fff;
}

.dashboard-page .qp-creation-step.is-complete .qp-creation-step-number {
  background: var(--qp-ink);
  color: #fff;
}

.dashboard-page .qp-creation-step-copy,
.dashboard-page .qp-creation-step-copy strong,
.dashboard-page .qp-creation-step-copy small {
  display: block;
}

.dashboard-page .qp-creation-step-copy strong {
  color: inherit;
  font-size: 13px;
  line-height: 1.2;
}

.dashboard-page .qp-creation-step-copy small {
  color: #8a9894;
  display: none;
  font-size: 13px;
  margin-top: 2px;
}

.dashboard-page .qp-creation-progress.is-compact {
  gap: 6px;
  margin: 0 auto 10px;
  max-width: 760px;
}

.dashboard-page .qp-creation-progress.is-compact .qp-creation-step {
  border-radius: 9px;
  gap: 7px;
  min-height: 32px;
  padding: 3px 8px;
}

.dashboard-page .qp-creation-progress.is-compact .qp-creation-step-number {
  flex-basis: 20px;
  height: 20px;
  width: 20px;
}

.dashboard-page .qp-template-category-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
  overflow-x: auto;
  padding: 0 0 4px;
  scrollbar-width: thin;
}

.dashboard-page .qp-template-category-tabs > li {
  float: none;
  flex: 0 0 auto;
}

.dashboard-page .qp-template-category-tabs > li > a {
  align-items: center;
  border: 1px solid var(--qp-line);
  border-radius: 999px;
  color: #566965;
  display: flex;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
  margin: 0;
  padding: 9px 13px;
}

.dashboard-page .qp-template-category-tabs > li > a span {
  align-items: center;
  background: #e9eeeb;
  border-radius: 999px;
  color: #687975;
  display: inline-flex;
  font-size: 12px;
  height: 19px;
  justify-content: center;
  min-width: 19px;
  padding: 0 5px;
}

.dashboard-page .qp-template-category-tabs > li.active > a,
.dashboard-page .qp-template-category-tabs > li.active > a:hover,
.dashboard-page .qp-template-category-tabs > li.active > a:focus {
  background: var(--qp-ink);
  border-color: var(--qp-ink);
  color: #fff;
}

.dashboard-page .qp-template-category-tabs > li.active > a span {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

.dashboard-page .qp-template-category-intro {
  align-items: flex-end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 2px 17px;
}

.dashboard-page .qp-template-category-intro h2 {
  color: var(--qp-ink);
  font-family: "Newsreader", serif;
  font-size: 25px;
  font-weight: 600;
  margin: 3px 0;
}

.dashboard-page .qp-template-category-intro p {
  color: var(--qp-muted);
  margin: 0;
}

.dashboard-page .qp-template-category-intro > strong {
  color: #667974;
  font-size: 13px;
  padding-bottom: 3px;
  white-space: nowrap;
}

.dashboard-page .qp-template-card-row {
  display: flex;
  flex-wrap: wrap;
}

.dashboard-page .qp-template-card {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.dashboard-page .qp-template-thumbnail {
  background: #f3f3ed;
  border: 1px solid var(--qp-line);
  border-radius: 12px 12px 0 0;
  display: block;
  overflow: hidden;
}

.dashboard-page .qp-template-thumbnail img {
  aspect-ratio: 8 / 5;
  display: block;
  object-fit: cover;
  transition: transform .25s ease;
  width: 100%;
}

.dashboard-page .template-item:hover .qp-template-thumbnail img {
  transform: scale(1.015);
}

.dashboard-page .qp-template-card-body {
  background: #fff;
  border: 1px solid var(--qp-line);
  border-radius: 0 0 12px 12px;
  border-top: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 17px 18px 16px;
}

.dashboard-page .qp-template-card-body h3 {
  font-size: 18px;
  margin: 0 0 7px;
}

.dashboard-page .qp-template-card-body h3 a {
  color: var(--qp-ink);
}

.dashboard-page .qp-template-card-body > p {
  color: var(--qp-muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.dashboard-page .qp-template-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: auto 0 0;
  padding-top: 15px;
}

.dashboard-page .qp-template-card-actions .btn-danger {
  margin-left: auto;
}

.dashboard-page .qp-visual-editor-header {
  align-items: center;
  background: rgba(247, 243, 234, .97);
  border-bottom: 1px solid var(--qp-line);
  box-shadow: 0 5px 18px rgba(16, 44, 42, .045);
  margin: -28px -38px 10px;
  padding: 7px 38px 8px;
  top: 68px;
}

.dashboard-page .qp-visual-editor-heading {
  min-width: 0;
}

.dashboard-page .qp-visual-editor-heading .qp-back-link {
  display: inline-flex;
  font-size: 13px;
  margin: 0;
}

.dashboard-page .qp-visual-editor-heading h1 {
  color: var(--qp-ink);
  font-family: "Newsreader", serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.06;
  margin: 3px 0 0;
}

.dashboard-page .qp-visual-editor-heading p {
  display: none;
}

.dashboard-page .qp-editor-eyebrow {
  color: var(--qp-coral-dark);
  font-size: 12px;
  letter-spacing: .13em;
  display: inline-flex;
  margin: 0 0 0 10px;
}

.dashboard-page .qp-editor-save-state {
  min-width: 84px;
  padding: 6px 10px;
}

.dashboard-page .qp-editor-history .btn {
  height: 34px;
  min-width: 34px;
  padding: 6px;
}

.dashboard-page .qp-editor-command-bar > .btn-primary {
  padding: 8px 13px;
}

.dashboard-page .qp-visual-editor-workspace {
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) 380px;
}

.dashboard-page .qp-preview-toolbar {
  border-color: var(--qp-line);
  border-radius: 12px 12px 0 0;
  padding: 10px 13px;
}

.dashboard-page .qp-preview-toolbar strong {
  color: var(--qp-ink);
  font-size: 13px;
}

.dashboard-page .qp-preview-toolbar .btn.active {
  background: var(--qp-ink);
  border-color: var(--qp-ink);
  color: #fff !important;
}

.dashboard-page .qp-preview-toolbar .btn.active .fa {
  color: #fff !important;
}

.dashboard-page .qp-editor-canvas-tip {
  background: #fff8ea;
  border-color: #eadfc8;
  color: #705c37;
  padding: 8px 13px;
}

.dashboard-page .qp-visual-editor .qp-template-builder-preview {
  border: 1px solid var(--qp-line);
  border-top: 0;
  height: calc(100dvh - 264px);
  min-height: 520px;
}

.dashboard-page .qp-editor-inspector {
  background: #f8faf8;
  border-color: var(--qp-line);
  border-radius: 13px;
  box-shadow: 0 8px 26px rgba(16, 44, 42, .06);
  height: calc(100dvh - 176px);
  min-height: 650px;
  top: 132px;
}

.dashboard-page .qp-editor-selection-card {
  border-color: #cbdad5;
  border-radius: 9px;
}

.dashboard-page .qp-editor-selection-card.has-selection {
  background: #fff5f2;
  border-color: #ed9e8f;
}

.dashboard-page .qp-editor-selection-card strong,
.dashboard-page .qp-editor-field-group-toggle {
  color: var(--qp-ink);
}

.dashboard-page .qp-editor-field-group {
  border-color: var(--qp-line);
  border-radius: 9px;
}

.dashboard-page .qp-editor-field-group-toggle span i {
  color: var(--qp-coral-dark);
}

.dashboard-page .qp-editor-field.is-selected {
  background: #fff2ee;
  box-shadow: inset 3px 0 0 var(--qp-coral);
}

.dashboard-page .qp-editor-inspector-actions {
  background: rgba(248, 250, 248, .97);
  border-color: var(--qp-line);
}

.dashboard-page .qp-editor-mobile-view-switch {
  display: none;
}

.qp-guest-editor-page {
  background: #f7f3ea;
  min-height: 100vh;
  padding-top: 0 !important;
}

.qp-guest-editor-nav {
  align-items: center;
  background: rgba(255, 253, 249, .97);
  border-bottom: 1px solid var(--qp-line);
  display: flex;
  height: 58px;
  justify-content: space-between;
  padding: 0 30px;
  position: relative;
  z-index: 50;
}

.qp-guest-editor-nav img {
  display: block;
  height: auto;
  width: 152px;
}

.qp-guest-editor-nav > div {
  align-items: center;
  color: var(--qp-muted);
  display: flex;
  font-size: 13px;
  gap: 9px;
}

.qp-guest-editor-nav > div a {
  color: var(--qp-coral-dark);
  font-weight: 800;
}

.dashboard-page #page-wrapper.qp-guest-editor-main {
  min-height: calc(100vh - 58px);
  padding-top: 28px;
}

.qp-guest-editor-page .qp-visual-editor-header {
  top: 0;
}

.qp-editor-upload-locked {
  background: #fff8ea;
  border: 1px solid #eadfc8;
  border-radius: 8px;
  color: #705c37;
  font-size: 13px;
  line-height: 1.45;
  padding: 10px;
}

.qp-editor-upload-locked i {
  margin-right: 5px;
}

.dashboard-page .qp-publish-layout {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) 365px;
}

.dashboard-page .qp-page-settings-shell {
  overflow: visible;
}

.dashboard-page .qp-page-settings-shell .qp-app-card-header {
  border-radius: 14px 14px 0 0;
}

.dashboard-page .qp-page-settings-body {
  padding: 18px;
}

.dashboard-page .qp-page-settings-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-page .qp-page-settings-grid.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.dashboard-page .qp-settings-section {
  background: #fbfcfa;
  border: 1px solid var(--qp-line);
  border-radius: 12px;
  min-width: 0;
  overflow: hidden;
}

.dashboard-page .qp-settings-section-header {
  align-items: center;
  background: #f4f7f4;
  border-bottom: 1px solid var(--qp-line);
  display: flex;
  gap: 10px;
  padding: 13px 14px;
}

.dashboard-page .qp-settings-section-header h3 {
  font-size: 14px;
  font-weight: 800;
  margin: 0;
}

.dashboard-page .qp-settings-section-header p {
  color: var(--qp-muted);
  font-size: 13px;
  line-height: 1.4;
  margin: 2px 0 0;
}

.dashboard-page .qp-settings-section-icon {
  align-items: center;
  background: var(--qp-ink);
  border-radius: 8px;
  color: #fff;
  display: flex;
  flex: 0 0 32px;
  height: 32px;
  justify-content: center;
}

.dashboard-page .qp-settings-section-body {
  padding: 16px;
}

.dashboard-page .qp-settings-section-body .form-group:last-child {
  margin-bottom: 0;
}

.dashboard-page .qp-settings-section-body .form-text {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  margin-top: 6px;
}

.dashboard-page .qp-settings-section-body .help-block {
  font-size: 13px;
  line-height: 1.45;
}

.dashboard-page .qp-settings-section-body .input-group .form-control {
  border-radius: 0 9px 9px 0;
}

.dashboard-page .qp-settings-section-body .input-group-addon {
  border-radius: 9px 0 0 9px;
  max-width: 205px;
}

.dashboard-page .qp-choice-list {
  grid-template-columns: 1fr;
}

.dashboard-page .qp-choice-card {
  align-items: center;
  border-radius: 9px;
  min-height: 59px;
  padding: 10px 11px;
}

.dashboard-page .qp-choice-card strong {
  color: var(--qp-ink);
  font-size: 13px;
}

.dashboard-page .qp-choice-card small {
  font-size: 13px;
}

.dashboard-page .qp-publish-sidebar {
  position: sticky;
  top: 88px;
}

.dashboard-page .qp-publishing-checklist {
  margin-bottom: 12px;
}

.dashboard-page .qp-publishing-checklist .panel-heading {
  align-items: flex-start;
  background: #fbfcfa;
  border-color: var(--qp-line);
  border-radius: 14px 14px 0 0;
  gap: 12px;
}

.dashboard-page .qp-check-results {
  grid-template-columns: 1fr;
}

.dashboard-page .qp-check-result {
  min-height: 0;
}

.dashboard-page .qp-publish-note {
  align-items: flex-start;
  background: #eef6f2;
  border: 1px solid #cfe1da;
  border-radius: 12px;
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  padding: 13px;
}

.dashboard-page .qp-publish-note > span {
  align-items: center;
  background: #d9ebe4;
  border-radius: 50%;
  color: #35695d;
  display: flex;
  flex: 0 0 29px;
  height: 29px;
  justify-content: center;
}

.dashboard-page .qp-publish-note strong {
  display: block;
  font-size: 13px;
}

.dashboard-page .qp-publish-note p {
  color: #607770;
  font-size: 13px;
  line-height: 1.45;
  margin: 3px 0 0;
}

.dashboard-page .qp-publish-button {
  font-size: 13px;
  padding: 12px 16px;
  width: 100%;
}

.dashboard-page .qp-page-creation-actions {
  align-items: center;
  background: #f4f7f4;
  border: 1px solid var(--qp-line);
  border-radius: 11px;
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding: 13px 14px;
}

.dashboard-page .qp-page-creation-actions strong,
.dashboard-page .qp-page-creation-actions span {
  display: block;
}

.dashboard-page .qp-page-creation-actions span {
  color: var(--qp-muted);
  font-size: 13px;
  margin-top: 2px;
}

@media (max-width: 1180px) {
  .dashboard-page .qp-publish-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .dashboard-page .qp-page-settings-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-page .qp-visual-editor-workspace {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}

@media (max-width: 850px) {
  .qp-guest-editor-nav {
    height: 54px;
    padding: 0 14px;
  }

  .qp-guest-editor-nav img {
    width: 132px;
  }

  .qp-guest-editor-nav > div span {
    display: none;
  }

  .dashboard-page #page-wrapper.qp-guest-editor-main {
    min-height: calc(100vh - 54px);
  }

  .dashboard-page .qp-visual-editor-header {
    display: block;
    margin: -21px -14px 8px;
    padding: 8px 12px;
    position: static;
  }

  .dashboard-page .qp-visual-editor-heading {
    align-items: center;
    display: flex;
    gap: 8px;
    min-width: 0;
  }

  .dashboard-page .qp-editor-eyebrow {
    display: none;
  }

  .dashboard-page .qp-visual-editor-heading h1 {
    flex: 1;
    font-size: 18px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dashboard-page .qp-editor-command-bar {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    justify-content: flex-end;
    margin-top: 6px;
  }

  .dashboard-page .qp-editor-save-state {
    height: 34px;
    justify-content: center;
    min-width: 0;
    padding: 6px;
    width: 34px;
  }

  .dashboard-page .qp-editor-save-state span {
    display: none;
  }

  .dashboard-page .qp-editor-command-bar > .btn-primary {
    min-height: 34px;
    padding: 6px 10px;
    white-space: nowrap;
  }

  .dashboard-page .qp-creation-progress.is-compact {
    display: none;
  }

  .dashboard-page .qp-editor-mobile-view-switch {
    background: #fff;
    border: 1px solid var(--qp-line);
    border-radius: 10px;
    display: grid;
    gap: 4px;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 8px;
    padding: 4px;
    position: sticky;
    top: 67px;
    z-index: 20;
  }

  .dashboard-page .qp-editor-mobile-view-switch button {
    background: transparent;
    border: 0;
    border-radius: 7px;
    color: #647773;
    font-size: 13px;
    font-weight: 800;
    padding: 9px;
  }

  .dashboard-page .qp-editor-mobile-view-switch button.is-active {
    background: var(--qp-ink);
    color: #fff;
  }

  .dashboard-page .qp-visual-editor-workspace {
    display: block;
  }

  .dashboard-page .qp-editor-canvas-tip {
    display: none;
  }

  .dashboard-page .qp-visual-editor-workspace.is-preview-pane .qp-editor-inspector,
  .dashboard-page .qp-visual-editor-workspace.is-fields-pane .qp-editor-canvas-column {
    display: none;
  }

  .dashboard-page .qp-editor-inspector {
    display: block;
    height: auto;
    min-height: 0;
    position: static;
  }

  .dashboard-page .qp-visual-editor .qp-template-builder-preview {
    height: calc(100dvh - 260px);
    min-height: 480px;
  }
}

@media (max-width: 767px) {
  .dashboard-page .qp-creation-progress {
    gap: 6px;
    margin-bottom: 20px;
  }

  .dashboard-page .qp-creation-step {
    display: block;
    min-height: 66px;
    padding: 8px 6px;
    text-align: center;
  }

  .dashboard-page .qp-creation-step-number {
    height: 25px;
    margin: 0 auto 5px;
    width: 25px;
  }

  .dashboard-page .qp-creation-step-copy strong {
    display: none;
  }

  .dashboard-page .qp-creation-step-copy small {
    display: block;
  }

  .dashboard-page .qp-creation-progress.is-compact .qp-creation-step {
    min-height: 55px;
  }

  .dashboard-page .qp-template-card-actions,
  .dashboard-page .qp-template-card-actions .btn,
  .dashboard-page .qp-template-card-actions .btn-danger {
    margin-left: 0;
    width: 100%;
  }

  .dashboard-page .qp-publish-layout {
    display: flex;
    flex-direction: column;
  }

  .dashboard-page .qp-page-settings-shell,
  .dashboard-page .qp-publish-sidebar {
    position: static;
    width: 100%;
  }

  .dashboard-page .qp-page-settings-body {
    padding: 12px;
  }

  .dashboard-page .qp-page-settings-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-page .qp-settings-section-body {
    padding: 13px;
  }

  .dashboard-page .qp-settings-section-body .input-group {
    display: flex;
    flex-direction: column;
  }

  .dashboard-page .qp-settings-section-body .input-group-addon {
    border: 1px solid #cbd8d4;
    border-bottom: 0;
    border-radius: 9px 9px 0 0;
    display: block;
    max-width: none;
    overflow: hidden;
    padding: 9px 11px;
    text-align: left;
    text-overflow: ellipsis;
    width: 100%;
  }

  .dashboard-page .qp-settings-section-body .input-group .form-control {
    border-radius: 0 0 9px 9px;
    width: 100%;
  }

  .dashboard-page .qp-page-management-actions,
  .dashboard-page .qp-page-management-secondary,
  .dashboard-page .qp-page-management-primary,
  .dashboard-page .qp-page-creation-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-page .qp-page-management-actions .btn,
  .dashboard-page .qp-page-creation-actions .btn {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .dashboard-page .qp-editor-command-bar {
    display: flex;
  }

  .dashboard-page .qp-editor-history {
    order: initial;
  }

  .dashboard-page .qp-editor-command-bar > .btn-primary {
    width: auto;
  }

  .dashboard-page .qp-preview-toolbar {
    align-items: center;
    flex-direction: row;
    gap: 6px;
  }

  .dashboard-page .qp-preview-toolbar .qp-preview-size-label {
    display: none;
  }

  .dashboard-page .qp-preview-toolbar .btn {
    width: auto;
  }
}

/* Upgrade */
.dashboard-page .qp-upgrade-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 0 72px;
}

.dashboard-page .qp-upgrade-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 48px;
  align-items: center;
  overflow: hidden;
  padding: 48px 52px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 8%, rgba(242, 106, 82, .28), transparent 28%),
    linear-gradient(135deg, #102c2a 0%, #1b4743 100%);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 24px;
  box-shadow: 0 24px 55px rgba(16, 44, 42, .18);
}

.dashboard-page .qp-upgrade-hero::after {
  position: absolute;
  right: -72px;
  bottom: -118px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  content: "";
}

.dashboard-page .qp-upgrade-hero-copy,
.dashboard-page .qp-upgrade-promises {
  position: relative;
  z-index: 1;
}

.dashboard-page .qp-upgrade-eyebrow,
.dashboard-page .qp-upgrade-section-heading > div > span,
.dashboard-page .qp-upgrade-plan-name > span,
.dashboard-page .qp-upgrade-free-note > div > span {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.dashboard-page .qp-upgrade-eyebrow {
  margin-bottom: 13px;
  color: #ffb7aa;
}

.dashboard-page .qp-upgrade-hero h1 {
  margin: 0;
  color: #fff;
  font-family: "Newsreader", serif;
  font-size: clamp(42px, 4.2vw, 59px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .98;
}

.dashboard-page .qp-upgrade-hero-copy p {
  max-width: 650px;
  margin: 19px 0 0;
  color: #c9d8d5;
  font-size: 15px;
  line-height: 1.65;
}

.dashboard-page .qp-upgrade-promises {
  padding: 9px 22px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

.dashboard-page .qp-upgrade-promises > div {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: center;
  padding: 15px 0;
}

.dashboard-page .qp-upgrade-promises > div + div {
  border-top: 1px solid rgba(255, 255, 255, .11);
}

.dashboard-page .qp-upgrade-promises i {
  display: flex;
  width: 31px;
  height: 31px;
  align-items: center;
  justify-content: center;
  color: #ffc5ba;
  background: rgba(242, 106, 82, .14);
  border-radius: 50%;
  font-size: 13px;
}

.dashboard-page .qp-upgrade-promises strong,
.dashboard-page .qp-upgrade-promises small {
  display: block;
}

.dashboard-page .qp-upgrade-promises strong {
  color: #fff;
  font-size: 13px;
}

.dashboard-page .qp-upgrade-promises small {
  margin-top: 2px;
  color: #aebfbc;
  font-size: 13px;
}

.dashboard-page .qp-upgrade-alert,
.dashboard-page .qp-upgrade-account-state {
  margin: 18px 0 0;
  border-radius: 12px;
}

.dashboard-page .qp-upgrade-account-state {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 13px;
  align-items: center;
  padding: 16px 18px;
  background: #eff7f3;
  border: 1px solid #cfe2d9;
}

.dashboard-page .qp-upgrade-account-state > i {
  color: #2e7865;
  font-size: 24px;
  text-align: center;
}

.dashboard-page .qp-upgrade-account-state strong,
.dashboard-page .qp-upgrade-account-state span {
  display: block;
}

.dashboard-page .qp-upgrade-account-state strong {
  font-size: 13px;
}

.dashboard-page .qp-upgrade-account-state span {
  margin-top: 3px;
  color: #5d756f;
  font-size: 13px;
}

.dashboard-page .qp-upgrade-section-heading {
  display: flex;
  gap: 40px;
  align-items: end;
  justify-content: space-between;
  padding: 54px 4px 22px;
}

.dashboard-page .qp-upgrade-section-heading > div > span {
  margin-bottom: 7px;
  color: var(--qp-coral-dark);
}

.dashboard-page .qp-upgrade-section-heading h2 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -.03em;
}

.dashboard-page .qp-upgrade-section-heading p {
  max-width: 390px;
  margin: 0 0 3px;
  color: var(--qp-muted);
  font-size: 13px;
  line-height: 1.55;
  text-align: right;
}

.dashboard-page .qp-upgrade-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.dashboard-page .qp-upgrade-plan {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 590px;
  flex-direction: column;
  padding: 31px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--qp-line);
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(16, 44, 42, .075);
}

.dashboard-page .qp-upgrade-plan-lifetime {
  color: #d6e1de;
  background:
    radial-gradient(circle at 100% 0, rgba(242, 106, 82, .18), transparent 31%),
    #102c2a;
  border-color: #102c2a;
  box-shadow: 0 20px 46px rgba(16, 44, 42, .2);
}

.dashboard-page .qp-upgrade-value-badge {
  position: absolute;
  top: 0;
  right: 24px;
  padding: 8px 13px 9px;
  color: #382f17;
  background: #f2cf67;
  border-radius: 0 0 9px 9px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.dashboard-page .qp-upgrade-plan > header {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 5px;
}

.dashboard-page .qp-upgrade-plan-lifetime > header {
  margin-top: 16px;
}

.dashboard-page .qp-upgrade-plan-name > span {
  margin-bottom: 7px;
  color: var(--qp-coral-dark);
}

.dashboard-page .qp-upgrade-plan-lifetime .qp-upgrade-plan-name > span {
  color: #f3a99c;
}

.dashboard-page .qp-upgrade-plan-name h2 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -.025em;
  white-space: nowrap;
}

.dashboard-page .qp-upgrade-plan-lifetime h2,
.dashboard-page .qp-upgrade-plan-lifetime .qp-upgrade-price strong,
.dashboard-page .qp-upgrade-plan-lifetime .qp-upgrade-benefits strong {
  color: #fff;
}

.dashboard-page .qp-upgrade-price {
  display: flex;
  flex-shrink: 0;
  gap: 9px;
  align-items: flex-end;
}

.dashboard-page .qp-upgrade-price strong {
  font-family: "Newsreader", serif;
  font-size: 51px;
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .85;
}

.dashboard-page .qp-upgrade-price span {
  color: #7d8c89;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.dashboard-page .qp-upgrade-plan-lifetime .qp-upgrade-price span {
  color: #9eb1ad;
}

.dashboard-page .qp-upgrade-plan-summary {
  min-height: 42px;
  margin: 22px 0 0;
  color: #71817e;
  font-size: 13px;
  line-height: 1.55;
}

.dashboard-page .qp-upgrade-plan-lifetime .qp-upgrade-plan-summary {
  color: #a9bab6;
}

.dashboard-page .qp-upgrade-benefits {
  display: grid;
  gap: 0;
  margin: 23px 0 26px;
  padding: 8px 0 0;
  border-top: 1px solid var(--qp-line);
  list-style: none;
}

.dashboard-page .qp-upgrade-plan-lifetime .qp-upgrade-benefits {
  border-color: rgba(255, 255, 255, .11);
}

.dashboard-page .qp-upgrade-benefits > li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 11px;
  align-items: center;
  padding: 12px 0;
}

.dashboard-page .qp-upgrade-benefits > li + li {
  border-top: 1px solid rgba(16, 44, 42, .07);
}

.dashboard-page .qp-upgrade-plan-lifetime .qp-upgrade-benefits > li + li {
  border-color: rgba(255, 255, 255, .07);
}

.dashboard-page .qp-upgrade-benefits i {
  display: flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  color: #26705e;
  background: #e6f1ec;
  border-radius: 50%;
  font-size: 13px;
}

.dashboard-page .qp-upgrade-plan-lifetime .qp-upgrade-benefits i {
  color: #ffb5a8;
  background: rgba(242, 106, 82, .13);
}

.dashboard-page .qp-upgrade-benefits strong,
.dashboard-page .qp-upgrade-benefits small {
  display: block;
}

.dashboard-page .qp-upgrade-benefits strong {
  font-size: 13px;
}

.dashboard-page .qp-upgrade-benefits small {
  margin-top: 3px;
  color: #82908d;
  font-size: 13px;
  line-height: 1.4;
}

.dashboard-page .qp-upgrade-plan-lifetime .qp-upgrade-benefits small {
  color: #91a7a2;
}

.dashboard-page .qp-upgrade-plan-lifetime > .qp-context-guide-link {
  align-self: flex-start;
  margin: -6px 0 18px;
  color: #cfddda;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .12);
}

.dashboard-page .qp-upgrade-plan-lifetime > .qp-context-guide-link:hover,
.dashboard-page .qp-upgrade-plan-lifetime > .qp-context-guide-link:focus {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .24);
}

.dashboard-page .qp-upgrade-plan > footer {
  margin-top: auto;
}

.dashboard-page .qp-upgrade-plan > footer form {
  margin: 0;
}

.dashboard-page .qp-upgrade-plan-button,
.dashboard-page .qp-upgrade-current-plan {
  display: flex;
  width: 100%;
  min-height: 52px;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 13px 17px;
  border: 0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.dashboard-page .qp-upgrade-plan-button:hover,
.dashboard-page .qp-upgrade-plan-button:focus {
  text-decoration: none;
  transform: translateY(-2px);
}

.dashboard-page .qp-upgrade-plan-button-light {
  color: #fff;
  background: #173f3b;
  box-shadow: 0 9px 22px rgba(16, 44, 42, .16);
}

.dashboard-page .qp-upgrade-plan-button-light:hover,
.dashboard-page .qp-upgrade-plan-button-light:focus {
  color: #fff;
  background: #22534e;
  box-shadow: 0 12px 26px rgba(16, 44, 42, .2);
}

.dashboard-page .qp-upgrade-plan-button-coral {
  color: #fff;
  background: var(--qp-coral);
  box-shadow: 0 10px 24px rgba(242, 106, 82, .22);
}

.dashboard-page .qp-upgrade-plan-button-coral:hover,
.dashboard-page .qp-upgrade-plan-button-coral:focus {
  color: #fff;
  background: #ff7a62;
  box-shadow: 0 13px 28px rgba(242, 106, 82, .28);
}

.dashboard-page .qp-upgrade-current-plan {
  justify-content: center;
  color: #2e7865;
  background: #eff7f3;
  border: 1px solid #cfe2d9;
}

.dashboard-page .qp-upgrade-plan > footer > small {
  display: block;
  margin-top: 12px;
  color: #879490;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.dashboard-page .qp-upgrade-plan-lifetime > footer > small {
  color: #91a39f;
}

.dashboard-page .qp-upgrade-reassurance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
  padding: 21px 8px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--qp-line);
  border-radius: 16px;
}

.dashboard-page .qp-upgrade-reassurance > div {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 11px;
  align-items: center;
  padding: 0 19px;
}

.dashboard-page .qp-upgrade-reassurance > div + div {
  border-left: 1px solid var(--qp-line);
}

.dashboard-page .qp-upgrade-reassurance i {
  display: flex;
  width: 31px;
  height: 31px;
  align-items: center;
  justify-content: center;
  color: var(--qp-coral-dark);
  background: #fff0ec;
  border-radius: 9px;
  font-size: 13px;
}

.dashboard-page .qp-upgrade-reassurance strong,
.dashboard-page .qp-upgrade-reassurance small {
  display: block;
}

.dashboard-page .qp-upgrade-reassurance strong {
  font-size: 13px;
}

.dashboard-page .qp-upgrade-reassurance small {
  margin-top: 3px;
  color: #788783;
  font-size: 12px;
  line-height: 1.4;
}

.dashboard-page .qp-upgrade-free-note {
  display: grid;
  grid-template-columns: auto 1fr minmax(230px, .7fr);
  gap: 24px;
  align-items: center;
  margin-top: 16px;
  padding: 18px 21px;
  color: #75827f;
  background: transparent;
  border: 1px dashed #cdd8d4;
  border-radius: 13px;
}

.dashboard-page .qp-upgrade-free-note > div > span {
  color: #899693;
  font-size: 12px;
}

.dashboard-page .qp-upgrade-free-note > div > strong {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  white-space: nowrap;
}

.dashboard-page .qp-upgrade-free-note ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dashboard-page .qp-upgrade-free-note li {
  padding: 5px 8px;
  color: #5e716d;
  background: #e8eeeb;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.dashboard-page .qp-upgrade-free-note p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}

@media (max-width: 1050px) {
  .dashboard-page .qp-upgrade-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .dashboard-page .qp-upgrade-promises {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dashboard-page .qp-upgrade-promises > div {
    padding: 8px 13px;
  }

  .dashboard-page .qp-upgrade-promises > div + div {
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, .11);
  }

  .dashboard-page .qp-upgrade-plan-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-page .qp-upgrade-plan {
    min-height: 0;
  }

  .dashboard-page .qp-upgrade-free-note {
    grid-template-columns: auto 1fr;
  }

  .dashboard-page .qp-upgrade-free-note p {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 767px) {
  .dashboard-page .qp-upgrade-page {
    padding: 10px 0 50px;
  }

  .dashboard-page .qp-upgrade-hero {
    gap: 24px;
    padding: 31px 23px 25px;
    border-radius: 18px;
  }

  .dashboard-page .qp-upgrade-hero h1 {
    font-size: 39px;
  }

  .dashboard-page .qp-upgrade-promises {
    display: block;
    padding: 5px 17px;
  }

  .dashboard-page .qp-upgrade-promises > div {
    padding: 12px 0;
  }

  .dashboard-page .qp-upgrade-promises > div + div {
    border-top: 1px solid rgba(255, 255, 255, .11);
    border-left: 0;
  }

  .dashboard-page .qp-upgrade-section-heading {
    display: block;
    padding: 40px 2px 18px;
  }

  .dashboard-page .qp-upgrade-section-heading h2 {
    font-size: 29px;
  }

  .dashboard-page .qp-upgrade-section-heading p {
    margin-top: 9px;
    text-align: left;
  }

  .dashboard-page .qp-upgrade-plan {
    padding: 24px 21px;
    border-radius: 17px;
  }

  .dashboard-page .qp-upgrade-plan > header {
    display: block;
  }

  .dashboard-page .qp-upgrade-price {
    margin-top: 18px;
  }

  .dashboard-page .qp-upgrade-price strong {
    font-size: 48px;
  }

  .dashboard-page .qp-upgrade-plan-summary {
    min-height: 0;
  }

  .dashboard-page .qp-upgrade-reassurance {
    grid-template-columns: 1fr;
    padding: 6px 17px;
  }

  .dashboard-page .qp-upgrade-reassurance > div {
    padding: 14px 0;
  }

  .dashboard-page .qp-upgrade-reassurance > div + div {
    border-top: 1px solid var(--qp-line);
    border-left: 0;
  }

  .dashboard-page .qp-upgrade-free-note {
    display: block;
  }

  .dashboard-page .qp-upgrade-free-note ul {
    margin: 14px 0;
  }
}

@media (max-width: 380px) {
  .dashboard-page .qp-upgrade-plan-name h2 {
    white-space: normal;
  }

  .dashboard-page .qp-upgrade-value-badge {
    right: 16px;
    font-size: 12px;
  }
}

/* Billing and access */
.dashboard-page .qp-billing-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 0 72px;
}

.dashboard-page .qp-billing-status {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(290px, .7fr);
  gap: 54px;
  align-items: center;
  overflow: hidden;
  padding: 45px 50px;
  color: #fff;
  background:
    radial-gradient(circle at 96% 4%, rgba(242, 106, 82, .25), transparent 30%),
    linear-gradient(135deg, #102c2a 0%, #1b4743 100%);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 24px;
  box-shadow: 0 24px 55px rgba(16, 44, 42, .18);
}

.dashboard-page .qp-billing-status::after {
  position: absolute;
  right: -92px;
  bottom: -154px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  content: "";
}

.dashboard-page .qp-billing-status.is-expired {
  background:
    radial-gradient(circle at 96% 4%, rgba(242, 106, 82, .31), transparent 33%),
    linear-gradient(135deg, #243b38 0%, #172b29 100%);
}

.dashboard-page .qp-billing-status-copy,
.dashboard-page .qp-billing-term-card {
  position: relative;
  z-index: 1;
}

.dashboard-page .qp-billing-eyebrow,
.dashboard-page .qp-billing-card-header span,
.dashboard-page .qp-billing-section-header > div > span {
  display: block;
  color: #ffb7aa;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.dashboard-page .qp-billing-status-badge {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-top: 15px;
  padding: 6px 10px;
  color: #d8eee7;
  background: rgba(87, 174, 147, .14);
  border: 1px solid rgba(146, 215, 194, .18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.dashboard-page .qp-billing-status.is-expired .qp-billing-status-badge {
  color: #ffd0c8;
  background: rgba(242, 106, 82, .14);
  border-color: rgba(255, 183, 170, .18);
}

.dashboard-page .qp-billing-status h1 {
  margin: 15px 0 0;
  color: #fff;
  font-family: "Newsreader", serif;
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1;
}

.dashboard-page .qp-billing-status-copy > p {
  max-width: 670px;
  margin: 17px 0 0;
  color: #c6d7d3;
  font-size: 14px;
  line-height: 1.65;
}

.dashboard-page .qp-billing-primary-action {
  display: inline-flex;
  min-height: 44px;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding: 11px 15px 11px 17px;
  color: #fff;
  background: var(--qp-coral);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(242, 106, 82, .2);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.dashboard-page .qp-billing-primary-action:hover,
.dashboard-page .qp-billing-primary-action:focus {
  color: #fff;
  background: #ff7b63;
  box-shadow: 0 13px 28px rgba(242, 106, 82, .28);
  text-decoration: none;
  transform: translateY(-2px);
}

.dashboard-page .qp-billing-term-card {
  padding: 25px 27px;
  background: rgba(255, 255, 255, .085);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 17px;
  backdrop-filter: blur(8px);
}

.dashboard-page .qp-billing-term-card > span,
.dashboard-page .qp-billing-term-card > strong,
.dashboard-page .qp-billing-term-card > small {
  display: block;
}

.dashboard-page .qp-billing-term-card > span {
  color: #9fb5b0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.dashboard-page .qp-billing-term-card > strong {
  margin-top: 10px;
  color: #fff;
  font-family: "Newsreader", serif;
  font-size: 39px;
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1;
}

.dashboard-page .qp-billing-term-card > small {
  margin-top: 12px;
  padding-top: 12px;
  color: #aebfbb;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
  line-height: 1.45;
}

.dashboard-page .qp-billing-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
  margin-top: 24px;
}

.dashboard-page .qp-billing-card,
.dashboard-page .qp-billing-history {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--qp-line);
  border-radius: 19px;
  box-shadow: 0 10px 30px rgba(16, 44, 42, .065);
}

.dashboard-page .qp-billing-card {
  padding: 28px 29px;
}

.dashboard-page .qp-billing-card-header {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--qp-line);
}

.dashboard-page .qp-billing-card-header span,
.dashboard-page .qp-billing-section-header > div > span {
  margin-bottom: 6px;
  color: var(--qp-coral-dark);
}

.dashboard-page .qp-billing-card-header h2,
.dashboard-page .qp-billing-section-header h2 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -.025em;
}

.dashboard-page .qp-billing-card-header > i {
  display: flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  color: var(--qp-coral-dark);
  background: #fff0ec;
  border-radius: 10px;
  font-size: 14px;
}

.dashboard-page .qp-billing-detail-list {
  margin: 8px 0 0;
}

.dashboard-page .qp-billing-detail-list > div {
  display: grid;
  grid-template-columns: minmax(110px, .6fr) minmax(0, 1.4fr);
  gap: 20px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(16, 44, 42, .075);
}

.dashboard-page .qp-billing-detail-list > div:last-child {
  border-bottom: 0;
}

.dashboard-page .qp-billing-detail-list dt {
  color: #768682;
  font-size: 13px;
  font-weight: 700;
}

.dashboard-page .qp-billing-detail-list dd {
  min-width: 0;
  margin: 0;
  color: var(--qp-ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-align: right;
}

.dashboard-page .qp-billing-email {
  overflow-wrap: anywhere;
}

.dashboard-page .qp-billing-inline-status,
.dashboard-page .qp-billing-paid-badge {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.dashboard-page .qp-billing-inline-status.is-active,
.dashboard-page .qp-billing-paid-badge {
  color: #246551;
  background: #e7f2ed;
}

.dashboard-page .qp-billing-inline-status.is-expired {
  color: #a64939;
  background: #fff0ec;
}

.dashboard-page .qp-billing-benefits {
  display: grid;
  gap: 0;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.dashboard-page .qp-billing-benefits li {
  display: grid;
  grid-template-columns: 29px 1fr;
  gap: 11px;
  align-items: center;
  margin: 0;
  padding: 12px 0;
}

.dashboard-page .qp-billing-benefits li + li {
  border-top: 1px solid rgba(16, 44, 42, .075);
}

.dashboard-page .qp-billing-benefits li > i {
  position: static;
  display: flex;
  width: 27px;
  height: 27px;
  align-items: center;
  justify-content: center;
  color: #26705e;
  background: #e6f1ec;
  border-radius: 50%;
  font-size: 12px;
}

.dashboard-page .qp-billing-benefits strong,
.dashboard-page .qp-billing-benefits small {
  display: block;
}

.dashboard-page .qp-billing-benefits strong {
  font-size: 13px;
}

.dashboard-page .qp-billing-benefits small {
  margin-top: 3px;
  color: #81908c;
  font-size: 12px;
  line-height: 1.4;
}

.dashboard-page .qp-billing-paused-note {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 13px;
  padding: 10px 12px;
  color: #965141;
  background: #fff5f2;
  border: 1px solid #f0d3cc;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
}

.dashboard-page .qp-billing-history {
  margin-top: 22px;
}

.dashboard-page .qp-billing-section-header {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
  padding: 25px 29px 20px;
}

.dashboard-page .qp-billing-section-header p {
  margin: 0 0 4px;
  padding: 6px 9px;
  color: #6f817c;
  background: #edf2ef;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-page .qp-billing-table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--qp-line);
}

.dashboard-page .qp-billing-table {
  width: 100%;
  border-collapse: collapse;
}

.dashboard-page .qp-billing-table th,
.dashboard-page .qp-billing-table td {
  padding: 15px 29px;
  text-align: left;
}

.dashboard-page .qp-billing-table th {
  color: #7c8b87;
  background: #f8faf8;
  border-bottom: 1px solid var(--qp-line);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.dashboard-page .qp-billing-table td {
  color: #60716d;
  border-bottom: 1px solid rgba(16, 44, 42, .075);
  font-size: 13px;
}

.dashboard-page .qp-billing-table tbody tr:last-child td {
  border-bottom: 0;
}

.dashboard-page .qp-billing-table td:first-child {
  display: flex;
  gap: 10px;
  align-items: center;
}

.dashboard-page .qp-billing-purchase-icon {
  display: flex;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  align-items: center;
  justify-content: center;
  color: var(--qp-coral-dark);
  background: #fff0ec;
  border-radius: 9px;
}

.dashboard-page .qp-billing-help {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--qp-line);
  border-radius: 14px;
}

.dashboard-page .qp-billing-help-icon {
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--qp-coral-dark);
  background: #fff0ec;
  border-radius: 10px;
}

.dashboard-page .qp-billing-help strong,
.dashboard-page .qp-billing-help span {
  display: block;
}

.dashboard-page .qp-billing-help strong {
  font-size: 13px;
}

.dashboard-page .qp-billing-help span {
  margin-top: 3px;
  color: #7b8986;
  font-size: 12px;
}

.dashboard-page .qp-billing-help a {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--qp-coral-dark);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.dashboard-page .qp-billing-help a:hover,
.dashboard-page .qp-billing-help a:focus {
  color: #b94433;
  text-decoration: none;
}

@media (max-width: 1050px) {
  .dashboard-page .qp-billing-status {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .dashboard-page .qp-billing-term-card {
    max-width: 430px;
  }

  .dashboard-page .qp-billing-overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .dashboard-page .qp-billing-page {
    padding: 10px 0 50px;
  }

  .dashboard-page .qp-billing-status {
    gap: 24px;
    padding: 31px 23px 25px;
    border-radius: 18px;
  }

  .dashboard-page .qp-billing-status h1 {
    font-size: 39px;
  }

  .dashboard-page .qp-billing-primary-action {
    width: 100%;
  }

  .dashboard-page .qp-billing-term-card {
    max-width: none;
    padding: 21px;
  }

  .dashboard-page .qp-billing-term-card > strong {
    font-size: 34px;
  }

  .dashboard-page .qp-billing-card {
    padding: 23px 20px;
    border-radius: 17px;
  }

  .dashboard-page .qp-billing-card-header h2,
  .dashboard-page .qp-billing-section-header h2 {
    font-size: 25px;
  }

  .dashboard-page .qp-billing-detail-list > div {
    grid-template-columns: minmax(90px, .6fr) minmax(0, 1.4fr);
    gap: 12px;
  }

  .dashboard-page .qp-billing-section-header {
    padding: 22px 20px 17px;
  }

  .dashboard-page .qp-billing-table-wrap {
    padding: 0 20px 9px;
    border-top: 1px solid var(--qp-line);
  }

  .dashboard-page .qp-billing-table,
  .dashboard-page .qp-billing-table tbody,
  .dashboard-page .qp-billing-table tr,
  .dashboard-page .qp-billing-table td {
    display: block;
    width: 100%;
  }

  .dashboard-page .qp-billing-table thead {
    display: none;
  }

  .dashboard-page .qp-billing-table tr {
    padding: 9px 0;
  }

  .dashboard-page .qp-billing-table tr + tr {
    border-top: 1px solid var(--qp-line);
  }

  .dashboard-page .qp-billing-table td,
  .dashboard-page .qp-billing-table td:first-child {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 8px 0;
    border: 0;
    text-align: right;
  }

  .dashboard-page .qp-billing-table td::before {
    color: #8a9693;
    content: attr(data-label);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-align: left;
    text-transform: uppercase;
  }

  .dashboard-page .qp-billing-table td:first-child {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .dashboard-page .qp-billing-table td:first-child .qp-billing-purchase-icon {
    display: none;
  }

  .dashboard-page .qp-billing-table td:first-child strong {
    text-align: right;
  }

  .dashboard-page .qp-billing-paid-badge {
    justify-self: end;
  }

  .dashboard-page .qp-billing-help {
    grid-template-columns: 40px 1fr;
  }

  .dashboard-page .qp-billing-help a {
    grid-column: 1 / -1;
    justify-content: space-between;
    margin-top: 5px;
    padding-top: 14px;
    border-top: 1px solid var(--qp-line);
  }
}

@media (max-width: 390px) {
  .dashboard-page .qp-billing-detail-list > div {
    display: block;
  }

  .dashboard-page .qp-billing-detail-list dd {
    margin-top: 5px;
    text-align: left;
  }
}

/* Profile and account overview */
.dashboard-page .qp-profile-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 0 72px;
}

.dashboard-page .qp-profile-hero {
  position: relative;
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding: 38px 45px;
  color: #fff;
  background:
    radial-gradient(circle at 94% 5%, rgba(242, 106, 82, .24), transparent 29%),
    linear-gradient(135deg, #102c2a 0%, #1b4743 100%);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 24px;
  box-shadow: 0 24px 55px rgba(16, 44, 42, .18);
}

.dashboard-page .qp-profile-hero::after {
  position: absolute;
  right: -94px;
  bottom: -172px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  content: "";
}

.dashboard-page .qp-profile-identity,
.dashboard-page .qp-profile-hero-actions {
  position: relative;
  z-index: 1;
}

.dashboard-page .qp-profile-identity {
  display: flex;
  min-width: 0;
  gap: 20px;
  align-items: center;
}

.dashboard-page .qp-profile-avatar {
  display: flex;
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--qp-coral);
  border: 4px solid rgba(255, 255, 255, .13);
  border-radius: 21px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
  font-family: "Newsreader", serif;
  font-size: 34px;
  font-weight: 600;
}

.dashboard-page .qp-profile-eyebrow,
.dashboard-page .qp-profile-card-header span,
.dashboard-page .qp-profile-section-header > div > span {
  display: block;
  color: #ffb7aa;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.dashboard-page .qp-profile-identity h1 {
  margin: 7px 0 0;
  overflow: hidden;
  color: #fff;
  font-family: "Newsreader", serif;
  font-size: clamp(35px, 3.5vw, 49px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-page .qp-profile-identity p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 11px 0 0;
  color: #b7cac5;
  font-size: 13px;
  line-height: 1.45;
}

.dashboard-page .qp-profile-identity p i {
  width: 3px;
  height: 3px;
  background: #718e87;
  border-radius: 50%;
}

.dashboard-page .qp-profile-hero-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
  align-items: center;
}

.dashboard-page .qp-profile-plan-pill,
.dashboard-page .qp-profile-hero-actions > a {
  display: inline-flex;
  min-height: 39px;
  gap: 8px;
  align-items: center;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
}

.dashboard-page .qp-profile-plan-pill {
  color: #cde9df;
  background: rgba(87, 174, 147, .14);
  border: 1px solid rgba(146, 215, 194, .18);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.dashboard-page .qp-profile-plan-pill.is-expired {
  color: #ffd0c8;
  background: rgba(242, 106, 82, .14);
  border-color: rgba(255, 183, 170, .18);
}

.dashboard-page .qp-profile-plan-pill.is-free {
  color: #e1e7e5;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .12);
}

.dashboard-page .qp-profile-hero-actions > a {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .13);
  text-decoration: none;
}

.dashboard-page .qp-profile-hero-actions > a:hover,
.dashboard-page .qp-profile-hero-actions > a:focus {
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .22);
  text-decoration: none;
}

.dashboard-page .qp-profile-main-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
  margin-top: 24px;
}

.dashboard-page .qp-profile-card,
.dashboard-page .qp-profile-usage {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--qp-line);
  border-radius: 19px;
  box-shadow: 0 10px 30px rgba(16, 44, 42, .065);
}

.dashboard-page .qp-profile-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 28px 29px;
}

.dashboard-page .qp-profile-card-header {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--qp-line);
}

.dashboard-page .qp-profile-card-header span,
.dashboard-page .qp-profile-section-header > div > span {
  margin-bottom: 6px;
  color: var(--qp-coral-dark);
}

.dashboard-page .qp-profile-card-header h2,
.dashboard-page .qp-profile-section-header h2 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -.025em;
}

.dashboard-page .qp-profile-card-header > i {
  display: flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  color: var(--qp-coral-dark);
  background: #fff0ec;
  border-radius: 10px;
  font-size: 14px;
}

.dashboard-page .qp-profile-detail-list {
  margin: 8px 0 0;
}

.dashboard-page .qp-profile-detail-list > div {
  display: grid;
  grid-template-columns: minmax(105px, .6fr) minmax(0, 1.4fr);
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(16, 44, 42, .075);
}

.dashboard-page .qp-profile-detail-list > div:last-child {
  border-bottom: 0;
}

.dashboard-page .qp-profile-detail-list dt {
  color: #768682;
  font-size: 13px;
  font-weight: 700;
}

.dashboard-page .qp-profile-detail-list dd {
  min-width: 0;
  margin: 0;
  color: var(--qp-ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-align: right;
}

.dashboard-page .qp-profile-email {
  overflow-wrap: anywhere;
}

.dashboard-page .qp-profile-card-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: auto 0 0;
  padding: 12px 13px;
  color: #71827e;
  background: #f5f8f6;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.45;
}

.dashboard-page .qp-profile-card-note i {
  margin-top: 2px;
  color: var(--qp-coral-dark);
}

.dashboard-page .qp-profile-plan-summary {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-top: 19px;
  padding: 15px 16px;
  background: #f6f8f6;
  border: 1px solid #e4ebe7;
  border-radius: 11px;
}

.dashboard-page .qp-profile-plan-summary > div > span,
.dashboard-page .qp-profile-plan-summary > div > strong {
  display: block;
}

.dashboard-page .qp-profile-plan-summary > div > span {
  color: #7b8a86;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.dashboard-page .qp-profile-plan-summary > div > strong {
  margin-top: 4px;
  font-family: "Newsreader", serif;
  font-size: 22px;
  font-weight: 600;
}

.dashboard-page .qp-profile-access-status {
  padding: 5px 8px;
  color: #246551;
  background: #e7f2ed;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.dashboard-page .qp-profile-access-status.is-free {
  color: #626f6c;
  background: #e8edeb;
}

.dashboard-page .qp-profile-access-details {
  margin-bottom: 17px;
}

.dashboard-page .qp-profile-card-action {
  display: flex;
  min-height: 43px;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 11px 14px;
  color: #fff;
  background: #173f3b;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(16, 44, 42, .14);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.dashboard-page .qp-profile-card-action:hover,
.dashboard-page .qp-profile-card-action:focus {
  color: #fff;
  background: #22534e;
  box-shadow: 0 11px 24px rgba(16, 44, 42, .19);
  text-decoration: none;
  transform: translateY(-2px);
}

.dashboard-page .qp-profile-usage {
  margin-top: 22px;
  padding: 27px 29px 29px;
}

.dashboard-page .qp-profile-section-header {
  display: flex;
  gap: 30px;
  align-items: flex-end;
  justify-content: space-between;
}

.dashboard-page .qp-profile-section-header p {
  margin: 0 0 3px;
  color: #73837f;
  font-size: 13px;
}

.dashboard-page .qp-profile-usage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-top: 21px;
}

.dashboard-page .qp-profile-usage-metric {
  position: relative;
  display: grid;
  grid-template-columns: 39px 1fr;
  gap: 13px;
  align-items: center;
  min-width: 0;
  padding: 18px;
  background: #f8faf8;
  border: 1px solid #e2e9e5;
  border-radius: 12px;
}

.dashboard-page .qp-profile-usage-metric > i {
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--qp-coral-dark);
  background: #fff0ec;
  border-radius: 10px;
  font-size: 13px;
}

.dashboard-page .qp-profile-usage-metric strong,
.dashboard-page .qp-profile-usage-metric span,
.dashboard-page .qp-profile-usage-metric small {
  display: block;
}

.dashboard-page .qp-profile-usage-metric strong {
  font-family: "Newsreader", serif;
  font-size: 28px;
  font-weight: 600;
  line-height: .9;
}

.dashboard-page .qp-profile-usage-metric span {
  margin-top: 5px;
  color: #435b56;
  font-size: 13px;
  font-weight: 800;
}

.dashboard-page .qp-profile-usage-metric small {
  margin-top: 3px;
  color: #83918e;
  font-size: 12px;
}

.dashboard-page .qp-profile-usage-bar {
  grid-column: 1 / -1;
  height: 4px;
  overflow: hidden;
  background: #e4ebe7;
  border-radius: 999px;
}

.dashboard-page .qp-profile-usage-bar span {
  height: 100%;
  background: var(--qp-coral);
  border-radius: inherit;
}

.dashboard-page .qp-profile-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--qp-line);
  border-radius: 14px;
}

.dashboard-page .qp-profile-links > a {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 11px;
  align-items: center;
  min-width: 0;
  padding: 18px 19px;
  color: var(--qp-ink-soft);
  text-decoration: none;
}

.dashboard-page .qp-profile-links > a + a {
  border-left: 1px solid var(--qp-line);
}

.dashboard-page .qp-profile-links > a > i:first-child {
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  color: var(--qp-coral-dark);
  background: #fff0ec;
  border-radius: 9px;
  font-size: 13px;
}

.dashboard-page .qp-profile-links strong,
.dashboard-page .qp-profile-links small {
  display: block;
}

.dashboard-page .qp-profile-links strong {
  font-size: 13px;
}

.dashboard-page .qp-profile-links small {
  margin-top: 3px;
  color: #80908c;
  font-size: 12px;
  line-height: 1.4;
}

.dashboard-page .qp-profile-links > a > i:last-child {
  color: #a2afab;
  font-size: 12px;
}

.dashboard-page .qp-profile-links > a:hover,
.dashboard-page .qp-profile-links > a:focus {
  color: var(--qp-ink);
  background: #fff;
  text-decoration: none;
}

@media (max-width: 1050px) {
  .dashboard-page .qp-profile-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-page .qp-profile-main-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-page .qp-profile-usage-grid,
  .dashboard-page .qp-profile-links {
    grid-template-columns: 1fr;
  }

  .dashboard-page .qp-profile-links > a + a {
    border-top: 1px solid var(--qp-line);
    border-left: 0;
  }
}

@media (max-width: 767px) {
  .dashboard-page .qp-profile-page {
    padding: 10px 0 50px;
  }

  .dashboard-page .qp-profile-hero {
    gap: 25px;
    padding: 29px 22px 24px;
    border-radius: 18px;
  }

  .dashboard-page .qp-profile-identity {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-page .qp-profile-avatar {
    width: 59px;
    height: 59px;
    flex-basis: 59px;
    border-radius: 17px;
    font-size: 29px;
  }

  .dashboard-page .qp-profile-identity h1 {
    font-size: 38px;
    white-space: normal;
  }

  .dashboard-page .qp-profile-identity p {
    display: block;
    overflow-wrap: anywhere;
  }

  .dashboard-page .qp-profile-identity p span {
    display: block;
  }

  .dashboard-page .qp-profile-identity p span + span {
    margin-top: 3px;
  }

  .dashboard-page .qp-profile-identity p i {
    display: none;
  }

  .dashboard-page .qp-profile-hero-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-page .qp-profile-hero-actions > a {
    justify-content: space-between;
  }

  .dashboard-page .qp-profile-card,
  .dashboard-page .qp-profile-usage {
    padding: 23px 20px;
    border-radius: 17px;
  }

  .dashboard-page .qp-profile-card-header h2,
  .dashboard-page .qp-profile-section-header h2 {
    font-size: 25px;
  }

  .dashboard-page .qp-profile-detail-list > div {
    grid-template-columns: minmax(90px, .6fr) minmax(0, 1.4fr);
    gap: 12px;
  }

  .dashboard-page .qp-profile-section-header {
    display: block;
  }

  .dashboard-page .qp-profile-section-header p {
    margin-top: 7px;
  }
}

@media (max-width: 390px) {
  .dashboard-page .qp-profile-detail-list > div {
    display: block;
  }

  .dashboard-page .qp-profile-detail-list dd {
    margin-top: 5px;
    text-align: left;
  }

  .dashboard-page .qp-profile-plan-summary {
    align-items: flex-start;
  }
}

/* Security settings */
.dashboard-page .qp-security-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 0 72px;
}

.dashboard-page .qp-security-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 48px;
  align-items: center;
  overflow: hidden;
  padding: 43px 49px;
  color: #fff;
  background:
    radial-gradient(circle at 94% 3%, rgba(242, 106, 82, .24), transparent 30%),
    linear-gradient(135deg, #102c2a 0%, #1b4743 100%);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 24px;
  box-shadow: 0 24px 55px rgba(16, 44, 42, .18);
}

.dashboard-page .qp-security-hero::after {
  position: absolute;
  right: -96px;
  bottom: -170px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  content: "";
}

.dashboard-page .qp-security-hero > div {
  position: relative;
  z-index: 1;
}

.dashboard-page .qp-security-eyebrow,
.dashboard-page .qp-security-card-header span,
.dashboard-page .qp-security-danger > div > span {
  display: block;
  color: #ffb7aa;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.dashboard-page .qp-security-hero h1 {
  max-width: 650px;
  margin: 10px 0 0;
  color: #fff;
  font-family: "Newsreader", serif;
  font-size: clamp(42px, 4.2vw, 57px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .98;
}

.dashboard-page .qp-security-hero > div:first-child > p {
  max-width: 620px;
  margin: 17px 0 0;
  color: #c2d3cf;
  font-size: 13px;
  line-height: 1.6;
}

.dashboard-page .qp-security-signin-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding: 22px 23px;
  background: rgba(255, 255, 255, .085);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

.dashboard-page .qp-security-signin-card > i {
  display: flex;
  width: 39px;
  height: 39px;
  align-items: center;
  justify-content: center;
  color: #ffc0b5;
  background: rgba(242, 106, 82, .14);
  border-radius: 11px;
  font-size: 14px;
}

.dashboard-page .qp-security-signin-card small,
.dashboard-page .qp-security-signin-card strong,
.dashboard-page .qp-security-signin-card em {
  display: block;
  min-width: 0;
}

.dashboard-page .qp-security-signin-card small {
  color: #9fb4af;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.dashboard-page .qp-security-signin-card strong {
  margin-top: 5px;
  color: #fff;
  font-size: 13px;
}

.dashboard-page .qp-security-signin-card em {
  margin-top: 3px;
  overflow: hidden;
  color: #aebfbb;
  font-size: 12px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-page .qp-security-success {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  padding: 14px 16px;
  color: #2e6958;
  background: #ecf6f1;
  border: 1px solid #cce2d8;
  border-radius: 11px;
}

.dashboard-page .qp-security-success > i {
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #3c826d;
  border-radius: 50%;
  font-size: 13px;
}

.dashboard-page .qp-security-success strong,
.dashboard-page .qp-security-success span {
  display: block;
}

.dashboard-page .qp-security-success strong {
  font-size: 13px;
}

.dashboard-page .qp-security-success span {
  margin-top: 2px;
  color: #658079;
  font-size: 12px;
}

.dashboard-page .qp-security-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 24px;
}

.dashboard-page .qp-security-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--qp-line);
  border-radius: 19px;
  box-shadow: 0 10px 30px rgba(16, 44, 42, .065);
}

.dashboard-page .qp-security-password-card {
  padding: 28px 29px;
}

.dashboard-page .qp-security-card-header {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--qp-line);
}

.dashboard-page .qp-security-card-header span {
  margin-bottom: 6px;
  color: var(--qp-coral-dark);
}

.dashboard-page .qp-security-card-header h2 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -.025em;
}

.dashboard-page .qp-security-card-header p {
  margin: 7px 0 0;
  color: #788783;
  font-size: 13px;
  line-height: 1.45;
}

.dashboard-page .qp-security-card-header > i {
  display: flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  color: var(--qp-coral-dark);
  background: #fff0ec;
  border-radius: 10px;
  font-size: 14px;
}

.dashboard-page .qp-security-form {
  margin-top: 21px;
}

.dashboard-page .qp-security-form .form-group {
  margin-bottom: 17px;
}

.dashboard-page .qp-security-form label {
  margin-bottom: 7px;
  color: #3c544f;
  font-size: 13px;
}

.dashboard-page .qp-security-form .form-control {
  height: 43px;
  padding: 9px 11px;
  color: var(--qp-ink);
  background: #fbfcfb;
  border: 1px solid #cedad6;
  border-radius: 9px;
  box-shadow: none;
  font-size: 13px;
}

.dashboard-page .qp-security-form .form-control:focus {
  background: #fff;
  border-color: #e08a79;
  box-shadow: 0 0 0 3px rgba(242, 106, 82, .1);
}

.dashboard-page .qp-security-form .has-error .form-control {
  border-color: #d85d49;
}

.dashboard-page .qp-security-form .help-block {
  margin: 6px 0 0;
  font-size: 12px;
}

.dashboard-page .qp-security-new-password-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-page .qp-security-form-footer {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 7px;
  padding-top: 18px;
  border-top: 1px solid var(--qp-line);
}

.dashboard-page .qp-security-form-footer > span {
  max-width: 330px;
  color: #7c8b87;
  font-size: 12px;
  line-height: 1.45;
}

.dashboard-page .qp-security-form-footer > span i {
  margin-right: 4px;
  color: var(--qp-coral-dark);
}

.dashboard-page .qp-security-form-footer button {
  display: inline-flex;
  min-height: 43px;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  color: #fff;
  background: #173f3b;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(16, 44, 42, .14);
  font-size: 13px;
  font-weight: 800;
}

.dashboard-page .qp-security-form-footer button:hover,
.dashboard-page .qp-security-form-footer button:focus {
  background: #22534e;
  box-shadow: 0 11px 24px rgba(16, 44, 42, .19);
  transform: translateY(-2px);
}

.dashboard-page .qp-security-guidance {
  padding: 28px 25px;
}

.dashboard-page .qp-security-guidance ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.dashboard-page .qp-security-guidance li {
  display: grid;
  grid-template-columns: 27px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
}

.dashboard-page .qp-security-guidance li + li {
  border-top: 1px solid rgba(16, 44, 42, .075);
}

.dashboard-page .qp-security-guidance li > i {
  display: flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  color: #26705e;
  background: #e6f1ec;
  border-radius: 50%;
  font-size: 12px;
}

.dashboard-page .qp-security-guidance strong,
.dashboard-page .qp-security-guidance small {
  display: block;
}

.dashboard-page .qp-security-guidance strong {
  font-size: 13px;
}

.dashboard-page .qp-security-guidance small {
  margin-top: 3px;
  color: #81908c;
  font-size: 12px;
  line-height: 1.4;
}

.dashboard-page .qp-security-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--qp-line);
  border-radius: 14px;
}

.dashboard-page .qp-security-links > a {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 11px;
  align-items: center;
  min-width: 0;
  padding: 18px 19px;
  color: var(--qp-ink-soft);
  text-decoration: none;
}

.dashboard-page .qp-security-links > a + a {
  border-left: 1px solid var(--qp-line);
}

.dashboard-page .qp-security-links > a > i:first-child {
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  color: var(--qp-coral-dark);
  background: #fff0ec;
  border-radius: 9px;
  font-size: 13px;
}

.dashboard-page .qp-security-links strong,
.dashboard-page .qp-security-links small {
  display: block;
}

.dashboard-page .qp-security-links strong {
  font-size: 13px;
}

.dashboard-page .qp-security-links small {
  margin-top: 3px;
  color: #80908c;
  font-size: 12px;
  line-height: 1.4;
}

.dashboard-page .qp-security-links > a > i:last-child {
  color: #a2afab;
  font-size: 12px;
}

.dashboard-page .qp-security-danger {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 20px 22px;
  background: #fff8f6;
  border: 1px solid #edd8d2;
  border-left: 4px solid #d75f4b;
  border-radius: 12px;
}

.dashboard-page .qp-security-danger > div > span {
  color: #b64c3b;
  font-size: 12px;
}

.dashboard-page .qp-security-danger strong {
  display: block;
  margin-top: 4px;
  font-size: 13px;
}

.dashboard-page .qp-security-danger p {
  margin: 4px 0 0;
  color: #7c7471;
  font-size: 12px;
  line-height: 1.45;
}

.dashboard-page .qp-security-danger > a {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  color: #a94738;
  background: #fff;
  border: 1px solid #e8c8c0;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.dashboard-page .qp-security-danger > a:hover,
.dashboard-page .qp-security-danger > a:focus {
  color: #8e382b;
  background: #fff3ef;
  text-decoration: none;
}

/* Referral rewards */
.dashboard-page .qp-referrals-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 0 72px !important;
}

.dashboard-page .qp-referral-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr);
  gap: 52px;
  align-items: center;
  overflow: hidden;
  margin: 0;
  padding: 45px 50px;
  color: #fff;
  background:
    radial-gradient(circle at 95% 4%, rgba(242, 106, 82, .26), transparent 31%),
    linear-gradient(135deg, #102c2a 0%, #1b4743 100%);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 24px;
  box-shadow: 0 24px 55px rgba(16, 44, 42, .18);
}

.dashboard-page .qp-referral-hero::after {
  top: auto;
  right: -94px;
  bottom: -160px;
  width: 330px;
  height: 330px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .08);
  opacity: 1;
}

.dashboard-page .qp-referral-hero-copy,
.dashboard-page .qp-referral-offer-card {
  position: relative;
  z-index: 1;
}

.dashboard-page .qp-referral-kicker,
.dashboard-page .qp-referral-share-card > div:first-child > span,
.dashboard-page .qp-referral-how > header > span,
.dashboard-page .qp-referral-payout > div:first-child > span,
.dashboard-page .qp-referral-section-header > div > span {
  display: block;
  color: #ffb7aa;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.dashboard-page .qp-referral-hero h1 {
  margin: 10px 0 0;
  color: #fff;
  font-family: "Newsreader", serif;
  font-size: clamp(42px, 4.2vw, 57px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .98;
}

.dashboard-page .qp-referral-hero-copy > p {
  max-width: 650px;
  margin: 18px 0 0;
  color: #c4d5d1;
  font-size: 13px;
  line-height: 1.65;
}

.dashboard-page .qp-referral-offer-card {
  padding: 23px 25px;
  background: rgba(255, 255, 255, .085);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 17px;
  backdrop-filter: blur(8px);
}

.dashboard-page .qp-referral-offer-card > span {
  color: #a5b8b4;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.dashboard-page .qp-referral-offer-card > strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-family: "Newsreader", serif;
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1;
}

.dashboard-page .qp-referral-offer-card dl {
  margin: 17px 0 0;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.dashboard-page .qp-referral-offer-card dl > div {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 8px 0;
}

.dashboard-page .qp-referral-offer-card dt,
.dashboard-page .qp-referral-offer-card dd {
  font-size: 12px;
}

.dashboard-page .qp-referral-offer-card dt {
  color: #9fb1ad;
  font-weight: 600;
}

.dashboard-page .qp-referral-offer-card dd {
  margin: 0;
  color: #fff;
  font-weight: 800;
  text-align: right;
}

.dashboard-page .qp-referral-success {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 18px;
  padding: 13px 15px;
  color: #2e6958;
  background: #ecf6f1;
  border: 1px solid #cce2d8;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}

.dashboard-page .qp-referral-share-card {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(420px, 1.2fr);
  gap: 35px;
  align-items: center;
  margin-top: 24px;
  padding: 27px 29px;
  background: #fff;
  border: 1px solid var(--qp-line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(16, 44, 42, .065);
}

.dashboard-page .qp-referral-share-card > div:first-child > span,
.dashboard-page .qp-referral-how > header > span,
.dashboard-page .qp-referral-payout > div:first-child > span,
.dashboard-page .qp-referral-section-header > div > span {
  margin-bottom: 6px;
  color: var(--qp-coral-dark);
}

.dashboard-page .qp-referral-share-card h2,
.dashboard-page .qp-referral-how h2,
.dashboard-page .qp-referral-section-header h2 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -.025em;
}

.dashboard-page .qp-referral-share-card p {
  margin: 7px 0 0;
  color: #798884;
  font-size: 12px;
  line-height: 1.45;
}

.dashboard-page .qp-referral-link-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0;
}

.dashboard-page .qp-referral-link-control input {
  min-width: 0;
  height: 44px;
  padding: 10px 12px;
  color: #455d58;
  background: #f7f9f7;
  border: 1px solid #cedad6;
  border-right: 0;
  border-radius: 9px 0 0 9px;
  font-size: 13px;
  outline: 0;
}

.dashboard-page .qp-referral-link-control input:focus {
  background: #fff;
  border-color: #e08a79;
  box-shadow: 0 0 0 3px rgba(242, 106, 82, .1);
}

.dashboard-page .qp-referral-link-control button {
  display: inline-flex;
  min-width: 108px;
  gap: 7px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #173f3b;
  border: 0;
  border-radius: 0 9px 9px 0;
  font-size: 12px;
  font-weight: 800;
}

.dashboard-page .qp-referral-link-control button:hover,
.dashboard-page .qp-referral-link-control button:focus,
.dashboard-page .qp-referral-link-control button.is-copied {
  background: #22534e;
}

.dashboard-page .qp-referral-link-control small {
  grid-column: 1 / -1;
  margin-top: 7px;
  color: #81908c;
  font-size: 12px;
}

.dashboard-page .qp-referral-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin: 17px 0 0;
}

.dashboard-page .qp-referral-stat {
  position: relative;
  min-height: 126px;
  margin: 0;
  padding: 18px 19px;
  background: #fff;
  border: 1px solid var(--qp-line);
  border-radius: 13px;
  box-shadow: 0 7px 22px rgba(16, 44, 42, .045);
}

.dashboard-page .qp-referral-stat > i {
  position: absolute;
  top: 17px;
  right: 17px;
  display: flex;
  width: 29px;
  height: 29px;
  align-items: center;
  justify-content: center;
  color: var(--qp-coral-dark);
  background: #fff0ec;
  border-radius: 8px;
  font-size: 13px;
}

.dashboard-page .qp-referral-stat > span,
.dashboard-page .qp-referral-stat > small {
  color: #778783;
  font-size: 12px;
}

.dashboard-page .qp-referral-stat > span {
  padding-right: 35px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.dashboard-page .qp-referral-stat > strong {
  margin: 16px 0 4px;
  font-family: "Newsreader", serif;
  font-size: 27px;
  font-weight: 600;
}

.dashboard-page .qp-referral-how {
  margin-top: 22px;
  padding: 27px 29px;
  background: #fff;
  border: 1px solid var(--qp-line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(16, 44, 42, .055);
}

.dashboard-page .qp-referral-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 21px;
  border: 1px solid #e2e9e5;
  border-radius: 12px;
}

.dashboard-page .qp-referral-steps > div {
  display: grid;
  grid-template-columns: 31px 1fr;
  gap: 11px;
  align-items: start;
  padding: 18px;
}

.dashboard-page .qp-referral-steps > div + div {
  border-left: 1px solid #e2e9e5;
}

.dashboard-page .qp-referral-steps b {
  display: flex;
  width: 29px;
  height: 29px;
  align-items: center;
  justify-content: center;
  color: var(--qp-coral-dark);
  background: #fff0ec;
  border-radius: 9px;
  font-size: 13px;
}

.dashboard-page .qp-referral-steps strong,
.dashboard-page .qp-referral-steps small {
  display: block;
}

.dashboard-page .qp-referral-steps strong {
  font-size: 13px;
}

.dashboard-page .qp-referral-steps small {
  margin-top: 4px;
  color: #7f8e8a;
  font-size: 12px;
  line-height: 1.45;
}

.dashboard-page .qp-referral-payout {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(240px, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  padding: 21px 23px;
  background: #fff8f3;
  border: 1px solid #eddcd4;
  border-radius: 14px;
}

.dashboard-page .qp-referral-payout > div:first-child > strong,
.dashboard-page .qp-referral-payout > div:first-child > small {
  display: block;
}

.dashboard-page .qp-referral-payout > div:first-child > strong {
  font-size: 13px;
}

.dashboard-page .qp-referral-payout > div:first-child > small {
  margin-top: 3px;
  color: #827d78;
  font-size: 12px;
}

.dashboard-page .qp-referral-payout .qp-payout-progress {
  height: 7px;
  background: #e5e8e3;
}

.dashboard-page .qp-referral-payout .qp-payout-progress i {
  background: var(--qp-coral);
}

.dashboard-page .qp-referral-payout > button,
.dashboard-page .qp-empty-referrals > button {
  display: inline-flex;
  min-height: 41px;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 13px;
  color: #fff;
  background: var(--qp-coral);
  border: 0;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
}

.dashboard-page .qp-referral-payout > button:disabled {
  color: #8a918e;
  background: #dfe3e0;
  cursor: not-allowed;
}

.dashboard-page .qp-referral-history {
  overflow: hidden;
  margin-top: 22px;
  background: #fff;
  border: 1px solid var(--qp-line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(16, 44, 42, .055);
}

.dashboard-page .qp-referral-section-header {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
  padding: 25px 29px 20px;
}

.dashboard-page .qp-referral-section-header > p {
  margin: 0 0 4px;
  padding: 6px 9px;
  color: #6f817c;
  background: #edf2ef;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-page .qp-referral-table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--qp-line);
}

.dashboard-page .qp-referral-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.dashboard-page .qp-referral-table th,
.dashboard-page .qp-referral-table td {
  padding: 14px 19px;
  text-align: left;
  vertical-align: middle;
}

.dashboard-page .qp-referral-table th {
  color: #7c8b87;
  background: #f8faf8;
  border-bottom: 1px solid var(--qp-line);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.dashboard-page .qp-referral-table td {
  color: #60716d;
  border-bottom: 1px solid rgba(16, 44, 42, .075);
  font-size: 12px;
}

.dashboard-page .qp-referral-table tbody tr:last-child td {
  border-bottom: 0;
}

.dashboard-page .qp-referral-table td:first-child strong,
.dashboard-page .qp-referral-table td:first-child small {
  display: block;
}

.dashboard-page .qp-referral-table td:first-child strong {
  color: var(--qp-ink);
  font-size: 13px;
}

.dashboard-page .qp-referral-table td:first-child small {
  max-width: 190px;
  margin-top: 3px;
  overflow: hidden;
  color: #83918e;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-page .qp-referral-table .qp-reward-status {
  font-size: 12px;
  padding: 5px 8px;
}

.dashboard-page .qp-referral-table .qp-status-note {
  font-size: 12px;
}

.dashboard-page .qp-referral-no-purchase {
  color: #899693;
  font-size: 12px;
}

.dashboard-page .qp-referral-pagination {
  padding: 0 22px 18px;
}

.dashboard-page .qp-empty-referrals {
  padding: 54px 20px 58px;
  border-top: 1px solid var(--qp-line);
}

.dashboard-page .qp-empty-referrals > i {
  display: flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--qp-coral-dark);
  background: #fff0ec;
  border-radius: 13px;
  font-size: 16px;
}

.dashboard-page .qp-empty-referrals h3 {
  margin: 14px 0 0;
  font-family: "Newsreader", serif;
  font-size: 23px;
  font-weight: 600;
}

.dashboard-page .qp-empty-referrals p {
  margin: 7px auto 17px;
  color: #7c8b87;
  font-size: 12px;
}

@media (max-width: 1050px) {
  .dashboard-page .qp-security-hero,
  .dashboard-page .qp-referral-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .dashboard-page .qp-security-signin-card,
  .dashboard-page .qp-referral-offer-card {
    max-width: 440px;
  }

  .dashboard-page .qp-security-grid,
  .dashboard-page .qp-referral-share-card {
    grid-template-columns: 1fr;
  }

  .dashboard-page .qp-referral-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-page .qp-referral-payout {
    grid-template-columns: minmax(240px, 1fr) minmax(220px, 1fr);
  }

  .dashboard-page .qp-referral-payout > button {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 767px) {
  .dashboard-page .qp-security-page,
  .dashboard-page .qp-referrals-page {
    padding: 10px 0 50px !important;
  }

  .dashboard-page .qp-security-hero,
  .dashboard-page .qp-referral-hero {
    gap: 24px;
    padding: 31px 23px 25px;
    border-radius: 18px;
  }

  .dashboard-page .qp-security-hero h1,
  .dashboard-page .qp-referral-hero h1 {
    font-size: 39px;
  }

  .dashboard-page .qp-security-signin-card,
  .dashboard-page .qp-referral-offer-card {
    max-width: none;
  }

  .dashboard-page .qp-security-password-card,
  .dashboard-page .qp-security-guidance,
  .dashboard-page .qp-referral-share-card,
  .dashboard-page .qp-referral-how {
    padding: 23px 20px;
    border-radius: 17px;
  }

  .dashboard-page .qp-security-card-header h2,
  .dashboard-page .qp-referral-share-card h2,
  .dashboard-page .qp-referral-how h2,
  .dashboard-page .qp-referral-section-header h2 {
    font-size: 25px;
  }

  .dashboard-page .qp-security-new-password-grid,
  .dashboard-page .qp-security-links,
  .dashboard-page .qp-referral-summary,
  .dashboard-page .qp-referral-steps,
  .dashboard-page .qp-referral-payout {
    grid-template-columns: 1fr;
  }

  .dashboard-page .qp-security-form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-page .qp-security-form-footer button {
    width: 100%;
  }

  .dashboard-page .qp-security-links > a + a,
  .dashboard-page .qp-referral-steps > div + div {
    border-top: 1px solid var(--qp-line);
    border-left: 0;
  }

  .dashboard-page .qp-security-danger {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-page .qp-security-danger > a {
    justify-content: space-between;
  }

  .dashboard-page .qp-referral-link-control {
    grid-template-columns: 1fr;
  }

  .dashboard-page .qp-referral-link-control input {
    border-right: 1px solid #cedad6;
    border-radius: 9px 9px 0 0;
  }

  .dashboard-page .qp-referral-link-control button {
    min-height: 42px;
    border-radius: 0 0 9px 9px;
  }

  .dashboard-page .qp-referral-payout > button {
    grid-column: auto;
    justify-self: stretch;
  }

  .dashboard-page .qp-referral-section-header {
    padding: 22px 20px 17px;
  }

  .dashboard-page .qp-referral-table-wrap {
    padding: 0 20px 9px;
  }

  .dashboard-page .qp-referral-table,
  .dashboard-page .qp-referral-table tbody,
  .dashboard-page .qp-referral-table tr,
  .dashboard-page .qp-referral-table td {
    display: block;
    width: 100%;
  }

  .dashboard-page .qp-referral-table thead {
    display: none;
  }

  .dashboard-page .qp-referral-table tr {
    padding: 9px 0;
  }

  .dashboard-page .qp-referral-table tr + tr {
    border-top: 1px solid var(--qp-line);
  }

  .dashboard-page .qp-referral-table td {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 8px 0;
    border: 0;
    text-align: right;
  }

  .dashboard-page .qp-referral-table td::before {
    color: #8a9693;
    content: attr(data-label);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-align: left;
    text-transform: uppercase;
  }

  .dashboard-page .qp-referral-table td:first-child strong,
  .dashboard-page .qp-referral-table td:first-child small {
    max-width: none;
    text-align: right;
    white-space: normal;
  }

  .dashboard-page .qp-referral-table .qp-reward-status,
  .dashboard-page .qp-referral-table .qp-status-note {
    justify-self: end;
  }
}

/* Keep the customer-search layout distinct from the broader referral filter grid. */
.dashboard-page form.qp-admin-filter-form.qp-admin-user-search {
  grid-template-columns: minmax(280px, 1fr) 190px auto auto;
}

@media (max-width: 1050px) {
  .dashboard-page form.qp-admin-filter-form.qp-admin-user-search {
    grid-template-columns: minmax(240px, 1fr) 170px;
  }
}

@media (max-width: 767px) {
  .dashboard-page form.qp-admin-filter-form.qp-admin-user-search {
    grid-template-columns: 1fr;
  }
}

/* Compact dashboard reporting controls */
.dashboard-page .qp-dashboard-toolbar {
  margin-bottom: 14px;
  padding: 9px 11px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(16, 44, 42, .04);
}

.dashboard-page .qp-date-range-form {
  display: flex;
  min-width: 0;
  align-items: end;
  gap: 8px;
  margin: 0;
}

.dashboard-page .qp-date-range-preset {
  display: flex;
  min-width: 230px;
  align-items: center;
  gap: 8px;
}

.dashboard-page .qp-date-range-preset label {
  margin: 0;
  color: #4d6661;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.dashboard-page .qp-date-range-preset label i {
  margin-right: 4px;
  color: #d85d48;
}

.dashboard-page .qp-date-range-form .form-control,
.dashboard-page .qp-date-range-form .btn {
  height: 34px;
  border-radius: 7px;
  font-size: 12px;
}

.dashboard-page .qp-date-range-preset select {
  min-width: 116px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.dashboard-page .qp-custom-date-trigger {
  color: #3b635c;
  background: #f7faf9;
}

.dashboard-page .qp-custom-date-trigger.is-active {
  color: #fff;
  background: var(--qp-ink);
  border-color: var(--qp-ink);
}

.dashboard-page .qp-custom-date-fields {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dashboard-page .qp-custom-date-fields span {
  color: #80908c;
  font-size: 12px;
  font-weight: 700;
}

.dashboard-page .qp-custom-date-fields input {
  width: 136px;
  padding-right: 7px;
  padding-left: 9px;
}

.dashboard-page .qp-date-range-apply {
  min-width: 56px;
  color: #fff;
  background: #d85d48;
  border-color: #d85d48;
}

.dashboard-page .qp-date-range-apply:hover,
.dashboard-page .qp-date-range-apply:focus {
  color: #fff;
  background: #c94f3b;
  border-color: #c94f3b;
}

.dashboard-page .qp-workspace-overview {
  gap: 8px;
  margin-bottom: 16px;
}

.dashboard-page .qp-workspace-overview > div {
  gap: 9px;
  padding: 9px 11px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(17, 49, 45, .035);
}

.dashboard-page .qp-workspace-overview .qp-workspace-overview-icon {
  display: flex;
  width: 28px;
  height: 28px;
  font-size: 13px;
}

.dashboard-page .qp-workspace-overview p > strong {
  font-size: 17px;
}

.dashboard-page .qp-workspace-overview p > span {
  margin-top: 2px;
  font-size: 12px;
}

@media (max-width: 900px) {
  .dashboard-page .qp-date-range-form {
    flex-wrap: wrap;
  }

  .dashboard-page .qp-custom-date-fields {
    order: 5;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .dashboard-page .qp-date-range-preset {
    width: 100%;
    min-width: 0;
    justify-content: space-between;
  }

  .dashboard-page .qp-date-range-preset select {
    flex: 1;
  }

  .dashboard-page .qp-custom-date-trigger,
  .dashboard-page .qp-date-range-apply {
    flex: 1;
  }

  .dashboard-page .qp-custom-date-fields input {
    min-width: 0;
    flex: 1;
    width: auto;
  }

  .dashboard-page .qp-workspace-overview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dashboard-page .qp-workspace-overview > div {
    align-items: flex-start;
    gap: 6px;
    padding: 8px;
  }

  .dashboard-page .qp-workspace-overview .qp-workspace-overview-icon {
    width: 24px;
    height: 24px;
  }
}

/* Keep unclassed helper text readable inside legacy dashboard partials. */
.dashboard-page small,
.dashboard-page code {
  font-size: 12px;
}
