/*
 * Block: cy/redesign-vp-dashboard
 * Exact Platform dashboard section migrated from the static redesign.
 */

.vpdc {
  --pp-navy-deep: #0d213b;
  --pp-blue-strong: #0063da;
  --pp-blue-dark: #006fe7;
  --pp-sand-light: #f7f6f4;
  --pp-muted: #6a757e;
  --pp-border: rgba(9, 48, 85, 0.1);
  --pp-border-strong: rgba(9, 48, 85, 0.2);
  --pp-shadow: 0 18px 45px rgba(9, 48, 85, 0.1);
  --pp-shadow-blue: 0 22px 50px rgba(0, 111, 231, 0.24);
  position: relative;
  isolation: isolate;
  scroll-margin-top: 118px;
}

.vpdc__inner {
  margin: 0 auto;
}

.vpdc__eyebrow {
  margin: 0;
  color: #0094ff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.vpdc__heading {
  margin: 0;
  color: var(--color-dark-navy);
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.15;
}

.vpdc {
  padding: 80px 0 95px;
  background: var(--color-off-white);
  overflow: hidden;
}

.vpdc__inner {
  display: grid;
  grid-template-columns: 526px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
  width: min(100% - 48px, 1072px);
}

.vpdc__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  min-width: 0;
}

.vpdc__heading {
  width: 678px;
  max-width: calc(100vw - 48px);
  letter-spacing: -0.02em;
}

.vpdc__intro,
.vpdc__outro {
  margin: 0;
  color: var(--color-dark-navy);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.58;
  letter-spacing: -0.03em;
  text-wrap: pretty;
}

.vpdc__list {
  margin: 0;
  padding-left: 27px;
  color: var(--color-dark-navy);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.58;
  letter-spacing: -0.03em;
}

.vpdc__list li::marker {
  color: var(--color-dark-navy);
}

.vpdc__list li + li {
  margin-top: 4px;
}

.vpdc__cta,
.vpcm__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 4px;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--color-blue-300);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.vpdc__cta {
  width: auto;
  min-width: 168px;
  justify-content: center;
  gap: 14px;
  min-height: 49px;
  margin-top: 0;
  padding: 14px 18px;
  border: 2px solid var(--color-blue-300);
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
}

.vpdc__cta span {
  flex: 0 0 auto;
  margin-left: 0;
}

.vpcm__cta {
  min-height: 49px;
  padding: 14px 24px;
  font-size: 17px;
  font-weight: 600;
}

.vpdc__cta,
.vpdc__cta:link,
.vpdc__cta:visited,
.vpdc__cta:hover,
.vpdc__cta:focus,
.vpdc__cta:active,
.vpcm__cta,
.vpcm__cta:link,
.vpcm__cta:visited,
.vpcm__cta:hover,
.vpcm__cta:focus,
.vpcm__cta:active {
  color: #fff;
}

.vpdc__cta:hover,
.vpdc__cta:focus,
.vpcm__cta:hover,
.vpcm__cta:focus {
  background: #0f7ce6;
  transform: translateY(-1px);
}

.vpdc__visual {
  position: relative;
  width: 758px;
  height: 625px;
  margin-top: 12px;
  min-width: 0;
}

.vpdc__browser {
  overflow: hidden;
  border-radius: 16px;
  background: #f6f8fb;
  border: 1px solid rgba(9, 48, 85, 0.1);
  box-shadow: var(--pp-shadow);
}

.vpdc__browser-chrome {
  height: 34px;
  padding-left: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border-bottom: 1px solid rgba(9, 48, 85, 0.08);
}

.vpdc__browser-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d7dce4;
}

.vpdc__browser-content {
  position: relative;
  min-height: 430px;
  padding: 20px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  grid-template-rows: 160px 220px;
  gap: 16px;
  background:
    radial-gradient(circle at 100% 10%, rgba(33, 145, 255, 0.1), transparent 34%),
    #f7f8fb;
}

.vpdc-card {
  min-width: 0;
  padding: 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(9, 48, 85, 0.08);
  box-shadow: 0 10px 24px rgba(9, 48, 85, 0.06);
}

.vpdc-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #434959;
  font-size: 14px;
  font-weight: 700;
}

.vpdc-card__icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef7ff;
  color: var(--color-blue-300);
}

.vpdc-card__score {
  margin-top: 18px;
  color: var(--color-blue-300);
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 1;
}

.vpdc-card__trend,
.vpdc-card__link {
  margin-top: 9px;
  color: rgba(9, 48, 85, 0.62);
  font-size: 13px;
  font-weight: 700;
}

.vpdc-card__link {
  color: var(--color-blue-300);
}

.vpdc-card--radar {
  grid-row: span 2;
}

.vpdc-card--radar svg {
  width: 100%;
  height: 280px;
  margin-top: 18px;
}

.vpdc-card--radar circle {
  fill: none;
  stroke: #e0e5ec;
  stroke-width: 1;
}

.vpdc-card--radar polygon:first-of-type {
  fill: rgba(240, 196, 255, 0.16);
  stroke: rgba(115, 85, 230, 0.4);
  stroke-width: 1.4;
}

.vpdc-card--radar polygon:last-of-type {
  fill: rgba(33, 145, 255, 0.14);
  stroke: var(--color-blue-300);
  stroke-width: 2;
}

.vpdc-progress {
  display: block;
  margin-top: 16px;
}

.vpdc-progress span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--color-dark-navy);
  font-size: 13px;
  font-weight: 700;
}

.vpdc-progress b {
  color: rgba(9, 48, 85, 0.58);
}

.vpdc-progress i {
  display: block;
  height: 8px;
  margin-top: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--color-blue-300) var(--p), #e0e5ec var(--p));
}

.vpdc-task {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-top: 14px;
  color: var(--color-dark-navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.vpdc-task i {
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--color-blue-300);
  flex: 0 0 auto;
}

.vpdc-task--warn i {
  background: #ff9c4f;
}

.vpdc .hpv5-hero__browser {
  position: absolute;
  left: 0;
  top: 0;
  width: 758px;
  height: 625px;
  min-width: 758px;
  overflow: hidden;
  border: 4.5px solid #f2f0e4;
  border-radius: 17px;
  background: var(--pp-sand-light);
  box-shadow: 0 4px 34px rgba(0, 0, 0, 0.1);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 50%, rgba(0, 0, 0, 0.62) 64%, rgba(0, 0, 0, 0.18) 78%, rgba(0, 0, 0, 0) 91%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 50%, rgba(0, 0, 0, 0.62) 64%, rgba(0, 0, 0, 0.18) 78%, rgba(0, 0, 0, 0) 91%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.vpdc .hpv5-hero__browser-chrome {
  height: 36px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--color-off-white);
  border-bottom: 1px solid #f2f0e4;
}

.vpdc .hpv5-hero__browser-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d9d8d2;
}

.vpdc .hpv5-hero__browser-content {
  display: grid;
  grid-template-columns: 235px 240px 241px;
  grid-template-rows: 272px 378px;
  gap: 9px;
  padding: 9px;
  overflow: visible;
}

.vpdc .hpv5-dash-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 13px;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.vpdc .hpv5-dash-card__header {
  min-height: 42px;
  padding: 8px 16px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vpdc .hpv5-dash-card__title {
  color: #434959;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.305;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.vpdc .hpv5-dash-card__action {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 1px solid #fff;
  border-radius: 7px;
  background: var(--color-light-warm);
  display: grid;
  place-items: center;
}

.vpdc .hpv5-dash-card__action .material-symbols-rounded {
  color: var(--color-dark-navy);
  font-size: 17px;
}

.vpdc .hpv5-dash-card__divider {
  height: 1px;
  margin: 0;
  background: rgba(9, 48, 85, 0.08);
}

.vpdc .hpv5-dash-card__body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 9px 22px 14px;
}

.vpdc .hpv5-dash-posture {
  grid-column: 1;
  grid-row: 1;
}

.vpdc .hpv5-dash-posture .hpv5-dash-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 21px 14px;
}

.vpdc .hpv5-dash-posture__score {
  color: #fda900;
  font-family: "Inter", var(--font-body);
  font-size: 93px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.08em;
  text-align: center;
}

.vpdc .hpv5-dash-posture__trend {
  margin-top: 16px;
  color: var(--color-dark-navy);
  font-family: var(--font-long);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.305;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.vpdc .hpv5-dash-posture__trend .material-symbols-rounded {
  color: var(--color-dark-navy);
  font-size: 22px;
  transform: rotate(180deg);
}

.vpdc .hpv5-dash-posture__cta {
  width: 100%;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(9, 48, 85, 0.12);
  color: var(--color-dark-navy);
  font-family: var(--font-long);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.305;
  letter-spacing: -0.03em;
  text-align: center;
}

.vpdc .hpv5-dash-compliance {
  grid-column: 2;
  grid-row: 1;
}

.vpdc .hpv5-compliance-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.vpdc .hpv5-compliance-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.vpdc .hpv5-compliance-row__info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  white-space: nowrap;
}

.vpdc .hpv5-compliance-row__name {
  color: #000;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.305;
  letter-spacing: -0.02em;
}

.vpdc .hpv5-compliance-row__pct {
  color: rgba(0, 0, 0, 0.6);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.305;
  letter-spacing: -0.02em;
}

.vpdc .hpv5-compliance-row__bar {
  height: 8px;
  overflow: hidden;
  border-radius: 85px;
  background: #dedcd0;
}

.vpdc .hpv5-compliance-row__fill {
  height: 100%;
  border-radius: inherit;
  background: #0fbaff;
}

.vpdc .hpv5-compliance-row__sep {
  height: 1px;
  background: rgba(9, 48, 85, 0.08);
}

.vpdc .hpv5-dash-attacker {
  grid-column: 3;
  grid-row: 1;
}

.vpdc .hpv5-attacker__chart {
  position: relative;
  width: 148px;
  height: 148px;
  margin: 14px auto 0;
}

.vpdc .hpv5-attacker__donut {
  width: 100%;
  height: 100%;
}

.vpdc .hpv5-attacker__donut-bg {
  fill: none;
  stroke: #f0efe9;
  stroke-width: 20;
}

.vpdc .hpv5-attacker__donut-segment {
  fill: none;
  stroke-width: 20;
  stroke-linecap: butt;
  transform: rotate(-90deg);
  transform-origin: center;
}

.vpdc .hpv5-attacker__donut-segment--critical { stroke: #ff5972; }
.vpdc .hpv5-attacker__donut-segment--high { stroke: #00d1b9; }
.vpdc .hpv5-attacker__donut-segment--medium { stroke: #ff9a60; }
.vpdc .hpv5-attacker__donut-segment--low { stroke: #ffcb11; }

.vpdc .hpv5-attacker__center {
  position: absolute;
  left: 50%;
  top: 50%;
  text-align: center;
  transform: translate(-50%, -50%);
}

.vpdc .hpv5-attacker__total {
  color: var(--color-dark-navy);
  font-family: "Inter", var(--font-body);
  font-size: 31px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.08em;
}

.vpdc .hpv5-attacker__total-label {
  color: rgba(9, 48, 85, 0.5);
  font-family: "Inter", var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.08em;
}

.vpdc .hpv5-attacker__legend {
  width: 166px;
  margin: 8px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 10px;
}

.vpdc .hpv5-attacker__legend-item {
  display: flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
}

.vpdc .hpv5-attacker__legend-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 1px;
}

.vpdc .hpv5-attacker__legend-dot--critical { background: #ff5972; }
.vpdc .hpv5-attacker__legend-dot--high { background: #00d1b9; }
.vpdc .hpv5-attacker__legend-dot--medium { background: #ff9a60; }
.vpdc .hpv5-attacker__legend-dot--low { background: #ffcb11; }

.vpdc .hpv5-attacker__legend-text {
  min-width: 0;
  color: #9fa5bd;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.289;
  white-space: nowrap;
}

.vpdc .hpv5-dash-radar {
  grid-column: 1 / 3;
  grid-row: 2;
}

.vpdc .hpv5-dash-radar .hpv5-dash-card__body {
  padding: 0 0 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vpdc .hpv5-radar {
  min-height: 0;
}

.vpdc .hpv5-radar__stage {
  position: relative;
  height: 333px;
  margin-top: 4px;
  overflow: hidden;
}

.vpdc .hpv5-radar__chart {
  position: absolute;
  left: 50%;
  top: -18px;
  width: 430px;
  max-width: none;
  height: auto;
  overflow: visible;
  transform: translateX(-50%);
}

.vpdc .hpv5-radar__ring {
  fill: none;
  stroke: #e7ebf3;
  stroke-width: 0.75;
}

.vpdc .hpv5-radar__axis {
  stroke: #e7ebf3;
  stroke-width: 0.7;
}

.vpdc .hpv5-radar__target {
  fill: rgba(240, 196, 255, 0.18);
  stroke: rgba(240, 196, 255, 0.9);
  stroke-width: 1.5;
}

.vpdc .hpv5-radar__current {
  fill: rgba(84, 183, 255, 0.14);
  stroke: #54b7ff;
  stroke-width: 1.7;
}

.vpdc .hpv5-radar__shape--current {
  transform: rotate(8deg);
  transform-origin: 150px 160px;
}

.vpdc .hpv5-radar__dot--target {
  fill: #e2bcff;
}

.vpdc .hpv5-radar__dot--current {
  fill: #54b7ff;
}

.vpdc .hpv5-radar__label {
  position: absolute;
  z-index: 2;
  color: #666d80;
  font-family: var(--font-long);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.vpdc .hpv5-radar__label--risk { left: 23%; top: 28px; }
.vpdc .hpv5-radar__label--data { right: 14%; top: 90px; }
.vpdc .hpv5-radar__label--continuity { right: 6%; bottom: 56px; }
.vpdc .hpv5-radar__label--ai { left: 25%; bottom: 20px; }

.vpdc .hpv5-radar__pill {
  position: absolute;
  z-index: 1;
  height: 8px;
  border-radius: 999px;
  background: #e7ebf3;
}

.vpdc .hpv5-radar__pill--1 { top: 14px; left: 50%; width: 42px; transform: translateX(-50%); }
.vpdc .hpv5-radar__pill--2 { top: 40px; right: 17%; width: 73px; }
.vpdc .hpv5-radar__pill--3 { top: 144px; right: 0; width: 74px; }
.vpdc .hpv5-radar__pill--4 { right: 2%; bottom: 70px; width: 64px; }
.vpdc .hpv5-radar__pill--5 { left: 12%; bottom: 54px; width: 55px; }
.vpdc .hpv5-radar__pill--6 { top: 122px; left: 6%; width: 42px; }
.vpdc .hpv5-radar__pill--7 { top: 70px; left: 14%; width: 58px; }

.vpdc .hpv5-radar__legend {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding-top: 2px;
}

.vpdc .hpv5-radar__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9fa5bd;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
}

.vpdc .hpv5-radar__legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 1px;
}

.vpdc .hpv5-radar__legend-dot--current { background: #54b7ff; }
.vpdc .hpv5-radar__legend-dot--target { background: #f0c4ff; }

.vpdc .hpv5-dash-tasks {
  grid-column: 3;
  grid-row: 2;
  width: 293px;
}

.vpdc .hpv5-tasks-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.vpdc .hpv5-task-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}

.vpdc .hpv5-task-item__dot {
  width: 7px;
  height: 7px;
  margin-top: 4px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.vpdc .hpv5-task-item__dot--blue { background: #ff5972; }
.vpdc .hpv5-task-item__dot--orange { background: #f4bc00; }

.vpdc .hpv5-task-item__text {
  min-width: 0;
  color: #000;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.vpdc .hpv5-task-item__sep {
  width: 100%;
  height: 1px;
  background: rgba(9, 48, 85, 0.08);
}

.vpdc__visual-fade {
  display: none;
}

@media (max-width: 1100px) {
  .vpdc__inner {
    grid-template-columns: 1fr;
    width: min(100% - 48px, 820px);
  }

  .vpdc__heading {
    width: auto;
    max-width: 680px;
    font-size: 40px;
  }

  .vpdc__visual {
    width: 100%;
    max-width: 758px;
    height: 625px;
    margin-top: 0;
    overflow: visible;
  }

  .vpdc .hpv5-hero__browser {
    position: relative;
    left: auto;
    top: auto;
  }
}

@media (max-width: 760px) {
  /* Section was `padding: 64px 0` — content fell flush to the
   * viewport edges minus a 16px gutter from the inner's width-math.
   * Sibling blocks at this breakpoint settle at ~24px from the edge
   * (vpd: 16px section + 20px inner = 36px; vpfm/vpc: 16px section +
   * card padding); 24px on the section here puts vpdc visually in
   * line with them. */
  .vpdc {
    padding: 64px 24px;
  }

  .vpdc__inner {
    width: min(100%, 560px);
    gap: 36px;
  }

  .vpdc__heading {
    max-width: none;
    font-size: 30px;
  }

  .vpdc__intro,
  .vpdc__outro,
  .vpdc__list {
    font-size: 16px;
  }

  .vpdc__visual {
    height: 425px;
    overflow: hidden;
  }

  .vpdc .hpv5-hero__browser {
    position: absolute;
    left: 0;
    top: 0;
    transform: scale(0.68);
    transform-origin: top left;
  }
}

@media (max-width: 480px) {
  .vpdc {
    padding: 56px 20px;
  }

  .vpdc__inner {
    width: min(100%, 432px);
  }

  .vpdc__visual {
    height: 282px;
  }

  .vpdc .hpv5-hero__browser {
    transform: scale(0.45);
  }

  .vpdc__cta {
    width: 100%;
    max-width: 288px;
    justify-content: space-between;
  }
}
