:root {
  --pm-bg: #ffffff;
  --pm-surface: #ffffff;
  --pm-text: #111936;
  --pm-text-muted: #5f6b8a;
  --pm-border: #d9e1f1;
  --pm-max-width: 1160px;

  /* Brand blue */
  --pm-accent: #007aff;
  --pm-accent-end: #0066db;
  --pm-accent-deep: #1e3a8a;
  --pm-accent-strong: #1f42cf;
  --pm-accent-rgb: 79, 124, 255;
  --pm-accent-end-rgb: 61, 95, 245;

  /* Brand tints */
  --pm-accent-soft: #eef2ff;
  --pm-accent-soft-alt: #eef3ff;
  --pm-accent-border: #c9d6ff;
  --pm-accent-muted-bg: rgba(var(--pm-accent-rgb), 0.07);
  --pm-accent-muted-border: rgba(var(--pm-accent-rgb), 0.22);
  --pm-accent-shadow: rgba(var(--pm-accent-rgb), 0.28);
  --pm-accent-shadow-soft: rgba(var(--pm-accent-rgb), 0.14);
  --pm-accent-shadow-strong: rgba(var(--pm-accent-rgb), 0.32);

  /* Gradients */
  --pm-cta-gradient: linear-gradient(120deg, var(--pm-accent) 0%, var(--pm-accent-end) 100%);
  --pm-cta-gradient-135: linear-gradient(135deg, var(--pm-accent) 0%, var(--pm-accent-end) 100%);
  --pm-surface-gradient: linear-gradient(145deg, var(--pm-accent-soft) 0%, #ffffff 100%);
  --pm-surface-gradient-alt: linear-gradient(155deg, var(--pm-accent-soft) 0%, #f5f3ff 40%, #ffffff 100%);

  /* Hero CTA green (iOS) */
  --pm-cta-green: #34c759;
  --pm-cta-green-gradient: linear-gradient(135deg, #34c759 0%, #30d158 55%, #66e680 100%);
  --pm-cta-green-shadow: rgba(52, 199, 89, 0.32);

  /* Secondary accent (metrics / success) */
  --pm-accent-2: #29d3a3;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--pm-bg);
  color: var(--pm-text);
  font-family: inherit;
}

html.pm-sidebar-open,
body.pm-sidebar-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.pm-mobile-sidebar-scrim {
  position: fixed;
  inset: 0;
  z-index: 125;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(17, 25, 54, 0.34);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--pm-text);
  text-decoration: none;
}

.pm-container {
  width: min(var(--pm-max-width), calc(100% - 32px));
  margin: 0 auto;
}

.pm-header {
  border-bottom: 1px solid var(--pm-border);
  background: rgba(255, 255, 255, 0.96);
  position: sticky;
  top: 0;
  z-index: 20;
}

.pm-header-desktop {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 84px;
  gap: 24px;
}

.pm-header-mobile {
  display: none;
}

.pm-header-right {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.pm-header-cta,
.pm-header-cta-special,
.pm-header-cta-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--pm-cta-gradient);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 6px 16px var(--pm-accent-shadow);
}

.pm-header-cta:hover,
.pm-header-cta-special:hover,
.pm-header-cta-orange:hover {
  color: #ffffff;
  filter: brightness(0.95);
}

.custom-logo-link img,
.pm-custom-logo-img {
  max-height: 36px;
  max-width: 170px;
  width: auto;
  display: block;
  background: #ffffff;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
}

.pm-logo-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  text-align: left;
}

.pm-header-desktop .pm-logo-link .pm-woo-badge,
.pm-header-desktop .pm-platform-badge {
  display: none;
}

.pm-woo-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  padding: 4px 10px 4px 6px;
  border-radius: 999px;
  border: 1px solid rgba(var(--pm-accent-rgb), 0.22);
  background: rgba(var(--pm-accent-rgb), 0.07);
  color: #2c3d63;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  max-width: 100%;
}

.pm-platform-badge__logos {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.pm-platform-badge__icon {
  display: block;
  height: 14px;
  width: auto;
  max-width: 52px;
  object-fit: contain;
  vertical-align: middle;
}

.pm-platform-badge__sep {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: rgba(44, 61, 99, 0.2);
  border-radius: 1px;
  flex-shrink: 0;
}

.pm-platform-badge__text {
  white-space: nowrap;
}

.pm-menu,
.pm-footer-menu,
.pm-mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pm-menu {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.pm-menu a,
.pm-footer-menu a,
.pm-mobile-menu a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--pm-text-muted);
  font-weight: 500;
}

.pm-menu .pm-menu-item__visual {
  display: none;
}

.pm-menu-item__visual {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.pm-menu-item__visual--image {
  width: 32px;
  height: 20px;
}

.pm-menu-item__visual--lucide {
  color: var(--pm-accent);
}

.pm-menu-item__visual--lucide .pm-lucide-icon,
.pm-menu-item__visual--lucide svg {
  display: block;
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.pm-menu-item__img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.pm-menu-item__label {
  min-width: 0;
}

.pm-menu a:hover,
.pm-footer-menu a:hover,
.pm-mobile-menu a:hover {
  color: var(--pm-text);
}

.pm-account-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--pm-accent);
  border-radius: 999px;
  color: #ffffff;
  background: var(--pm-cta-gradient);
  font-weight: 600;
}

.pm-main-content {
  min-height: 65vh;
}

.pm-hero {
  padding: 30px 0 56px;
  background: #f3f4f7;
}

.pm-hero-inner {
  text-align: center;
  max-width: 900px;
}

.pm-kicker {
  color: var(--pm-accent-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.pm-hero-title {
  margin: 12px 0 10px;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.pm-hero-highlight {
  color: var(--pm-accent);
}

.pm-hero-subtitle {
  margin: 0 auto;
  max-width: 700px;
  font-size: 20px;
  line-height: 1.45;
  color: var(--pm-text-muted);
}

.pm-hero-actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pm-hero-image-wrap {
  margin-top: 34px;
}

.pm-hero-image {
  width: 100%;
  max-width: 1020px;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--pm-border);
  box-shadow: 0 14px 32px rgba(17, 25, 54, 0.12);
}

.pm-home-poas-compare {
  background: #f3f4f7;
  padding: 22px 0 76px;
}

.pm-home-badges-showcase {
  padding: 44px 0 52px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
  border-top: 1px solid var(--pm-border);
  border-bottom: 1px solid var(--pm-border);
}

.pm-home-badges-showcase__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pm-home-badges-showcase__eyebrow {
  margin: 0 0 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
}

.pm-home-badges-showcase__title {
  margin: 0 0 28px;
  text-align: center;
  font-size: clamp(22px, 2.8vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--pm-text);
}

.pm-home-badges-showcase__lead {
  margin: 10px auto 28px;
  max-width: 36em;
  text-align: center;
  font-size: 15px;
  line-height: 1.55;
  color: var(--pm-text-muted);
}

.pm-home-badges-showcase__cards {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 980px;
}

.pm-home-badges-showcase__card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 200px;
  min-height: 68px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(17, 25, 54, 0.1);
  background: #ffffff;
  box-shadow:
    0 1px 2px rgba(17, 25, 54, 0.04),
    0 8px 20px rgba(17, 25, 54, 0.07);
  text-decoration: none;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.pm-home-badges-showcase__card:hover {
  transform: translateY(-2px);
  border-color: rgba(51, 81, 233, 0.22);
  box-shadow:
    0 2px 6px rgba(17, 25, 54, 0.06),
    0 16px 36px rgba(17, 25, 54, 0.12);
}

.pm-home-badges-showcase__card:focus-visible {
  outline: 2px solid #3351e9;
  outline-offset: 3px;
}

.pm-home-badges-showcase__card--producthunt {
  background: linear-gradient(145deg, #ffffff 0%, #fff8f3 100%);
}

.pm-home-badges-showcase__ph-img {
  display: block;
  width: auto;
  max-width: min(100%, 190px);
  height: auto;
  max-height: 40px;
  object-fit: contain;
}

.pm-home-badges-showcase__card--trustpilot {
  gap: 8px;
  flex-wrap: wrap;
  border-color: rgba(0, 182, 122, 0.28);
  background: linear-gradient(135deg, rgba(0, 182, 122, 0.1) 0%, rgba(0, 182, 122, 0.03) 100%);
}

.pm-home-badges-showcase__card--trustpilot:hover {
  border-color: rgba(0, 182, 122, 0.45);
}

.pm-home-badges-showcase__tp-label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: #0f5132;
  white-space: nowrap;
}

.pm-home-badges-showcase__tp-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 110px);
  max-height: 28px;
  object-fit: contain;
}

.pm-home-badges-showcase__card--startupfame {
  background: linear-gradient(145deg, #ffffff 0%, #f8f5ff 100%);
}

.pm-home-badges-showcase__card--startupfame a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pm-home-badges-showcase__card--startupfame img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 130px);
  max-height: 40px;
  object-fit: contain;
}

.pm-home-badges-showcase__card--verifiedtools {
  background: linear-gradient(145deg, #ffffff 0%, #f3f8ff 100%);
}

.pm-home-badges-showcase__vt-img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 150px);
  max-height: 40px;
  object-fit: contain;
}

.pm-home-badges-showcase__card--turbo0 {
  background: linear-gradient(145deg, #ffffff 0%, #f4f7ff 100%);
}

.pm-home-badges-showcase__card--turbo0 a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pm-home-badges-showcase__card--turbo0 img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.pm-home-badges-showcase__card--fazier {
  background: linear-gradient(145deg, #ffffff 0%, #fff8f3 100%);
}

.pm-home-badges-showcase__card--fazier a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pm-home-badges-showcase__card--fazier img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 190px);
  max-height: 40px;
  object-fit: contain;
}

.pm-home-badges-showcase__card--neeed {
  background: linear-gradient(145deg, #ffffff 0%, #f5f3ff 100%);
}

.pm-home-badges-showcase__card--neeed a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pm-home-badges-showcase__card--neeed img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 110px);
  max-height: 42px;
  object-fit: contain;
}

.pm-home-badges-showcase__card--dang {
  min-height: 80px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
}

.pm-home-badges-showcase__card--dang a {
  line-height: 0;
}

.pm-home-badges-showcase__card--uneed {
  background: linear-gradient(145deg, #ffffff 0%, #fff5f8 100%);
}

.pm-home-badges-showcase__card--uneed a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pm-home-badges-showcase__card--uneed img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 150px);
  max-height: 40px;
  object-fit: contain;
}

.pm-home-badges-showcase__card--findly {
  background: linear-gradient(145deg, #ffffff 0%, #f3f8ff 100%);
}

.pm-home-badges-showcase__card--findly a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pm-home-badges-showcase__card--findly img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 135px);
  max-height: 42px;
  object-fit: contain;
}

.pm-home-badges-showcase__card--toolpilot {
  background: linear-gradient(145deg, #ffffff 0%, #f7f7f7 100%);
}

.pm-home-badges-showcase__toolpilot-img {
  display: block;
  width: auto;
  height: auto;
  max-height: 40px;
  max-width: 100%;
  object-fit: contain;
}

.pm-home-badges-showcase__card--buildlist {
  background: linear-gradient(145deg, #ffffff 0%, #f4f7ff 100%);
}

.pm-home-badges-showcase__card--buildlist a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pm-home-badges-showcase__card--buildlist img {
  display: block;
  height: 32px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.pm-home-badges-showcase__card--toolscafe {
  background: linear-gradient(145deg, #ffffff 0%, #f4f6fb 100%);
}

.pm-home-badges-showcase__card--toolscafe a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pm-home-badges-showcase__card--toolscafe img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 160px);
  max-height: 40px;
  object-fit: contain;
}

.pm-home-badges-showcase__card--launchstag {
  background: linear-gradient(145deg, #ffffff 0%, #f5f4fb 100%);
}

.pm-home-badges-showcase__card--launchstag a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pm-home-badges-showcase__card--launchstag img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 140px);
  max-height: 40px;
  object-fit: contain;
}

.pm-home-badges-showcase__card--tinystartups {
  gap: 8px;
  border-color: rgba(53, 37, 230, 0.2);
  background: linear-gradient(145deg, #ffffff 0%, #f6f3ff 100%);
}

.pm-home-badges-showcase__card--tinystartups:hover {
  border-color: rgba(53, 37, 230, 0.35);
}

.pm-home-badges-showcase__tinystartups-icon {
  display: block;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.pm-home-badges-showcase__tinystartups-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  line-height: 1.1;
}

.pm-home-badges-showcase__tinystartups-eyebrow {
  font-family: monospace;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6a6585;
  white-space: nowrap;
}

.pm-home-badges-showcase__tinystartups-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0e0b1f;
  white-space: nowrap;
}

.pm-home-badges-showcase__grid.pm-footer-badges {
  margin-top: 0;
}

.pm-home-poas-compare-inner {
  display: grid;
  grid-template-columns: 0.92fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.pm-home-poas-intro {
  padding: 42px 8px 10px;
}

.pm-home-poas-title {
  margin: 0 0 22px;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.pm-home-poas-title span {
  color: var(--pm-accent);
}

.pm-home-poas-title sup {
  font-size: 0.4em;
  top: -0.7em;
  position: relative;
  margin-left: 1px;
}

.pm-home-poas-intro-copy {
  max-width: 420px;
}

.pm-home-poas-intro p {
  margin: 0 0 14px;
  color: #3f4658;
  font-size: 16px;
  line-height: 1.55;
}

.pm-home-poas-link {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid #3351e9;
  color: #3351e9;
  font-size: 22px;
  font-weight: 600;
  background: #ffffff;
}

.pm-home-poas-card {
  position: relative;
  border-radius: 16px;
  padding: 22px 22px 18px;
}

.pm-home-poas-heading-wrap h3 {
  margin: 0;
  font-size: clamp(36px, 4.2vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.pm-home-poas-subtitle {
  margin: 8px 0 0;
  font-size: 24px;
  line-height: 1.15;
}

.pm-home-poas-tag {
  position: absolute;
  top: 0;
  right: 0;
  border-top-right-radius: 14px;
  border-bottom-left-radius: 12px;
  padding: 10px 18px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.pm-home-poas-card-roas {
  background: #e9eaee;
  color: #1a2245;
  box-shadow: inset 0 0 0 1px rgba(17, 25, 54, 0.07);
}

.pm-home-poas-tag-roas {
  background: #f05056;
  color: #ffffff;
}

.pm-home-poas-card-poas {
  background: #2644f6;
  color: #ffffff;
}

.pm-home-poas-tag-poas {
  background: #17ba72;
  color: #ffffff;
}

.pm-home-poas-metric-list,
.pm-home-poas-result-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.pm-home-poas-metric-list {
  margin-top: 18px;
  margin-bottom: 20px;
}

.pm-home-poas-metric-list li,
.pm-home-poas-result-list li {
  display: flex;
  gap: 11px;
  align-items: center;
}

.pm-home-poas-metric-list li i {
  width: 16px;
  text-align: center;
  font-size: 14px;
}

.pm-home-poas-metric-list li span {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
}

.pm-home-poas-metric-list-muted li {
  color: rgba(29, 36, 67, 0.28);
}

.pm-home-poas-divider {
  height: 1px;
  background: rgba(33, 44, 80, 0.2);
  margin: 0 0 18px;
}

.pm-home-poas-card-poas .pm-home-poas-divider {
  background: rgba(255, 255, 255, 0.24);
}

.pm-home-poas-formula {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.pm-home-poas-result-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
}

.pm-home-poas-result-list li span {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
}

.pm-home-poas-result-list li i {
  font-size: 14px;
  margin-top: 1px;
}

.pm-home-poas-result-list-negative li i {
  color: #1f2a4f;
}

.pm-home-poas-result-list-positive li i {
  color: #e9fff3;
}

.pm-maximize-profit {
  background: #ffffff;
  padding: 66px 0 72px;
}

.pm-maximize-title {
  margin: 0;
  text-align: center;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.pm-maximize-title span {
  color: var(--pm-accent);
}

.pm-maximize-nav {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.pm-maximize-nav a {
  border: 1px solid var(--pm-border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pm-text-muted);
  background: #f8f9fd;
  text-align: center;
  line-height: 1.25;
}

.pm-maximize-nav a:hover {
  color: var(--pm-accent-strong);
  border-color: var(--pm-accent-border);
  background: var(--pm-accent-soft);
}

.pm-maximize-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pm-feature-card {
  border: 1px solid var(--pm-border);
  border-radius: 16px;
  padding: 20px;
  background: #fbfcff;
}

.pm-feature-visual {
  width: 100%;
  height: 340px;
  object-fit: contain;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e8ecf7;
  margin-bottom: 14px;
  display: block;
}

.pm-feature-card h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.pm-feature-card p {
  margin: 0;
  color: var(--pm-text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.pm-feature-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.pm-feature-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--pm-text-muted);
  font-size: 15px;
  line-height: 1.5;
}

.pm-feature-card li::before {
  content: "•";
  color: var(--pm-accent);
  font-weight: 700;
}

.pm-feature-link {
  margin-top: 12px;
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--pm-accent);
  color: var(--pm-accent);
  font-weight: 600;
}

.pm-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.pm-cta-primary,
.pm-mobile-sidebar-actions .pm-header-cta-special {
  background: var(--pm-cta-gradient);
  color: #ffffff;
  box-shadow: 0 8px 22px var(--pm-accent-shadow);
}

.pm-mobile-sidebar-cta:not(.pm-header-cta-orange):not(.pm-header-cta-special) {
  background: var(--pm-cta-gradient);
  color: #ffffff;
  box-shadow: 0 8px 22px var(--pm-accent-shadow);
}

.pm-hero-actions .pm-cta-primary {
  background: var(--pm-cta-green-gradient);
  border-color: transparent;
  box-shadow: 0 8px 22px var(--pm-cta-green-shadow);
}

.pm-cta-primary:hover,
.pm-mobile-sidebar-cta:hover {
  color: #ffffff;
  filter: brightness(0.95);
  transform: translateY(-1px);
}

.pm-hero-actions .pm-cta-primary:hover {
  color: #ffffff;
  filter: brightness(0.97);
}

.pm-cta-secondary {
  background: #ffffff;
  color: var(--pm-accent);
}

.pm-content-wrap {
  padding: 0 0 72px;
  background: #ffffff;
}

.pm-card {
  background: var(--pm-surface);
  border: none;
  border-radius: 16px;
  padding: 0;
}

.pm-footer {
  border-top: 1px solid var(--pm-border);
  padding: 36px 0;
}

.pm-footer-logo {
  max-height: 40px;
  width: auto;
  margin-bottom: 0;
}

.pm-footer-top {
  display: block;
}

.pm-footer-secondary-text {
  margin: 0;
  color: var(--pm-text-muted);
  line-height: 1.6;
}

.pm-footer-top::after {
  content: "";
  display: table;
  clear: both;
}

.pm-footer-top .pm-footer-logo,
.pm-footer-top .custom-logo-link {
  float: left;
  margin-right: 14px;
  margin-bottom: 6px;
}

.pm-footer-menus {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 28px);
  margin-top: 20px;
}

.pm-footer-nav-stack {
  display: grid;
  gap: 22px;
  align-content: start;
}

.pm-footer-nav-title {
  margin: 0 0 12px;
  padding: 5px 10px;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  border-radius: 6px;
  border: 1px solid var(--pm-accent-muted-border);
  background: var(--pm-accent-muted-bg);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--pm-text);
}

.pm-footer-menu {
  display: grid;
  gap: 12px;
}

.pm-footer-badges {
  margin-top: 16px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 5px;
  padding: 5px;
  border-radius: 10px;
  border: 1px solid var(--pm-border);
  background: #f8f9fd;
}

@media (min-width: 1024px) {
  .pm-footer-badges {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.pm-footer-badge-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  text-align: center;
}

.pm-footer-badge-cell a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  line-height: 1;
}

.pm-footer-badge-img {
  display: block;
  height: auto;
  max-height: 36px;
  width: auto;
  max-width: min(100%, 160px);
  object-fit: contain;
  object-position: center;
}

.pm-footer-trustpilot a {
  gap: 4px;
  border-radius: 999px;
  padding: 0 10px;
  min-height: 36px;
  border: 1px solid #00b67a;
  background: linear-gradient(120deg, rgba(0, 182, 122, 0.12), rgba(0, 182, 122, 0.04));
  color: #0f5132;
  font-size: 11px;
  font-weight: 700;
}

.pm-footer-trustpilot a svg {
  width: 12px;
  height: 12px;
  display: block;
  flex-shrink: 0;
  fill: #00b67a;
}

.pm-footer-visalytica a {
  gap: 4px;
  padding: 0 10px;
  min-height: 36px;
  background: #7c3aed;
  color: #ffffff;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.pm-footer-visalytica a:hover {
  color: #ffffff;
  background: #6d28d9;
}

.pm-footer-visalytica a svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pm-footer-stackshare a {
  gap: 4px;
  padding: 0 10px;
  min-height: 36px;
  background: #0f172a;
  color: #ffffff;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.pm-footer-stackshare a:hover {
  color: #ffffff;
  background: #1e293b;
}

.pm-footer-nextgen-link,
.pm-footer-startupfame-link,
.pm-footer-toolpilot-link,
.pm-footer-fazier-link,
.pm-footer-dang-link,
.pm-footer-findly-link,
.pm-footer-verifiedtools-link,
.pm-footer-neeed-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-height: 40px;
  max-width: 100%;
}

.pm-footer-turbo0-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-height: 54px;
  max-width: 100%;
}

.pm-footer-turbo0 {
  min-height: 54px;
}

.pm-footer-turbo0-link svg {
  display: block;
  height: 54px;
  width: auto;
  max-width: 100%;
}

.pm-footer-bottom {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--pm-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pm-footer-copyright {
  margin: 0;
  color: var(--pm-text-muted);
  font-size: 14px;
}

.pm-footer-bottom-image {
  max-height: 28px;
  width: auto;
  display: block;
}

.pm-mobile-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: min(300px, 88vw);
  height: 100vh;
  height: 100dvh;
  padding: 0;
  background: linear-gradient(180deg, #0f172a 0%, #070d19 100%);
  border-right: 1px solid rgba(99, 102, 241, 0.22);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  color: #e2e8f0;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  z-index: 130;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pm-mobile-sidebar-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 52px 18px 22px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--pm-accent-rgb), 0.28) transparent;
}

.pm-mobile-sidebar:not(.is-open) {
  pointer-events: none;
}

.pm-mobile-sidebar.is-open {
  transform: translateX(0);
}

.pm-sidebar-toggle,
.pm-sidebar-close {
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(99, 102, 241, 0.24);
  color: #e2e8f0;
  border-radius: 999px;
  padding: 8px 10px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.pm-sidebar-toggle {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pm-sidebar-toggle .pm-icon-menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
}

.pm-sidebar-toggle .pm-icon-menu::before {
  display: block;
  line-height: 1;
}

.pm-sidebar-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  background: var(--pm-cta-gradient);
  color: #ffffff;
  border-color: transparent;
}

.pm-mobile-sidebar nav {
  margin-top: 0;
}

.pm-mobile-sidebar-badges-wrap {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.pm-mobile-sidebar-badges-label {
  margin: 0 0 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.pm-mobile-sidebar .pm-footer-badges.pm-mobile-sidebar-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 8px;
  margin-top: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  max-height: none;
  overflow: visible;
}

.pm-mobile-sidebar-badges .pm-footer-badge-cell {
  width: 100%;
  min-height: 40px;
  padding: 6px 4px;
  border: none;
  border-radius: 0;
  background: transparent;
  border-bottom: none;
}

.pm-mobile-sidebar-badges .pm-footer-badge-cell a {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.pm-mobile-sidebar-badges .pm-footer-badge-img {
  max-height: 28px;
  max-width: 100%;
  margin: 0 auto;
}

.pm-mobile-sidebar-badges .pm-footer-trustpilot a,
.pm-mobile-sidebar-badges .pm-footer-visalytica a,
.pm-mobile-sidebar-badges .pm-footer-stackshare a {
  width: 100%;
  justify-content: center;
  font-size: 9px;
  line-height: 1.2;
  text-align: center;
  padding: 6px 4px;
}

.pm-mobile-sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}

.pm-mobile-sidebar-actions .pm-mobile-sidebar-cta {
  border-radius: 14px;
}

.pm-mobile-sidebar-actions .pm-header-cta-orange.pm-mobile-sidebar-cta {
  background: linear-gradient(120deg, #ff8a1a 0%, #ff6b00 100%);
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.32);
}

.pm-mobile-sidebar-actions .pm-header-cta-special.pm-mobile-sidebar-cta {
  background: var(--pm-cta-gradient);
  box-shadow: 0 6px 16px var(--pm-accent-shadow);
}

.pm-mobile-sidebar-cta {
  margin-top: 0;
  width: 100%;
  min-height: 42px;
  padding-top: 11px;
  padding-bottom: 11px;
}

.pm-mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pm-mobile-menu > li {
  margin: 0;
}

.pm-mobile-menu a {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(99, 102, 241, 0.22);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96) 0%, rgba(11, 18, 36, 0.94) 100%);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #e2e8f0;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.pm-mobile-menu a:hover,
.pm-mobile-menu a:focus-visible {
  border-color: rgba(52, 199, 89, 0.42);
  background: linear-gradient(180deg, rgba(20, 30, 58, 0.98) 0%, rgba(15, 23, 42, 0.96) 100%);
  box-shadow: 0 6px 18px rgba(52, 199, 89, 0.12);
  color: #ffffff;
  transform: translateY(-1px);
}

.pm-mobile-menu .current-menu-item > a,
.pm-mobile-menu .current-menu-ancestor > a,
.pm-mobile-menu .current_page_item > a {
  border-color: rgba(52, 199, 89, 0.45);
  background: linear-gradient(120deg, rgba(52, 199, 89, 0.14), rgba(31, 97, 255, 0.1));
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(52, 199, 89, 0.14);
}

.pm-mobile-menu .pm-menu-item__label {
  flex: 1;
  text-align: left;
}

.pm-mobile-menu .pm-menu-item__visual {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(52, 199, 89, 0.1);
  border: 1px solid rgba(52, 199, 89, 0.18);
  color: #86efac;
}

.pm-mobile-menu .pm-menu-item__visual--image {
  width: 40px;
  height: 34px;
  background: rgba(15, 23, 42, 0.9);
}

.pm-mobile-menu .pm-menu-item__visual--lucide .pm-lucide-icon,
.pm-mobile-menu .pm-menu-item__visual--lucide svg {
  width: 20px;
  height: 20px;
}

.pm-mobile-menu .pm-menu-item__img {
  max-width: 100%;
  max-height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .pm-mobile-menu a:hover,
  .pm-mobile-menu a:focus-visible {
    transform: none;
  }
}

.pm-icon-menu::before {
  content: "☰";
  font-size: 18px;
}

.pm-account-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: var(--pm-cta-gradient);
  color: #ffffff;
  border: 1px solid var(--pm-accent);
  box-shadow: 0 4px 12px rgba(var(--pm-accent-rgb), 0.25);
}

.pm-account-icon svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* WooCommerce My Account */
.pm-account-wrap {
  padding: 34px 0 72px;
}

.pm-dashboard-body {
  background: #f4f7ff;
}

.pm-dashboard-page {
  min-height: 100vh;
}

.pm-dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 100%;
}

.pm-dashboard-header-nav {
  padding: 16px 16px 0;
  position: relative;
  z-index: 30;
}

.pm-dashboard-menu {
  position: relative;
  border-radius: 14px;
  background: #101a3f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: visible;
}

.pm-dashboard-menu-trigger {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.pm-dashboard-menu-trigger-start {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.pm-dashboard-menu-trigger-title {
  white-space: nowrap;
}

.pm-dashboard-menu-trigger-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid rgba(16, 26, 63, 0.1);
  box-shadow: 0 1px 3px rgba(8, 16, 44, 0.12);
}

.pm-dashboard-menu-trigger-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 4px;
  box-sizing: border-box;
}

.pm-dashboard-menu-trigger::-webkit-details-marker {
  display: none;
}

.pm-dashboard-menu-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--pm-accent-end);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(17, 25, 54, 0.2);
  transition: transform 0.2s ease;
}

.pm-dashboard-menu-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.pm-dashboard-menu[open] .pm-dashboard-menu-icon {
  transform: rotate(180deg);
}

.pm-dashboard-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  padding: 0 16px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: #101a3f;
  box-shadow: 0 18px 34px rgba(8, 16, 44, 0.35);
}

.pm-dashboard-nav,
.pm-dashboard-subnav {
  margin: 10px 0px;
  padding: 0;
  list-style: none;
}

.pm-dashboard-nav-parent > span {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #92a3ea;
}

.pm-dashboard-subnav {
  display: grid;
  gap: 6px;
}

.pm-dashboard-subnav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  color: #d7defb;
  font-weight: 600;
  border: 1px solid transparent;
}

.pm-nav-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
}

.pm-nav-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.pm-nav-icon img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}

.pm-nav-icon--google-ads img {
  border-radius: 3px;
}

.pm-nav-icon--shopify img {
  border-radius: 3px;
}

.pm-dashboard-nav-group--shopify {
  list-style: none;
  display: grid;
  gap: 4px;
}

.pm-dashboard-menu-panel .pm-dashboard-nav-group-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #92a3ea;
}

.pm-dashboard-menu-panel .pm-dashboard-subnav--nested {
  margin: 0 0 4px 32px;
  padding: 0 0 0 10px;
  list-style: none;
  border-left: 2px solid transparent;
}

.pm-dashboard-menu-panel .pm-dashboard-subnav--nested:has(a.is-active) {
  border-left-color: rgba(255, 255, 255, 0.28);
}

.pm-dashboard-menu-panel .pm-dashboard-subnav--nested li {
  margin: 0;
}

.pm-dashboard-menu-panel .pm-dashboard-subnav--nested a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px 8px 6px;
  font-size: 0.9rem;
  border-radius: 10px;
}

.pm-dashboard-subnav a:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.pm-dashboard-subnav a.is-active {
  background: rgba(var(--pm-accent-rgb), 0.22);
  border-color: rgba(115, 151, 255, 0.35);
  color: #ffffff;
}

.pm-dashboard-user {
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 14px;
  display: grid;
  gap: 8px;
}

.pm-dashboard-user p {
  margin: 0;
  color: #ffffff;
  font-weight: 700;
}

.pm-dashboard-user small {
  color: #a8b7f2;
}

.pm-dashboard-user a {
  margin-top: 4px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: #dc2626;
  color: #fff;
  font-weight: 600;
  text-align: center;
  border: 1px solid #ef4444;
}

.pm-dashboard-user a:hover {
  background: #b91c1c;
  color: #fff;
}

.pm-title-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.pm-title-with-icon img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

.pm-dashboard-main {
  padding: 20px 16px 16px;
  display: grid;
  gap: 20px;
}

.pm-dashboard-main.is-account-details {
  margin-top: 15px !important;
  padding-top: 30px !important;
}

.pm-dashboard-header-nav + .pm-dashboard-main.is-account-details {
  margin-top: 15px !important;
}

.pm-dashboard-main-header h1 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
}

.pm-dashboard-main-header p {
  margin: 8px 0 0;
  color: var(--pm-text-muted);
}

.pm-dashboard-range,
.pm-google-ads-range {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.pm-google-ads-range {
  margin: 0 0 14px;
}

.pm-dashboard-range-presets {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.pm-dashboard-range-custom {
  display: inline-flex;
  align-items: end;
  gap: 8px;
}

.pm-dashboard-range-custom label {
  display: inline-flex;
  align-items: center;
}

.pm-dashboard-range-custom input[type="date"] {
  height: 36px;
  padding: 0 10px;
  border: 1px solid #cad6ff;
  border-radius: 10px;
  background: #fff;
  color: #243058;
  font-size: 13px;
}

.pm-range-apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 auto;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #cad6ff;
  background: #f1f4ff;
  color: var(--pm-accent-end);
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}

.pm-range-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 auto;
  min-width: 4.25rem;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #cad6ff;
  background: #ffffff;
  color: var(--pm-accent-end);
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}

.pm-range-btn.is-active {
  background: var(--pm-accent-end);
  border-color: var(--pm-accent-end);
  color: #ffffff;
}

.pm-range-apply-btn:disabled,
.pm-range-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.pm-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 12px;
  font-size: 15px;
}

.pm-kpi-card {
  border: 1px solid #dce3f8;
  background: #ffffff;
  border-radius: 14px;
  padding: 14px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.pm-kpi-card h3 {
  margin: 0;
  font-size: 12px;
  color: #59658b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pm-kpi-hint {
  order: 3;
  margin: auto 0 0 !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  color: #7a8699 !important;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.3;
}

.pm-kpi-card p:not(.pm-kpi-hint) {
  order: 2;
  margin: 6px 0 0;
  font-size: clamp(17px, 1.9vw, 22px);
  font-weight: 800;
  color: #151e45;
  line-height: 1.15;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
}

.pm-kpi-card p.pm-kpi-hint + p {
  margin-top: 6px;
}

.pm-kpi-card--compact p:not(.pm-kpi-hint) {
  font-size: clamp(18px, 1.9vw, 22px);
}

.pm-kpi-value-main {
  display: block;
  font-weight: 800;
  font-size: clamp(16px, 1.75vw, 21px);
}

.pm-kpi-value-currency {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  color: #707a90;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.pm-kpi-card [data-kpi="product_value"] .pm-kpi-value-main,
.pm-kpi-card [data-kpi="sales"] .pm-kpi-value-main {
  color: var(--pm-accent);
}

.pm-kpi-card [data-kpi="cogs"] .pm-kpi-value-main {
  color: var(--pm-accent-end);
}

.pm-kpi-card [data-kpi="spend"] .pm-kpi-value-main {
  color: #ff9500;
}

.pm-kpi-card [data-kpi="profit"] .pm-kpi-value-main,
.pm-kpi-card [data-kpi="net_profit_after_ads"] .pm-kpi-value-main {
  color: #34c759;
}

.pm-kpi-chart-card {
  border: 1px solid #dce3f8;
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;
}

.pm-kpi-chart-card h2 {
  margin: 0;
  font-size: 18px;
}

.pm-kpi-chart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.pm-kpi-chart-lead {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #59658b;
  text-align: right;
}

.pm-kpi-chart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.pm-kpi-chart-sum {
  margin: 0;
  display: block;
  padding: 0;
}

.pm-kpi-chart-sum-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #6a7697;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.pm-kpi-chart-sum-value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #111936;
  letter-spacing: -0.02em;
  line-height: 1.2;
  word-break: break-word;
}

.pm-kpi-chart-canvas-wrap {
  position: relative;
  flex: 1 1 220px;
  height: 200px;
  min-height: 200px;
  max-height: 200px;
  min-width: 0;
  background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
  border-radius: 12px;
  border: 1px solid #e8edf8;
  overflow: hidden;
}

.pm-kpi-chart-canvas-wrap canvas {
  display: block;
  width: 100% !important;
  height: 200px !important;
  max-height: 200px !important;
}

.pm-kpi-chart-dates {
  margin: 10px 0 0;
  font-size: 12px;
  color: #6a7697;
}

/* Funnel: 4 columns */
.pm-funnel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 24px;
  align-items: stretch;
}

.pm-funnel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #dce3f8;
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 16px 16px;
  box-shadow: 0 8px 24px rgba(17, 25, 54, 0.05);
  min-height: 100%;
  padding-right: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.pm-funnel-card:hover,
.pm-funnel-card:focus-within {
  border-color: #7f95e8;
  background: linear-gradient(145deg, #f7f9ff 0%, #ffffff 80%);
  box-shadow: 0 10px 28px rgba(45, 77, 216, 0.14);
}

.pm-funnel-card__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.pm-funnel-card__icon {
  display: flex;
  flex-shrink: 0;
  color: var(--pm-accent-end);
  margin-top: 2px;
}

.pm-funnel-card__icon svg {
  display: block;
}

.pm-funnel-card__titles {
  flex: 1;
  min-width: 0;
}

.pm-funnel-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #151e45;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.pm-funnel-card__subtitle {
  margin: 3px 0 0;
  font-size: 12px;
  color: #6a7697;
  line-height: 1.35;
}

.pm-funnel-card__expand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: rgba(17, 25, 54, 0.4);
  margin-left: 4px;
  border: 1px solid #d4dcf7;
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.pm-funnel-card:hover .pm-funnel-card__expand,
.pm-funnel-card:focus-within .pm-funnel-card__expand {
  color: var(--pm-accent-end);
  border-color: #b7c6f8;
  background: var(--pm-accent-soft-alt);
  transform: scale(1.04);
}

.pm-funnel-card__expand:focus-visible {
  outline: 2px solid rgba(45, 77, 216, 0.35);
  outline-offset: 1px;
}

.pm-funnel-sparkline-wrap {
  position: relative;
  height: 128px;
  margin: 0 0 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, #fafbff 0%, #ffffff 100%);
  border: 1px solid #eef1fb;
  overflow: hidden;
}

.pm-funnel-sparkline-wrap canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.pm-funnel-rows {
  margin: 0;
  flex: 1 1 auto;
}

.pm-funnel-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  font-size: 12px;
  line-height: 1.45;
  padding: 5px 0;
  color: #3d496d;
}

.pm-funnel-row + .pm-funnel-row {
  border-top: 1px solid rgba(17, 25, 54, 0.06);
}

.pm-funnel-row dt {
  margin: 0;
  font-weight: 500;
  flex: 1;
  min-width: 0;
}

.pm-funnel-row dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pm-funnel-row--subtotal {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid rgba(17, 25, 54, 0.12);
  border-bottom: none;
  font-weight: 600;
}

.pm-funnel-footer {
  margin-top: auto;
  padding-top: 12px;
}

.pm-funnel-total {
  margin: 0;
  text-align: right;
  font-size: 13px;
  line-height: 1.45;
  color: #6a7697;
}

.pm-funnel-total-value {
  display: inline-block;
  margin-left: 6px;
  font-size: 22px;
  font-weight: 700;
  color: #b0b8c9;
  letter-spacing: -0.02em;
}

.pm-funnel-card .pm-funnel-total--accent .pm-funnel-total-value {
  color: #1fa971;
}

.pm-funnel-hint {
  margin: 6px 0 0;
  text-align: right;
  font-size: 11px;
  color: #8b93af;
  line-height: 1.35;
}

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

.pm-funnel-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.pm-funnel-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 25, 54, 0.48);
  backdrop-filter: blur(2px);
}

.pm-funnel-modal__dialog {
  position: relative;
  width: min(860px, 100%);
  max-height: min(88vh, 860px);
  overflow: auto;
  border-radius: 18px;
  border: 1px solid #dce3f8;
  background: #ffffff;
  box-shadow: 0 24px 56px rgba(17, 25, 54, 0.28);
  padding: 22px 22px 18px;
  animation: pm-funnel-modal-pop 0.22s ease;
}

@keyframes pm-funnel-modal-pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.pm-funnel-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid #d4dcf7;
  border-radius: 999px;
  background: #f6f8ff;
  color: #263b8f;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.pm-funnel-modal__head h3 {
  margin: 0;
  font-size: 24px;
  color: #111936;
}

.pm-funnel-modal__subtitle {
  margin: 6px 0 0;
  color: #5e6a8f;
  font-size: 14px;
}

.pm-funnel-modal__chart-wrap {
  margin-top: 16px;
  height: 240px;
  border-radius: 12px;
  border: 1px solid #e6edfb;
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
  overflow: hidden;
}

.pm-funnel-modal__chart-wrap canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.pm-funnel-modal__rows {
  margin: 14px 0 0;
}

.pm-funnel-modal__total {
  margin: 14px 0 0;
  font-size: 15px;
  color: #3c476a;
}

.pm-funnel-modal__hint {
  margin: 6px 0 0;
  color: #6e7898;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .pm-funnel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .pm-kpi-chart-sum {
    flex: 1 1 100%;
  }

  .pm-kpi-chart-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .pm-kpi-chart-lead {
    text-align: left;
  }
}

.pm-orders-chart-card {
  margin-bottom: 18px;
  border: 1px solid rgba(196, 210, 245, 0.85);
  background: linear-gradient(145deg, #f7f9ff 0%, #ffffff 52%, #f2faf6 100%);
  border-radius: 16px;
  padding: 18px 18px 14px;
  box-shadow: 0 10px 32px rgba(17, 25, 54, 0.06);
}

.pm-orders-chart-card h2 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: #151e45;
  letter-spacing: -0.02em;
}

.pm-orders-chart-sub {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #59658b;
}

.pm-orders-chart-range {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
}

a.pm-orders-range-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #cad6ff;
  background: #ffffff;
  color: var(--pm-accent-end);
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

a.pm-orders-range-btn:hover {
  border-color: var(--pm-accent-end);
  color: #1a3bb8;
}

a.pm-orders-range-btn.is-active {
  background: var(--pm-cta-gradient);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(45, 77, 216, 0.28);
}

.pm-orders-chart-empty {
  margin: 0;
  font-size: 14px;
  color: #6a7697;
}

.pm-orders-chart-wrap {
  position: relative;
}

.pm-orders-chart-wrap.is-loading .pm-orders-chart-canvas-wrap {
  opacity: 0.55;
  pointer-events: none;
}

.pm-orders-chart-canvas-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  max-height: min(42vh, 280px);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 249, 255, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.pm-orders-chart-canvas-wrap canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.pm-orders-chart-updated {
  margin: 10px 0 0;
  font-size: 12px;
  color: #6a7697;
}

.pm-google-ads-connection {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d8e2ff;
  background: #f5f8ff;
  color: var(--pm-accent-end);
  font-size: 13px;
  font-weight: 600;
}

.pm-google-ads-connection.is-connected {
  border-color: #bfe5d7;
  background: #e9fff3;
  color: #12824f;
}

.pm-google-ads-connection.is-disconnected {
  border-color: #f4d0c8;
  background: #fff3ef;
  color: #b54a2f;
}

.pm-google-ads-chart-card {
  border: 1px solid #dce3f8;
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;
}

.pm-google-ads-chart-card h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.pm-google-ads-chart-empty {
  margin: 0 0 10px;
  font-size: 13px;
  color: #6a7697;
}

.pm-google-ads-chart-wrap {
  position: relative;
  height: 200px;
  min-height: 200px;
  max-height: 200px;
  border-radius: 12px;
  border: 1px solid #e8edf8;
  background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
  overflow: hidden;
}

.pm-google-ads-chart-wrap canvas {
  display: block;
  width: 100% !important;
  height: 200px !important;
  max-height: 200px !important;
}

.pm-plugin-download-card {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: linear-gradient(
    135deg,
    rgba(248, 250, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.88) 42%,
    rgba(237, 242, 255, 0.94) 100%
  );
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 20px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  box-shadow:
    0 14px 44px rgba(17, 25, 54, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.pm-plugin-download-copy h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.pm-plugin-download-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #475569;
  max-width: 62ch;
}

.pm-plugin-download-card .pm-plugin-download-btn {
  flex: 0 0 auto;
  white-space: nowrap;
  border: none;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, #34d399 0%, #10b981 42%, #059669 100%);
  box-shadow:
    0 6px 20px rgba(5, 150, 105, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.pm-plugin-download-card .pm-plugin-download-btn:hover {
  color: #ffffff;
  filter: brightness(1.05);
  box-shadow:
    0 10px 28px rgba(5, 150, 105, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.pm-plugin-download-card .pm-plugin-download-btn:active {
  transform: translateY(0);
  filter: brightness(0.97);
}

.pm-plugin-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.pm-plugin-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 18px 18px 17px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    0 10px 36px rgba(45, 77, 216, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  isolation: isolate;
}

.pm-plugin-card::before {
  content: "";
  position: absolute;
  inset: -40% -30% auto auto;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  opacity: 0.55;
  filter: blur(36px);
  z-index: 0;
  pointer-events: none;
}

.pm-plugin-card > * {
  position: relative;
  z-index: 1;
}

.pm-plugin-card--g1 {
  background: linear-gradient(155deg, #f5f3ff 0%, #faf5ff 38%, #ffffff 100%);
}

.pm-plugin-card--g1::before {
  background: radial-gradient(circle at 30% 30%, rgba(167, 139, 250, 0.55), transparent 65%);
}

.pm-plugin-card--g2 {
  background: linear-gradient(155deg, #ecfdf5 0%, #f0fdf4 40%, #ffffff 100%);
}

.pm-plugin-card--g2::before {
  background: radial-gradient(circle at 30% 30%, rgba(52, 211, 153, 0.5), transparent 65%);
}

.pm-plugin-card--g3 {
  background: linear-gradient(155deg, #ecfeff 0%, #f0f9ff 40%, #ffffff 100%);
}

.pm-plugin-card--g3::before {
  background: radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.48), transparent 65%);
}

.pm-plugin-card--g4 {
  background: linear-gradient(155deg, #fffbeb 0%, #fff7ed 40%, #ffffff 100%);
}

.pm-plugin-card--g4::before {
  background: radial-gradient(circle at 30% 30%, rgba(251, 191, 36, 0.42), transparent 65%);
}

.pm-plugin-card--g5 {
  background: linear-gradient(155deg, #fdf2f8 0%, #fff1f2 40%, #ffffff 100%);
}

.pm-plugin-card--g5::before {
  background: radial-gradient(circle at 30% 30%, rgba(244, 114, 182, 0.45), transparent 65%);
}

.pm-plugin-card--g6 {
  background: linear-gradient(155deg, var(--pm-accent-soft) 0%, #f5f3ff 40%, #ffffff 100%);
}

.pm-plugin-card--g6::before {
  background: radial-gradient(circle at 30% 30%, rgba(129, 140, 248, 0.5), transparent 65%);
}

.pm-plugin-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #0f172a;
}

.pm-plugin-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #475569;
}

.pm-mcxml-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
  margin-top: 6px;
}

.pm-mcxml-card h2 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
}

.pm-mcxml-dl {
  margin: 0;
}

.pm-mcxml-dl-row {
  display: grid;
  grid-template-columns: minmax(100px, 38%) 1fr;
  gap: 10px 16px;
  padding: 10px 0;
  border-bottom: 1px solid #e8edf8;
  font-size: 14px;
}

.pm-mcxml-dl-row:last-child {
  border-bottom: none;
}

.pm-mcxml-dl-row dt {
  margin: 0;
  font-weight: 600;
  color: #4a5578;
}

.pm-mcxml-dl-row dd {
  margin: 0;
  color: #1a2233;
  word-break: break-word;
}

.pm-mcxml-dl-row--url dd {
  font-size: 13px;
}

.pm-mcxml-url {
  color: var(--pm-accent-end);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pm-mcxml-url:hover {
  color: #1b2f7a;
}

.pm-mcxml-na {
  color: #6a7697;
}

.pm-dashboard-main-header--mcxml {
  margin-bottom: 0;
}

.pm-mcxml-subtitle {
  margin-bottom: 0;
}

.pm-mcxml-panel {
  display: block;
}

.pm-mcxml-grid--ios .pm-mcxml-card {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 251, 255, 0.9) 100%);
  box-shadow: 0 18px 38px -24px rgba(15, 33, 78, 0.35), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.pm-mcxml-grid--ios .pm-mcxml-dl-row {
  border-bottom-color: rgba(108, 132, 180, 0.18);
}

.pm-mcxml-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(52, 199, 89, 0.14);
  color: #168647;
  font-weight: 700;
  font-size: 12px;
}

.pm-orders-daily-chart-svg {
  width: 100%;
  height: auto;
  max-height: 200px;
  display: block;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 249, 255, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.pm-orders-daily-chart-svg .pm-orders-bar-hit {
  cursor: crosshair;
}

.pm-gads-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pm-gads-pill--sent {
  background: linear-gradient(120deg, #28a745 0%, #34c759 45%, #30d158 100%);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(48, 209, 88, 0.35);
}

.pm-gads-pill--not {
  background: linear-gradient(120deg, #d70015 0%, #ff3b30 50%, #ff453a 100%);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(255, 59, 48, 0.32);
}

.pm-order-source-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.pm-order-source-badge img {
  width: 15px;
  height: 15px;
  object-fit: contain;
  display: block;
}

.pm-order-source-badge--woocommerce {
  color: #6f2dbd;
  background: rgba(111, 45, 189, 0.12);
  border-color: rgba(111, 45, 189, 0.25);
}

.pm-order-source-badge--shopify {
  color: #166534;
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.28);
}

.pm-order-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pm-order-status-pill--cod-pending {
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
  border-color: rgba(59, 130, 246, 0.28);
}

.pm-order-status-pill--gads-retracted {
  background: rgba(249, 115, 22, 0.12);
  color: #c2410c;
  border-color: rgba(249, 115, 22, 0.28);
}

.pm-order-status-pill--pending-payment,
.pm-order-status-pill--no-click-id,
.pm-order-status-pill--gads-not-configured,
.pm-order-status-pill--not-sent-to-google-ads,
.pm-order-status-pill--gads-failed {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border-color: rgba(239, 68, 68, 0.25);
}

.pm-order-status-pill--pending-payment {
  background: rgba(245, 158, 11, 0.12);
  color: #92400e;
  border-color: rgba(245, 158, 11, 0.28);
}

.pm-order-status-pill--no-click-id,
.pm-order-status-pill--gads-not-configured,
.pm-order-status-pill--not-sent-to-google-ads {
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
  border-color: rgba(100, 116, 139, 0.22);
}

.pm-order-status-pill--sent-to-google-ads,
.pm-order-status-pill--sent,
.pm-order-status-pill--paid {
  background: rgba(52, 199, 89, 0.12);
  color: #166534;
  border-color: rgba(52, 199, 89, 0.28);
}

.pm-account-licenses-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.pm-account-licenses-head h2 {
  margin: 0;
}

.pm-buy-license-btn {
  flex-shrink: 0;
  background: linear-gradient(120deg, #28a745 0%, #34c759 45%, #30d158 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(48, 209, 88, 0.35);
}

.pm-buy-license-btn:hover {
  filter: brightness(1.04);
  box-shadow: 0 6px 18px rgba(48, 209, 88, 0.42);
}

.pm-orders-profit-pill,
.pm-orders-profit-sum-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  color: #ffffff;
  background: linear-gradient(120deg, #28a745 0%, #34c759 45%, #30d158 100%);
  box-shadow: 0 2px 10px rgba(48, 209, 88, 0.35);
}

.pm-orders-profit-sum-pill {
  min-width: 96px;
  padding: 7px 14px;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(48, 209, 88, 0.4);
}

.pm-orders-table .pm-orders-profit-total-row td {
  background: linear-gradient(180deg, #ecfdf3 0%, #d1fae5 100%);
  border-top: 1px solid rgba(52, 199, 89, 0.28);
  font-weight: 700;
  vertical-align: middle;
}

.pm-orders-profit-total-label {
  text-align: right;
  color: #166534;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.pm-orders-profit-total-cell {
  text-align: left;
}

.pm-order-status-pill--not-sent,
.pm-order-status-pill--pending,
.pm-order-status-pill--authorized,
.pm-order-status-pill--partially-paid,
.pm-order-status-pill--partially_paid {
  background: rgba(245, 158, 11, 0.12);
  color: #92400e;
  border-color: rgba(245, 158, 11, 0.28);
}

.pm-order-status-pill--refunded,
.pm-order-status-pill--voided,
.pm-order-status-pill--cancelled {
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
  border-color: rgba(100, 116, 139, 0.24);
}

.pm-order-status-pill--unknown {
  background: rgba(var(--pm-accent-rgb), 0.12);
  color: #27408f;
  border-color: rgba(var(--pm-accent-rgb), 0.24);
}

.pm-campaign-table-wrap {
  border: 1px solid #dce3f8;
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;
}

.pm-campaign-table-wrap h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.pm-orders-sort-hint {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.45;
  color: #59658b;
}

.pm-orders-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 14px;
  font-size: 14px;
  color: #59658b;
}

.pm-orders-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #cad6ff;
  background: #ffffff;
  color: var(--pm-accent-end);
  font-weight: 600;
  text-decoration: none;
}

.pm-orders-page-link:hover {
  border-color: var(--pm-accent-end);
  color: #1f2a4f;
}

.pm-orders-page-status {
  font-weight: 600;
  color: #151e45;
}

.pm-campaign-table {
  width: 100%;
  border-collapse: collapse;
}

.pm-campaign-table th,
.pm-campaign-table td {
  border-bottom: 1px solid #e7ecfa;
  padding: 10px 8px;
  text-align: left;
  font-size: 14px;
}

.pm-campaign-table th {
  color: #6a7697;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pm-dashboard-grid-single {
  display: grid;
  gap: 14px;
}

.pm-account-shell {
  border: 1px solid var(--pm-border);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: 0 10px 30px rgba(17, 25, 54, 0.05);
  overflow: hidden;
}

.pm-account-back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid #cfd9f7;
  background: rgba(255, 255, 255, 0.95);
  color: var(--pm-accent-end);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.pm-account-back-home:hover {
  background: var(--pm-accent-soft-alt);
  color: #1f3fcb;
}

.pm-account-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--pm-border);
  background: radial-gradient(circle at top right, rgba(var(--pm-accent-rgb), 0.08), transparent 55%);
}

.pm-account-kicker {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--pm-accent);
  font-weight: 700;
}

.pm-account-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
}

.pm-account-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  min-height: 460px;
}

.pm-account-sidebar {
  padding: 20px 16px;
  border-right: 1px solid var(--pm-border);
  background: #fbfcff;
}

.pm-account-panel {
  padding: 24px;
}

.pm-account-panel-full {
  display: block;
}

.pm-account-tabs {
  display: flex;
  gap: 0;
  margin: 0 0 18px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--pm-border);
  background: #f1f5f9;
}

.pm-account-tab {
  flex: 1;
  padding: 12px 10px;
  border: none;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
  color: #64748b;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.pm-account-tab:hover {
  color: #0f172a;
}

.pm-account-tab[aria-selected='true'],
.pm-account-tab.is-active {
  background: #ffffff;
  color: var(--pm-accent, var(--pm-accent-end));
  box-shadow: inset 0 -3px 0 var(--pm-accent, var(--pm-accent-end));
}

.pm-account-auth .pm-account-tab-panel {
  display: none;
}

.pm-account-auth .pm-account-tab-panel.is-active {
  display: block;
}

.pm-account-auth .pm-account-tab-panel[hidden] {
  display: none !important;
}

.pm-account-tab-intro {
  margin: 0 0 14px;
  color: var(--pm-text-muted);
  font-size: 15px;
  line-height: 1.5;
}

.pm-signup-actions {
  margin: 16px 0 0;
}

.pm-signup-submit.button-primary {
  width: 100%;
  justify-content: center;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
}

.pm-signup-email-disabled {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.pm-social-login--signup {
  margin-top: 16px;
}

.pm-auth-card {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border: 1px solid var(--pm-border);
  border-radius: 16px;
  background: #ffffff;
  padding: 22px;
}

.pm-auth-card h2 {
  margin: 0 0 8px;
}

.pm-auth-card p {
  color: var(--pm-text-muted);
}

.pm-login-message {
  margin: 10px 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
}

.pm-login-message-error {
  border: 1px solid #f5c7c9;
  background: #fff1f1;
  color: #b42318;
}

.pm-login-message-success {
  border: 1px solid #bfe5d7;
  background: #e9fff3;
  color: #12824f;
}

.pm-password-req-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}

.pm-password-req {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--pm-text-muted);
}

.pm-password-req--met {
  color: #12824f;
}

.pm-auth-resend-link {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: #007aff;
  text-decoration: underline;
  cursor: pointer;
}

.pm-auth-resend-link:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.vx-account-deleted-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgb(15 23 42 / 55%);
}

.vx-account-deleted-modal__card {
  width: min(100%, 440px);
  padding: 28px 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 48px rgb(15 23 42 / 18%);
}

.vx-account-deleted-modal__title {
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
}

.vx-account-deleted-modal__text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #475569;
}

.vx-account-deleted-modal__text a {
  color: #007aff;
  font-weight: 600;
  text-decoration: none;
}

.vx-account-deleted-modal__text a:hover {
  text-decoration: underline;
}

.pm-login-forgot {
  margin: 14px 0 6px;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
}

.pm-login-forgot a {
  color: var(--pm-accent, var(--pm-accent-end));
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pm-login-forgot a:hover {
  color: var(--pm-accent-deep);
}

.pm-signup-terms {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.88);
  font-size: 13px;
  line-height: 1.45;
  color: #475569;
}

.pm-signup-terms__checkbox {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(148, 163, 184, 0.55);
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  display: grid;
  place-content: center;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease;
}

.pm-signup-terms__checkbox::after {
  content: "";
  width: 10px;
  height: 6px;
  border: 2px solid transparent;
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg) scale(0);
  transform-origin: center;
  transition: transform 0.12s ease;
}

.pm-signup-terms__checkbox:checked {
  border-color: var(--pm-accent, var(--pm-accent-end));
  background: var(--pm-accent, var(--pm-accent-end));
}

.pm-signup-terms__checkbox:checked::after {
  border-color: #fff;
  transform: rotate(-45deg) scale(1);
}

.pm-signup-terms__checkbox:focus-visible {
  outline: 2px solid rgba(var(--pm-accent-rgb), 0.35);
  outline-offset: 2px;
}

.pm-signup-terms__text {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  font-weight: 500;
  line-height: 1.45;
  cursor: pointer;
}

.pm-signup-google-trial-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
}

.pm-signup-google-trial-note strong {
  color: #334155;
  font-weight: 600;
}

.pm-signup-terms a {
  color: var(--pm-accent, var(--pm-accent-end));
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pm-signup-terms a:hover {
  color: var(--pm-accent-deep);
}

.pm-auth-card-submit {
  margin-top: 12px;
  text-align: center;
}

.pm-auth-card label {
  display: block;
  font-weight: 600;
  margin: 10px 0 6px;
}

.pm-auth-card input[type="text"],
.pm-auth-card input[type="password"],
.pm-auth-card input[type="email"] {
  width: 100%;
  border: 1px solid var(--pm-border);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 15px;
}

.pm-password-wrap {
  position: relative;
}

.pm-password-wrap input[type="password"],
.pm-password-wrap input[type="text"] {
  padding-right: 74px;
}

.pm-password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  height: 30px;
  min-width: 56px;
  padding: 0 10px;
  border: 1px solid var(--pm-border);
  border-radius: 999px;
  background: #f7f9ff;
  color: var(--pm-text);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.pm-password-toggle:hover {
  background: var(--pm-accent-soft);
}

.pm-auth-card .login-submit {
  margin-top: 12px;
  text-align: center;
}

.pm-auth-card .button {
  width: 100%;
  border-radius: 999px;
  border: 1px solid var(--pm-accent);
  background: var(--pm-cta-gradient);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 14px;
  transform: scale(1);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.pm-auth-card .button:hover {
  transform: scale(1.02);
  filter: brightness(1.02);
}

.pm-social-login {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.pm-social-login .nsl-container {
  width: 100%;
}

/* Outline style: same blue as account links on this page */
.pm-auth-card .pm-google-oauth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 2px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--pm-accent-strong);
  background: #ffffff;
  color: var(--pm-accent-strong);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  transform: scale(1);
  transition: transform 0.18s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.pm-auth-card .pm-google-oauth-btn:hover {
  color: var(--pm-accent-strong);
  background: #f3f6ff;
  border-color: var(--pm-accent-strong);
  transform: scale(1.02);
}

.pm-auth-card .pm-google-oauth-btn__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.pm-auth-card .pm-google-oauth-btn__label {
  white-space: nowrap;
}

.pm-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
}

.pm-auth-divider::before,
.pm-auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--pm-border, #e2e8f0);
}

.pm-auth-page-wrap .pm-google-oauth-btn {
  width: 100%;
}

.pm-account-links {
  margin-top: 14px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.pm-account-links a {
  color: var(--pm-accent-strong);
  font-weight: 600;
}

.pm-account-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.pm-account-info-list {
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
}

.pm-account-info-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 9px 0;
  border-bottom: 1px dashed #e3eafe;
}

.pm-account-info-row:last-child {
  border-bottom: 0;
}

.pm-account-info-row dt {
  margin: 0;
  font-size: 12px;
  color: #6a7697;
  font-weight: 700;
}

.pm-account-info-row dd {
  margin: 0;
  color: #152042;
  font-weight: 600;
  word-break: break-word;
}

.pm-account-info-row dd a {
  color: var(--pm-accent-strong);
}

.pm-account-actions .pm-cta-btn,
.pm-auth-card-submit .pm-cta-btn {
  width: 100%;
  font-size: 16px;
  padding: 10px 16px;
}

.pm-account-support-grid {
  margin-top: 5px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pm-account-support-card {
  margin-top: 0;
}

.pm-account-licenses-card {
  margin-top: 16px;
  max-width: 100%;
  align-self: start;
}

.pm-dashboard-grid-single {
  align-items: start;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.woocommerce-account .woocommerce-MyAccount-navigation-link a {
  display: block;
  padding: 11px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--pm-text);
  font-weight: 600;
  transition: all 0.2s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation-link a:hover {
  border-color: var(--pm-border);
  background: #f4f7ff;
}

.woocommerce-account .woocommerce-MyAccount-navigation-link.is-active a {
  border-color: rgba(var(--pm-accent-rgb), 0.28);
  background: linear-gradient(120deg, rgba(var(--pm-accent-rgb), 0.12), rgba(var(--pm-accent-rgb), 0.04));
  color: var(--pm-accent-strong);
}

.woocommerce-account .woocommerce-MyAccount-content {
  color: var(--pm-text);
}

.woocommerce-account .woocommerce-MyAccount-content p {
  color: var(--pm-text-muted);
}

.woocommerce-account .woocommerce-Address,
.woocommerce-account .woocommerce-EditAccountForm,
.woocommerce-account .woocommerce-Addresses,
.woocommerce-order,
.woocommerce .woocommerce-customer-details,
.woocommerce .woocommerce-order-details {
  border: 1px solid var(--pm-border);
  border-radius: 16px;
  padding: 18px;
  background: #ffffff;
}

.woocommerce-account .button,
.woocommerce-account button.button,
.woocommerce-account input.button,
.woocommerce-account .woocommerce-Button {
  border-radius: 999px;
  border: 1px solid var(--pm-accent);
  background: var(--pm-cta-gradient);
  color: #ffffff;
  font-weight: 700;
  padding: 10px 18px;
}

.woocommerce-account input.input-text,
.woocommerce-account textarea,
.woocommerce-account select {
  border: 1px solid var(--pm-border);
  border-radius: 12px;
  padding: 10px 12px;
  background: #ffffff;
}

.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-error {
  border-radius: 12px;
}

/* Blog / archive grid (iOS-style cards) */
.pm-blog-archive {
  padding: 28px 0 56px;
  background: #f2f4f8;
  min-height: 50vh;
}

.pm-blog-archive-header {
  margin-bottom: 22px;
  text-align: center;
}

.pm-blog-archive-title {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pm-text);
}

.pm-blog-archive-desc {
  margin: 0 auto;
  max-width: 640px;
  color: var(--pm-text-muted);
  font-size: 15px;
  line-height: 1.55;
}

.pm-blog-archive-desc p {
  margin: 0;
}

.pm-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 768px) {
  .pm-blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1100px) {
  .pm-blog-grid {
    gap: 18px;
  }
}

.pm-post-card {
  margin: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(217, 225, 241, 0.95);
  box-shadow: 0 2px 12px rgba(17, 25, 54, 0.06);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pm-post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(17, 25, 54, 0.1);
}

.pm-post-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.pm-post-card-link:hover {
  color: inherit;
}

.pm-post-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, var(--pm-accent-soft) 0%, #e8f5f0 100%);
  overflow: hidden;
}

.pm-post-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pm-post-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(var(--pm-accent-rgb), 0.12), rgba(41, 211, 163, 0.12));
}

.pm-post-card-placeholder-icon {
  font-size: 28px;
  color: rgba(var(--pm-accent-rgb), 0.35);
  line-height: 1;
}

.pm-post-card-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.pm-post-card-date {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pm-accent-2);
}

.pm-post-card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--pm-text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pm-post-card-excerpt {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--pm-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pm-blog-empty {
  text-align: center;
  color: var(--pm-text-muted);
  padding: 40px 16px;
}

.pm-blog-pagination {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.pm-blog-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pm-blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--pm-border);
  background: #ffffff;
  color: var(--pm-text-muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.pm-blog-pagination a.page-numbers:hover {
  color: var(--pm-text);
  border-color: var(--pm-accent-border);
  background: var(--pm-accent-soft);
}

.pm-blog-pagination .page-numbers.current {
  color: #ffffff;
  border-color: transparent;
  background: var(--pm-cta-gradient);
}

.pm-blog-pagination .prev,
.pm-blog-pagination .next {
  border-radius: 999px;
  padding: 0 16px;
}

.pm-poas-calculator-shell {
  padding: 14px 0 10px;
}

.pm-poas-calculator-ios-card {
  border-radius: 28px;
  padding: clamp(18px, 2.8vw, 34px);
  background: linear-gradient(145deg, #f7f9ff 0%, var(--pm-accent-soft-alt) 45%, #eaf8f4 100%);
  border: 1px solid rgba(196, 210, 245, 0.85);
  box-shadow: 0 20px 55px rgba(34, 65, 184, 0.12);
}

.pm-poas-calculator-head {
  margin-bottom: 16px;
}

.pm-poas-calculator-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1f61ff;
}

.pm-poas-calculator-head h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4.7vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.pm-poas-calculator-head p {
  margin: 0;
  color: #4a5a7f;
  max-width: 700px;
}

.pm-poas-calculator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pm-poas-field {
  display: grid;
  gap: 7px;
}

.pm-poas-field-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pm-poas-field-label {
  font-size: 13px;
  font-weight: 700;
  color: #30487a;
}

.pm-poas-field span {
  font-size: 13px;
  font-weight: 700;
  color: #30487a;
}

.pm-poas-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pm-poas-manual-input {
  width: 100%;
  border: 1px solid #c9d7ff;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  min-height: 40px;
  padding: 8px 10px;
  font-size: 14px;
  color: #111936;
}

.pm-poas-manual-input:focus {
  outline: 0;
  border-color: #7a9cff;
  box-shadow: 0 0 0 3px rgba(var(--pm-accent-rgb), 0.15);
}

.pm-poas-slider {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  min-height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(var(--pm-accent-rgb), 0.55), rgba(var(--pm-accent-end-rgb), 0.52));
}

.pm-poas-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: var(--pm-cta-gradient-135);
  box-shadow: 0 4px 12px var(--pm-accent-shadow-soft);
  cursor: pointer;
}

.pm-poas-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: var(--pm-cta-gradient-135);
  box-shadow: 0 4px 12px var(--pm-accent-shadow-soft);
  cursor: pointer;
}

.pm-poas-manual-input {
  width: 112px;
  min-width: 112px;
}

.pm-poas-results {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pm-poas-result-card {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(210, 220, 248, 0.92);
  padding: 12px 13px;
}

.pm-poas-result-card p {
  margin: 0;
  font-size: 12px;
  color: #51638f;
  flex: 1 1 auto;
  min-width: 0;
}

.pm-poas-result-card strong {
  margin: 0;
  font-size: clamp(18px, 3vw, 28px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.pm-poas-result-card-alert {
  flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(255, 111, 145, 0.14), rgba(255, 159, 103, 0.16));
  grid-column: span 2;
}

.pm-poas-result-card-alert.is-positive {
  background: linear-gradient(120deg, rgba(52, 199, 89, 0.22), rgba(48, 209, 88, 0.15));
}

.pm-poas-result-card-alert.is-negative {
  background: linear-gradient(120deg, rgba(255, 59, 48, 0.22), rgba(255, 69, 58, 0.14));
}

.pm-poas-message {
  margin: 14px 0 0;
  color: var(--pm-accent-deep);
  font-weight: 600;
}

.pm-poas-wootrack-preview {
  margin-top: 12px;
  border-radius: 16px;
  padding: 14px;
  border: 1px solid rgba(184, 208, 252, 0.9);
  background: linear-gradient(120deg, rgba(10, 132, 255, 0.08), rgba(48, 209, 88, 0.08));
}

.pm-poas-wootrack-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--pm-accent-deep);
}

.pm-poas-wootrack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.pm-poas-wootrack-grid > * {
  min-width: 0;
}

.pm-poas-wootrack-col {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 4px 8px;
  text-align: center;
  min-width: 0;
  border-radius: 12px;
  padding: 10px 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(202, 220, 255, 0.9);
}

.pm-poas-wootrack-col-highlight {
  background: linear-gradient(120deg, rgba(52, 199, 89, 0.16), rgba(48, 209, 88, 0.1));
  border-color: rgba(101, 211, 136, 0.9);
}

.pm-poas-wootrack-col p,
.pm-poas-wootrack-col small {
  margin: 0;
  color: #40557f;
}

.pm-poas-wootrack-col p,
.pm-poas-wootrack-col strong {
  flex: 0 1 auto;
  max-width: 100%;
  text-align: center;
}

.pm-poas-wootrack-col strong {
  margin: 0;
  font-size: clamp(15px, 3.2vw, 24px);
  line-height: 1.15;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pm-poas-wootrack-col small {
  flex: 1 1 100%;
  width: 100%;
  font-size: 11px;
  text-align: center;
}

.pm-poas-wootrack-uplift {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--pm-accent-deep);
}

.pm-poas-cta {
  margin-top: 16px;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  min-height: 48px;
  padding: 12px 20px;
  color: #ffffff;
  font-weight: 700;
  background: linear-gradient(120deg, var(--pm-accent) 0%, var(--pm-accent-end) 55%, var(--pm-accent-2) 100%);
  box-shadow: 0 12px 24px rgba(29, 101, 242, 0.24);
}

.pm-poas-cta:hover {
  color: #ffffff;
  filter: brightness(0.98);
}

@media (max-width: 900px) {
  .pm-header-desktop {
    display: none;
  }

  .pm-header-mobile {
    min-height: auto;
    padding: 8px 0;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 12px;
  }

  .pm-header-mobile {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  .pm-logo-mobile {
    justify-self: center;
    max-width: 100%;
    min-width: 0;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    text-align: left;
    overflow: hidden;
  }

  .pm-logo-mobile .pm-custom-logo-img {
    flex-shrink: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    max-height: none;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
  }

  .pm-logo-mobile .pm-site-logo-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
  }

  .pm-logo-mobile .pm-platform-badge,
  .pm-logo-mobile .pm-woo-badge {
    display: none !important;
  }

  .pm-mobile-sidebar-actions {
    gap: 6px;
    margin-top: 14px;
  }

  .pm-mobile-sidebar-cta {
    min-height: 40px;
    font-size: 14px;
  }

  .pm-footer-menus {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pm-footer-top {
    display: block;
  }

  .pm-footer-secondary-text {
    width: 100%;
  }

  .pm-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .pm-home-badges-showcase {
    padding: 28px 0 36px;
  }

  .pm-home-badges-showcase__lead {
    font-size: 14px;
    margin: 10px auto 20px;
  }

  .pm-home-badges-showcase__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
  }

  .pm-home-badges-showcase__card {
    flex: unset;
    min-height: 60px;
    padding: 10px 10px;
  }

  .pm-home-badges-showcase__tp-label {
    font-size: 12px;
    white-space: normal;
    text-align: center;
  }

  .pm-hero-subtitle {
    font-size: 18px;
  }

  .pm-cta-btn {
    font-size: 18px;
    min-width: 150px;
  }

  .pm-home-poas-compare-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pm-home-poas-compare {
    padding: 8px 0 42px;
  }

  .pm-home-poas-intro {
    padding: 12px 2px 18px;
    text-align: center;
  }

  .pm-home-poas-intro-copy {
    max-width: 100%;
  }

  .pm-home-poas-title {
    font-size: clamp(34px, 10vw, 52px);
  }

  .pm-home-poas-link {
    margin-top: 14px;
    font-size: 20px;
    min-width: 146px;
  }

  .pm-home-poas-card {
    text-align: left;
    padding: 18px 16px;
  }

  .pm-home-poas-heading-wrap h3 {
    font-size: clamp(34px, 11vw, 52px);
  }

  .pm-home-poas-subtitle {
    font-size: 22px;
  }

  .pm-home-poas-metric-list li span {
    font-size: 20px;
  }

  .pm-home-poas-formula {
    font-size: 28px;
  }

  .pm-home-poas-result-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pm-home-poas-result-list li span {
    font-size: 16px;
  }

  .pm-maximize-profit {
    padding: 46px 0 54px;
  }

  .pm-maximize-title {
    font-size: clamp(30px, 10vw, 46px);
  }

  .pm-maximize-grid {
    grid-template-columns: 1fr;
  }

  .pm-feature-card {
    padding: 16px;
  }

  .pm-feature-visual {
    height: 240px;
  }

  .pm-dashboard-layout {
    grid-template-columns: 1fr;
    min-height: 100%;
    padding: 10px 10px 16px;
    gap: 10px;
    background: linear-gradient(180deg, #f2f6ff 0%, #edf4ff 45%, #f7fbff 100%);
  }

  .pm-dashboard-header-nav {
    padding: 0;
  }

  .pm-dashboard-menu-trigger {
    font-size: 18px;
    padding: 12px;
  }

  .pm-dashboard-menu-trigger-logo {
    width: 32px;
    height: 32px;
  }

  .pm-dashboard-menu-icon {
    width: 32px;
    height: 32px;
  }

  .pm-dashboard-menu-panel {
    padding: 0 12px 12px;
  }

  .pm-dashboard-main {
    padding: 10px;
    border-radius: 16px;
    border: 1px solid #dbe5ff;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 28px rgba(17, 25, 54, 0.08);
  }

  .pm-dashboard-main.is-account-details {
    margin-top: 15px !important;
    padding-top: 25px !important;
  }

  .pm-dashboard-main-header h1 {
    font-size: clamp(21px, 7vw, 28px);
  }

  .pm-dashboard-main-header p {
    font-size: 14px;
    line-height: 1.45;
  }

  .pm-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pm-campaign-table {
    min-width: 640px;
  }

  .pm-campaign-table-wrap,
  .pm-orders-wrap {
    overflow: auto;
  }

  .pm-orders-wrap {
    overflow: visible;
    border-radius: 16px;
    padding: 12px;
  }

  .pm-orders-table {
    width: 100%;
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
  }

  .pm-orders-table thead {
    display: none;
  }

  .pm-orders-table tbody,
  .pm-orders-table tr,
  .pm-orders-table td {
    display: block;
    width: 100%;
  }

  .pm-orders-table tr {
    border: 1px solid #dbe5ff;
    border-radius: 14px;
    background: #ffffff;
    padding: 8px 10px;
    margin-bottom: 10px;
    box-shadow: 0 8px 18px rgba(45, 77, 216, 0.06);
  }

  .pm-orders-table td {
    border-bottom: 1px dashed #e4ebff;
    padding: 8px 0;
    text-align: right;
    font-size: 13px;
  }

  .pm-orders-table td:last-child {
    border-bottom: 0;
    padding-bottom: 2px;
  }

  .pm-orders-table td::before {
    content: "";
    float: left;
    font-size: 11px;
    color: #6a7697;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .pm-orders-table td:nth-child(1)::before { content: "Order date"; }
  .pm-orders-table td:nth-child(2)::before { content: "Source"; }
  .pm-orders-table td:nth-child(3)::before { content: "Order #"; }
  .pm-orders-table td:nth-child(4)::before { content: "Total"; }
  .pm-orders-table td:nth-child(5)::before { content: "COGS"; }
  .pm-orders-table td:nth-child(6)::before { content: "Profit"; }
  .pm-orders-table td:nth-child(7)::before { content: "Status"; }

  .pm-orders-table tfoot {
    display: block;
    margin-top: 4px;
  }

  .pm-orders-table tfoot tr {
    border: 1px solid rgba(52, 199, 89, 0.35);
    border-radius: 14px;
    background: linear-gradient(180deg, #ecfdf3 0%, #d1fae5 100%);
    padding: 10px 12px;
    margin-bottom: 0;
  }

  .pm-orders-table tfoot td {
    border-bottom: 0;
    padding: 4px 0;
  }

  .pm-orders-table tfoot td::before {
    content: none;
  }

  .pm-orders-profit-total-label::before {
    content: "Total profit (this page)";
    float: left;
    font-size: 11px;
    color: #166534;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .pm-orders-table td::after {
    content: "";
    display: table;
    clear: both;
  }

  .pm-account-layout {
    grid-template-columns: 1fr;
  }

  .pm-account-support-grid {
    grid-template-columns: 1fr;
  }

  .pm-account-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--pm-border);
  }

  .pm-auth-card {
    border-radius: 14px;
    padding: 14px;
  }

  .pm-account-actions .pm-cta-btn {
    min-width: 0;
  }

  .pm-account-licenses-card {
    overflow: hidden;
  }

  .pm-account-licenses-card .wtrk-account-licenses-table,
  .pm-account-licenses-card table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .pm-poas-calculator-grid {
    grid-template-columns: 1fr;
  }

  .pm-poas-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pm-poas-manual-input {
    max-width: 120px;
  }

  .pm-poas-field-row {
    gap: 8px;
  }

  .pm-poas-slider {
    flex: 1;
  }

  .pm-poas-result-card-alert {
    grid-column: 1 / -1;
  }

  .pm-poas-wootrack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pm-poas-wootrack-col {
    padding: 10px 6px;
    gap: 4px 6px;
  }

  .pm-poas-wootrack-col p,
  .pm-poas-wootrack-col strong,
  .pm-poas-wootrack-col small {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }

  .pm-maximize-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .pm-footer-menus {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .pm-footer-nav-stack {
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .pm-plugin-cards {
    grid-template-columns: 1fr;
  }

  .pm-plugin-download-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .pm-plugin-download-card .pm-plugin-download-btn {
    width: 100%;
    min-width: 0;
  }
}

/* Account page blocks migrated from inline style tags (validator-safe). */
.pm-agency-billing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pm-agency-billing-grid .pm-auth-field {
  margin: 0;
}

.pm-agency-billing-actions {
  grid-column: 1 / -1;
}

.pm-stripe-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pm-stripe-header-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 5px 14px rgba(79, 70, 229, 0.24);
}

.pm-stripe-shell {
  display: grid;
  gap: 14px;
}

.pm-stripe-ios-card {
  position: relative;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 255, 0.88));
  border: 1px solid rgba(205, 216, 248, 0.85);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px) saturate(130%);
}

.pm-stripe-ios-card h2 {
  margin: 0 0 10px;
  font-size: 21px;
  color: #111827;
}

.pm-stripe-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pm-stripe-status-pill.is-complete {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.pm-stripe-status-pill.is-progress {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.pm-stripe-status-pill.is-empty {
  background: #e5e7eb;
  color: #374151;
  border: 1px solid #d1d5db;
}

.pm-stripe-info-list {
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e6ecf8;
  display: grid;
  gap: 10px;
}

.pm-stripe-info-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
}

.pm-stripe-info-row dt {
  font-weight: 700;
  color: #475569;
}

.pm-stripe-info-row dd {
  margin: 0;
  color: #0f172a;
  font-weight: 600;
}

.pm-stripe-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pm-stripe-actions .pm-cta-btn {
  border-radius: 12px;
  min-height: 42px;
  padding: 10px 14px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.pm-stripe-actions .pm-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.16);
  filter: saturate(1.04);
}

.pm-payout-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.pm-payout-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: var(--pm-accent-deep);
}

.pm-payout-pill.is-paid {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
}

.pm-payout-pill.is-pending {
  background: #fef3c7;
  border-color: #fcd34d;
  color: #92400e;
}

.pm-payout-id {
  font-size: 11px;
  color: #475569;
  word-break: break-all;
}

.pm-stripe-req {
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e6ecf8;
}

.pm-stripe-req h3 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #0f172a;
}

.pm-stripe-req ul {
  margin: 0;
  padding-left: 18px;
}

.pm-stripe-req li {
  margin: 2px 0;
  font-size: 12px;
  color: #334155;
}

.pm-stripe-req-empty {
  font-size: 12px;
  color: #64748b;
}

#pm-kpi-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

.pm-agency-analytics-filter {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.92));
  border: 1px solid #dce3f8;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.pm-agency-filter-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 170px;
}

.pm-agency-filter-field span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #475569;
}

.pm-agency-filter-field input[type="date"] {
  height: 38px;
  padding: 0 10px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  font-size: 13px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.12s ease;
}

.pm-agency-filter-field input[type="date"]:focus {
  outline: none;
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.2);
}

.pm-agency-filter-btn {
  height: 38px;
  padding: 0 16px;
  border: 1px solid #93c5fd;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
  transition: transform 0.12s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.pm-agency-filter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.3);
  filter: saturate(1.06);
}

.pm-agency-chart-card {
  border: 1px solid #dce3f8;
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transition: transform 0.16s ease, box-shadow 0.22s ease;
}

.pm-agency-chart-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.12);
}

.pm-agency-chart-canvas {
  height: 240px !important;
}

.pm-agency-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pm-transfer-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid transparent;
}

.pm-transfer-status-pill.is-paid {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
}

.pm-transfer-status-pill.is-other {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #991b1b;
}

.pm-stripe-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.62);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10095;
  padding: 16px;
}

.pm-stripe-modal-overlay.is-open {
  display: flex;
}

.pm-stripe-modal {
  position: relative;
  width: min(520px, 95vw);
  background: linear-gradient(165deg, #ffffff, #f8fbff);
  border: 1px solid #dbe7f7;
  border-radius: 22px;
  padding: 18px 18px 16px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.34);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  text-align: center;
}

.pm-stripe-modal-overlay.is-open .pm-stripe-modal {
  animation: pmStripeModalIn 0.34s ease forwards;
}

@keyframes pmStripeModalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.pm-stripe-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 0;
  background: #e2e8f0;
  color: #0f172a;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pm-stripe-modal-logo {
  display: block;
  margin: 0 auto 8px;
  width: 250px;
  height: 250px;
  object-fit: contain;
}

.pm-stripe-modal-title {
  margin: 0 0 6px;
  font-size: 24px;
  color: #0f172a;
}

.pm-stripe-modal-copy {
  margin: 0 0 12px;
  color: #334155;
  font-size: 14px;
  line-height: 1.5;
}

.pm-stripe-modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  background: var(--pm-cta-gradient-135);
  color: #fff;
  box-shadow: 0 12px 22px rgba(59, 130, 246, 0.3);
}

.pm-welcome-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.62);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10090;
  padding: 16px;
}

.pm-welcome-overlay.is-open {
  display: flex;
}

.pm-welcome-modal {
  position: relative;
  width: min(560px, 95vw);
  background: linear-gradient(165deg, #ffffff, #f8fbff);
  border: 1px solid #dbe7f7;
  border-radius: 22px;
  padding: 18px 18px 16px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.34);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
}

.pm-welcome-overlay.is-open .pm-welcome-modal {
  animation: pmWelcomeIn 0.34s ease forwards;
}

@keyframes pmWelcomeIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.pm-welcome-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 0;
  background: #e2e8f0;
  color: #0f172a;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pm-welcome-logo {
  display: block;
  margin: 0 auto 8px;
  width: 250px;
  height: 250px;
  object-fit: contain;
}

.pm-welcome-title {
  margin: 0 0 6px;
  font-size: 24px;
  color: #0f172a;
  text-align: center;
}

.pm-welcome-copy {
  margin: 0 0 12px;
  color: #334155;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.pm-welcome-steps {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.pm-welcome-step {
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 13px;
}

.pm-trial-license-valid {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.45;
  color: #64748b;
  text-align: center;
}

.pm-welcome-license-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #eef6ff;
  border: 1px solid #bfdbfe;
  margin-bottom: 12px;
}

.pm-welcome-license-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 8px 10px;
  border: 1px solid #c7d2fe;
  background: var(--pm-accent-soft);
  color: #3730a3;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
}

.pm-welcome-license-code {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #dbeafe;
  max-width: 100%;
  overflow: auto;
}

.pm-welcome-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pm-welcome-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 10px 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  border: 1px solid transparent;
  cursor: pointer;
}

.pm-welcome-btn.is-primary {
  background: var(--pm-cta-gradient-135);
  color: #fff;
  box-shadow: 0 12px 22px rgba(59, 130, 246, 0.3);
}

.pm-welcome-btn.is-soft {
  background: var(--pm-accent-soft);
  color: #3730a3;
  border-color: #c7d2fe;
}

@media (max-width: 1200px) {
  #pm-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 980px) {
  .pm-agency-billing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pm-agency-chart-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  #pm-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .pm-agency-analytics-filter {
    padding: 10px;
  }

  .pm-agency-filter-field {
    min-width: 140px;
  }

  .pm-agency-chart-canvas {
    height: 210px !important;
  }
}

@media (max-width: 680px) {
  .pm-welcome-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pm-stripe-ios-card {
    padding: 14px;
    border-radius: 18px;
  }

  .pm-stripe-info-row {
    font-size: 13px;
  }
}

