.pvm {
    --pvm-ink: #232345;
    --pvm-muted: #565980;
    --pvm-purple: #3e35b9;
    --pvm-gap: clamp(22px, 3.8vw, 64px);
    position: relative;
    isolation: isolate;
    right: calc(50% - 50vw);
    width: 100vw;
    max-width: none;
    overflow: clip;
    padding: clamp(30px, 3vw, 52px) 24px clamp(36px, 4vw, 65px);
    background: radial-gradient(ellipse at 50% 64%, #ece9fa, transparent 66%), #f6f5fa;
    color: var(--pvm-ink);
}
.pvm, .pvm * { box-sizing: border-box; }
.pvm-inner { max-width: 1620px; width: 96%; margin: auto; }
.pvm-header {
    max-width: 900px;
    margin: 0 auto 42px;
    font-family: IranYekan, Yekan, Tahoma, sans-serif;
    text-align: center;
}
#feature.pvm #manage {
    margin: 0;
    padding: 0;
    color: #21233c;
    font-family: inherit;
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -.6px;
    scroll-margin-top: 110px;
}
.pvm .pvm-accent { color: var(--pvds-redesign-primary, #333399); }
.pvm .pvm-intro {
    max-width: 800px;
    margin: 16px auto 0;
    color: #5b6079;
    font-family: inherit;
    font-size: 14px;
    line-height: 2;
}
.pvm .pvm-intro[data-pv-heading-state="visible"] .pv-heading-word {
    transition-delay: calc(var(--pv-heading-delay, 0ms) + 180ms);
}

.pvm-scene {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.44fr) minmax(0, .94fr);
    gap: var(--pvm-gap);
    align-items: center;
}
.pvm-visual {
    grid-area: 1 / 2;
    position: relative;
    z-index: 1;
    min-width: 0;
}
.pvm-visual::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 3% 6% 6%;
    border: 1px solid rgb(255 255 255 / 54%);
    border-radius: 50%;
    background: radial-gradient(ellipse, #dfdafa 5%, #e8e4fb 62%, #efecfb 75%, transparent 76%);
    box-shadow: inset 0 0 0 15px rgb(255 255 255 / 22%);
}
.pvm .pvm-dashboard {
    display: block;
    width: 112%;
    max-width: none;
    height: auto;
    margin-inline: -6%;
}
.pvm .pvm-side {
    display: grid;
    align-content: center;
    align-self: stretch;
    gap: clamp(18px, 2.4vw, 40px);
    min-width: 0;
    padding: 0;
    margin: 0;
    list-style: none;
}
.pvm-side-right { grid-area: 1 / 1; --pvm-slide-x: 22px; }
.pvm-side-left { grid-area: 1 / 3; --pvm-slide-x: -22px; }
.pvm-tile { position: relative; min-width: 0; margin: 0; }
.pvm-tile:focus-within, .pvm-tile:has(details[open]) { z-index: 2; }
.pvm-connector {
    --pvm-link-x: 1;
    --pvm-link-y: 1;
    position: absolute;
    left: 100%;
    top: calc(50% - 6px);
    width: calc(var(--pvm-gap) + 52px);
    height: clamp(42px, 5.3vw, 91px);
    overflow: visible;
    pointer-events: none;
    transform: scale(var(--pvm-link-x), var(--pvm-link-y));
}
.pvm-side-right .pvm-connector {
    --pvm-link-x: -1;
    right: 100%;
    left: auto;
}
.pvm-tile:nth-child(3) .pvm-connector {
    --pvm-link-y: -1;
    top: auto;
    bottom: calc(50% - 6px);
}
.pvm-connector path {
    fill: none;
    stroke: #8e81df;
    stroke-width: 1;
    stroke-dasharray: 4 3;
    vector-effect: non-scaling-stroke;
}
.pvm-connector circle { fill: #8071e5; stroke: #fff; stroke-width: 2; filter: drop-shadow(0 0 4px #9386ed); }
.pvm-card {
    position: relative;
    border: 1px solid #fff;
    border-radius: clamp(18px, 2vw, 32px);
    background: linear-gradient(125deg, #ffffffed, #faf9fc);
    box-shadow: 0 14px 30px #4c3f9418;
}
.pvm-card-content {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.2vw, 20px);
    min-height: clamp(90px, 6.7vw, 116px);
    padding: clamp(10px, 1.05vw, 17px);
    border-radius: inherit;
    list-style: none;
}
.pvm-card summary::-webkit-details-marker { display: none; }
.pvm-card summary { cursor: pointer; }
.pvm-card[open] summary { background: #efedfb; }
.pvm-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: clamp(43px, 4.7vw, 82px);
    aspect-ratio: 1;
    border-radius: 26%;
    background: linear-gradient(150deg, #faf9ff, #f1eefb);
    color: var(--pvm-purple);
    font-size: clamp(20px, 2.3vw, 36px);
}
.pvm-copy { display: block; min-width: 0; }
.pvm-copy strong { display: block; margin-bottom: 4px; color: var(--pvm-ink); font-size: clamp(17px, 1.32vw, 23px); font-weight: 850; line-height: 1.55; }
.pvm-copy > span { display: block; color: var(--pvm-muted); font-size: clamp(14px, 1.05vw, 18px); line-height: 1.66; }
.pvm-card-detail {
    position: absolute;
    inset-inline: 0;
    top: calc(100% + 6px);
    padding: 11px 15px;
    border: 1px solid #fff;
    border-radius: 14px;
    background: #f9f7fe;
    box-shadow: 0 10px 24px #423b8d25;
}
.pvm-card-detail p { margin: 0 0 6px; color: var(--pvm-ink); font-size: 15px; line-height: 1.7; }
.pvm-card-detail p:last-child { margin-bottom: 0; }
.pvm-card-detail .pvm-detail-title { font-weight: 750; }
.pvm .pvm-card-detail a { color: var(--pvm-purple); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.pvm-actions { text-align: center; margin-top: clamp(22px, 3vw, 46px); }
.pvm .pvm-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    gap: 14px;
    padding: .75em 1.85em;
    border-radius: 999px;
    background: linear-gradient(125deg, #4133be, #342aa7);
    box-shadow: 0 10px 24px #5148c435;
    color: #fff;
    font-size: clamp(16px, 1.22vw, 21px);
    font-weight: 750;
    text-decoration: none;
}
.pvm .pvm-action:hover { background: #30258f; }
.pvm :is(summary, a):focus-visible { outline: 2px solid #6255de; outline-offset: 3px; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .pvm-tile:hover { z-index: 2; }
    .pvm-card { transition: scale .2s ease-out; }
    .pvm-card:hover { scale: 1.025; }
}

@media (prefers-reduced-motion: no-preference) {
    [data-pvm-motion] .pvm-dashboard {
        opacity: var(--pvm-progress, 1);
        filter: blur(calc((1 - var(--pvm-progress, 1)) * 13px));
        transform: translateY(calc((1 - var(--pvm-progress, 1)) * 64px));
    }
    [data-pvm-motion] .pvm-visual::before,
    [data-pvm-motion] .pvm-tile:not(:focus-within) .pvm-card,
    [data-pvm-motion] .pvm-connector { opacity: var(--pvm-progress, 1); }
    [data-pvm-motion] .pvm-tile:not(:focus-within) .pvm-card {
        filter: blur(calc((1 - var(--pvm-progress, 1)) * 7px));
        transform: translate(calc((1 - var(--pvm-progress, 1)) * var(--pvm-slide-x, 0px)), calc((1 - var(--pvm-progress, 1)) * 17px));
    }
}
@media (max-width: 1100px) {
    .pvm-inner { width: 100%; }
}
@media (max-width: 860px) {
    .pvm { padding-inline: 16px; }
    .pvm-scene { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
    .pvm-visual { width: min(100%, 550px); margin-inline: auto; }
    .pvm .pvm-dashboard { width: 100%; margin-inline: 0; }
    .pvm .pvm-side { --pvm-slide-x: 0px; width: min(100%, 600px); gap: 14px; margin-inline: auto; }
    .pvm-connector { display: none; }
    .pvm-card-content { min-height: 80px; }
    .pvm-card-detail { position: static; padding: 0 15px 11px; border: 0; box-shadow: none; }
}
@media (max-width: 650px) {
    .pvm-header { margin-bottom: 26px; }
    #feature.pvm #manage {
        font-size: clamp(25px, 6.7vw, 32px);
        line-height: 1.65;
        letter-spacing: -.4px;
    }
    .pvm .pvm-intro { max-width: 360px; margin-top: 12px; }
}
