/* Practice standalone layout (test/session without main site header/footer) */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #f1f5f9;
}
.practice-standalone-page {
    min-height: 100vh;
    padding: 0.5rem 0 1rem;
    box-sizing: border-box;
}
.practice-standalone-main {
    display: flex;
    align-items: flex-start;
    width: 100%;
    min-height: 100vh;
}
.practice-gutter-left {
    flex: 0 0 15%;
    min-width: 0;
}
.practice-center-wrap {
    flex: 0 0 70%;
    width: 70%;
    min-width: 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 0 0.5rem;
}
.practice-center-wrap .practice-center {
    flex: 1;
    min-width: 0;
}
.practice-center-wrap .practice-sidebar-right {
    flex: 0 0 260px;
    max-width: 260px;
}
.practice-gutter-right {
    flex: 0 0 15%;
    min-width: 0;
}
/* Hide palette on test intro page; show on session page or when test started */
.practice-standalone-page:not(.is-session) .practice-test-palette-wrap:not(.visible) {
    display: none !important;
}
.practice-test-palette-wrap.visible {
    display: block !important;
}

@media (max-width: 991px) {
    .practice-standalone-main {
        flex-wrap: wrap;
    }
    .practice-gutter-left,
    .practice-gutter-right {
        flex: 0 0 100%;
    }
    .practice-center-wrap {
        flex: 0 0 100%;
        width: 100%;
        flex-wrap: wrap;
    }
    .practice-center-wrap .practice-center {
        flex: 0 0 100%;
        max-width: 100%;
        order: 1;
    }
    .practice-center-wrap .practice-sidebar-right {
        flex: 0 0 100%;
        max-width: 100%;
        order: 2;
        display: block !important;
    }
}
