:root {
  --pl-bg: #eef7f1;
  --pl-surface: #ffffff;
  --pl-surface-soft: #e7f4ec;
  --pl-ink: #14251e;
  --pl-muted: #5b7169;
  --pl-border: rgba(20, 78, 57, .16);
  --pl-primary: #16804f;
  --pl-primary-dark: #0d5c3c;
  --pl-primary-soft: #e4f7ed;
  --pl-teal: #1aa39a;
  --pl-blue: #2f6fb3;
  --pl-green: #22a06b;
  --pl-amber: #c47619;
  --pl-red: #c3443c;
  --pl-paper: #fffdf6;
  --pl-shadow: 0 18px 44px rgba(18, 82, 62, .14);
  --pl-max: 1180px;
}

.plx-page,
.plx-page * {
  box-sizing: border-box;
}

.plx-page {
  overflow-x: clip;
}

.plx-simulation-note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 16px;
  background: #fff7dc;
  color: #51411a;
  border: 1px solid #e7d291;
  border-radius: 8px;
  font-size: .8rem;
  line-height: 1.45;
}

.plx-page {
  margin: 0;
  width: 100%;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(26, 163, 154, .10) 0%, rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, #fbfffd 0%, #f1faf4 50%, var(--pl-bg) 100%);
  color: var(--pl-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

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

.plx-hero {
  padding: 64px 0 34px;
}

.plx-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr);
  gap: 34px;
  align-items: center;
}

.plx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--pl-primary-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.plx-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pl-green);
  box-shadow: 0 0 0 6px rgba(34, 160, 107, .12);
}

.plx-title {
  margin: 0 0 16px;
  color: var(--pl-ink);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
}

.plx-lead {
  max-width: 690px;
  margin: 0;
  color: var(--pl-muted);
  font-size: 18px;
  line-height: 1.72;
}

.plx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.plx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--pl-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  color: var(--pl-ink);
  text-decoration: none;
  font-weight: 750;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.plx-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(22, 128, 79, .38);
  box-shadow: 0 10px 24px rgba(18, 82, 62, .12);
}

.plx-btn-primary {
  border-color: var(--pl-primary);
  background: linear-gradient(135deg, var(--pl-primary) 0%, var(--pl-teal) 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(22, 128, 79, .22);
}

.plx-btn-primary:hover {
  background: var(--pl-primary-dark);
}

.plx-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.plx-fact {
  min-height: 108px;
  padding: 15px;
  border: 1px solid var(--pl-border);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(245, 252, 248, .92));
  box-shadow: 0 10px 24px rgba(18, 82, 62, .07);
}

.plx-fact strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.plx-fact span {
  display: block;
  color: var(--pl-muted);
  font-size: 14px;
  line-height: 1.48;
}

.plx-search-app {
  overflow: hidden;
  border: 1px solid rgba(20, 78, 57, .14);
  border-radius: 8px;
  background: var(--pl-surface);
  box-shadow: var(--pl-shadow);
}

.plx-app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--pl-border);
  background: linear-gradient(135deg, #12392b 0%, #16523d 62%, #1b7669 100%);
  color: #fff;
}

.plx-app-title {
  min-width: 0;
}

.plx-app-title strong {
  display: block;
  font-size: 15px;
}

.plx-app-title span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
}

.plx-window-dots {
  display: flex;
  gap: 7px;
  flex: 0 0 auto;
}

.plx-window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .46);
}

.plx-window-dots span:nth-child(1) {
  background: #ff7a70;
}

.plx-window-dots span:nth-child(2) {
  background: #ffd166;
}

.plx-window-dots span:nth-child(3) {
  background: #69db9f;
}

.plx-app-body {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  min-height: 520px;
}

.plx-nav {
  padding: 16px;
  border-right: 1px solid rgba(20, 78, 57, .18);
  background: linear-gradient(180deg, #e9f7ee 0%, #f4fbf7 100%);
}

.plx-nav-section {
  margin-bottom: 18px;
}

.plx-nav-label {
  display: block;
  margin-bottom: 8px;
  color: #517064;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.plx-nav-item,
.plx-suggestion {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--pl-ink);
  cursor: pointer;
  text-align: left;
}

.plx-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 8px 10px;
  font-weight: 700;
}

.plx-nav-item:hover,
.plx-nav-item.is-active {
  border-color: rgba(22, 128, 79, .22);
  background: #fff;
  box-shadow: 0 8px 18px rgba(18, 82, 62, .08);
}

.plx-count {
  color: var(--pl-muted);
  font-size: 12px;
}

.plx-suggestions {
  display: grid;
  gap: 8px;
}

.plx-suggestion {
  padding: 9px 10px;
  border-color: rgba(22, 128, 79, .16);
  background: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.plx-suggestion:hover {
  border-color: rgba(22, 128, 79, .35);
  background: var(--pl-primary-soft);
}

.plx-workspace {
  min-width: 0;
  padding: 16px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fcf9 100%);
}

.plx-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.plx-search-field {
  position: relative;
}

.plx-search-field::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 14px;
  height: 14px;
  border: 2px solid #54796b;
  border-radius: 50%;
  transform: translateY(-50%);
}

.plx-search-field::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 50%;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: #54796b;
  transform: translateY(7px) rotate(45deg);
}

.plx-search-input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px 0 44px;
  border: 1px solid var(--pl-border);
  border-radius: 8px;
  background: #fff;
  color: var(--pl-ink);
  font-size: 15px;
  outline: none;
}

.plx-search-input:focus {
  border-color: rgba(22, 128, 79, .60);
  box-shadow: 0 0 0 3px rgba(34, 160, 107, .16);
}

.plx-clear {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--pl-border);
  border-radius: 8px;
  background: #fff;
  color: var(--pl-muted);
  cursor: pointer;
  font-weight: 750;
}

.plx-clear:hover {
  color: var(--pl-ink);
  border-color: rgba(22, 128, 79, .35);
}

.plx-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.plx-stat {
  padding: 12px;
  border: 1px solid var(--pl-border);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f3fbf6);
}

.plx-stat b {
  display: block;
  margin-bottom: 3px;
  font-size: 22px;
  line-height: 1;
  color: var(--pl-primary-dark);
}

.plx-stat span {
  color: var(--pl-muted);
  font-size: 12px;
}

.plx-results-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.plx-results {
  display: grid;
  gap: 9px;
  align-content: start;
  grid-auto-rows: min-content;
}

.plx-result {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--pl-border);
  border-radius: 8px;
  background: #fff;
  color: var(--pl-ink);
  cursor: pointer;
  text-align: left;
}

.plx-result:hover,
.plx-result.is-active {
  border-color: rgba(22, 128, 79, .46);
  background: linear-gradient(180deg, #f3fbf6, #ffffff);
}

.plx-result strong {
  display: block;
  margin-bottom: 5px;
  overflow-wrap: anywhere;
  font-size: 14px;
}

.plx-result span {
  display: block;
  color: var(--pl-muted);
  font-size: 12px;
  line-height: 1.45;
}

.plx-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: start;
  justify-content: flex-end;
}

.plx-tag {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #e9f4ff;
  color: #1e5b93;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.plx-tag.green {
  background: #dff6ea;
  color: #0d5c3c;
}

.plx-tag.amber {
  background: #fff4dc;
  color: #8a5106;
}

.plx-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border: 1px solid var(--pl-border);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.plx-detail-head {
  padding: 13px;
  border-bottom: 1px solid var(--pl-border);
  background: linear-gradient(180deg, #f3fbf6, #ffffff);
}

.plx-detail-head strong {
  display: block;
  line-height: 1.32;
}

.plx-detail-head span {
  display: block;
  margin-top: 4px;
  color: var(--pl-muted);
  font-size: 12px;
}

.plx-preview-paper {
  margin: 12px;
  min-height: 176px;
  padding: 16px;
  border: 1px solid #d9e8dd;
  border-radius: 6px;
  background:
    linear-gradient(var(--pl-paper), var(--pl-paper)) padding-box,
    repeating-linear-gradient(180deg, transparent 0 27px, rgba(22, 128, 79, .10) 28px) border-box;
}

.plx-paper-line {
  height: 9px;
  margin-bottom: 11px;
  border-radius: 999px;
  background: #dcebe2;
}

.plx-paper-line.short {
  width: 58%;
}

.plx-paper-line.medium {
  width: 76%;
}

.plx-paper-highlight {
  display: inline-block;
  margin: 6px 0 14px;
  padding: 4px 7px;
  border-radius: 5px;
  background: #dff6ea;
  color: #0d5c3c;
  font-size: 12px;
  font-weight: 800;
}

.plx-snippet {
  padding: 0 13px 14px;
  color: var(--pl-muted);
  font-size: 13px;
  line-height: 1.55;
}

.plx-section {
  padding: 34px 0;
}

.plx-section-head {
  max-width: 760px;
  margin-bottom: 20px;
}

.plx-section-head span {
  display: block;
  margin-bottom: 8px;
  color: var(--pl-primary-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.plx-section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.14;
  letter-spacing: 0;
}

.plx-section-head p {
  margin: 0;
  color: var(--pl-muted);
  font-size: 17px;
  line-height: 1.68;
}

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

.plx-info-card,
.plx-step,
.plx-cta {
  border: 1px solid var(--pl-border);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(247, 252, 249, .94));
  box-shadow: 0 12px 28px rgba(18, 82, 62, .07);
}

.plx-info-card,
.plx-step {
  padding: 20px;
}

.plx-info-card h3,
.plx-step h3 {
  margin: 0 0 9px;
  font-size: 20px;
}

.plx-info-card p,
.plx-step p {
  margin: 0;
  color: var(--pl-muted);
  font-size: 15px;
  line-height: 1.66;
}

.plx-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: var(--pl-primary-soft);
  color: var(--pl-primary-dark);
  font-weight: 850;
}

.plx-audience-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.plx-audience-item {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 15px;
  border: 1px solid var(--pl-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(18, 82, 62, .05);
}

.plx-audience-dot {
  flex: 0 0 11px;
  width: 11px;
  height: 11px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--pl-green);
}

.plx-audience-item:nth-child(2) .plx-audience-dot,
.plx-audience-item:nth-child(5) .plx-audience-dot {
  background: var(--pl-blue);
}

.plx-audience-item:nth-child(3) .plx-audience-dot,
.plx-audience-item:nth-child(6) .plx-audience-dot {
  background: var(--pl-amber);
}

.plx-audience-item strong {
  display: block;
  margin-bottom: 4px;
}

.plx-audience-item span {
  display: block;
  color: var(--pl-muted);
  font-size: 14px;
  line-height: 1.5;
}

.plx-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin: 18px 0 74px;
  padding: 24px;
  background: linear-gradient(135deg, #12392b 0%, #0d5c3c 58%, #1aa39a 135%);
  color: #fff;
}

.plx-cta h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}

.plx-cta p {
  margin: 0;
  max-width: 720px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.65;
}

.plx-cta .plx-btn {
  border-color: #fff;
  background: #fff;
  color: #172033;
}

@media (max-width: 1080px) {
  .plx-hero-grid,
  .plx-app-body,
  .plx-cta {
    grid-template-columns: 1fr;
  }

  .plx-nav {
    border-right: 0;
    border-bottom: 1px solid var(--pl-border);
  }

  .plx-results-layout {
    align-items: stretch;
  }
}

@media (max-width: 820px) {
  .plx-hero {
    padding-top: 46px;
  }

  .plx-facts,
  .plx-grid-3,
  .plx-audience-list {
    grid-template-columns: 1fr;
  }

  .plx-search-row,
  .plx-stats {
    grid-template-columns: 1fr;
  }

  .plx-actions {
    display: grid;
  }

  .plx-btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .plx-shell {
    width: min(calc(100% - 22px), var(--pl-max));
  }

  .plx-workspace,
  .plx-nav,
  .plx-app-top {
    padding: 12px;
  }

  .plx-result {
    grid-template-columns: 1fr;
  }

  .plx-tag-row {
    justify-content: flex-start;
  }
}
