.process-roadmap {
    width: 100%;
    overflow: visible;
    background: linear-gradient(105deg, #e0f7f1 0%, #fff 49%, #fff4ec 100%);
    border-radius: 20px;
    padding: 1.5rem 1rem;
    position: relative;
    border: 1px solid rgba(228, 222, 239, 0.8);
    box-shadow: 0 4px 20px rgba(112, 102, 213, 0.04);
}

.process-roadmap-canvas {
    position: relative;
    width: 100%;
    height: var(--roadmap-height, 490px);
    overflow: visible;
}

.process-roadmap-path {
    position: absolute;
    inset: 0;
    width: 100%;
    height: var(--roadmap-height, 490px);
    pointer-events: none;
}

.process-roadmap-steps {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute;
    inset: 0;
}

.process-roadmap-step {
    position: absolute;
    width: 0;
    height: 0;
}

.process-roadmap-dot {
    position: absolute;
    left: -12px;
    top: -12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #7066d5;
}

.process-roadmap-step.is-start .process-roadmap-dot {
    width: 30px;
    height: 30px;
    left: -15px;
    top: -15px;
    background: #19c463;
    box-shadow: 0 0 0 15px rgba(25, 196, 99, 0.17);
}

.process-roadmap-pin {
    position: absolute;
    box-sizing: border-box;
    left: -15px;
    top: -57px;
    width: 30px;
    height: 30px;
    border: 8px solid #fa4147;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(250, 65, 71, 0.25);
}

.process-roadmap-pin::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 31px;
    top: 20px;
    left: 5.5px;
    background: #fa4147;
}

.process-roadmap-step.label-below .process-roadmap-pin {
    top: 27px;
}

.process-roadmap-step.label-below .process-roadmap-pin::after {
    top: -36px;
}

.process-roadmap-detail {
    position: absolute;
    width: 145px;
    left: -72.5px;
    text-align: center;
    bottom: 68px;
    z-index: 20;
}

@media (min-width: 1280px) {
    .process-roadmap-detail {
        width: 155px;
        left: -77.5px;
    }
}

.process-roadmap-step.label-below .process-roadmap-detail {
    bottom: auto;
    top: 70px;
}

.process-roadmap-step.is-start .process-roadmap-detail {
    top: 34px;
}

.process-roadmap-step.is-finish .process-roadmap-detail {
    bottom: 27px;
}

.process-roadmap-detail summary {
    list-style: none;
    cursor: pointer;
    color: #3e4959;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: normal;
    padding: 14px 12px;
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(228, 222, 239, 0.85);
    box-shadow: 0 4px 14px rgba(108, 105, 175, 0.08);
    transition: all 0.25s ease;
    white-space: normal;
}

.process-roadmap-detail summary:hover {
    color: #6255ab;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(98, 85, 171, 0.16);
    border-color: #6255ab;
    transform: translateY(-1px);
}

.process-roadmap-detail summary::-webkit-details-marker {
    display: none;
}

.process-roadmap-detail[open] {
    z-index: 30;
}

.process-roadmap-detail[open] summary {
    color: #6255ab;
    background: #ffffff;
    border-color: #6255ab;
    box-shadow: 0 4px 12px rgba(98, 85, 171, 0.15);
}

.process-roadmap-description {
    position: absolute;
    box-sizing: border-box;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e4deef;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(56, 48, 81, 0.16);
    text-align: left;
    max-height: 200px;
    overflow-y: auto;
    z-index: 40;
}

.process-roadmap-step.label-below .process-roadmap-description {
    top: auto;
    bottom: calc(100% + 12px);
}

.process-roadmap-description p {
    margin: 6px 0 0 !important;
    color: #657080;
    font-size: 12.5px !important;
    line-height: 1.6 !important;
}

.process-roadmap-count {
    font-size: 10px;
    font-weight: 700;
    font-family: monospace;
    letter-spacing: 1px;
    color: #82779d;
    background: #f1f0fb;
    padding: 2px 6px;
    border-radius: 4px;
}

.process-roadmap-hint {
    margin: 14px 0 0 !important;
    font-size: 12px !important;
    line-height: 1.6;
    color: #7d8190;
    text-align: center;
}

.process-roadmap-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.process-roadmap:focus-visible, .process-roadmap summary:focus-visible {
    outline: 3px solid #b3a5da;
    outline-offset: 3px;
    border-radius: 6px;
}
