/* ===== Roadmap readability fix ===== */

/* Карточки — более тёмный и контрастный фон */
.ach-phase {
    background: rgba(8, 12, 20, 0.88) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.ach-phase--active {
    background: rgba(10, 14, 22, 0.92) !important;
    border-color: rgba(249, 115, 22, 0.45) !important;
}
.ach-phase--locked {
    background: rgba(8, 10, 16, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Название этапа — ярче */
.ach-phase__name {
    color: #f0f2f5 !important;
}
.ach-phase--locked .ach-phase__name {
    color: #8a9ab0 !important;
}

/* Период */
.ach-phase__period {
    color: #8a9ab0 !important;
}

/* Счётчик для locked */
.ach-phase--locked .ach-phase__count {
    color: #5a6f82 !important;
}

/* Бейдж ПЛАНИРУЕТСЯ */
.ach-phase--locked .ach-phase__badge {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #8a9ab0 !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Стрелка */
.ach-phase__arrow {
    color: #8a9ab0 !important;
}

/* Пункты — текст ярче */
.ach-phase__item-text {
    font-size: 14px;
    line-height: 1.5;
    color: #c8d4e0 !important;
}

/* Ожидающие пункты — значительно ярче */
.ach-phase__item--wait .ach-phase__item-text {
    color: #b0bec8 !important;
}
.ach-phase__item--wait .ach-phase__check {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Разделитель между пунктами */
.ach-phase__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Описание этапа — ярче */
.ach-phase__desc {
    color: rgba(200, 212, 224, 0.75) !important;
    border-left-color: rgba(249, 115, 22, 0.5) !important;
}

/* Прогресс-бар */
.ach-total-bar {
    background: rgba(8, 12, 20, 0.88) !important;
    border-color: rgba(249, 115, 22, 0.2) !important;
}
.ach-total-bar__label {
    color: #e0e8f0 !important;
}
.ach-total-bar__fill {
    background: linear-gradient(90deg, #f97316, #fbbf24) !important;
}
.ach-total-bar__pct {
    color: #f97316 !important;
}

/* Легенда */
.ach-roadmap__subtitle {
    color: #8a9ab0 !important;
}
.ach-legend {
    color: #8a9ab0 !important;
}
.ach-legend__item--wait .ach-legend__dot {
    background: rgba(255, 255, 255, 0.25) !important;
}

/* Иконка locked этапа — чуть заметнее */
.ach-phase--locked .ach-phase__shield-icon {
    opacity: 0.45 !important;
}
.ach-phase--locked .ach-phase__wow-icon {
    opacity: 0.5 !important;
    filter: grayscale(0.6) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Hover на head */
.ach-phase__head:hover {
    background: rgba(255, 255, 255, 0.04) !important;
}
