.course-tests-shell { grid-column:1 / -1; min-width:0; scroll-margin-top:24px; }
.course-tests-shell .course-tests-badge { display:none; }
.course-tests-shell > .course-tests-description { max-width:68rem; color:var(--muted,#7c8491); font-size:16px; line-height:1.85; }
.course-tests-shell > div > p { line-height:1.8; }
.course-tests-shell > div > .section-card { box-shadow:none; margin-top:20px; }
.course-tests-shell button:focus-visible,.course-tests-shell a:focus-visible { outline:3px solid #855cb0; outline-offset:3px; }
/* Locked cards mirror the original centred membership panel, without exposing any questions. */
.section-card.course-tests-shell.is-locked { display:flex; flex-direction:column; align-items:center; padding:44px 28px 48px; text-align:center; border-radius:28px; background:var(--paper,#fff); }
.course-tests-shell.is-locked > .course-tests-badge { display:inline-flex; order:0; align-items:center; justify-content:center; padding:7px 15px; border-radius:24px; background:#f0eaff; color:#7654b2; font-size:14px; font-weight:650; letter-spacing:.04em; }
.course-tests-shell.is-locked > h2 { order:1; margin:10px 0 18px; color:var(--ink,#20252c); font-size:clamp(23px,2.4vw,30px); line-height:1.4; }
.course-tests-shell.is-locked > .course-tests-description { order:2; margin:0 auto 30px; }
.course-tests-shell.is-locked > .course-tests-body { display:flex; flex-direction:column; align-items:center; order:3; width:100%; }
.course-tests-shell.is-locked .primary-btn { min-height:52px; padding:13px 25px; border:0; border-radius:30px; background:var(--accent,#c45434); color:#fff; font:inherit; font-size:17px; font-weight:700; cursor:pointer; }
.course-tests-shell.is-locked .primary-btn:hover { filter:brightness(.96); }
.course-tests-shell .course-tests-login { display:inline-block; margin:9px 0 0; color:var(--accent-dark,#963d25); font-size:15px; text-decoration:underline; text-underline-offset:4px; }
.course-tests-shell .course-tests-error { margin:0 0 18px; color:#a3362a; }
.course-tests-shell.is-locked .secondary-btn { min-height:44px; margin-top:12px; color:#68418b; background:#f3edf9; border:1px solid #b59acb; cursor:pointer; }
@media(max-width:540px) { .section-card.course-tests-shell.is-locked { padding:30px 18px 34px; border-radius:22px; } .course-tests-shell > .course-tests-description { font-size:15px; } .course-tests-shell.is-locked > h2 { margin-bottom:14px; } }
