/* Analysis V2: reporting and analytics product-page showcase. */

.lq-analysis-showcase-v2 {
  padding-top: 88px;
  padding-bottom: 86px;
}


.lq-analysis-showcase-v2 .lq-showcase-v2__stage {
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.58fr);
  gap: 34px;
}


.lq-analysis-showcase-v2 .lq-showcase-v2__copy-panel > p {
  max-width: 390px;
  margin-bottom: 18px;
}

.lq-analysis-showcase-v2 .lq-showcase-v2__benefits {
  margin-top: 0;
}

.lq-analysis-showcase-v2 .lq-showcase-v2__benefits li {
  margin: 8px 0;
}

.lq-analysis-showcase-v2 .lq-showcase-v2__cta {
  margin-top: 18px;
}

.lq-analysis-showcase-v2 .lq-showcase-v2__visual-shell {
  max-width: 720px;
}.lq-analysis-showcase-v2__switch {
  width: min(680px, 100%);
  grid-template-columns: repeat(3, 1fr) !important;
  margin-top: 46px;
}

.lq-analysis-showcase-v2__switch button {
  min-height: 86px;
}

/* KPI dashboard */
.lq-analysis-showcase-v2__metrics {
  margin: 6px 0 9px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.lq-analysis-showcase-v2__metrics article {
  padding: 8px 9px;
  border: 1px solid #e8edf3;
  border-radius: 9px;
  background: #fff;
}

.lq-analysis-showcase-v2__metrics small {
  display: block;
  min-height: 14px;
  color: #7e8a9c;
  font-size: 7.5px;
  line-height: 1.2;
}

.lq-analysis-showcase-v2__metrics strong {
  display: block;
  margin: 4px 0 2px;
  color: #27344d;
  font-size: 14px;
}

.lq-analysis-showcase-v2__metrics span {
  color: #27a56d;
  font-size: 6.7px;
}

.lq-analysis-showcase-v2__metrics .is-negative {
  color: #d95242;
}

.lq-analysis-showcase-v2__dashboard-grid {
  display: grid;
  grid-template-columns: 1.45fr .75fr;
  gap: 9px;
}

.lq-analysis-showcase-v2__trend-card,
.lq-analysis-showcase-v2__share-card {
  min-height: 170px;
  padding: 10px;
  border: 1px solid #e8edf3;
  border-radius: 10px;
  background: #fff;
}

.lq-analysis-showcase-v2__trend-card > header,
.lq-analysis-showcase-v2__share-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.lq-analysis-showcase-v2__trend-card strong,
.lq-analysis-showcase-v2__share-card strong {
  color: #2a3851;
  font-size: 9px;
}

.lq-analysis-showcase-v2__trend-card header span,
.lq-analysis-showcase-v2__share-card header span {
  color: #8a96a8;
  font-size: 7px;
}

.lq-analysis-showcase-v2__line-chart {
  position: relative;
  height: 118px;
  margin-top: 17px;
  border-left: 1px solid #eef1f5;
  border-bottom: 1px solid #eef1f5;
  background:
    linear-gradient(to bottom, transparent 24%, #f0f3f7 25%, transparent 26%, transparent 49%, #f0f3f7 50%, transparent 51%, transparent 74%, #f0f3f7 75%, transparent 76%);
}

.lq-analysis-showcase-v2__line-chart svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lq-analysis-showcase-v2__line-chart polyline {
  fill: none;
  stroke: #4f83e5;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.lq-analysis-showcase-v2__line-chart .area {
  fill: url(#analysisGradient);
  stroke: none;
}

.lq-analysis-showcase-v2__line-labels {
  margin-top: 5px;
  display: flex;
  justify-content: space-between;
  color: #9aa4b3;
  font-size: 6.5px;
}

.lq-analysis-showcase-v2__donut {
  width: 78px;
  height: 78px;
  margin: 18px auto 10px;
  position: relative;
  border-radius: 50%;
  background: conic-gradient(#4f83e5 0 46%, #7ea2df 46% 69%, #b4c7e9 69% 84%, #e1e8f3 84% 100%);
}

.lq-analysis-showcase-v2__donut::after {
  content: "";
  position: absolute;
  inset: 17px;
  border-radius: 50%;
  background: #fff;
}

.lq-analysis-showcase-v2__share-legend {
  display: grid;
  gap: 5px;
}

.lq-analysis-showcase-v2__share-legend span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  color: #748096;
  font-size: 6.8px;
}

.lq-analysis-showcase-v2__share-legend b {
  color: #344158;
  font-size: 7px;
}

/* Profitability */
.lq-analysis-showcase-v2__profit-summary {
  margin: 6px 0 9px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 7px;
}

.lq-analysis-showcase-v2__profit-summary article {
  padding: 9px;
  border: 1px solid #e8edf3;
  border-radius: 9px;
  background: #fff;
}

.lq-analysis-showcase-v2__profit-summary small {
  color: #7e8a9c;
  font-size: 7.5px;
}

.lq-analysis-showcase-v2__profit-summary strong {
  display: block;
  margin: 4px 0 2px;
  color: #27344d;
  font-size: 14px;
}

.lq-analysis-showcase-v2__profit-summary span {
  color: #27a56d;
  font-size: 6.7px;
}

.lq-analysis-showcase-v2__profit-table {
  overflow: hidden;
  border: 1px solid #e8edf3;
  border-radius: 10px;
}

.lq-analysis-showcase-v2__profit-row {
  min-height: 42px;
  padding: 0 10px;
  display: grid;
  grid-template-columns: 1.5fr .72fr .72fr 1fr .58fr;
  gap: 8px;
  align-items: center;
  border-top: 1px solid #edf0f4;
  color: #5d687a;
  font-size: 8px;
}

.lq-analysis-showcase-v2__profit-row:first-child {
  border-top: 0;
}

.lq-analysis-showcase-v2__profit-row.is-head {
  min-height: 29px;
  background: #fbfcfe;
  color: #8b95a6;
  font-size: 7.5px;
  font-weight: 700;
}

.lq-analysis-showcase-v2__profit-row strong {
  color: #3d4b63;
  font-size: 8.5px;
}

.lq-analysis-showcase-v2__margin {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef2f6;
}

.lq-analysis-showcase-v2__margin i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #4f83e5;
}

.lq-analysis-showcase-v2__profit-row em {
  padding: 3px 5px;
  border-radius: 999px;
  background: #e8f7ef;
  color: #25885b;
  font-size: 6.8px;
  font-style: normal;
  font-weight: 800;
}

.lq-analysis-showcase-v2__profit-row em.is-orange {
  background: #fff0e8;
  color: #e9652b;
}

/* Reports */
.lq-analysis-showcase-v2__report-grid {
  margin-top: 7px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 9px;
}

.lq-analysis-showcase-v2__builder,
.lq-analysis-showcase-v2__exports {
  min-height: 226px;
  padding: 11px;
  border: 1px solid #e7edf4;
  border-radius: 11px;
  background: #fff;
}

.lq-analysis-showcase-v2__builder > strong,
.lq-analysis-showcase-v2__exports > strong {
  display: block;
  margin-bottom: 9px;
  color: #2b3850;
  font-size: 10px;
}

.lq-analysis-showcase-v2__field {
  min-height: 32px;
  margin-bottom: 7px;
  padding: 0 9px;
  display: grid;
  grid-template-columns: 72px minmax(0,1fr);
  align-items: center;
  border: 1px solid #edf0f4;
  border-radius: 8px;
  background: #fbfcfe;
}

.lq-analysis-showcase-v2__field span {
  color: #8a96a8;
  font-size: 7px;
}

.lq-analysis-showcase-v2__field b {
  overflow: hidden;
  color: #42516a;
  font-size: 7.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lq-analysis-showcase-v2__preview {
  margin-top: 9px;
  padding: 9px;
  border-radius: 8px;
  background: #f7f9fc;
}

.lq-analysis-showcase-v2__preview header {
  display: flex;
  justify-content: space-between;
  color: #78859a;
  font-size: 7px;
}

.lq-analysis-showcase-v2__mini-bars {
  height: 49px;
  margin-top: 8px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
}

.lq-analysis-showcase-v2__mini-bars i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: #9db9e9;
}

.lq-analysis-showcase-v2__export-card {
  min-height: 54px;
  margin-bottom: 8px;
  padding: 9px 10px;
  display: grid;
  grid-template-columns: 31px minmax(0,1fr) auto;
  gap: 8px;
  align-items: center;
  border: 1px solid #e8edf3;
  border-radius: 9px;
}

.lq-analysis-showcase-v2__export-card > i {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff1ec;
  color: #ff3b06;
  font-size: 13px;
}

.lq-analysis-showcase-v2__export-card strong {
  display: block;
  color: #3d4b63;
  font-size: 8.5px;
}

.lq-analysis-showcase-v2__export-card small {
  display: block;
  margin-top: 3px;
  color: #8a96a8;
  font-size: 6.8px;
}

.lq-analysis-showcase-v2__export-card span {
  padding: 4px 6px;
  border-radius: 999px;
  background: #eef3fa;
  color: #4f6d9d;
  font-size: 6.5px;
  font-weight: 800;
}

@media (max-width: 1020px) {
  .lq-analysis-showcase-v2 .lq-showcase-v2__stage {
    grid-template-columns: 1fr;
  }

  .lq-analysis-showcase-v2__switch {
    width: min(680px, 100%);
  }
}

@media (max-width: 720px) {
  .lq-analysis-showcase-v2 {
    padding-top: 60px;
    padding-bottom: 66px;
  }


  .lq-analysis-showcase-v2__switch {
    grid-template-columns: 1fr !important;
  }

  .lq-analysis-showcase-v2__switch button {
    min-height: 68px;
    grid-template-columns: 34px 1fr;
    justify-items: start;
    padding-left: 14px;
  }
}