/* 登录前内容短：保留正常段落间距，让页脚紧接内容。 */
html body.app-page main.r2.r2-exam{padding-bottom:0}
html body.app-page main.r2.r2-exam .ex{padding-bottom:40px}
html body.app-page main.r2.r2-exam #exMsg:empty{display:none}
/* 提示文字伸展，操作固定在右边并与标题上沿对齐。 */
html body.app-page main.r2.r2-exam .ex-note{display:grid;grid-template-columns:16px minmax(0,1fr) auto;align-items:start;gap:12px;padding:20px;background:var(--surface);border:1px solid var(--line)}
html body.app-page main.r2.r2-exam .ex-note-copy{gap:8px}
html body.app-page main.r2.r2-exam .ex-note>.btn{justify-self:end}
html body.app-page main.r2.r2-exam .ex-note-copy p{max-width:48em}
@media(max-width:700px){
 html body.app-page main.r2.r2-exam .ex-note{grid-template-columns:16px minmax(0,1fr);padding:16px}
 html body.app-page main.r2.r2-exam .ex-note>.btn{grid-column:2;justify-self:start}
}

html body.app-page main.r2.r2-exam{--wb-page:var(--bg)}
body.app-page:has(main.r2-exam){--exam-page-bg:#f5f5f8;background:var(--exam-page-bg)}
body.app-page:has(main.r2-exam)>footer{background:var(--exam-page-bg)}
:root[data-theme="dark"] body.app-page:has(main.r2-exam){--exam-page-bg:#0c0f18}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]):not([data-theme="dark"]) body.app-page:has(main.r2-exam){--exam-page-bg:#0c0f18}}
body.app-page:has(main.r2-exam)::before{display:none}
.r2-exam .ex-type-preview{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 0;padding:0;list-style:none}
.r2-exam .ex-type-preview li{padding:5px 10px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-subtle);font-size:var(--text-sm)}
