.ssh-test-page {
    min-height: 100vh;
    background: #f5f7fc;
}

.ssh-test-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.ssh-test-sidebar {
    background: #eef2fb;
    border-right: 1px solid #e3e9f5;
    padding: 32px 24px;
}

.ssh-test-brand a {
    font-size: 24px;
    font-weight: 700;
    color: #1f2d5a;
    text-decoration: none;
}

.ssh-test-menu {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 40px;
}

.ssh-test-menu a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: #55658f;
    font-weight: 500;
}

.ssh-test-menu a.is-active {
    background: #dfe8fb;
    color: #1f2d5a;
}

.ssh-test-content {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 56px 40px;
}

.ssh-test-card {
    width: 100%;
    max-width: 680px;
    background: #fff;
    border: 1px solid #e8ebf3;
    border-radius: 28px;
    box-shadow: 0 16px 40px rgba(31, 45, 90, 0.08);
    padding: 32px;
}
 
.ssh-step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.ssh-step-label {
    font-size: 15px;
    font-weight: 600;
    color: #61709b;
}

.ssh-step-dots {
    display: flex;
    gap: 8px;
}

.ssh-step-dots span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #d6deef;
    display: block;
}

.ssh-step-dots span.is-active {
    background: #4c72d9;
}

.ssh-test-card h1 {
    margin: 0 0 14px;
    font-size: 52px;
    line-height: 1.08;
    color: #1f2d5a;
}

.ssh-step-text {
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 1.5;
    color: #61709b;
}

.ssh-step-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ssh-option-card {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 78px;
    padding: 0 22px;
    border: 1px solid #dfe6f4;
    border-radius: 18px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ssh-option-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ssh-option-card span {
    font-size: 20px;
    line-height: 1.2;
    color: #2a3a68;
    font-weight: 500;
}

.ssh-option-card:hover {
    border-color: #bdd0fb;
    box-shadow: 0 8px 24px rgba(76, 114, 217, 0.08);
}

.ssh-option-card input:checked + span {
    color: #1f2d5a;
}

.ssh-option-card:has(input:checked) {
    border-color: #4c72d9;
    background: #eef3ff;
    box-shadow: 0 12px 28px rgba(76, 114, 217, 0.12);
}

.ssh-step-actions {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 14px;
}

.ssh-btn-secondary {
    background: #eef2fb;
    color: #7180a8;
}

@media (max-width: 1024px) {
    .ssh-test-shell {
        grid-template-columns: 1fr;
    }

    .ssh-test-sidebar {
        display: none;
    }

    .ssh-test-card h1 {
        font-size: 42px;
    }

    .ssh-option-card span {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .ssh-test-content {
        padding: 24px 16px;
    }

    .ssh-test-card {
        padding: 24px 18px;
        border-radius: 22px;
    }

    .ssh-step-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .ssh-test-card h1 {
        font-size: 34px;
    }

    .ssh-step-text {
        font-size: 18px;
    }

    .ssh-option-card {
        min-height: 68px;
    }

    .ssh-option-card span {
        font-size: 22px;
    }
}

.ssh-step-panel {
    display: none;
    flex-direction: column;
    gap: 16px;
}

.ssh-step-panel.is-active {
    display: flex;
}

.ssh-textarea-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ssh-textarea-label {
    font-size: 22px;
    line-height: 1.3;
    color: #2a3a68;
    font-weight: 600;
}

.ssh-textarea-card textarea {
    width: 100%;
    min-height: 220px;
    padding: 20px 22px;
    border: 1px solid #dfe6f4;
    border-radius: 18px;
    background: #fff;
    font-size: 20px;
    line-height: 1.5;
    color: #2a3a68;
    resize: vertical;
    outline: none;
    transition: all 0.2s ease;
}

.ssh-textarea-card textarea:focus {
    border-color: #4c72d9;
    box-shadow: 0 0 0 4px rgba(76, 114, 217, 0.08);
}

@media (max-width: 767px) {
    .ssh-textarea-label {
        font-size: 18px;
    }

    .ssh-textarea-card textarea {
        font-size: 18px;
        min-height: 180px;
    }
}

.ssh-result-area {
    width: 100%;
    max-width: 900px;
}

.ssh-result-block {
    width: 100%;
    background: #fff;
    border: 1px solid #e8ebf3;
    border-radius: 28px;
    box-shadow: 0 16px 40px rgba(31, 45, 90, 0.08);
    padding: 32px;
}

.ssh-result-block h2 {
    margin: 0 0 24px;
    font-size: 42px;
    line-height: 1.1;
    color: #1f2d5a;
}

.ssh-result-box {
    margin-top: 18px;
    padding: 20px;
    border: 1px solid #e8ebf3;
    border-radius: 18px;
    background: #fff;
}

.ssh-result-box h3 {
    margin: 0 0 12px;
    font-size: 24px;
    color: #1f2d5a;
}

.ssh-result-day {
    padding: 14px 0;
    border-top: 1px solid #eef2fb;
}

.ssh-result-day:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.ssh-result-day p {
    margin: 8px 0 0;
}

.ssh-result-actions {
    margin-top: 24px;
}