#pts-qualified-leads-only-root {
  color: #111827;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.qlo-app {
  --navy: #111c5e;
  --red: #e9282b;
  --ink: #111827;
  --muted: #647085;
  --line: #dbe4f2;
  --soft: #f4f7fd;
  background: #f6f8fc;
  border: 1px solid var(--line);
  overflow: hidden;
}

.qlo-hero {
  align-items: center;
  background: var(--navy);
  border-bottom: 5px solid var(--red);
  color: #fff;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 190px;
  padding: 30px;
}

.qlo-kicker,
.qlo-stage {
  color: #dbe5ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  margin: 0 0 7px;
  text-transform: uppercase;
}

.qlo-stage {
  color: var(--red);
  display: inline-block;
  margin-bottom: 8px;
}

.qlo-hero h1 {
  color: #fff;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

.qlo-hero p {
  color: #edf2ff;
  font-size: 15px;
  line-height: 1.5;
  margin: 12px 0 0;
  max-width: 760px;
}

.qlo-status-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .2);
  color: var(--ink);
  display: grid;
  gap: 3px;
  justify-items: center;
  padding: 18px 14px;
}

.qlo-status-card span,
.qlo-status-card small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.qlo-status-card strong {
  color: var(--red);
  font-size: 38px;
  font-weight: 950;
  line-height: 1;
}

.qlo-wrap {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  margin: 0 auto;
  max-width: 1120px;
  padding: 20px;
}

.qlo-wrap.analysis-open {
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
}

.qlo-panel,
.qlo-side-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(17, 24, 39, .08);
}

.qlo-panel {
  overflow: hidden;
}

.qlo-step-head {
  align-items: start;
  background: linear-gradient(180deg, #fff, #f8faff);
  border-bottom: 1px solid #e6edf7;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 20px;
}

.qlo-step-head h2 {
  color: var(--ink);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
}

.qlo-step-head p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  margin: 8px 0 0;
  max-width: 680px;
}

.qlo-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
  min-width: 185px;
}

.qlo-progress button {
  background: #fff;
  border: 1px solid #cfd9ea;
  border-radius: 999px;
  color: #4b5563;
  cursor: pointer;
  font-size: 12px;
  font-weight: 950;
  height: 34px;
  width: 34px;
}

.qlo-progress button.done {
  border-color: #12b981;
  color: #0f766e;
}

.qlo-progress button.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.qlo-body {
  padding: 20px;
}

.qlo-avatar-choices {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 20px;
}

.qlo-avatar-choice {
  background: #fff;
  border: 2px solid #dbe4f2;
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  gap: 8px;
  padding: 16px;
  text-align: left;
}

.qlo-avatar-choice:hover {
  border-color: var(--red);
  box-shadow: 0 18px 32px rgba(17, 28, 94, .12);
  transform: translateY(-1px);
}

.qlo-avatar-choice img {
  background: var(--soft);
  border-radius: 8px;
  height: 190px;
  object-fit: contain;
  width: 100%;
}

.qlo-avatar-choice strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
}

.qlo-avatar-choice span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.qlo-options {
  display: grid;
  gap: 11px;
}

.qlo-option {
  align-items: center;
  background: #fff;
  border: 1px solid #dbe4f2;
  border-left: 6px solid #dbe4f2;
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  gap: 14px;
  grid-template-columns: 28px minmax(0, 1fr);
  min-height: 78px;
  padding: 14px;
  text-align: left;
}

.qlo-option:hover,
.qlo-option.selected {
  background: #f3f7ff;
  border-color: var(--navy);
  border-left-color: var(--red);
}

.qlo-option-mark {
  background: #fff;
  border: 2px solid #b8c5da;
  border-radius: 999px;
  height: 20px;
  width: 20px;
}

.qlo-option.selected .qlo-option-mark,
.qlo-option:hover .qlo-option-mark {
  background: var(--red);
  border-color: var(--red);
  box-shadow: inset 0 0 0 5px #fff;
}

.qlo-option span {
  color: var(--ink);
  display: block;
  font-size: 15px;
  font-weight: 950;
}

.qlo-option em {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.45;
  margin-top: 4px;
}

.qlo-actions,
.qlo-form-foot,
.qlo-downloads {
  display: grid;
  gap: 10px;
  grid-template-columns: 120px minmax(0, 1fr) 120px;
  margin-top: 18px;
}

.qlo-form-foot,
.qlo-downloads {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
}

.qlo-downloads {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.qlo-actions button,
.qlo-submit,
.qlo-book,
.qlo-downloads button {
  align-items: center;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 950;
  justify-content: center;
  min-height: 46px;
  padding: 0 14px;
  text-decoration: none;
}

.qlo-secondary {
  background: #fff;
  border: 2px solid #d7deec;
  color: #263142;
}

.qlo-primary,
.qlo-submit,
.qlo-book {
  background: var(--red);
  border: 0;
  color: #fff;
}

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

.qlo-field {
  display: grid;
  gap: 6px;
}

.qlo-field span {
  color: #374151;
  font-size: 12px;
  font-weight: 950;
}

.qlo-field span em {
  color: #818898;
  font-style: normal;
  font-weight: 800;
}

.qlo-field input,
.qlo-field select,
.qlo-field textarea {
  background: #fff;
  border: 1px solid #cfd9ea;
  border-radius: 8px;
  color: var(--ink);
  min-height: 46px;
  padding: 0 12px;
  width: 100%;
}

.qlo-field textarea {
  min-height: 86px;
  padding: 10px 12px;
}

.qlo-privacy {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
}

.qlo-side {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 14px;
}

.qlo-side-panel {
  padding: 14px;
}

.qlo-avatar {
  background: #f6f8fc;
  border: 1px solid #e4ebf6;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  position: relative;
}

.qlo-avatar.is-thinking::after {
  animation: qloPulse 1.2s infinite ease-in-out;
  background: #fff;
  border: 2px solid #dbe4f2;
  border-radius: 999px;
  color: var(--navy);
  content: "...";
  font-size: 18px;
  font-weight: 950;
  padding: 2px 11px 7px;
  position: absolute;
  right: 14px;
  top: 14px;
}

.qlo-avatar img {
  display: block;
  max-height: 250px;
  object-fit: contain;
  width: 100%;
}

.qlo-tier {
  border-left: 6px solid var(--red);
  padding-left: 10px;
}

.qlo-tier h3,
.qlo-map-panel h3 {
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
  margin: 0;
}

.qlo-tier p {
  color: #4b5563;
  font-size: 13px;
  line-height: 1.45;
  margin: 6px 0 0;
}

.qlo-loading-card {
  align-items: center;
  background: #f8faff;
  border: 1px dashed #bfcae0;
  border-radius: 8px;
  display: grid;
  justify-items: center;
  margin-bottom: 12px;
  min-height: 220px;
  padding: 18px;
  text-align: center;
}

.qlo-loading-card h3 {
  color: var(--ink);
  margin: 12px 0 4px;
}

.qlo-loading-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
}

.qlo-loader,
.qlo-big-loader {
  animation: qloSpin 1s linear infinite;
  border: 4px solid #dbe4f2;
  border-top-color: var(--red);
  border-radius: 999px;
  height: 42px;
  width: 42px;
}

.qlo-loading-panel {
  align-content: center;
  display: grid;
  justify-items: center;
  min-height: 430px;
  padding: 36px;
  text-align: center;
}

.qlo-big-loader {
  height: 72px;
  width: 72px;
}

.qlo-loading-panel h2 {
  color: var(--ink);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 950;
  margin: 20px 0 8px;
}

.qlo-loading-panel p {
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
  max-width: 520px;
}

.qlo-loading-steps {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}

.qlo-loading-steps span {
  animation: qloDot 1.2s infinite ease-in-out;
  background: var(--navy);
  border-radius: 999px;
  height: 9px;
  width: 9px;
}

.qlo-loading-steps span:nth-child(2) {
  animation-delay: .15s;
}

.qlo-loading-steps span:nth-child(3) {
  animation-delay: .3s;
}

.qlo-flow-row {
  align-items: center;
  border: 1px solid #e1e8f4;
  border-radius: 8px;
  display: grid;
  gap: 9px;
  grid-template-columns: 30px minmax(0, 1fr);
  margin-top: 9px;
  padding: 9px;
}

.qlo-flow-row span {
  align-items: center;
  background: #eef3ff;
  border-radius: 999px;
  color: var(--navy);
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.qlo-flow-row strong {
  color: #374151;
  font-size: 13px;
  font-weight: 950;
}

.qlo-flow-row.active {
  border-color: var(--red);
}

.qlo-flow-row.done span {
  background: #dcfce7;
  color: #166534;
}

.qlo-analytics-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.qlo-analytics-grid div {
  background: #f8faff;
  border: 1px solid #e1e8f4;
  border-radius: 8px;
  padding: 14px;
}

.qlo-analytics-grid span {
  color: var(--muted);
  display: block;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.qlo-analytics-grid strong {
  color: var(--navy);
  display: block;
  font-size: 25px;
  font-weight: 950;
  margin-top: 6px;
}

.qlo-report-section {
  margin-top: 22px;
}

.qlo-report-section h3 {
  color: var(--ink);
  font-size: 22px;
  font-weight: 950;
  margin: 0 0 12px;
}

.qlo-reason-list {
  display: grid;
  gap: 10px;
}

.qlo-reason-list article {
  border: 1px solid #e1e8f4;
  border-radius: 8px;
  padding: 12px;
}

.qlo-reason-list h4 {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  margin: 0 0 5px;
}

.qlo-reason-list p,
.qlo-next-steps li {
  color: #4b5563;
  font-size: 13px;
  line-height: 1.45;
}

.qlo-next-steps {
  margin: 0;
  padding-left: 20px;
}

@keyframes qloSpin {
  to { transform: rotate(360deg); }
}

@keyframes qloDot {
  0%, 80%, 100% { transform: translateY(0); opacity: .45; }
  40% { transform: translateY(-5px); opacity: 1; }
}

@keyframes qloPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (max-width: 920px) {
  .qlo-hero,
  .qlo-wrap,
  .qlo-wrap.analysis-open {
    grid-template-columns: 1fr;
  }

  .qlo-side {
    position: static;
  }
}

@media (max-width: 680px) {
  .qlo-hero,
  .qlo-body,
  .qlo-step-head {
    padding: 16px;
  }

  .qlo-step-head {
    flex-direction: column;
  }

  .qlo-grid,
  .qlo-avatar-choices,
  .qlo-actions,
  .qlo-form-foot,
  .qlo-downloads,
  .qlo-analytics-grid {
    grid-template-columns: 1fr;
  }

  .qlo-progress {
    justify-content: flex-start;
    min-width: 0;
  }
}
