/* Chtio Stage288: trust path, plan truth matrix, and search-verification presentation. */
.stage288_conversion_path {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.55fr) auto;
    gap: 24px;
    align-items: center;
    margin: 18px 0 30px;
    padding: 24px;
    border: 1px solid #dce4ef;
    border-radius: 5px;
    background: #f8fafc;
}

.stage288_conversion_head {
    min-width: 0;
}

.stage288_conversion_head h2 {
    margin: 10px 0 8px;
    color: #20242d;
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1.12;
}

.stage288_conversion_head p {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.6;
}

.stage288_conversion_steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.stage288_conversion_steps article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    min-width: 0;
    padding: 13px;
    border: 1px solid #e0e6ef;
    border-radius: 5px;
    background: #ffffff;
}

.stage288_conversion_steps article > span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid #cbd9ec;
    border-radius: 5px;
    background: #eef4fd;
    color: #1f67ba;
    font-size: 10px;
    font-weight: 600;
}

.stage288_conversion_steps strong {
    display: block;
    margin-bottom: 4px;
    color: #20242d;
    font-size: 13px;
    line-height: 1.3;
}

.stage288_conversion_steps p {
    margin: 0;
    color: #6d788a;
    font-size: 11px;
    line-height: 1.5;
}

.stage288_conversion_path > .button {
    white-space: nowrap;
}

.stage288_plan_matrix {
    margin-top: 52px;
    padding-top: 50px;
    border-top: 1px solid #dfe5ed;
}

.stage288_plan_matrix_scroll {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #dce4ef;
    border-radius: 5px;
    background: #ffffff;
    scrollbar-width: thin;
}

.stage288_plan_matrix_scroll:focus {
    outline: 3px solid rgba(38, 120, 219, .18);
    outline-offset: 2px;
}

.stage288_plan_matrix table {
    width: 100%;
    min-width: 880px;
    border-collapse: collapse;
    color: #273345;
    font-size: 13px;
}

.stage288_plan_matrix th,
.stage288_plan_matrix td {
    padding: 13px 14px;
    border-bottom: 1px solid #e4e9f0;
    border-right: 1px solid #e9edf3;
    text-align: center;
    vertical-align: middle;
}

.stage288_plan_matrix th:first-child,
.stage288_plan_matrix td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    min-width: 220px;
    text-align: left;
    background: #ffffff;
    box-shadow: 1px 0 0 #e4e9f0;
}

.stage288_plan_matrix thead th {
    color: #20242d;
    background: #f5f8fc;
    font-size: 12px;
    font-weight: 600;
}

.stage288_plan_matrix thead th:first-child {
    z-index: 3;
    background: #f5f8fc;
}

.stage288_plan_matrix tbody tr:last-child th,
.stage288_plan_matrix tbody tr:last-child td {
    border-bottom: 0;
}

.stage288_plan_matrix th:last-child,
.stage288_plan_matrix td:last-child {
    border-right: 0;
}

.stage288_plan_matrix td.is-yes {
    color: #177456;
    font-weight: 600;
}

.stage288_plan_matrix td.is-no {
    color: #8b94a4;
}

.stage288_plan_matrix_note {
    margin: 12px 0 0;
    color: #697589;
    font-size: 12px;
    line-height: 1.55;
}

@media (max-width: 1180px) {
    .stage288_conversion_path {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .stage288_conversion_path > .button {
        width: fit-content;
    }
}

@media (max-width: 760px) {
    .stage288_conversion_path {
        padding: 20px;
    }

    .stage288_conversion_steps {
        grid-template-columns: 1fr;
    }

    .stage288_conversion_path > .button {
        width: 100%;
        justify-content: center;
    }

    .stage288_plan_matrix {
        margin-top: 38px;
        padding-top: 38px;
    }
}

@media (max-width: 480px) {
    .stage288_conversion_path {
        margin-right: -2px;
        margin-left: -2px;
        padding: 16px;
    }

    .stage288_conversion_steps article {
        padding: 11px;
    }

    .stage288_plan_matrix th:first-child,
    .stage288_plan_matrix td:first-child {
        min-width: 180px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stage288_conversion_path *,
    .stage288_plan_matrix * {
        transition: none !important;
    }
}
