.rl-library-panel {
    background: #fff;
    border: 1px solid #dce6ef;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(33, 66, 82, .06);
    margin-bottom: 18px;
    padding: 16px;
}

.rl-library-toolbar {
    align-items: flex-start;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.rl-library-eyebrow {
    background: #f8fafc;
    border: 1px solid #dce6ef;
    border-radius: 999px;
    color: #8a4b58;
    display: inline-flex;
    font-size: .82rem;
    font-weight: 800;
    margin-bottom: 4px;
    padding: 5px 9px;
    text-transform: uppercase;
}

.rl-library-heading {
    color: #214252;
    font-size: 1.26rem;
    font-weight: 900;
    line-height: 1.25;
    margin: 0;
}

.rl-library-subtitle {
    color: #64748b;
    margin: 5px 0 0;
}

.rl-library-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.rl-library-stat {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #214252;
    font-size: .86rem;
    font-weight: 800;
    padding: 8px 10px;
}

.rl-library-controls {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.rl-library-tabs {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rl-library-chip {
    align-items: center;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    color: #214252;
    display: inline-flex;
    font-size: .9rem;
    font-weight: 800;
    gap: 7px;
    line-height: 1;
    padding: 10px 13px;
    text-decoration: none;
}

.rl-library-chip:not(.category) {
    --skill-bg: #fff1f2;
    --skill-border: #fecdd3;
    --skill-color: #b42333;
    --skill-shadow: rgba(180, 35, 51, .1);
    background: var(--skill-bg);
    border-color: var(--skill-border);
    box-shadow: 0 6px 14px var(--skill-shadow);
    color: var(--skill-color);
    font-size: .94rem;
    padding: 11px 15px;
}

.rl-library-chip.skill-speaking {
    --skill-bg: #eff6ff;
    --skill-border: #bfdbfe;
    --skill-color: #2563eb;
    --skill-shadow: rgba(37, 99, 235, .1);
}

.rl-library-chip.skill-reading {
    --skill-bg: #ecfdf5;
    --skill-border: #bbf7d0;
    --skill-color: #15803d;
    --skill-shadow: rgba(21, 128, 61, .1);
}

.rl-library-chip.skill-listening {
    --skill-bg: #fff7ed;
    --skill-border: #fed7aa;
    --skill-color: #c2410c;
    --skill-shadow: rgba(194, 65, 12, .1);
}

.rl-library-chip.skill-writing {
    --skill-bg: #f6f3ff;
    --skill-border: #ddd6fe;
    --skill-color: #7c5ce6;
    --skill-shadow: rgba(124, 92, 230, .1);
}

.rl-library-chip.skill-full {
    --skill-bg: #dc2626;
    --skill-border: #b91c1c;
    --skill-color: #fff;
    --skill-shadow: rgba(220, 38, 38, .22);
    border-width: 0;
    box-shadow: 0 10px 22px var(--skill-shadow);
    color: #fff;
    flex: 0 0 auto;
    justify-content: center;
    line-height: 1.15;
    padding: 11px 16px;
    width: auto;
}

.rl-library-chip.skill-full:hover {
    background: #b91c1c;
    box-shadow: 0 12px 26px rgba(185, 28, 28, .26);
    color: #fff;
    transform: translateY(-1px);
}

.rl-library-chip i {
    font-size: 1rem;
}

.rl-library-chip:not(.category):not(.skill-full):hover,
.rl-library-chip:not(.category):not(.skill-full).active {
    background: var(--skill-color);
    border-color: var(--skill-color);
    box-shadow: 0 8px 18px var(--skill-shadow);
    color: #fff;
}

.rl-library-chip.category:hover,
.rl-library-chip.category.active {
    background: #214252;
    border-color: #214252;
    color: #fff;
}

.rl-library-search {
    flex: 1 1 260px;
    margin-left: auto;
    position: relative;
}

.rl-library-search i {
    color: #94a3b8;
    left: 13px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.rl-library-search input {
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    color: #214252;
    font-weight: 700;
    min-height: 42px;
    padding-left: 38px;
}

.rl-library-search input:focus {
    border-color: #214252;
    box-shadow: 0 0 0 .18rem rgba(33, 66, 82, .12);
}

.rl-test-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.rl-test-card-wrap {
    display: block;
}

.rl-test-card {
    background: #fff;
    border: 1px solid #dce6ef;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(33, 66, 82, .06);
    color: #214252;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    min-height: 184px;
    padding: 14px;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.rl-test-card:hover {
    border-color: #9fc7dc;
    box-shadow: 0 14px 28px rgba(33, 66, 82, .1);
    color: #214252;
    transform: translateY(-2px);
}

.rl-test-card-top {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.rl-test-badge {
    align-items: center;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: .75rem;
    font-weight: 900;
    gap: 5px;
    line-height: 1;
    padding: 7px 9px;
}

.rl-test-badge.reading {
    background: #15803d;
}

.rl-test-badge.listening {
    background: #ea580c;
}

.rl-test-part {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    color: #475569;
    font-size: .75rem;
    font-weight: 900;
    line-height: 1;
    padding: 7px 9px;
}

.rl-test-title {
    color: #214252;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.35;
    margin: 0;
}

.rl-test-types {
    color: #64748b;
    font-size: .9rem;
    line-height: 1.45;
    margin: 0;
}

.rl-test-meta {
    align-items: center;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    font-size: .84rem;
    gap: 9px;
    margin-top: auto;
}

.rl-test-meta span {
    align-items: center;
    display: inline-flex;
    gap: 5px;
}

.rl-test-meta .rl-test-created-date {
    background: #f8fafc;
    border: 1px solid #dce6ef;
    border-radius: 999px;
    color: #214252;
    font-weight: 850;
    padding: 4px 8px;
}

.rl-test-action {
    align-items: center;
    border-top: 1px solid #eef2f7;
    color: #c8293d;
    display: flex;
    font-weight: 900;
    justify-content: space-between;
    padding-top: 10px;
}

.rl-part-block {
    margin-bottom: 24px;
    padding: 14px 14px 16px;
}

.rl-library-workspace {
    align-items: start;
    display: grid;
    gap: 18px;
}

.rl-library-test-column,
.rl-full-test-rail {
    min-width: 0;
}

.rl-full-test-strip {
    --full-strip-accent: #c8293d;
    --full-strip-accent-dark: #8f1828;
    --full-strip-bg-start: #fff7ed;
    --full-strip-bg-end: #fff1f2;
    --full-strip-border: #f8b4bf;
    --full-strip-copy: #744048;
    align-items: center;
    background: linear-gradient(135deg, var(--full-strip-bg-start), #fff 46%, var(--full-strip-bg-end));
    border: 1px solid var(--full-strip-border);
    border-left: 6px solid var(--full-strip-accent);
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(200, 41, 61, .14);
    color: var(--full-strip-copy);
    display: grid;
    gap: 16px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    margin: 0 0 18px;
    padding: 16px;
}

.rl-library-workspace.rl-page-listening .rl-full-test-strip {
    --full-strip-accent: #0f766e;
    --full-strip-accent-dark: #115e59;
    --full-strip-bg-start: #ecfeff;
    --full-strip-bg-end: #ccfbf1;
    --full-strip-border: #5eead4;
    --full-strip-copy: #285f65;
    box-shadow: 0 16px 34px rgba(15, 118, 110, .16);
}

.rl-library-workspace.rl-page-listening .rl-full-test-strip-icon {
    box-shadow: 0 10px 20px rgba(15, 118, 110, .24);
}

.rl-library-workspace.rl-page-listening .rl-full-test-strip-action {
    box-shadow: 0 10px 22px rgba(15, 118, 110, .24);
}

.rl-full-test-strip-icon {
    align-items: center;
    background: var(--full-strip-accent);
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(200, 41, 61, .24);
    color: #fff;
    display: inline-flex;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.rl-full-test-strip-icon i {
    font-size: 1.15rem;
    line-height: 1;
}

.rl-full-test-strip-copy {
    min-width: 0;
}

.rl-full-test-strip-kicker {
    color: var(--full-strip-accent);
    display: block;
    font-size: .78rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.rl-full-test-strip h2 {
    color: var(--full-strip-accent-dark);
    font-size: 1.12rem;
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 3px;
}

.rl-full-test-strip p {
    color: var(--full-strip-copy);
    font-size: .94rem;
    line-height: 1.45;
    margin: 0;
}

.rl-full-test-strip-action {
    align-items: center;
    background: var(--full-strip-accent);
    border: 1px solid var(--full-strip-accent);
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(200, 41, 61, .24);
    color: #fff;
    display: inline-flex;
    font-size: .9rem;
    font-weight: 900;
    gap: 7px;
    justify-content: center;
    line-height: 1.1;
    padding: 10px 14px;
    text-decoration: none;
    white-space: nowrap;
}

.rl-full-test-strip-action:hover {
    background: var(--full-strip-accent-dark);
    border-color: var(--full-strip-accent-dark);
    color: #fff;
    transform: translateY(-1px);
}

@media (min-width: 1200px) {
    .rl-library-workspace {
        grid-template-columns: minmax(220px, 250px) minmax(0, 1fr);
    }

    .rl-full-test-rail {
        position: sticky;
        top: 92px;
    }

    .rl-full-test-strip {
        align-items: stretch;
        gap: 12px;
        grid-template-columns: 1fr;
        margin: 0;
        padding: 16px;
    }

    .rl-full-test-strip-icon {
        height: 44px;
        width: 44px;
    }

    .rl-full-test-strip-action {
        white-space: normal;
        width: 100%;
    }

    .rl-library-test-column .rl-test-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.rl-part-head {
    --part-bg-start: #fff1f2;
    --part-bg-end: #fff7ed;
    --part-border: #fecdd3;
    --part-caption: #8a4b58;
    --part-color: #b42333;
    --part-shadow: rgba(180, 35, 51, .14);
    align-items: center;
    background: linear-gradient(90deg, var(--part-bg-start) 0%, var(--part-bg-end) 100%);
    border: 1px solid var(--part-border);
    border-left: 4px solid var(--part-color);
    border-radius: 8px;
    display: flex;
    gap: 12px;
    margin: 2px 0 14px;
    padding: 12px;
}

.rl-part-head.reading {
    --part-bg-start: #ecfdf5;
    --part-bg-end: #f8fafc;
    --part-border: #bbf7d0;
    --part-caption: #3f6d52;
    --part-color: #15803d;
    --part-shadow: rgba(21, 128, 61, .14);
}

.rl-part-head.listening {
    --part-bg-start: #fff7ed;
    --part-bg-end: #f8fafc;
    --part-border: #fed7aa;
    --part-caption: #85543a;
    --part-color: #c2410c;
    --part-shadow: rgba(194, 65, 12, .14);
}

.rl-part-icon {
    align-items: center;
    background: var(--part-color);
    border: 1px solid var(--part-color);
    border-radius: 8px;
    box-shadow: 0 8px 16px var(--part-shadow);
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.rl-part-icon i {
    font-size: 1.15rem;
    line-height: 1;
}

.rl-part-title {
    color: var(--part-color);
    font-size: 1.22rem;
    font-weight: 900;
    line-height: 1.3;
    margin: 0;
}

.rl-part-caption {
    color: var(--part-caption);
    font-size: .9rem;
    font-weight: 700;
    margin: 2px 0 0;
}

@media (max-width: 767.98px) {
    .rl-library-toolbar {
        display: block;
    }

    .rl-library-stats {
        justify-content: flex-start;
        margin-top: 12px;
    }

    .rl-library-search {
        flex-basis: 100%;
        margin-left: 0;
    }

    .rl-library-chip,
    .rl-library-search {
        width: 100%;
    }

    .rl-library-chip {
        justify-content: center;
    }

    .rl-test-grid {
        grid-template-columns: 1fr;
    }

    .rl-part-block {
        padding: 12px;
    }

    .rl-full-test-strip {
        align-items: flex-start;
        grid-template-columns: auto minmax(0, 1fr);
        margin: 0 0 16px;
        padding: 13px;
    }

    .rl-full-test-strip-action {
        grid-column: 1 / -1;
        width: 100%;
    }
}

#test-library.rl-library-page {
    --rl-accent: #0f766e;
    --rl-accent-dark: #115e59;
    --rl-accent-soft: #ecfdf5;
    --rl-accent-border: #bbf7d0;
    --rl-page-bg: #fff;
    --rl-surface: #fbfffd;
    --rl-surface-strong: #eefbf5;
    --rl-card-bg: #fffdf7;
    --rl-heading: #0f766e;
    --rl-copy: #315f66;
    --rl-muted: #5f7581;
    background: #fff;
    color: var(--rl-copy);
    padding: 18px 0 24px;
}

#test-library.rl-page-reading {
    --rl-accent: #15803d;
    --rl-accent-dark: #166534;
    --rl-accent-soft: #ecfdf5;
    --rl-accent-border: #bbf7d0;
    --rl-page-bg: #fff;
    --rl-surface: #fbfffd;
    --rl-surface-strong: #ecfdf5;
    --rl-heading: #15803d;
    --rl-copy: #3f6d52;
    --rl-muted: #647d6d;
    background: #fff;
}

#test-library.rl-page-listening {
    --rl-accent: #c2410c;
    --rl-accent-dark: #9a3412;
    --rl-accent-soft: #fff7ed;
    --rl-accent-border: #fed7aa;
    --rl-page-bg: #fff;
    --rl-surface: #fffdfa;
    --rl-surface-strong: #fff4e8;
    --rl-heading: #c2410c;
    --rl-copy: #85543a;
    --rl-muted: #8b6f5f;
    background: #fff;
}

.rl-library-page .rl-breadcrumb {
    padding-top: 4px;
}

.rl-library-page .rl-breadcrumb-list {
    background: transparent;
    font-size: 13px;
    margin-bottom: 8px;
    padding: 0;
}

.rl-library-page .breadcrumb-item,
.rl-library-page .breadcrumb-item::before,
.rl-library-page .breadcrumb-item.active {
    color: var(--rl-muted);
}

.rl-library-page a:not(.btn):not(.rl-library-chip):not(.rl-test-card):not(.page-link) {
    color: var(--rl-accent-dark);
}

.rl-library-page a:not(.btn):not(.rl-library-chip):not(.rl-test-card):not(.page-link):hover {
    color: var(--rl-accent);
}

.rl-library-page .rl-hero {
    background: linear-gradient(135deg, var(--rl-surface), var(--rl-surface-strong));
    border: 1px solid var(--rl-accent-border);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(33, 66, 82, .09);
    margin-bottom: 16px;
    padding: 20px;
}

.rl-library-page .rl-hero-title {
    color: var(--rl-heading);
    font-size: clamp(1.75rem, 3vw, 2.55rem);
    font-weight: 900;
    line-height: 1.08;
    margin: 8px 0 10px;
}

.rl-library-page .rl-hero-lead {
    color: var(--rl-copy);
    font-size: 1rem;
    line-height: 1.58;
    margin-bottom: 8px;
    max-width: 960px;
}

.rl-library-page .rl-hero-lead strong {
    color: var(--rl-heading);
}

.rl-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.rl-hero-chip {
    align-items: center;
    background: var(--rl-card-bg);
    border: 1px solid var(--rl-accent-border);
    border-radius: 999px;
    color: var(--rl-accent-dark);
    display: inline-flex;
    font-size: .88rem;
    font-weight: 850;
    gap: 7px;
    padding: 7px 11px;
}

.rl-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.rl-hero-primary,
.rl-hero-secondary {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-weight: 900;
    gap: 8px;
    justify-content: center;
    min-height: 44px;
    padding: 10px 15px;
    text-decoration: none;
}

.rl-hero-primary {
    background: var(--rl-accent);
    border: 1px solid var(--rl-accent);
    box-shadow: 0 10px 22px color-mix(in srgb, var(--rl-accent) 22%, transparent);
    color: #fff !important;
}

.rl-hero-secondary {
    background: var(--rl-card-bg);
    border: 1px solid var(--rl-accent);
    color: var(--rl-accent-dark) !important;
}

.rl-hero-primary:hover,
.rl-hero-secondary:hover {
    background: var(--rl-accent-dark);
    border-color: var(--rl-accent-dark);
    color: #fff !important;
    transform: translateY(-1px);
}

.rl-hero-support-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 11px;
}

.rl-hero-support-links a {
    color: var(--rl-accent-dark);
    font-size: .92rem;
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rl-library-page .rl-seo-support {
    background: var(--rl-surface);
    border: 1px solid var(--rl-accent-border);
    border-left: 5px solid var(--rl-accent);
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(33, 66, 82, .07);
    color: var(--rl-copy);
    line-height: 1.56;
    margin-bottom: 18px;
    padding: 18px;
}

.rl-library-page .rl-seo-support h2 {
    color: var(--rl-heading);
    font-size: 1.22rem;
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 10px;
}

.rl-library-page .rl-seo-support p {
    color: var(--rl-copy);
}

.rl-library-page .rl-seo-list {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin: 14px 0 0;
    padding: 0;
}

.rl-library-page .rl-seo-list li {
    background: #fff;
    border: 1px solid var(--rl-accent-border);
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(33, 66, 82, .06);
    color: var(--rl-muted);
    line-height: 1.52;
    list-style: none;
    padding: 14px;
}

.rl-library-page .rl-seo-list strong {
    color: var(--rl-heading);
    font-weight: 900;
}

.rl-library-page .rl-library-panel {
    background: linear-gradient(135deg, var(--rl-surface), var(--rl-surface-strong));
    border-color: var(--rl-accent-border);
    box-shadow: 0 16px 34px rgba(33, 66, 82, .09);
}

.rl-library-page .rl-library-eyebrow,
.rl-library-page .rl-library-stat {
    background: var(--rl-card-bg);
    border-color: var(--rl-accent-border);
    color: var(--rl-accent-dark);
}

.rl-library-page .rl-library-heading {
    color: var(--rl-heading);
}

.rl-library-page .rl-library-subtitle {
    color: var(--rl-muted);
}

.rl-library-page .rl-library-search input {
    background: var(--rl-card-bg);
    border-color: var(--rl-accent-border);
    color: var(--rl-copy);
}

.rl-library-page .rl-library-search input:focus {
    border-color: var(--rl-accent);
    box-shadow: 0 0 0 .18rem color-mix(in srgb, var(--rl-accent-border) 58%, transparent);
}

.rl-library-page .test-display-section,
.rl-library-page .rl-part-block {
    background: linear-gradient(180deg, var(--rl-surface), #fff);
    border: 1px solid var(--rl-accent-border);
    border-radius: 8px;
    box-shadow: 0 18px 38px rgba(33, 66, 82, .08);
    margin: 0 0 24px;
    padding: 16px;
}

.rl-library-page .rl-test-card {
    background: linear-gradient(135deg, var(--rl-card-bg) 0%, #fff 56%, var(--rl-accent-soft) 100%);
    border: 2px solid rgba(33, 66, 82, .08);
    box-shadow: 0 13px 28px rgba(33, 66, 82, .08);
    color: var(--rl-copy);
    min-height: 198px;
    overflow: hidden;
    position: relative;
}

.rl-library-page .rl-test-card::before {
    background: var(--rl-accent);
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.rl-library-page .rl-test-card:hover {
    border-color: var(--rl-accent);
    box-shadow: 0 18px 34px rgba(33, 66, 82, .14);
    color: var(--rl-copy);
    transform: translateY(-3px);
}

.rl-library-page .rl-test-title {
    color: var(--rl-heading);
    font-size: 1.06rem;
}

.rl-library-page .rl-test-types,
.rl-library-page .rl-test-meta {
    color: var(--rl-muted);
}

.rl-library-page .rl-test-meta i {
    color: var(--rl-accent);
}

.rl-library-page .rl-test-meta .rl-test-created-date {
    background: var(--rl-accent-soft);
    border-color: var(--rl-accent-border);
    color: var(--rl-accent-dark);
}

.rl-library-page .rl-test-action {
    border-top-color: var(--rl-accent-border);
    color: var(--rl-accent-dark);
}

.rl-library-page .pagination .page-link {
    border-color: var(--rl-accent-border);
    color: var(--rl-accent-dark);
    font-weight: 850;
}

.rl-library-page .pagination .page-link:hover,
.rl-library-page .pagination .active .page-link {
    background: var(--rl-accent);
    border-color: var(--rl-accent);
    color: #fff;
}

.rl-faq-section {
    background: linear-gradient(180deg, var(--rl-page-bg), #fff);
    color: var(--rl-copy);
}

.rl-faq-section :is(h2, h3, .heading, .accordion-button) {
    color: var(--rl-heading) !important;
}

.rl-faq-section :is(.accordion-body, .text-primary) {
    color: var(--rl-muted) !important;
}

.rl-faq-section strong,
.rl-faq-section a {
    color: var(--rl-heading);
}

.rl-faq-section .accordion {
    border: 1px solid var(--rl-accent-border);
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(33, 66, 82, .07);
    overflow: hidden;
}

.rl-faq-section .accordion-button {
    background: #fff;
    font-weight: 850;
}

.rl-faq-section .accordion-button:not(.collapsed) {
    background: var(--rl-accent-soft);
    box-shadow: none;
}

@media (max-width: 576px) {
    .rl-library-page .rl-hero,
    .rl-library-page .rl-seo-support,
    .rl-library-page .rl-library-panel,
    .rl-library-page .rl-part-block {
        padding: 14px;
    }

    .rl-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .rl-hero-primary,
    .rl-hero-secondary {
        width: 100%;
    }
}

.rl-full-page {
    --rl-accent: #0f766e;
    --rl-accent-dark: #115e59;
    --rl-accent-soft: #ecfdf5;
    --rl-accent-border: #bbf7d0;
    --rl-page-bg: #fff;
    --rl-surface: #fbfffd;
    --rl-surface-strong: #eefbf5;
    --rl-card-bg: #fffdf7;
    --rl-heading: #0f766e;
    --rl-copy: #315f66;
    --rl-muted: #5f7581;
    background: #fff;
    color: var(--rl-copy);
    padding: 18px 0 40px;
}

.rl-full-page.rl-page-reading {
    --rl-accent: #15803d;
    --rl-accent-dark: #166534;
    --rl-accent-soft: #ecfdf5;
    --rl-accent-border: #bbf7d0;
    --rl-page-bg: #fff;
    --rl-surface: #fbfffd;
    --rl-surface-strong: #ecfdf5;
    --rl-heading: #15803d;
    --rl-copy: #3f6d52;
    --rl-muted: #647d6d;
    background: #fff;
}

.rl-full-page.rl-page-listening {
    --rl-accent: #c2410c;
    --rl-accent-dark: #9a3412;
    --rl-accent-soft: #fff7ed;
    --rl-accent-border: #fed7aa;
    --rl-page-bg: #fff;
    --rl-surface: #fffdfa;
    --rl-surface-strong: #fff4e8;
    --rl-heading: #c2410c;
    --rl-copy: #85543a;
    --rl-muted: #8b6f5f;
    background: #fff;
}

.rl-full-page .rl-breadcrumb {
    padding-top: 4px;
}

.rl-full-page .rl-breadcrumb-list {
    background: transparent;
    font-size: 13px;
    margin-bottom: 8px;
    padding: 0;
}

.rl-full-page .breadcrumb-item,
.rl-full-page .breadcrumb-item::before,
.rl-full-page .breadcrumb-item.active {
    color: var(--rl-muted);
}

.rl-full-page a:not(.btn):not(.full-tests-filter-chip):not(.page-link) {
    color: var(--rl-accent-dark);
}

.rl-full-page a:not(.btn):not(.full-tests-filter-chip):not(.page-link):hover {
    color: var(--rl-accent);
}

.rl-full-page .rl-hero {
    background: linear-gradient(135deg, var(--rl-surface), var(--rl-surface-strong));
    border: 1px solid var(--rl-accent-border);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(33, 66, 82, .09);
    padding: 20px;
}

.rl-full-page .rl-hero-title {
    color: var(--rl-heading);
    font-size: clamp(1.75rem, 3vw, 2.55rem);
    font-weight: 900;
    line-height: 1.08;
    margin: 8px 0 10px;
}

.rl-full-page .rl-hero-lead {
    color: var(--rl-copy);
    font-size: 1rem;
    line-height: 1.58;
    margin-bottom: 8px;
    max-width: 960px;
}

.rl-full-page .rl-hero-chips {
    margin-bottom: 14px;
}

.full-tests-shell {
    max-width: 1480px;
}

.full-tests-main,
.full-tests-aside {
    min-width: 0;
}

.full-tests-link {
    border-radius: 999px;
    font-weight: 850;
}

.full-tests-back-link {
    background: var(--rl-accent);
    border: 1px solid var(--rl-accent);
    box-shadow: 0 10px 22px color-mix(in srgb, var(--rl-accent) 22%, transparent);
    color: #fff;
}

.full-tests-back-link:hover {
    background: var(--rl-accent-dark);
    border-color: var(--rl-accent-dark);
    color: #fff;
}

.full-tests-switch-link {
    background: linear-gradient(135deg, var(--rl-card-bg), var(--rl-accent-soft));
    border: 1px solid var(--rl-accent);
    box-shadow: 0 8px 18px color-mix(in srgb, var(--rl-accent-border) 48%, transparent);
    color: var(--rl-accent-dark);
}

.full-tests-switch-link.switch-reading {
    --switch-accent: #15803d;
    --switch-accent-dark: #166534;
    --switch-accent-soft: #ecfdf5;
    --switch-accent-border: #bbf7d0;
    background: linear-gradient(135deg, #fbfffd, var(--switch-accent-soft));
    border-color: var(--switch-accent);
    box-shadow: 0 8px 18px rgba(21, 128, 61, .14);
    color: var(--switch-accent-dark);
}

.full-tests-switch-link.switch-listening {
    --switch-accent: #c2410c;
    --switch-accent-dark: #9a3412;
    --switch-accent-soft: #fff7ed;
    --switch-accent-border: #fed7aa;
    background: linear-gradient(135deg, #fffdfa, var(--switch-accent-soft));
    border-color: var(--switch-accent);
    box-shadow: 0 8px 18px rgba(194, 65, 12, .15);
    color: var(--switch-accent-dark);
}

.full-tests-switch-link:hover {
    background: var(--rl-accent-dark);
    border-color: var(--rl-accent-dark);
    color: #fff;
}

.full-tests-switch-link.switch-reading:hover,
.full-tests-switch-link.switch-listening:hover {
    background: var(--switch-accent-dark);
    border-color: var(--switch-accent-dark);
    color: #fff;
}

.full-tests-hero .full-tests-link {
    padding: 9px 15px;
}

.full-test-seo-support,
.full-test-detail-seo {
    background: var(--rl-surface);
    border: 1px solid var(--rl-accent-border);
    border-left: 5px solid var(--rl-accent);
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(33, 66, 82, .07);
    color: var(--rl-copy);
    line-height: 1.56;
    margin-bottom: 18px;
    padding: 18px;
}

.full-test-seo-support h2,
.full-test-detail-seo h2 {
    color: var(--rl-heading);
    font-size: 1.22rem;
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 10px;
}

.full-test-seo-support p,
.full-test-detail-seo p {
    color: var(--rl-copy);
}

.full-test-seo-list,
.full-test-detail-seo-list {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin: 14px 0 0;
    padding: 0;
}

.full-test-seo-list li,
.full-test-detail-seo-list li {
    background: #fff;
    border: 1px solid var(--rl-accent-border);
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(33, 66, 82, .06);
    color: var(--rl-muted);
    line-height: 1.52;
    list-style: none;
    padding: 14px;
}

.full-test-seo-list strong,
.full-test-detail-seo-list strong,
.full-test-detail-seo strong {
    color: var(--rl-heading);
    font-weight: 900;
}

.full-tests-filter {
    background: linear-gradient(135deg, var(--rl-surface), var(--rl-surface-strong));
    border: 1px solid var(--rl-accent-border);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(33, 66, 82, .07);
    margin-bottom: 18px;
    padding: 14px;
}

.full-tests-filter-label {
    color: var(--rl-heading);
    font-size: .9rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.full-tests-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.full-tests-filter-chip {
    background: var(--rl-card-bg);
    border: 1px solid var(--rl-accent-border);
    border-radius: 999px;
    color: var(--rl-accent-dark);
    display: inline-flex;
    font-size: .86rem;
    font-weight: 850;
    line-height: 1;
    padding: 9px 12px;
    text-decoration: none;
}

.full-tests-filter-chip:hover,
.full-tests-filter-chip.is-active {
    background: var(--rl-accent);
    border-color: var(--rl-accent);
    color: #fff;
    text-decoration: none;
}

.full-tests-category-section {
    margin-bottom: 22px;
}

.full-tests-category-header {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    margin-bottom: 10px;
}

.full-tests-category-title {
    color: var(--rl-heading);
    font-size: 1.05rem;
    font-weight: 900;
    margin: 0;
}

.full-tests-category-count,
.full-test-badge,
.full-test-detail-stats span {
    background: var(--rl-card-bg);
    border: 1px solid var(--rl-accent-border);
    border-radius: 999px;
    color: var(--rl-accent-dark);
    display: inline-flex;
    font-size: .82rem;
    font-weight: 850;
    line-height: 1;
    padding: 7px 10px;
}

.full-tests-category-section.is-uncategorized .full-tests-category-title,
.full-tests-category-section.is-uncategorized .full-tests-category-count {
    color: var(--rl-muted);
}

.full-tests-list {
    align-items: stretch;
}

.full-test-card,
.full-test-section-card {
    background: linear-gradient(135deg, var(--rl-card-bg) 0%, #fff 54%, var(--rl-accent-soft) 100%);
    border: 2px solid rgba(33, 66, 82, .08);
    border-radius: 8px;
    box-shadow: 0 13px 28px rgba(33, 66, 82, .08);
    color: var(--rl-copy);
    overflow: hidden;
    position: relative;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.full-test-card::before,
.full-test-section-card::before {
    background: var(--rl-accent);
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.full-test-card:hover,
.full-test-section-card:hover {
    border-color: var(--rl-accent);
    box-shadow: 0 18px 34px rgba(33, 66, 82, .14);
    transform: translateY(-3px);
}

.full-test-title,
.full-test-section-title {
    color: var(--rl-heading);
}

.full-test-description,
.full-test-created,
.full-test-stats,
.full-test-section-kicker,
.full-test-section-meta {
    color: var(--rl-muted);
}

.full-test-stats,
.full-test-detail-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.full-test-stats span {
    background: var(--rl-surface);
    border: 1px solid var(--rl-accent-border);
    border-radius: 999px;
    color: var(--rl-muted);
    padding: 5px 9px;
}

.full-test-start-link {
    background: var(--rl-accent);
    border: 1px solid var(--rl-accent);
    color: #fff;
    font-weight: 850;
}

.full-test-start-link:hover {
    background: var(--rl-accent-dark);
    border-color: var(--rl-accent-dark);
    color: #fff;
}

.full-test-structure-link {
    background: var(--rl-surface);
    border: 1px solid var(--rl-accent);
    color: var(--rl-accent-dark);
}

.full-test-structure-link:hover {
    background: var(--rl-accent);
    border-color: var(--rl-accent);
    color: #fff;
}

.full-tests-empty,
.rl-full-page .alert-info {
    background: var(--rl-accent-soft);
    border-color: var(--rl-accent-border);
    color: var(--rl-accent-dark);
}

.full-tests-ad-slot {
    width: 100%;
}

.full-tests-ad-slot .adsbygoogle {
    display: block;
    width: 100%;
}

@media (max-width: 575.98px) {
    .rl-full-page {
        padding: 16px 0 28px;
    }

    .full-tests-shell {
        padding-left: 12px;
        padding-right: 12px;
    }

    .rl-full-page .rl-hero,
    .full-test-seo-support,
    .full-test-detail-seo,
    .full-tests-filter {
        padding: 14px;
    }

}
