html, body {
    margin: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    background: #f8f9fa;
}

.wrapper {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 16px;
    min-height: 100vh;
    box-sizing: border-box;
}

.containers {
    display: flex;
    height: calc(100vh - 80px);
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

/* LEFT PANEL */
.left {
    width: 35%;
    padding: 15px;
    border-right: 1px solid #ddd;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.left::-webkit-scrollbar {
    width: 6px;
}
.left::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.3);
    border-radius: 3px;
}

/* RIGHT PANEL */
.right {
    width: 65%;
    padding: 20px;
    overflow-y: auto;
}

/* QUESTIONS & SEARCH */
.search-box {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
}

.question {
    display: block;
    padding: 12px;
    margin-bottom: 8px;
    background: #f1f1f1;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    word-break: break-word;
}

.question.active,
.question:hover {
    background: #007bff;
    color: #fff;
}

.answer-mobile {
    padding: 12px;
    margin: 8px 0;
    background: #e9ecef;
    border-radius: 6px;
}

.highlight {
    background: yellow;
}

/* MOBILE */
@media (max-width: 768px) {
    .containers {
        flex-direction: column;
        height: 100vh;
    }
    .left {
        width: 100%;
        height: 100%;
        overflow-y: auto;
    }
    .right {
        display: none;
    }
}
