@charset "utf-8";

/* 基础重置与现代化 CSS 变量 */
:root {
  --primary-color: #188eee; /* 原版经典蓝 */
  --primary-hover: #42abfb;
  --primary-light: #e0f1ff; /* 原版浅蓝色背景 */
  --secondary-color: #ff9900; /* 原版经典橙 */
  --secondary-hover: #ffad33;
  
  --text-main: #333333;
  --text-muted: #666666;
  --text-light: #999999;
  
  --bg-body: #f4f7fb;
  --bg-panel: #ffffff;
  
  --border-color: #d9d9d9;
  --border-light: #f0f0f0;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(24, 142, 238, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  
  --transition: all 0.3s ease;
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, i { 
    margin: 0; padding: 0; box-sizing: border-box; 
}
img { border: 0; vertical-align: middle; }
ol, ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: normal; font-size: 100%; }
a { color: var(--text-main); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-hover); }

body { 
    font: 14px / 1.5 "Microsoft YaHei", arial, simsun, sans-serif; 
    color: var(--text-main); 
    min-width: 1200px; 
    background-color: var(--bg-body);
    --page-scale: 1;
}
body.copy-lock-enabled {
    -webkit-user-select: none;
    user-select: none;
}
body.copy-lock-enabled input,
body.copy-lock-enabled textarea,
body.copy-lock-enabled [contenteditable="true"],
body.copy-lock-enabled [data-allow-selection="1"] {
    -webkit-user-select: text;
    user-select: text;
}
body[data-page="exam"] {
    height: 100vh;
    overflow: hidden;
}
button:focus, textarea:focus, input:focus { outline: 0; }

/* 页面通用外壳 */
.page-shell {
    width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
}

/* ---------------- 顶部通栏 ---------------- */
.header { 
    width: 100%; 
    background-color: var(--primary-color); 
    height: 130px; 
    line-height: 130px; 
    text-align: center; 
    color: #fff; 
    font-size: 45px; 
    font-weight: bold; 
    box-shadow: var(--shadow-sm);
}

/* ---------------- 首页结构 ---------------- */
.site-banner {
    background: #fff;
    padding: 30px 40px;
    border-radius: var(--radius-md);
    margin-top: 20px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.site-banner h1 { font-size: 32px; color: var(--primary-color); font-weight: bold; margin-bottom: 10px; }
.site-banner p { font-size: 16px; color: var(--text-muted); }

.nav_page { 
    width: 1190px; 
    margin: 0 auto; 
    background: transparent;
    padding-bottom: 50px;
}
.nav_pagetit { padding: 60px 0; }
.nav_pagetit p { font-size: 20px; line-height: 50px; color: rgb(51, 51, 51); text-indent: 30px; margin-bottom: 0; }

.home-subject-picker {
    width: 420px;
    margin: 0 auto 32px;
    text-align: center;
}
.home-exam-picker {
    width: 560px;
    margin-bottom: 16px;
}
.home-subject-picker-label {
    display: block;
    margin-bottom: 12px;
    color: rgb(44, 62, 80);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}
.home-entry-status {
    margin-bottom: 14px;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
}
.home-entry-status-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.home-entry-status-row .home-entry-status {
    margin-bottom: 0;
}
.home-entry-status.is-success {
    color: #0f8f57;
}
.home-exam-picker-shell {
    position: relative;
    padding: 8px;
    border-radius: 24px;
    overflow: visible;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 252, 255, 0.92)),
        linear-gradient(135deg, rgba(24, 142, 238, 0.18), rgba(89, 214, 255, 0.16));
    border: 1px solid rgba(24, 142, 238, 0.14);
    box-shadow:
        0 16px 42px rgba(24, 142, 238, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.home-exam-picker-shell::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
    pointer-events: none;
}
.home-exam-picker-shell::after {
    content: "";
    position: absolute;
    right: 28px;
    top: 50%;
    width: 12px;
    height: 12px;
    margin-top: -8px;
    border-right: 2px solid rgba(24, 142, 238, 0.85);
    border-bottom: 2px solid rgba(24, 142, 238, 0.85);
    transform: rotate(45deg);
    pointer-events: none;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.home-exam-picker-shell.is-open::after {
    transform: rotate(225deg);
}
.home-exam-dropdown {
    position: relative;
    z-index: 2;
}
.home-subject-picker-select {
    width: 100%;
    height: 60px;
    border: 1px solid rgba(24, 142, 238, 0.16);
    border-radius: 18px;
    padding: 0 56px 0 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: rgb(34, 34, 34);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.95));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 10px 22px rgba(24, 142, 238, 0.07);
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.home-subject-picker-select span {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.home-subject-picker-select:hover {
    border-color: rgba(24, 142, 238, 0.34);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 14px 28px rgba(24, 142, 238, 0.1);
    transform: translateY(-1px);
}
.home-subject-picker-select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 251, 255, 1));
    box-shadow:
        0 0 0 4px rgba(24, 142, 238, 0.1),
        0 14px 30px rgba(24, 142, 238, 0.12);
}
.home-subject-picker-select.is-disabled,
.home-subject-picker-select:disabled {
    cursor: not-allowed;
    color: #8a9bb2;
    background: linear-gradient(180deg, rgba(247, 249, 252, 0.98), rgba(241, 245, 249, 0.95));
    border-color: rgba(148, 163, 184, 0.22);
    box-shadow: none;
    transform: none;
}
.home-subject-picker-select.is-disabled:hover,
.home-subject-picker-select:disabled:hover {
    border-color: rgba(148, 163, 184, 0.22);
    box-shadow: none;
    transform: none;
}
.home-entry-actions {
    margin-top: 16px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.home-entry-login,
.home-entry-register,
.home-entry-logout,
.home-entry-submissions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
}
.home-entry-submissions {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(24, 142, 238, 0.26);
}
.home-entry-submissions:hover {
    background-color: var(--primary-hover);
    color: #fff;
}
.home-entry-status-row .home-entry-logout {
    min-width: auto;
    width: auto;
    height: 30px;
    line-height: 30px;
    padding: 0 12px;
    font-size: 13px;
    border-radius: 999px;
}
.home-exam-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid rgba(24, 142, 238, 0.14);
    background: rgba(255, 255, 255, 0.98);
    box-shadow:
        0 18px 42px rgba(16, 72, 134, 0.14),
        0 4px 16px rgba(24, 142, 238, 0.08);
    backdrop-filter: blur(14px);
    max-height: 280px;
    overflow-y: auto;
}
.home-exam-dropdown-option {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 11px 16px;
    border: none;
    border-radius: 14px;
    background: transparent;
    color: rgb(44, 62, 80);
    font: inherit;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.home-exam-dropdown-option:hover {
    background: rgba(24, 142, 238, 0.08);
    color: var(--primary-color);
    transform: translateX(2px);
}
.home-exam-dropdown-option.is-selected {
    background: linear-gradient(135deg, rgba(24, 142, 238, 0.12), rgba(89, 214, 255, 0.08));
    color: var(--primary-color);
}
.home-exam-picker-shell:hover::after {
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .home-exam-picker {
        width: calc(100% - 40px);
    }
    .home-subject-picker-label {
        font-size: 20px;
        letter-spacing: 1px;
    }
    .home-exam-picker-shell {
        padding: 6px;
        border-radius: 20px;
    }
    .home-exam-picker-shell::before {
        inset: 6px;
        border-radius: 16px;
    }
    .home-subject-picker-select {
        height: 56px;
        font-size: 17px;
        border-radius: 16px;
        padding-right: 50px;
    }
    .home-exam-dropdown-menu {
        top: calc(100% + 10px);
        padding: 8px;
        border-radius: 18px;
    }
    .home-exam-dropdown-option {
        min-height: 44px;
        padding: 10px 14px;
        border-radius: 12px;
        font-size: 16px;
    }
}

/* ---------------- 登录页与公共头部结构 ---------------- */
.login_head { 
    width: 100%; 
    height: 430px; 
    background: var(--primary-color) linear-gradient(135deg, #188eee 0%, #0070d2 100%); 
}
.login_jwh { 
    width: 100%; 
    background-color: var(--primary-color); 
    text-align: center; 
    color: #fff; 
    font-size: 45px; 
    font-weight: bold; 
    margin-top: 10px;
}
.login_jwh span { color: var(--secondary-color); }

.login_navs { 
    width: 583px; 
    margin: 0 auto; 
    position: relative; 
    top: -188px;
    z-index: 10;
}
.login_item, .log_answer { 
    width: 450px;
    margin: 0 auto;
    background: #fff; 
    border-radius: 3px;
    box-shadow: var(--shadow-lg);
    padding: 0 0 30px 0;
}

.login_itit { 
    text-align: center; 
    color: var(--primary-color); 
    font-size: 20px; 
    font-weight: bold; 
    padding: 28px 0 24px;
}
.login_itit span { color: rgb(153, 153, 153); font-size: 20px; font-weight: normal; margin-left: 0; }

.login_ipt { 
    display: block; 
    width: 365px; 
    line-height: 50px; 
    height: 50px;
    border: 1px solid rgb(217, 217, 217); 
    border-radius: 3px; 
    margin: 0 auto 30px; 
    padding-left: 15px; 
    font-size: 16px; 
    color: rgb(153, 153, 153); 
    transition: var(--transition);
}
.login_ipt:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(24, 142, 238, 0.1);
}
.login_ipt--readonly,
.login_ipt[readonly] {
    background: rgb(245, 247, 250);
    color: rgb(102, 102, 102);
    cursor: default;
}
.login_feedback {
    width: 365px;
    margin: -14px auto 20px;
    color: rgb(217, 48, 37);
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}

.notice-box {
    width: 365px;
    margin: 0 auto 25px;
    background: #fff8e6;
    border: 1px solid #ffe5b4;
    color: #e68a00;
    padding: 12px 20px;
    border-radius: 3px;
    font-size: 15px;
}
.notice-box .js-subject-name { font-weight: bold; }

.login_feedback {
    width: 365px;
    margin: -10px auto 24px;
    padding: 10px 14px;
    border-radius: 3px;
    font-size: 14px;
    line-height: 1.6;
}
.login_feedback.is-error {
    background: #fff1f0;
    border: 1px solid #ffccc7;
    color: #cf1322;
}
.login_feedback.is-success {
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    color: #389e0d;
}
.login_feedback.is-info {
    background: #e6f4ff;
    border: 1px solid #91caff;
    color: #0958d9;
}

.login_an { 
    display: flex; 
    justify-content: space-between; 
    padding: 0 70px;
    margin-bottom: 0; 
}
.login_dl, .ghost-link, .secondary-link { 
    width: 130px;
    height: 40px; 
    line-height: 40px; 
    text-align: center; 
    border: none; 
    font-size: 16px; 
    border-radius: 2px; 
    cursor: pointer; 
    transition: var(--transition);
}
.login_dl { background-color: var(--primary-color); color: #fff; font-weight: normal; }
.login_dl:hover { background-color: var(--primary-hover); }
.ghost-link { background-color: #f0f0f0; color: var(--text-main); }
.ghost-link:hover { background-color: #e4e4e4; }
.secondary-link { background-color: var(--primary-light); color: var(--primary-color); }
.secondary-link:hover { background-color: #cce6ff; }

.login_links {
    width: 365px;
    margin: 18px auto 0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.login_an button.js-confirm-back { background-color: var(--secondary-color); color: #fff; }
.login_an button.js-confirm-back:hover { background-color: var(--secondary-hover); }

.login_nul { 
    text-align: center; 
    line-height: 48px;
    margin: 0 25px; 
    border-top: 1px solid rgb(240, 240, 240); 
    font-size: 14px; 
    color: rgb(255, 0, 0); 
}

.register_tabs {
    width: 365px;
    margin: 0 auto 24px;
    display: flex;
    gap: 12px;
}
.register_tab {
    flex: 1;
    height: 42px;
    line-height: 42px;
    border: 1px solid rgba(24, 142, 238, 0.16);
    border-radius: 3px;
    background: #f6fbff;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}
.register_tab:hover,
.register_tab.is-active {
    background: var(--primary-color);
    color: #fff;
}
.register_panel {
    display: none;
}
.register_panel.is-active {
    display: block;
}
.register_placeholder {
    width: 365px;
    margin: 0 auto;
    padding: 16px 18px 20px;
    border-radius: 3px;
    background: #f8fbff;
    border: 1px dashed #b8d8fb;
    color: var(--text-muted);
    line-height: 1.9;
}
.register_placeholder_title {
    margin-bottom: 8px;
    font-size: 18px;
    color: var(--primary-color);
    font-weight: bold;
}
.register_placeholder .secondary-link {
    display: inline-block;
    width: auto;
    min-width: 130px;
    margin-top: 12px;
}

.forgot_password_actions {
    padding: 0;
    justify-content: flex-start;
    margin-top: 14px;
}
.forgot_password_actions .secondary-link,
.forgot_password_actions .ghost-link {
    width: auto;
    min-width: 130px;
}

.login_ipt_row {
    width: 365px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.login_ipt_row .login_ipt {
    flex: 1 1 auto;
    width: auto;
    margin: 0;
}

.login_code_btn {
    width: 132px;
    min-width: 132px;
    height: 50px;
    line-height: 50px;
}

.login_code_btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.login_form_hint {
    margin-top: -2px;
    margin-bottom: 18px;
    color: #6e7f99;
}

body[data-page="login"],
body[data-page="register"],
body[data-page="forgot-password"],
body[data-page="message"] {
    background:
        radial-gradient(circle at top left, rgba(89, 214, 255, 0.16), transparent 30%),
        radial-gradient(circle at top right, rgba(24, 142, 238, 0.12), transparent 28%),
        linear-gradient(180deg, #f3f8ff 0%, #eef4fb 48%, #f5f7fb 100%);
}

body[data-page="login"] .login_head,
body[data-page="register"] .login_head,
body[data-page="forgot-password"] .login_head,
body[data-page="message"] .login_head {
    height: 390px;
    position: relative;
    overflow: hidden;
}

body[data-page="login"] .login_head::before,
body[data-page="register"] .login_head::before,
body[data-page="forgot-password"] .login_head::before,
body[data-page="message"] .login_head::before {
    content: "";
    position: absolute;
    inset: auto auto -110px -80px;
    width: 360px;
    height: 260px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 72%);
    pointer-events: none;
}

body[data-page="login"] .login_head::after,
body[data-page="register"] .login_head::after,
body[data-page="forgot-password"] .login_head::after,
body[data-page="message"] .login_head::after {
    content: "";
    position: absolute;
    right: -70px;
    top: 28px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 72%);
    pointer-events: none;
}

body[data-page="login"] .header,
body[data-page="user-login"] .header,
body[data-page="register"] .header,
body[data-page="forgot-password"] .header,
body[data-page="message"] .header {
    height: auto;
    line-height: 1.35;
    padding: 48px 20px 0;
    background: transparent;
    box-shadow: none;
    font-size: 36px;
    position: relative;
    z-index: 1;
}

body[data-page="login"] .login_jwh,
body[data-page="user-login"] .login_jwh,
body[data-page="register"] .login_jwh,
body[data-page="forgot-password"] .login_jwh,
body[data-page="message"] .login_jwh {
    margin-top: 22px;
    background: transparent;
    font-size: 30px;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

body[data-page="login"] .login_navs,
body[data-page="user-login"] .login_navs,
body[data-page="register"] .login_navs,
body[data-page="forgot-password"] .login_navs,
body[data-page="message"] .login_navs {
    width: 700px;
    top: -132px;
}

body[data-page="login"] .login_item,
body[data-page="user-login"] .login_item,
body[data-page="register"] .login_item,
body[data-page="forgot-password"] .login_item,
body[data-page="message"] .log_answer {
    width: 560px;
    border-radius: 24px;
    border: 1px solid rgba(24, 142, 238, 0.12);
    box-shadow:
        0 18px 44px rgba(17, 77, 145, 0.12),
        0 6px 18px rgba(24, 142, 238, 0.08);
    padding-bottom: 34px;
    overflow: hidden;
}

body[data-page="login"] .login_itit,
body[data-page="user-login"] .login_itit,
body[data-page="register"] .login_itit,
body[data-page="forgot-password"] .login_itit {
    padding: 34px 0 18px;
    font-size: 28px;
    line-height: 1.2;
}

body[data-page="login"] .login_itit span,
body[data-page="user-login"] .login_itit span,
body[data-page="register"] .login_itit span,
body[data-page="forgot-password"] .login_itit span {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    letter-spacing: 4px;
    color: #99aac4;
}

body[data-page="login"] .login_ipt,
body[data-page="user-login"] .login_ipt,
body[data-page="register"] .login_ipt,
body[data-page="forgot-password"] .login_ipt {
    width: 420px;
    height: 56px;
    line-height: 56px;
    margin-bottom: 18px;
    padding: 0 18px;
    border-radius: 16px;
    border-color: #d7e5f6;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    color: #2c3e55;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body[data-page="login"] .login_ipt::placeholder,
body[data-page="user-login"] .login_ipt::placeholder,
body[data-page="register"] .login_ipt::placeholder,
body[data-page="forgot-password"] .login_ipt::placeholder {
    color: #97a7be;
}

body[data-page="login"] .notice-box,
body[data-page="user-login"] .notice-box,
body[data-page="register"] .notice-box,
body[data-page="forgot-password"] .notice-box {
    width: 420px;
    margin-bottom: 20px;
    padding: 14px 18px;
    border-radius: 16px;
    border-color: #ffe0ad;
    background: linear-gradient(135deg, #fff8e8 0%, #fffdf7 100%);
    box-shadow: 0 8px 20px rgba(255, 195, 69, 0.1);
}

body[data-page="login"] .login_feedback,
body[data-page="user-login"] .login_feedback,
body[data-page="register"] .login_feedback,
body[data-page="forgot-password"] .login_feedback {
    width: 420px;
    margin: -6px auto 18px;
    border-radius: 16px;
    font-size: 13px;
}

body[data-page="register"] .login_ipt_row,
body[data-page="forgot-password"] .login_ipt_row {
    width: 420px;
}

body[data-page="register"] .login_code_btn,
body[data-page="forgot-password"] .login_code_btn {
    height: 56px;
    line-height: 56px;
    border-radius: 14px;
}

body[data-page="register"] .login_form_hint,
body[data-page="forgot-password"] .login_form_hint {
    width: 420px;
}

body[data-page="login"] .login_an,
body[data-page="user-login"] .login_an,
body[data-page="register"] .login_an,
body[data-page="forgot-password"] .login_an,
body[data-page="message"] .login_an {
    padding: 0 70px;
    gap: 12px;
}

body[data-page="login"] .login_an .login_dl,
body[data-page="user-login"] .login_an .login_dl,
body[data-page="register"] .login_an .login_dl,
body[data-page="message"] .login_an .login_dl {
    flex: 1 1 0;
    width: auto;
    height: 46px;
    line-height: 46px;
    border-radius: 14px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(24, 142, 238, 0.14);
}

.login_dl-warm {
    background-color: var(--secondary-color);
    color: #fff;
}

.login_dl-warm:hover {
    background-color: var(--secondary-hover);
}

body[data-page="login"] .login_links,
body[data-page="user-login"] .login_links {
    width: 420px;
    margin-top: 18px;
    justify-content: center;
}

body[data-page="login"] .login_links .secondary-link,
body[data-page="login"] .login_links .ghost-link,
body[data-page="user-login"] .login_links .secondary-link,
body[data-page="user-login"] .login_links .ghost-link {
    min-width: 132px;
    height: 42px;
    line-height: 42px;
    border-radius: 14px;
}

body[data-page="login"] .login_nul,
body[data-page="register"] .login_nul,
body[data-page="forgot-password"] .login_nul {
    width: 420px;
    margin: 18px auto 0;
    padding: 13px 18px;
    line-height: 1.8;
    color: #6e7f99;
    border-top: none;
    border-radius: 16px;
    background: #f7faff;
}

body[data-page="register"] .register_tabs {
    width: 420px;
    margin-bottom: 18px;
    padding: 6px;
    gap: 8px;
    border-radius: 18px;
    background: #f3f8ff;
}

body[data-page="register"] .register_tab {
    height: 46px;
    line-height: 46px;
    border: none;
    border-radius: 14px;
    font-weight: 600;
}

body[data-page="register"] .register_placeholder,
body[data-page="forgot-password"] .register_placeholder {
    width: 420px;
    padding: 22px 22px 24px;
    border-radius: 20px;
    border: 1px solid #d8e7fa;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.98)),
        linear-gradient(135deg, rgba(24, 142, 238, 0.08), rgba(89, 214, 255, 0.05));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

body[data-page="register"] .register_placeholder p,
body[data-page="forgot-password"] .register_placeholder p {
    margin-bottom: 8px;
}

body[data-page="register"] .register_placeholder p:last-of-type,
body[data-page="forgot-password"] .register_placeholder p:last-of-type {
    margin-bottom: 0;
}

body[data-page="forgot-password"] .forgot_password_actions {
    width: 420px;
    margin: 18px auto 0;
    padding: 0;
    justify-content: flex-start;
}

body[data-page="forgot-password"] .forgot_password_actions .secondary-link,
body[data-page="forgot-password"] .forgot_password_actions .ghost-link {
    min-width: 136px;
    height: 42px;
    line-height: 42px;
    border-radius: 14px;
}

body[data-page="message"] .log_title {
    margin: 24px 32px 0;
    padding: 12px 16px;
    border-radius: 14px;
    background: #fff7e8;
    border: 1px solid #ffe0ad;
    font-size: 14px;
    line-height: 1.7;
}

body[data-page="message"] .log_content {
    padding: 24px 32px 20px;
    gap: 20px;
    align-items: stretch;
}

body[data-page="message"] .log_conimg {
    width: 96px;
    height: 96px;
    margin: 0 auto;
    padding: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(24, 142, 238, 0.12), rgba(89, 214, 255, 0.12));
    box-shadow: 0 12px 24px rgba(24, 142, 238, 0.12);
}

body[data-page="message"] .log_conimg img {
    border-radius: 50%;
}

body[data-page="message"] .log_conitem {
    padding: 6px 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8fd 100%);
    border: 1px solid #dfebf8;
}

body[data-page="message"] .log_text {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 4px 0;
    border-bottom: 1px solid #e9f0f8;
    font-size: 15px;
    line-height: 1.6;
    color: #255ea8;
}

body[data-page="message"] .log_text:last-child {
    border-bottom: none;
}

body[data-page="message"] .log_text span {
    float: none;
    width: 96px;
    flex: 0 0 96px;
    color: #6f8199;
    font-size: 14px;
    font-weight: 600;
}

body[data-page="message"] .log_text em {
    float: none;
    width: auto;
    flex: 1 1 auto;
    color: #1d355d;
    white-space: normal;
    font-style: normal;
}

body[data-page="message"] .js-confirm-phone-status {
    display: inline-flex;
    align-items: center;
    width: auto;
    max-width: max-content;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 153, 0, 0.14);
    color: #c97a00;
    font-size: 13px;
    font-weight: 700;
}

/* ---------------- 确认页结构 ---------------- */
.log_title { 
    font-size: 13px; 
    color: rgb(255, 153, 0); 
    padding: 20px 29px 0;
    font-weight: normal;
    text-align: left;
    margin-bottom: 0;
}
.log_content { 
    display: flex; 
    justify-content: space-between;
    align-items: center; 
    background: transparent;
    padding: 28px 29px 26px;
    border-radius: 0;
    margin-bottom: 0;
    border: none;
}
.log_conimg { 
    display: block;
    width: 112px; 
    height: 130px; 
    background: transparent; 
    margin-right: 20px; 
    border-radius: 0;
    box-shadow: none;
}
.log_conimg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.log_conitem { flex: 1; }
.log_text { 
    font-size: 16px; 
    color: rgb(24, 142, 238); 
    line-height: 30px; 
    display: block;
    overflow: hidden;
    border-bottom: none;
    padding: 0;
    font-weight: bold;
}
.log_text span { float: left; width: 80px; font-weight: bold; text-align: left; color: var(--text-main); }
.log_text em { float: left; width: 180px; font-weight: bold; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; color: rgb(24, 142, 238); font-style: normal; }

/* ---------------- 文章/规则页结构 ---------------- */
.art_head { 
    width: 100%; 
    height: 220px; 
    margin: auto; 
    background: var(--primary-color) linear-gradient(135deg, #188eee 0%, #0070d2 100%); 
    position: absolute;
    top: 0;
    z-index: -1;
}
.art_nav { 
    width: 1200px; 
    margin: 0 auto;
    height: 100%;
    box-sizing: border-box;
    position: relative;
}
.art_hitem { 
    width: 1200px;
    margin: auto;
    padding-top: 30px;
    overflow: hidden;
}
.art_aimg { 
    float: left;
    width: 135px; 
    height: 160px; 
    margin-right: 39px; 
    display: block;
}
.art_aone { float: left; width: 355px; }
.art_atwo { float: left; width: 200px; }
.art_athree { 
    float: right;
    width: 260px;
    text-align: left; 
    background: transparent;
    border-radius: 0;
    padding: 0;
    display: block;
}
.art_text {
    overflow: hidden;
    font-size: 16px;
    color: rgb(255, 255, 255);
    line-height: 25px;
}
.art_text span {
    float: left;
    width: 80px;
    text-align: left;
}
.art_text em {
    float: left;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-weight: normal;
    font-style: normal;
}
.art_atint {
    overflow: hidden;
    color: rgb(255, 255, 255);
    font-size: 24px;
    font-weight: bold;
}
.art_atint .art_atime {
    display: inline-block;
}
.art_atint .art_atime span {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 4px;
    background-color: rgb(255, 153, 0);
    text-align: center;
    color: rgb(255, 255, 255);
    margin: 0 9px;
}
.art_atint .art_atime span:last-child {
    margin-right: 0;
}
#art_contain {
    width: 260px;
    line-height: 30px;
    height: 30px;
    border-radius: 2px;
    border: 1px solid rgb(215, 215, 215);
    margin: 11px 0 9px;
    overflow: hidden;
    position: relative;
}
#art_content {
    width: 260px;
    line-height: 30px;
    height: 30px;
    background-color: rgb(255, 153, 0);
}
#art_content span {
    width: 60px;
    line-height: 30px;
    position: absolute;
    text-align: center;
    color: rgb(255, 255, 255);
    left: 50%;
    margin-left: -30px;
}
.art_titjia {
    color: rgb(255, 255, 255);
    font-size: 16px;
}

.art_navtext {
    padding: 0;
    margin-top: 60px;
    overflow: hidden;
}
.art_navtext ul {
    overflow: hidden;
    z-index: 99;
}
.art_navtext ul li {
    float: left;
    width: 150px;
    line-height: 40px;
    text-align: center;
    font-size: 18px;
    color: rgb(51, 51, 51);
    border: 1px solid rgb(215, 215, 215);
    background-color: rgb(249, 249, 248);
    cursor: pointer;
    padding: 0;
    font-weight: normal;
    border-radius: 0;
    margin-right: 0;
}
.art_navtext ul li.art_active {
    background-color: rgb(255, 255, 255);
    border-bottom: 1px solid rgb(255, 255, 255);
    color: rgb(51, 51, 51);
}
.art_tab_hidden {
    display: none;
}
.art_conIs { 
    border: 1px solid rgb(215, 215, 215); 
    overflow-y: scroll; 
    overflow-x: hidden;
    margin-top: -1px; 
    padding: 28px 40px; 
    color: rgb(30, 31, 30); 
    line-height: 36px; 
    font-family: 宋体; 
    height: 420px; 
    background: transparent;
    box-sizing: content-box;
}
.art_conIs .art_conIsitem {
    display: none;
}
.art_conIs .art_conIsitem:first-child {
    display: block;
}
.art_conIs .art_conIsitem p {
    font-size: 16px;
    line-height: 35px;
    color: rgb(51, 51, 51);
    margin-bottom: 0;
    font-style: normal;
}

.art_btn {
    display: block;
    width: 300px;
    line-height: 60px;
    margin: 14px auto 0;
    text-align: center;
    color: rgb(255, 255, 255);
    background-color: rgb(24, 142, 238);
    border-radius: 2px;
    font-size: 24px;
    cursor: pointer;
    border: none;
}
.art_btn:hover { background-color: var(--primary-hover); }
.art_bcrk {
    background-color: rgb(204, 204, 204);
    color: rgb(255, 255, 255);
}
.art_conIs .art_conIsitem .art_titcz {
    font-size: 28px;
    text-align: center;
    color: rgb(51, 51, 51);
    margin-bottom: 30px;
}
.art_bodymo h3 {
    color: rgb(51, 51, 51);
    font-weight: bold;
    line-height: 35px;
    font-size: 16px;
}
.art_bodymo span {
    display: block;
    color: rgb(0, 176, 240);
    font-weight: bold;
    line-height: 35px;
    font-size: 16px;
}
.art_bodymo span.art_ysh {
    color: rgb(51, 51, 51);
}
.art_conIs .art_conIsitem .art_bodymo p {
    text-indent: 45px;
    color: rgb(102, 102, 102);
}
.art_conIs .art_conIsitem .art_bodymo p em {
    color: red;
    font-style: normal;
}
.art_conIs .art_conIsitem .art_bodymo strong {
    display: block;
    color: rgb(51, 51, 51);
    font-size: 16px;
    line-height: 35px;
}
.art_conIs .art_conIsitem .art_bodymo p.art_mobj {
    color: rgb(255, 0, 0);
}

.popupjz {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(122, 122, 122, 0.5);
    display: none;
    z-index: 9998;
}
.popupjz.is-visible {
    display: block;
}
.popupTs {
    width: 500px;
    height: 280px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -250px;
    margin-top: -140px;
    border-radius: 2px;
    background-color: rgb(255, 255, 255);
    z-index: 9999;
}
.popupTs .popuptit {
    text-align: center;
    width: 100%;
    line-height: 50px;
    background-color: rgb(24, 142, 238);
    color: rgb(255, 255, 255);
    font-size: 18px;
}
.popupTs .popcontent {
    overflow: hidden;
    padding: 45px 36px;
}
.popicon {
    float: left;
    width: 70px;
    height: 61px;
    margin-right: 15px;
    border-radius: 8px;
    background: linear-gradient(135deg, #188eee 0%, #42abfb 100%);
    position: relative;
}
.popicon::before {
    content: "!";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 34px;
    font-weight: bold;
}
.popupTs .popcontent p {
    float: left;
    width: 342px;
    line-height: 35px;
    color: rgb(255, 153, 0);
    font-size: 18px;
}
.popbtn {
    display: block;
    width: 130px;
    line-height: 40px;
    border-radius: 2px;
    background: rgb(24, 142, 238);
    color: rgb(255, 255, 255);
    text-align: center;
    font-size: 16px;
    margin: 0 auto;
}
.popbtn:hover {
    background: var(--primary-hover);
    color: #fff;
}

/* ---------------- 答题页通用结构 ---------------- */
.answer_head { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%; 
    height: 100px; 
    background: rgb(24, 142, 238);
}
body[data-page="exam"] .answer_head,
body[data-page="case"] .answer_head,
body[data-page="paper"] .answer_head {
    transform: scale(var(--page-scale));
    transform-origin: top left;
    width: calc(100% / var(--page-scale));
    height: calc(100px / var(--page-scale));
}
.answer_head .answer_hname {
    width: 350px;
}
.answer_head .answer_hname img {
    float: left;
    width: 85px;
    height: 100px;
    margin-right: 25px;
    vertical-align: middle;
}
.answer_head .answer_hname .ans_xinm {
    overflow: hidden;
    font-size: 18px;
    color: rgb(255, 255, 255);
    line-height: 25px;
    margin-top: 25px;
}
.answer_head .answer_hname .ans_xinm span {
    float: left;
    width: 90px;
    text-align: left;
}
.answer_head .answer_hname .ans_xinm em {
    float: left;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-style: normal;
}
.ans_text {
    overflow: hidden;
    line-height: 25px;
}
.answer_head .answer_tit {
    flex: 1 1 0%;
}
.answer_head .answer_tit p {
    color: rgb(255, 255, 255);
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    line-height: 30px;
    margin: 0;
}
#examtitle {
    font-size: 20px !important;
    margin-top: 0 !important;
}

.answer_head .answer_hjj {
    width: 370px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.answer_head .answer_hjj .an_gtime {
    width: 170px;
}
.answer_head .answer_hjj .an_gtime p {
    color: rgb(255, 255, 255);
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    line-height: 30px;
    margin: 0;
}
.answer_head .answer_hjj .an_gtime span {
    font-size: 18px;
    font-weight: bold;
}
.answer_head .answer_hjj .an_gtime .js-timer {
    color: rgb(255, 255, 255);
    font-family: inherit;
}
.an_gbtn { 
    width: 150px;
    line-height: 50px;
    border-radius: 4px;
    background: rgb(255, 153, 0);
    color: rgb(255, 255, 255);
    text-align: center;
    font-size: 24px;
    cursor: pointer;
    border: none;
    padding: 0;
    margin-right: 30px;
}
.an_gbtn:hover { background: rgb(255, 173, 51); }
.an_gbtn:disabled {
    background: rgb(188, 196, 208);
    color: rgb(255, 255, 255);
    cursor: not-allowed;
}
.an_gbtn:disabled:hover {
    background: rgb(188, 196, 208);
}

.anSpace { 
    width: 100%; 
    height: calc(100vh - 100px);
    position: relative;
    overflow: hidden;
}
body[data-page="exam"] .anSpace,
body[data-page="case"] .anSpace,
body[data-page="paper"] .anSpace {
    overflow: auto;
}
.answer_nav { 
    background: rgb(242, 249, 255);
    position: relative;
    inset: auto;
    width: 100%; 
    height: 100%; 
}
body[data-page="exam"] .anSpace .answer_nav,
body[data-page="case"] .anSpace .answer_nav,
body[data-page="paper"] .anSpace .answer_nav {
    transform: scale(var(--page-scale));
    transform-origin: top left;
    width: calc(100% / var(--page-scale));
    height: calc(100% / var(--page-scale));
}

/* 左侧答题卡 */
.answer_nav .answer_lf { 
    width: 260px;
    height: 100%;
    border-right: 1px solid rgb(204, 232, 255);
    float: left;
    padding-bottom: 40px;
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-flow: column;
    background: #fff;
}
.answer_nav .answer_lf::-webkit-scrollbar {
    display: none;
}
.answtitbo { 
    color: rgb(51, 51, 51);
    font-size: 16px;
    padding: 20px 0 8px 20px;
    font-weight: bold;
    margin: 0;
}
.dtkbox {
    padding: 0 20px;
    overflow: hidden auto;
    box-sizing: border-box;
    position: relative;
    flex: 1 1 0%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.dtkbox::-webkit-scrollbar {
    display: none;
}
.js-answer-card a { 
    display: inline-block; 
    width: 40px; 
    height: 26px; 
    line-height: 26px;
    background: rgb(237, 246, 255); 
    border: 1px solid rgb(173, 210, 246); 
    color: rgb(24, 108, 189);
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    margin: 10px 7px 15px 0;
    position: relative;
}
.js-answer-card a:nth-child(5n+5) { margin-right: 0; }
.js-answer-card a:hover { border-color: rgb(24, 142, 238); background: rgb(224, 239, 255); color: rgb(24, 142, 238); }
.js-answer-card a.choose { 
    background: rgb(46, 160, 67); 
    border-color: rgb(31, 132, 51); 
    color: rgb(255, 255, 255); 
    box-shadow: inset 0 0 0 1px rgb(31, 132, 51);
}
.js-answer-card a.act_slmite {
    border-color: rgb(24, 142, 238);
    box-shadow: inset 0 0 0 1px rgb(24, 142, 238), 0 0 0 2px rgba(24, 142, 238, 0.18);
}
.js-answer-card a.dtk_bjimg {
    position: relative;
}
.js-answer-card a.dtk_bjimg::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    height: 0;
    border-width: 0 10px 10px 0;
    border-style: solid;
    border-color: transparent rgb(211, 55, 55) transparent transparent;
}

/* 右侧答题区 */
.answer_rg { 
    margin-left: 260px;
    height: 100%;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-flow: column;
    background: #fff;
}
.answer_rg .answrg_tit { 
    height: 80px;
    padding-left: 29px;
    background-color: rgb(229, 243, 255);
    border-bottom: 1px solid rgb(204, 232, 255);
    font-size: 16px;
    color: rgb(51, 51, 51);
    min-width: 800px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    font-weight: bold;
}
.answer_rg .answrg_tit p {
    margin: 0;
    line-height: 1.6;
}
.answer_rg .answrg_tit span { font-weight: bold; color: rgb(24, 142, 238); }
body[data-page="exam"] .answer_rg .answrg_tit {
    min-width: 0;
    height: auto;
    min-height: 0;
    padding: 8px 16px;
    font-size: 14px;
}
body[data-page="exam"] .answer_rg .answrg_tit p {
    line-height: 1.5;
    font-weight: 400;
}
body[data-page="exam"] .answer_rg .answrg_tit span {
    font-weight: 700;
}

.answer_dec_l {
    flex: 1 1 0%;
    min-height: 0;
    position: relative;
    overflow: hidden;
}
.answer_dec_l #datalist {
    display: flex;
    height: 100%;
}
.answer_dec_l #datalist ul {
    box-sizing: border-box;
    height: 100%;
    padding: 20px 0 0 29px;
    overflow-y: auto;
    margin: 0;
    width: 100%;
}
.answer_dec_l #datalist ul li {
    display: none;
    list-style: none;
    padding-right: 29px;
}
.answer_dec_l #datalist ul li.is-active {
    display: block;
}
.answer_dec_l .answer_tm {
    width: 100%;
    margin: 0 auto;
    font-size: 16px;
    overflow: hidden;
    line-height: 32px;
    padding-bottom: 10px;
}
.answer_dec_l .answer_tm p {
    width: 100%;
    overflow: hidden;
    margin: 0;
}
.bank-rich-block,
.bank-question-stem,
.bank-option-content,
.answer_ntext .bank-rich-block,
.answer_nrtext .bank-rich-block {
    display: block;
}
.bank-rich-text {
    display: block;
}
.bank-rich-images {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}
.bank-rich-image {
    display: block;
    max-width: 100%;
    max-height: 220px;
    border: 1px solid rgb(220, 230, 242);
    border-radius: 6px;
    background: rgb(255, 255, 255);
    padding: 4px;
}
.answer_dec_l .bank-option-content {
    overflow: hidden;
    line-height: 1.8;
}
.answer_dec_l .bank-question-stem .bank-rich-image,
.paper-answrg-nav .bank-rich-image,
.js-case-content .bank-rich-image {
    max-height: 260px;
}
.answer_dec_l .answer_tm p:first-child span {
    display: inline-block;
    cursor: pointer;
    color: rgb(51, 51, 51);
    font-weight: bold;
    margin-right: 0;
}
.answer_dec_l .answer_xx {
    width: 100%;
    margin: 12px auto 0;
    overflow: hidden;
}
.answer_dec_l .answer_xx label {
    display: block;
    width: 100%;
    margin: 0 auto 16px;
    overflow: hidden;
    font-size: 16px;
    cursor: pointer;
}
.answer_dec_l .answer_xx label input {
    display: none;
}
.answer_dec_l .answer_xx label > span:first-child {
    width: 26px;
    height: 26px;
    line-height: 26px;
    border: 1px solid rgb(153, 153, 153);
    text-align: center;
    float: left;
    margin-right: 10px;
    box-sizing: border-box;
}
.answer_dec_l .danxuan label span:first-child {
    border-radius: 50%;
}
.answer_dec_l .answer_xx label:hover {
    color: rgb(24, 142, 238);
}
.answer_dec_l .answer_xx label:hover .abcd {
    background-color: rgb(24, 142, 238);
    color: rgb(255, 255, 255);
    border-color: rgb(24, 142, 238);
}
.answer_dec_l .answer_xx .sselect {
    color: rgb(24, 142, 238);
}
.answer_dec_l .answer_xx .sselect .abcd {
    border: 1px solid rgb(24, 142, 238);
    background: rgb(24, 142, 238);
    color: rgb(255, 255, 255);
}
.objective-blank-wrap,
.objective-short-wrap,
.case-answer-blank-wrap {
    width: 100%;
    margin-top: 16px;
}
.case-answer-blank-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 100%;
    padding: 16px 18px 18px;
    border: 1px solid rgb(189, 212, 236);
    border-radius: 10px;
    background: linear-gradient(180deg, rgb(248, 252, 255), rgb(255, 255, 255));
    box-sizing: border-box;
}
.case-answer-blank-title {
    font-size: 16px;
    font-weight: bold;
    color: rgb(51, 51, 51);
}
.case-answer-blank-tip {
    font-size: 13px;
    line-height: 1.6;
    color: rgb(110, 123, 140);
}
.objective-blank-input,
.objective-short-input,
.case-answer-blank-input {
    width: 100%;
    display: block;
    box-sizing: border-box;
    border: 1px solid rgb(189, 212, 236);
    border-radius: 6px;
    background: rgb(255, 255, 255);
    padding: 12px 14px;
    font-size: 16px;
    line-height: 1.8;
    color: rgb(51, 51, 51);
    resize: vertical;
    font-family: inherit;
}
.objective-short-input {
    min-height: 180px;
}
.objective-blank-input:focus,
.objective-short-input:focus,
.case-answer-blank-input:focus {
    border-color: rgb(24, 142, 238);
    box-shadow: 0 0 0 3px rgba(24, 142, 238, 0.12);
}
.objective-judge-group,
.case-answer-judge-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
    align-items: stretch;
}
.objective-judge-btn,
.case-answer-judge-btn {
    min-width: 140px;
    min-height: 74px;
    border: 1px solid rgb(189, 212, 236);
    border-radius: 10px;
    background: rgb(255, 255, 255);
    color: rgb(51, 51, 51);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
}
.objective-judge-btn:hover,
.case-answer-judge-btn:hover {
    border-color: rgb(24, 142, 238);
    color: rgb(24, 142, 238);
}
.objective-judge-btn.is-active,
.case-answer-judge-btn.is-active {
    background: rgb(24, 142, 238);
    border-color: rgb(24, 142, 238);
    color: rgb(255, 255, 255);
    box-shadow: 0 8px 18px rgba(24, 142, 238, 0.18);
}
.case-answer-judge-symbol {
    font-size: 30px;
    font-weight: bold;
    line-height: 1;
}
.case-answer-judge-text {
    font-size: 14px;
    line-height: 1;
}
.answer_dec_l ul li.chan_one .answer_tm *,
.answer_dec_l ul li.chan_one .bank-option-content,
.answer_dec_l ul li.chan_one .bank-option-content *,
.answer_dec_l ul li.chan_one .objective-blank-input,
.answer_dec_l ul li.chan_one .objective-short-input,
.answer_dec_l ul li.chan_one .objective-judge-btn {
    font-size: 14px !important;
    font-style: normal !important;
}
.answer_dec_l ul li.chan_two .answer_tm *,
.answer_dec_l ul li.chan_two .bank-option-content,
.answer_dec_l ul li.chan_two .bank-option-content *,
.answer_dec_l ul li.chan_two .objective-blank-input,
.answer_dec_l ul li.chan_two .objective-short-input,
.answer_dec_l ul li.chan_two .objective-judge-btn {
    font-size: 16px !important;
    font-style: normal !important;
}
.answer_dec_l ul li.chan_three .answer_tm *,
.answer_dec_l ul li.chan_three .bank-option-content,
.answer_dec_l ul li.chan_three .bank-option-content *,
.answer_dec_l ul li.chan_three .objective-blank-input,
.answer_dec_l ul li.chan_three .objective-short-input,
.answer_dec_l ul li.chan_three .objective-judge-btn {
    font-size: 18px !important;
    font-style: normal !important;
}
.answer_dec_l ul li.chan_four .answer_tm *,
.answer_dec_l ul li.chan_four .bank-option-content,
.answer_dec_l ul li.chan_four .bank-option-content *,
.answer_dec_l ul li.chan_four .objective-blank-input,
.answer_dec_l ul li.chan_four .objective-short-input,
.answer_dec_l ul li.chan_four .objective-judge-btn {
    font-size: 20px !important;
    font-style: normal !important;
}
.js-case-workspace.chan_one .answer_ntext *,
.js-case-workspace.chan_one .answer_nrtext *,
.js-case-workspace.chan_one .bank-option-content,
.js-case-workspace.chan_one .bank-option-content *,
.js-case-workspace.chan_one .case-answer-blank-input,
.js-case-workspace.chan_one .case-answer-editor {
    font-size: 14px !important;
}
.js-case-workspace.chan_two .answer_ntext *,
.js-case-workspace.chan_two .answer_nrtext *,
.js-case-workspace.chan_two .bank-option-content,
.js-case-workspace.chan_two .bank-option-content *,
.js-case-workspace.chan_two .case-answer-blank-input,
.js-case-workspace.chan_two .case-answer-editor {
    font-size: 16px !important;
}
.js-case-workspace.chan_three .answer_ntext *,
.js-case-workspace.chan_three .answer_nrtext *,
.js-case-workspace.chan_three .bank-option-content,
.js-case-workspace.chan_three .bank-option-content *,
.js-case-workspace.chan_three .case-answer-blank-input,
.js-case-workspace.chan_three .case-answer-editor {
    font-size: 18px !important;
}
.js-case-workspace.chan_four .answer_ntext *,
.js-case-workspace.chan_four .answer_nrtext *,
.js-case-workspace.chan_four .bank-option-content,
.js-case-workspace.chan_four .bank-option-content *,
.js-case-workspace.chan_four .case-answer-blank-input,
.js-case-workspace.chan_four .case-answer-editor {
    font-size: 20px !important;
}
/* ---------------- 案例分析页结构 ---------------- */
body[data-page="case"] .answer_nav {
    display: grid !important;
    grid-template-columns: 245px minmax(0, 1fr);
    /* 只写列不写行时，grid 行高会被案例内容撑开（实测到 1179px），
       下方工作区随之失去高度约束，案例正文和答案区都不会出现独立滚动条。 */
    grid-template-rows: minmax(0, 1fr);
    height: 100%;
}
body[data-page="case"] .answer_nav .answer_lf {
    width: auto;
    min-width: 0;
    float: none;
}
body[data-page="case"] .answer_rg {
    margin-left: 0;
    min-width: 0;
    /* grid 项目默认 min-height:auto 会被内容撑开，必须归零才能让内部 flex 正常收缩。 */
    min-height: 0;
}
/* 案例工作区占满右侧剩余高度，让“案例正文”和“答案区”各自滚动（与论文页 .paper-answrg-nav 一致）。 */
body[data-page="case"] .js-case-workspace {
    flex: 1 1 0%;
    min-height: 0;
    display: flex;
    flex-flow: column;
    overflow: hidden;
}
body[data-page="case"] .answer_rg .answrg_tit {
    min-width: 0;
    height: auto;
    min-height: 72px;
    padding: 16px 20px;
}
body[data-page="case"] .answer_rg .answrg_tit.js-case-summary {
    min-height: 0;
    padding: 8px 16px;
    font-size: 14px;
}
body[data-page="case"] .answer_rg .answrg_tit.js-case-summary p {
    line-height: 1.5;
    font-weight: 400;
}
body[data-page="case"] .answer_rg .answrg_tit.js-case-summary span {
    font-weight: 700;
}
body[data-page="case"] .answer_rg .answrg_xxal {
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.js-case-card {
    display: grid;
    gap: 12px;
    padding: 14px 0 16px;
}
.case-card-section {
    display: grid;
    gap: 10px;
    padding: 12px 11px 11px;
    border: 1px solid rgb(214, 228, 243);
    border-radius: 10px;
    background: linear-gradient(180deg, rgb(255, 255, 255) 0%, rgb(248, 252, 255) 100%);
    box-shadow: 0 1px 4px rgba(76, 115, 156, 0.05);
}
.case-card-group {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}
.case-card-group+.case-card-group {
    padding-top: 8px;
    border-top: 1px dashed rgb(223, 233, 245);
}
.case-card-group.case-card-group-empty {
    color: rgb(0, 93, 201);
}
.case-card-group.case-card-group-partial {
    color: rgb(0, 93, 201);
}
.case-card-group.case-card-group-completed {
    color: rgb(0, 136, 52);
}
.case-card-title {
    margin: 0;
    overflow: hidden;
    line-height: 20px;
    font-size: 13px;
    color: rgb(37, 53, 77);
    font-weight: bold;
    word-break: break-all;
}
.case-card-group-title {
    margin: 0;
    width: 40px;
    min-height: 40px;
    padding: 4px 2px;
    border: 2px solid currentColor;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 10px;
    line-height: 12px;
    color: inherit;
    font-weight: bold;
    box-sizing: border-box;
    background: rgb(247, 251, 255);
}
.case-card-group.case-card-group-empty .case-card-group-title,
.case-card-group.case-card-group-partial .case-card-group-title {
    background: rgb(214, 236, 255);
    box-shadow: inset 0 0 0 1px rgba(0, 93, 201, 0.08);
}
.case-card-group.case-card-group-completed .case-card-group-title {
    background: rgb(202, 243, 214);
    box-shadow: inset 0 0 0 1px rgba(0, 136, 52, 0.08);
}
.case-card-group.case-card-group-marked .case-card-group-title {
    position: relative;
}
.case-card-group.case-card-group-marked .case-card-group-title::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-width: 0 8px 8px 0;
    border-style: solid;
    border-color: transparent rgb(211, 55, 55) transparent transparent;
}
.case-card-grid {
    display: grid;
    grid-template-columns: repeat(5, 18px);
    grid-auto-rows: 18px;
    gap: 7px 7px;
    min-width: 0;
}
.case-card-grid a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 1px solid rgb(164, 201, 236);
    background: rgb(233, 244, 255);
    color: transparent;
    font-size: 0;
    line-height: 0;
    position: relative;
    border-radius: 50%;
    box-sizing: border-box;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.case-card-grid a:hover {
    border-color: rgb(24, 142, 238);
    background: rgb(224, 239, 255);
}
.case-card-grid a.choose {
    background: rgb(46, 160, 67);
    border-color: rgb(31, 132, 51);
    box-shadow: inset 0 0 0 1px rgb(31, 132, 51);
}
.case-card-grid a.act_slmite {
    border-color: rgb(24, 142, 238);
    box-shadow: inset 0 0 0 1px rgb(24, 142, 238), 0 0 0 2px rgba(24, 142, 238, 0.16);
}
.case-group-intro-block {
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid rgb(219, 232, 246);
    border-radius: 8px;
    background: rgb(246, 251, 255);
}
.case-group-intro-title {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 22px;
    color: rgb(24, 70, 118);
    font-weight: bold;
}
.case-group-intro-text {
    color: rgb(51, 51, 51);
}
.case-empty-placeholder {
    margin: 0;
    padding: 14px 16px;
    border: 1px dashed rgb(198, 214, 232);
    border-radius: 8px;
    background: rgb(248, 251, 255);
    color: rgb(118, 135, 156);
    font-size: 14px;
    line-height: 22px;
}
.js-case-workspace {
    flex: 1 1 0%;
    min-height: 0;
    position: relative;
    overflow-y: auto;
    display: flex;
    flex-flow: column;
    font-size: 16px;
    background: rgb(255, 255, 255);
}
.js-case-workspace .answrg_ftgogo {
    flex: 1 1 0%;
    position: relative;
    overflow-y: auto;
    display: flex;
    flex-flow: column;
}
.js-case-workspace .answrg_ftop {
    flex: 1 1 0%;
    display: flex;
    flex-flow: column;
    height: 100%;
}
.js-case-workspace .answer_nlf {
    height: 50%;
    overflow-y: auto;
    position: relative;
    box-sizing: border-box;
}
.js-case-workspace .answer_nlfal {
    flex: 1 1 0%;
    min-height: 0;
    padding: 20px 29px 24px;
    box-sizing: border-box;
    display: none;
}
.js-case-workspace .answer_nlfal.is-active {
    display: block;
}
.js-case-workspace .answer_nlfal > p:first-child {
    font-size: 18px;
    font-weight: bold;
    color: rgb(51, 51, 51);
    margin: 0 0 12px;
}
.js-case-workspace .answer_ntext {
    margin-bottom: 16px;
    color: rgb(51, 51, 51);
    line-height: 30px;
}
.case-reading-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
}
.case-reading-toolbar-inline {
    margin: 0;
    justify-content: flex-end;
}
.case-reading-toolbar-btn {
    height: 32px;
    padding: 0 14px;
    border: 1px solid rgb(190, 212, 236);
    background: rgb(248, 252, 255);
    color: rgb(51, 51, 51);
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    line-height: 30px;
}
.case-reading-toolbar-btn:hover {
    border-color: rgb(24, 142, 238);
    color: rgb(24, 142, 238);
}
.case-reading-toolbar-scale {
    margin-left: 4px;
    color: rgb(102, 102, 102);
    font-size: 13px;
}
.js-case-section-highlightable {
    display: block;
    transform-origin: top left;
}
.js-case-workspace .answer_ntext p {
    margin: 0 0 10px;
    text-indent: 0 !important;
}
.js-case-workspace .answer_nrg {
    flex: 1 1 0%;
    height: 50%;
    display: flex;
    flex-flow: column;
    border-top: 1px solid rgb(204, 232, 255);
}
.js-case-workspace .answer_mal {
    flex: 1 1 0%;
    display: none;
    flex-flow: row !important;
    height: 100%;
}
.js-case-workspace .answer_mal.is-active {
    display: flex;
}
.js-case-workspace .answer_nrtext {
    flex: 1 1 auto;
    width: 58%;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 16px 24px 18px;
}
.js-case-workspace .answer_nrtext p {
    font-size: 16px;
    font-weight: bold;
    color: rgb(51, 51, 51);
    line-height: 28px;
    margin: 0 0 8px;
    text-indent: 0 !important;
}
.js-case-workspace .answer_uplad {
    flex: 0 0 42%;
    border-left: 1px solid rgb(204, 232, 255);
    display: flex;
    flex-flow: column;
    min-width: 0;
    min-height: 0;
    padding: 16px 18px 18px;
    box-sizing: border-box;
    background: rgb(255, 255, 255);
}
.js-case-workspace .case-group-answer-wrap {
    gap: 0;
    overflow-y: auto;
}
.js-case-workspace .case-group-prompt-row {
    padding: 10px 0;
    box-sizing: border-box;
    border-bottom: 1px dashed rgb(217, 229, 241);
}
.js-case-workspace .case-group-prompt-row.is-active {
    background: transparent;
}
.js-case-workspace .case-group-prompt-row:last-child {
    border-bottom: none;
}
.js-case-workspace .case-group-prompt-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.js-case-workspace .case-group-prompt-title {
    font-size: 15px;
    line-height: 1.4;
    font-weight: bold;
    color: rgb(51, 51, 51);
}
.js-case-workspace .case-group-prompt-score {
    flex: 0 0 auto;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgb(231, 244, 255);
    color: rgb(24, 142, 238);
    font-size: 12px;
    line-height: 20px;
}
.js-case-workspace .case-group-prompt-answer {
    min-width: 0;
}
.js-case-workspace .case-group-prompt-compact {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.js-case-workspace .case-group-prompt-compact.is-active {
    background: rgba(24, 142, 238, 0.04);
}
.js-case-workspace .case-group-prompt-compact .case-group-prompt-head {
    flex: 0 0 64px;
    justify-content: flex-start;
    margin-bottom: 0;
    padding-top: 3px;
}
.js-case-workspace .case-group-prompt-compact .case-group-prompt-title {
    font-size: 14px;
    white-space: nowrap;
}
.js-case-workspace .case-group-prompt-compact .case-group-prompt-score {
    display: none;
}
.js-case-workspace .case-group-prompt-compact .case-group-prompt-answer {
    flex: 1 1 auto;
}
.js-case-workspace .case-group-prompt-compact .case-answer-choice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
}
.js-case-workspace .case-group-prompt-row .case-answer-choice,
.js-case-workspace .case-group-prompt-row .case-answer-judge-group {
    margin-top: 0;
}
.js-case-workspace .case-group-prompt-row .case-answer-choice label {
    margin-bottom: 10px !important;
}
.js-case-workspace .case-group-prompt-row .case-answer-choice label:last-child {
    margin-bottom: 0 !important;
}
.js-case-workspace .case-group-prompt-compact .case-answer-choice label {
    display: inline-flex;
    align-items: center;
    width: auto;
    margin: 0 !important;
}
.js-case-workspace .case-answer-choice label input {
    display: none;
}
.js-case-workspace .case-group-prompt-compact .case-answer-choice label > span:first-child {
    float: none;
    margin-right: 0;
}
.js-case-workspace .case-group-prompt-compact .case-answer-choice .abcd {
    width: 24px;
    height: 24px;
    line-height: 24px;
    border: 1px solid rgb(153, 153, 153);
    border-radius: 50%;
    background: rgb(255, 255, 255);
    color: rgb(102, 102, 102);
    font-weight: bold;
    padding: 0;
    margin-right: 6px;
    text-align: center;
    box-sizing: border-box;
}
.js-case-workspace .case-group-prompt-compact .case-answer-choice label:hover .abcd,
.js-case-workspace .case-group-prompt-compact .case-answer-choice .sselect .abcd {
    background: rgb(24, 142, 238);
    border: 1px solid rgb(24, 142, 238);
    color: rgb(255, 255, 255);
}
.js-case-workspace .case-group-prompt-compact .case-answer-choice .bank-option-content {
    display: none;
}
.js-case-workspace .case-group-prompt-row .case-answer-blank-wrap {
    margin-top: 0;
    min-height: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
}
.js-case-workspace .case-group-prompt-row .case-answer-blank-input {
    min-height: 0;
    resize: none;
}
.js-case-workspace .case-group-prompt-type-blank {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.js-case-workspace .case-group-prompt-type-blank .case-group-prompt-head {
    flex: 0 0 56px;
    justify-content: flex-start;
    margin-bottom: 0;
    padding-top: 5px;
}
.js-case-workspace .case-group-prompt-type-blank .case-group-prompt-score {
    display: none;
}
.js-case-workspace .case-group-prompt-type-blank .case-group-prompt-answer {
    flex: 0 0 auto;
    width: min(220px, 100%);
}
.js-case-workspace .case-group-prompt-type-blank .case-answer-blank-wrap {
    width: auto;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
}
.js-case-workspace .case-group-prompt-type-blank .case-answer-blank-input {
    width: 100%;
    max-width: 220px;
    padding: 7px 10px;
    border: 1px solid rgb(99, 149, 204);
    border-radius: 6px;
    background: rgb(250, 253, 255);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.js-case-workspace .case-group-prompt-type-blank .case-answer-blank-input:focus {
    border-color: rgb(24, 142, 238);
    background: rgb(255, 255, 255);
    box-shadow: 0 0 0 2px rgba(24, 142, 238, 0.14);
}
.js-case-workspace .case-group-prompt-type-judge {
    display: flex;
    align-items: center;
    gap: 8px;
}
.js-case-workspace .case-group-prompt-type-judge .case-group-prompt-head {
    flex: 0 0 52px;
    justify-content: flex-start;
    margin-bottom: 0;
    padding-top: 0;
    min-height: 36px;
    align-items: center;
}
.js-case-workspace .case-group-prompt-type-judge .case-group-prompt-score {
    display: none;
}
.js-case-workspace .case-group-prompt-type-judge .case-group-prompt-answer {
    flex: 1 1 auto;
}
.js-case-workspace .case-group-prompt-type-judge .case-answer-judge-group {
    gap: 6px;
    margin-top: 0;
    align-items: center;
}
.js-case-workspace .case-group-prompt-type-judge .case-answer-judge-btn {
    min-width: 68px;
    min-height: 36px;
    padding: 4px 10px;
    border-radius: 6px;
    gap: 1px;
    font-size: 12px;
}
.js-case-workspace .case-group-prompt-type-judge .case-answer-judge-symbol {
    font-size: 16px;
}
.js-case-workspace .case-group-prompt-type-judge .case-answer-judge-text {
    font-size: 11px;
    line-height: 1.1;
}
.js-case-workspace .case-group-prompt-type-judge .case-answer-judge-btn.is-active {
    box-shadow: 0 2px 6px rgba(24, 142, 238, 0.12);
}
.js-case-workspace .case-group-prompt-row .case-answer-toolbar {
    border: 1px solid rgb(204, 232, 255);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
}
.js-case-workspace .case-group-prompt-row .case-answer-editor {
    min-height: 180px;
}
.js-case-workspace .case-group-empty {
    padding: 16px 14px;
    border: 1px dashed rgb(204, 232, 255);
    border-radius: 10px;
    color: rgb(110, 123, 140);
    font-size: 14px;
    line-height: 1.7;
    background: rgb(248, 252, 255);
}
.js-case-workspace .case-prompt-type-blank .answer_uplad,
.js-case-workspace .case-prompt-type-judge .answer_uplad {
    justify-content: flex-start;
}
.js-case-workspace .case-prompt-type-blank .answer_uplad {
    position: relative;
}
.js-case-workspace .case-answer-blank-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}
.js-case-workspace .case-prompt-type-blank .case-answer-blank-input {
    flex: 1 1 auto;
    min-height: 260px;
    width: 100%;
    max-width: 100%;
    height: auto;
    border: 1px solid rgb(189, 212, 236);
    padding: 12px 14px;
    box-sizing: border-box;
    resize: none;
}
.js-case-workspace .case-prompt-type-judge .case-answer-judge-group {
    margin-top: 4px;
    justify-content: flex-start;
}
.js-case-workspace .case-answer-editor {
    flex: 1 1 auto;
    min-height: 280px;
    padding: 14px 16px;
    border: 1px solid rgb(189, 212, 236);
    border-radius: 0 0 8px 8px;
    background: rgb(255, 255, 255);
}
.case-answer-choice {
    width: 100%;
    margin-top: 2px;
}
.js-case-workspace .case-answer-choice,
.js-case-workspace .case-answer-judge-group {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.js-case-workspace .case-answer-choice label {
    max-width: 100%;
}
.case-answer-choice label {
    margin-bottom: 14px !important;
}
.case-answer-choice label:last-child {
    margin-bottom: 0 !important;
}
.case-answer-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid rgb(204, 232, 255);
    background: rgb(248, 252, 255);
}
.case-answer-toolbar button,
.case-answer-toolbar select {
    height: 30px;
    min-width: 30px;
    padding: 0 10px;
    box-sizing: border-box;
    border: 1px solid rgb(190, 212, 236);
    background: rgb(255, 255, 255);
    color: rgb(51, 51, 51);
    font-size: 14px;
    line-height: 28px;
    cursor: pointer;
}
.case-answer-toolbar button:hover,
.case-answer-toolbar select:hover {
    border-color: rgb(24, 142, 238);
}
.case-answer-toolbar button:first-child {
    font-weight: bold;
}
.case-answer-toolbar button:nth-child(2) {
    font-style: italic;
}
.js-case-highlightable {
    cursor: text;
}
.case-selection-highlight {
    background: #fff3a3;
    border-radius: 2px;
    padding: 0 1px;
}
.case-prompt-question > p {
    margin-bottom: 10px;
}
.case-prompt-question-title-only > p {
    margin-bottom: 0;
}
.case-subtitle-block {
    margin: 0 0 16px;
    padding: 16px 18px;
    border: 1px solid #dbe8f6;
    border-radius: 10px;
    background: #f8fbff;
}
.case-subtitle-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    color: #15365d;
}
.case-subtitle-content {
    margin: 0;
}
.case-align-group {
    position: relative;
}
.case-align-menu {
    position: absolute;
    top: 34px;
    left: 0;
    display: none;
    flex-flow: column;
    gap: 6px;
    padding: 6px;
    border: 1px solid rgb(190, 212, 236);
    background: rgb(255, 255, 255);
    box-shadow: 0 8px 18px rgba(35, 74, 121, 0.15);
    z-index: 5;
}
.case-align-group.is-open .case-align-menu {
    display: flex;
}
.case-align-menu .case-align-option {
    padding: 0;
    width: 30px;
}
.case-toolbar-icon {
    display: inline-block;
    position: relative;
    width: 14px;
    height: 14px;
    vertical-align: middle;
}
.case-toolbar-icon::before,
.case-toolbar-icon::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: rgb(86, 104, 128);
}
.case-toolbar-icon::before {
    top: 3px;
}
.case-toolbar-icon::after {
    top: 9px;
}
.case-toolbar-icon-align {
    width: 16px;
}
.case-toolbar-icon-align span {
    display: none;
}
.case-toolbar-icon-align::before,
.case-toolbar-icon-align::after {
    left: 1px;
    right: 1px;
}
.case-toolbar-icon-align {
    background:
      linear-gradient(rgb(86, 104, 128), rgb(86, 104, 128)) 1px 1px / 14px 2px no-repeat,
      linear-gradient(rgb(86, 104, 128), rgb(86, 104, 128)) 1px 6px / 14px 2px no-repeat,
      linear-gradient(rgb(86, 104, 128), rgb(86, 104, 128)) 1px 11px / 14px 2px no-repeat;
}
.case-toolbar-icon-align::before,
.case-toolbar-icon-align::after {
    display: none;
}
.case-toolbar-icon-left {
    background:
      linear-gradient(rgb(86, 104, 128), rgb(86, 104, 128)) 0 1px / 12px 2px no-repeat,
      linear-gradient(rgb(86, 104, 128), rgb(86, 104, 128)) 0 6px / 9px 2px no-repeat,
      linear-gradient(rgb(86, 104, 128), rgb(86, 104, 128)) 0 11px / 12px 2px no-repeat;
}
.case-toolbar-icon-center {
    background:
      linear-gradient(rgb(86, 104, 128), rgb(86, 104, 128)) center 1px / 12px 2px no-repeat,
      linear-gradient(rgb(86, 104, 128), rgb(86, 104, 128)) center 6px / 8px 2px no-repeat,
      linear-gradient(rgb(86, 104, 128), rgb(86, 104, 128)) center 11px / 12px 2px no-repeat;
}
.case-toolbar-icon-right {
    background:
      linear-gradient(rgb(86, 104, 128), rgb(86, 104, 128)) right 1px / 12px 2px no-repeat,
      linear-gradient(rgb(86, 104, 128), rgb(86, 104, 128)) right 6px / 9px 2px no-repeat,
      linear-gradient(rgb(86, 104, 128), rgb(86, 104, 128)) right 11px / 12px 2px no-repeat;
}
.case-toolbar-icon-left::before,
.case-toolbar-icon-left::after,
.case-toolbar-icon-center::before,
.case-toolbar-icon-center::after,
.case-toolbar-icon-right::before,
.case-toolbar-icon-right::after {
    display: none;
}
.case-answer-reset {
    margin-left: auto;
}
.case-answer-editor {
    overflow-x: hidden;
    overflow-y: auto;
    outline: none;
    white-space: pre-wrap;
    word-break: break-word;
}
.case-answer-editor.is-empty::before {
    content: attr(data-placeholder);
    color: rgb(153, 153, 153);
    pointer-events: none;
}
.js-case-workspace .answer_content {
    flex: 1 1 0%;
    padding: 10px;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 30px;
    color: rgb(51, 51, 51);
    background: rgb(255, 255, 255);
    border: 1px solid rgb(189, 212, 236);
    border-radius: 6px;
}
.case-answer-body {
    min-height: 100%;
}
.case-calculator-popup {
    position: fixed;
    inset: 0;
    background: transparent;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    /* 计算器是常驻工具窗：点外部不关闭，也不挡住背后的题干和作答区。 */
    pointer-events: none;
}
.case-calculator-popup.is-visible {
    display: flex;
}
.case-calculator-dialog {
    width: clamp(520px, 72vw, 640px);
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 36px);
    overflow: auto;
    background: rgb(245, 245, 245);
    border: 1px solid rgb(62, 164, 236);
    box-shadow: 0 18px 40px rgba(8, 34, 71, 0.3);
    /* 右下角原生缩放手柄；拖动和尺寸由脚本记忆到本机。 */
    resize: both;
    /* 缩放下限保证顶栏和键盘不被挤成一团；小屏时自动跟随视口。 */
    min-width: min(520px, calc(100vw - 24px));
    min-height: min(480px, calc(100vh - 36px));
    pointer-events: auto;
}
.case-calculator-dialog.is-dragging {
    opacity: 0.96;
    user-select: none;
}
.case-calculator-dialog .case-calculator-head {
    cursor: move;
    user-select: none;
    touch-action: none;
}
.case-calculator-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
    padding: 0 8px 0 18px;
    background: linear-gradient(180deg, rgb(39, 150, 229), rgb(28, 129, 209));
}
.case-calculator-head p {
    margin: 0;
    font-size: 18px;
    color: rgb(255, 255, 255);
}
.case-calculator-close {
    width: 28px;
    height: 28px;
    border: none;
    background: rgb(241, 123, 29);
    color: rgb(255, 255, 255);
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
}
.case-calculator-body {
    padding: 10px 12px 12px;
}
.case-calculator-screen {
    min-height: 76px;
    background: rgb(255, 255, 255);
    border: 1px solid rgb(213, 213, 213);
    padding: 8px 12px 6px;
    box-sizing: border-box;
}
.case-calculator-expression {
    min-height: 22px;
    text-align: right;
    color: rgb(80, 80, 80);
    font-size: 15px;
    line-height: 22px;
    word-break: break-all;
}
.case-calculator-result {
    min-height: 34px;
    margin-top: 4px;
    text-align: right;
    color: rgb(34, 34, 34);
    font-size: 22px;
    font-weight: bold;
    line-height: 34px;
    word-break: break-all;
}
.case-calculator-controls {
    margin-top: 10px;
}
.case-calc-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: stretch;
}
.case-calc-mode-row {
    display: flex;
    gap: 14px;
    align-items: center;
    min-height: 34px;
    border: 1px solid rgb(190, 190, 190);
    background: rgb(255, 255, 255);
    padding: 0 10px;
    box-sizing: border-box;
}
.case-calc-mode-row label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: rgb(51, 51, 51);
    cursor: pointer;
}
.case-calc-memory-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}
.case-calc-memory-row button,
.case-calc-main-tools button,
.case-calc-main-grid button,
.case-calc-panel-science button {
    height: 34px;
    border: 1px solid rgb(197, 197, 197);
    background: rgb(242, 242, 242);
    color: rgb(44, 44, 44);
    font-size: 14px;
    cursor: pointer;
    box-sizing: border-box;
    border-radius: 2px;
}
.case-calc-keyboard {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.95fr);
    gap: 10px;
    margin-top: 10px;
}
.case-calc-panel {
    min-width: 0;
}
.case-calc-panel-science {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
}
.case-calc-panel-main {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.case-calc-main-tools {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
}
.case-calc-main-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
}
.case-calc-memory-row button:hover,
.case-calc-main-tools button:hover,
.case-calc-main-grid button:hover,
.case-calc-panel-science button:hover {
    background: rgb(235, 235, 235);
}
.case-calc-memory-row button.is-active,
.case-calc-main-tools button.is-active,
.case-calc-main-grid button.is-active,
.case-calc-panel-science button.is-active {
    background: rgb(213, 229, 248);
    border-color: rgb(80, 146, 214);
}
.case-calc-zero {
    grid-column: span 2;
}
.case-calculator-notebook {
    margin-top: 10px;
}
.case-calculator-notebook label {
    display: block;
    font-size: 14px;
    color: rgb(51, 51, 51);
    margin-bottom: 4px;
}
.case-calculator-notebook textarea {
    width: 100%;
    min-height: 110px;
    height: 140px;
    max-height: 220px;
    box-sizing: border-box;
    resize: vertical;
    border: 1px solid rgb(132, 181, 201);
    background: rgb(255, 255, 255);
    font-size: 14px;
    line-height: 1.6;
    padding: 10px;
    color: rgb(51, 51, 51);
}
.case-drawing-popup {
    position: fixed;
    inset: 0;
    background: rgba(9, 23, 44, 0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    padding: 16px;
    box-sizing: border-box;
}
.case-drawing-popup.is-visible {
    display: flex;
}
.case-drawing-dialog {
    width: min(1280px, calc(100vw - 32px));
    height: min(820px, calc(100vh - 32px));
    min-height: 520px;
    display: flex;
    flex-direction: column;
    background: rgb(255, 255, 255);
    border: 1px solid rgb(62, 164, 236);
    box-shadow: 0 20px 44px rgba(8, 34, 71, 0.34);
    overflow: hidden;
}
.case-drawing-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 46px;
    padding: 0 10px 0 18px;
    background: linear-gradient(180deg, rgb(39, 150, 229), rgb(28, 129, 209));
}
.case-drawing-head p {
    margin: 0;
    font-size: 18px;
    color: rgb(255, 255, 255);
}
.case-drawing-close {
    width: 28px;
    height: 28px;
    border: none;
    background: rgb(241, 123, 29);
    color: rgb(255, 255, 255);
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
}
.case-drawing-body {
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
    background: rgb(240, 245, 250);
}
.case-drawing-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    background: rgb(255, 255, 255);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.case-drawing-frame.is-drawing-ready {
    opacity: 1;
}
.case-drawing-loading {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgb(255, 255, 255);
    color: rgb(74, 93, 119);
    pointer-events: none;
}
.case-drawing-loading.is-visible {
    display: flex;
}
.case-drawing-loading p {
    margin: 0;
    font-size: 15px;
}
.case-drawing-loading-spinner {
    width: 34px;
    height: 34px;
    border: 3px solid rgb(208, 221, 235);
    border-top-color: rgb(28, 129, 209);
    border-radius: 50%;
    animation: case-drawing-spin 0.8s linear infinite;
}
@keyframes case-drawing-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
.case-drawing-foot {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px 16px;
    border-top: 1px solid rgb(220, 233, 246);
    background: rgb(247, 250, 253);
}
.case-drawing-foot button {
    min-width: 96px;
    height: 36px;
    border: 1px solid rgb(190, 212, 236);
    background: rgb(255, 255, 255);
    color: rgb(51, 51, 51);
    font-size: 14px;
    cursor: pointer;
}
.case-drawing-foot .btn-primary {
    border-color: rgb(24, 142, 238);
    background: rgb(24, 142, 238);
    color: rgb(255, 255, 255);
}
.case-drawing-foot .btn-primary:hover {
    background: rgb(48, 157, 244);
}
.case-drawing-foot .btn-secondary:hover,
.case-drawing-foot .btn-primary:hover {
    border-color: rgb(24, 142, 238);
}
.case-answer-image-block {
    margin: 10px 0;
    text-align: left;
}
.case-answer-image-block img {
    display: inline-block;
    max-width: min(100%, 820px);
    height: auto;
    border: 1px solid rgb(214, 226, 240);
    background: rgb(255, 255, 255);
    box-shadow: 0 4px 14px rgba(22, 74, 132, 0.08);
}
@media (max-width: 760px) {
    .case-calculator-dialog {
        width: calc(100vw - 16px);
        max-height: calc(100vh - 16px);
    }
    .case-calc-toolbar {
        grid-template-columns: 1fr;
    }
    .case-calc-keyboard {
        grid-template-columns: 1fr;
    }
    .case-drawing-popup {
        padding: 8px;
    }
    .case-drawing-dialog {
        width: calc(100vw - 16px);
        height: calc(100vh - 16px);
        min-height: 0;
    }
}
@media (max-width: 560px) {
    .case-calculator-head {
        height: 40px;
        padding-left: 12px;
    }
    .case-calculator-head p {
        font-size: 16px;
    }
    .case-calculator-body {
        padding: 8px;
    }
    .case-calc-panel-science {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .case-calc-memory-row button,
    .case-calc-main-tools button,
    .case-calc-main-grid button,
    .case-calc-panel-science button {
        height: 32px;
        font-size: 13px;
    }
    .case-drawing-head {
        height: 40px;
        padding-left: 12px;
    }
    .case-drawing-head p {
        font-size: 16px;
    }
    .case-drawing-foot {
        padding: 10px 12px;
    }
    .case-drawing-foot button {
        min-width: 84px;
        height: 34px;
    }
}
.abcd { 
    display: inline-block;
    width: 26px; 
    height: 26px; 
    line-height: 24px;
    border-radius: 50%;
    background: rgb(255, 255, 255);
    border: 1px solid rgb(153, 153, 153);
    color: rgb(51, 51, 51); 
    font-weight: normal;
    margin-right: 10px;
    text-align: center;
    float: left;
    box-sizing: border-box;
}

.answer_page {
    width: 100%;
    height: 100px;
    box-shadow: rgba(0, 0, 0, 0.1) 0 0 10px 0;
    display: block;
    flex: 0 0 100px;
    margin-top: auto;
    position: relative;
    z-index: 2;
    background-color: rgb(242, 249, 255);
    margin: 0 auto;
    text-align: center;
    min-width: 1245px;
}
.answer_pagelf {
    overflow: hidden;
    float: left;
    margin-left: 18px;
}
.answer_pagelf > span {
    display: inline-block;
    width: 240px;
    height: 50px;
    background: rgb(24, 142, 238);
    border-radius: 4px;
    text-align: center;
    color: rgb(255, 255, 255);
    line-height: 50px;
    margin-top: 25px;
    font-size: 24px;
    cursor: pointer;
    user-select: none;
}
.answer_pagelf > span.nexttm {
    margin-left: 30px;
}
.answer_pagelf > span.is-disabled {
    background: rgb(204, 204, 204);
    cursor: not-allowed;
}
.page-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}
.page-icon-left {
    margin-right: 8px;
}
.page-icon-right {
    margin-left: 8px;
}
.page-icon-left::before,
.page-icon-right::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
}
.page-icon-left::before {
    border-right: 10px solid rgb(255, 255, 255);
}
.page-icon-right::before {
    border-left: 10px solid rgb(255, 255, 255);
}
.answrg_xx {
    float: right;
    margin: 25px 20px 0 0;
    position: relative;
}
.answrg_xx .answrg_xxitem {
    float: left;
    margin-right: 10px;
    padding: 0 20px;
    line-height: 50px;
    border-radius: 4px;
    background-color: rgb(242, 249, 255);
    border: 1px solid rgb(24, 142, 238);
    text-align: center;
    font-size: 18px;
    color: rgb(51, 51, 51);
    cursor: pointer;
    user-select: none;
}
.tool-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}
.tool-icon-mark::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 1px;
    width: 10px;
    height: 13px;
    border: 2px solid currentColor;
    border-bottom: none;
}
.tool-icon-mark::after {
    content: "";
    position: absolute;
    left: 2px;
    bottom: 0;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid currentColor;
}
.tool-icon-calc::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid currentColor;
    border-radius: 2px;
}
.tool-icon-calc::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 4px;
    width: 8px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 4px 0 currentColor, 0 8px 0 currentColor;
}
.tool-icon-setting::before {
    content: "";
    position: absolute;
    inset: 2px;
    border: 2px solid currentColor;
    border-radius: 50%;
}
.tool-icon-setting::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 0;
    width: 4px;
    height: 16px;
    background: currentColor;
    box-shadow: -6px 6px 0 -1px currentColor, 6px 6px 0 -1px currentColor;
}
.tool-icon-highlight::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 2px;
    width: 10px;
    height: 5px;
    border: 2px solid currentColor;
    border-bottom: none;
    border-radius: 2px 2px 0 0;
}
.tool-icon-highlight::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 9px;
    width: 8px;
    height: 4px;
    background: currentColor;
    border-radius: 0 0 2px 2px;
}
.answrg_xx .answrg_xxitem.is-active {
    background-color: rgb(24, 142, 238);
    color: rgb(255, 255, 255);
}
.answrg_xx .answrg_xxqhs {
    background-color: rgb(24, 142, 238);
    color: rgb(255, 255, 255);
}
.an_settings {
    float: left;
    width: 100px;
    line-height: 50px;
    border-radius: 4px;
    text-align: center;
    font-size: 18px;
    color: rgb(255, 255, 255);
    margin: auto;
    position: relative;
    cursor: pointer;
    background-color: rgb(24, 142, 238) !important;
    user-select: none;
}
.setyytime {
    width: 280px;
    position: absolute;
    bottom: 50px;
    left: 122px;
    background-color: rgb(255, 255, 255);
    z-index: 9999;
    box-shadow: rgba(0, 0, 0, 0.1) 0 0 10px 0;
    padding: 15px 0 8px;
    display: none;
    cursor: pointer;
}
.setyytime.is-visible {
    display: block;
}
.setyytime .autonext {
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
    height: 44px;
    line-height: 40px;
    color: rgb(102, 102, 102);
    font-size: 16px;
    padding: 0 10px 0 20px;
    box-sizing: border-box;
    text-align: left;
}
.setyytime .autonext span {
    display: inline-block;
    width: 42px;
    height: 20px;
    background: rgb(204, 204, 204);
    border-radius: 10px;
    overflow: hidden;
    float: right;
    position: relative;
    top: 10px;
    cursor: pointer;
}
.setyytime .autonext span em {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: rgb(255, 255, 255);
    border-radius: 50%;
    float: left;
    position: relative;
    top: 1px;
    left: -1px;
}
.setyytime .autonext span.aon {
    background: rgb(24, 142, 238) !important;
}
.setyytime .autonext span.aon em {
    float: right !important;
}
.font_change {
    overflow: hidden;
    padding: 10px 20px;
}
.font_change .change_lfz {
    float: left;
    font-size: 16px;
    color: rgb(102, 102, 102);
    line-height: 24px;
}
.font_change .change_ztbo {
    float: right;
    overflow: hidden;
    border: 1px solid rgb(66, 171, 251);
    border-radius: 5px;
}
.font_change .change_ztbo p {
    float: left;
    width: 34px;
    line-height: 24px;
    text-align: center;
    font-size: 14px;
    color: rgb(51, 51, 51);
    cursor: pointer;
    margin: 0;
}
.zoom_change .change_ztbo p {
    width: 48px;
}
.font_change .change_ztbo p.chage_actzt {
    background-color: rgb(66, 171, 251);
    color: rgb(255, 255, 255);
}
.answrg_xx .setyytime {
    display: none;
    top: -120px;
    right: 0;
    left: auto;
    bottom: auto;
    padding: 7px 0;
    height: auto;
    min-height: 132px;
}
.answrg_xx .setyytime.is-visible {
    display: block;
}
.answrg_xx .setyytime .font_change {
    border: none;
}
.poptjtc .popupTs .popcontent {
    overflow: hidden;
    padding: 45px 65px;
}
.poptjtc .popupTs .popcontent p {
    width: 285px;
    height: 70px;
}
.tjtcbtn {
    text-align: center;
}
.tjtcbtn a {
    display: inline-block;
    width: 130px;
    line-height: 40px;
    border-radius: 2px;
    background: rgb(24, 142, 238);
    color: rgb(255, 255, 255);
    text-align: center;
    font-size: 16px;
}
.tjtcbtn a:nth-child(2) {
    background-color: rgb(255, 153, 0);
    margin-left: 25px;
}

/* ---------------- 论文页结构 ---------------- */
body[data-page="paper"] {
    height: 100vh;
    overflow: hidden;
}
.answer_nav .answer_lf .anlf_tit {
    line-height: 50px;
    padding-left: 20px;
    color: rgb(51, 51, 51);
    font-weight: bold;
    font-size: 16px;
    margin: 0;
    background: transparent;
}
.js-paper-card .answlw_tit {
    overflow: hidden;
    line-height: 34px;
    font-size: 16px;
    color: rgb(51, 51, 51);
    font-weight: bold;
    margin: 0;
}
.js-paper-card .answlw_tit:first-child {
    margin-top: 0;
}
.js-paper-card a {
    display: inline-block;
    width: 60px;
    height: 26px;
    line-height: 26px;
    margin-right: 7px;
    margin-top: 10px;
    margin-bottom: 0;
    border-radius: 0;
    text-align: center;
    font-size: 14px;
    background: rgb(255, 255, 255);
    border: 1px solid rgb(230, 230, 230);
    color: rgb(102, 102, 102);
    position: relative;
    box-sizing: border-box;
}
.js-paper-card a:nth-of-type(5n) {
    margin-right: 7px;
}
.js-paper-card a.choose {
    background: rgb(46, 160, 67) !important;
    border: 1px solid rgb(31, 132, 51) !important;
    color: rgb(255, 255, 255) !important;
    box-shadow: inset 0 0 0 1px rgb(31, 132, 51);
}
.js-paper-card a.act_slmite {
    border-color: rgb(24, 142, 238) !important;
    box-shadow: inset 0 0 0 1px rgb(24, 142, 238), 0 0 0 2px rgba(24, 142, 238, 0.18);
}
.js-paper-card a:not(.choose) {
    background: rgb(237, 246, 255) !important;
    border: 1px solid rgb(173, 210, 246) !important;
    color: rgb(24, 108, 189) !important;
}
.js-paper-card a.dtk_bjimg {
    position: relative;
}
.js-paper-card a.dtk_bjimg::after {
    content: "";
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    height: 0;
    background: transparent;
    clip-path: none;
    border-width: 0 10px 10px 0;
    border-style: solid;
    border-color: transparent rgb(211, 55, 55) transparent transparent;
}
.paperto_to {
    height: auto;
    min-height: 0;
    background-color: rgb(242, 249, 255);
    border: none;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 16px;
}
.paperto_to p {
    margin: 0 0 3px;
    line-height: 1.5;
}
.paperto_to p:last-child {
    margin-bottom: 0;
}
.answrg_xxal {
    width: 100%;
    position: relative;
    height: 50px;
    line-height: 50px;
    border-bottom: none;
    display: block;
    padding: 0;
    background-color: rgb(229, 243, 255);
    position: relative;
    z-index: 2;
}
.answrg_xxalf {
    float: left;
    margin: 0 19px;
    min-width: 0;
    font-size: 16px;
    color: rgb(51, 51, 51);
    font-weight: bold;
}
.answrg_xxal .answrg_xxitem {
    float: left;
    margin: 10px 10px 0 0;
    padding: 0 8px;
    line-height: 30px;
    border-radius: 4px;
    background-color: rgb(242, 249, 255);
    border: 1px solid rgb(24, 142, 238);
    text-align: center;
    color: rgb(51, 51, 51);
    font-size: 14px;
    cursor: pointer;
}
.answrg_xxal .answrg_xxitem.answrg_xxqh {
    background-color: rgb(24, 142, 238);
    color: rgb(255, 255, 255);
    border-color: rgb(24, 142, 238);
}
.answrg_xxal .answrg_xxitem.answrg_xxqh.is-active {
    background-color: rgb(255, 153, 0);
    border-color: rgb(255, 153, 0);
    color: rgb(255, 255, 255);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}
.answrg_xxal .answrg_xxitem.answrgqxo {
    color: rgb(51, 51, 51);
    border-color: rgb(24, 142, 238);
}
.answrg_xxal .setyytime {
    width: 300px;
    left: 65px;
    top: 50px;
    bottom: auto;
    padding: 7px 0;
    z-index: 3;
    height: auto;
}
.answrg_xxal .setyytime.is-visible {
    display: block;
}
.paper-answrg-nav {
    flex: 1 1 0%;
    min-height: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-flow: column;
    font-size: 16px;
    background: rgb(255, 255, 255);
}
.paper-answrg-nav .answrg_ftgogo {
    flex: 1 1 0%;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-flow: column;
}
.paper-answrg-nav .answer_nlf {
    flex: 1 1 0%;
    overflow-y: auto;
    position: relative;
    box-sizing: border-box;
}
.paper-answrg-nav .answer_nlf .answer_nlfal {
    padding: 20px 29px;
    display: none;
}
.paper-answrg-nav .answer_nlf .answer_nlfal.is-active {
    display: block;
}
.paper-answrg-nav .answer_nlf .answer_nlfal > p:first-child {
    font-size: 18px;
    font-weight: bold;
    color: rgb(51, 51, 51);
    margin: 0 0 12px;
}
.paper-answrg-nav .paper-prompt-block {
    margin-top: 16px;
    padding: 14px 16px;
    border: 1px solid rgb(220, 232, 245);
    border-radius: 8px;
    background: rgb(250, 252, 255);
}
.paper-answrg-nav .paper-prompt-block.is-active {
    border-color: rgb(24, 142, 238);
    box-shadow: 0 0 0 2px rgba(24, 142, 238, 0.1);
    background: rgb(244, 250, 255);
}
.paper-answrg-nav .paper-prompt-title {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: bold;
    color: rgb(24, 70, 118);
}
.paper-answrg-nav .answer_ntext p {
    margin: 0 0 10px;
    line-height: 30px;
    color: rgb(51, 51, 51);
    text-indent: 0 !important;
}
.paper-answrg-nav .answer_nrg {
    height: 50%;
    display: flex;
    border-top: 1px solid rgb(204, 232, 255);
}
.paper-answrg-nav.is-collapsed .answer_nlf {
    height: 100%;
    flex: 1 1 100%;
}
.paper-answrg-nav.is-collapsed .answer_nrg {
    display: none;
}
.paper-answrg-nav .answer_mal {
    flex: 1 1 0%;
    min-height: 0;
    display: flex;
    flex-flow: column;
    border-right: 1px solid rgb(204, 232, 255);
}
.paper-answrg-nav .answer_mal:last-child {
    border-right: none;
}
.zt_qwer {
    padding: 10px 20px;
    line-height: 30px;
    font-size: 16px;
    color: rgb(51, 51, 51);
    border-bottom: 1px solid rgb(204, 232, 255);
    background-color: rgb(255, 255, 255);
}
.zt_qwer p {
    display: inline;
    margin: 0;
    font-weight: bold;
}
.answer_uplad {
    flex: 1 1 0%;
    min-height: 0;
}
.paper-answrg-nav .answer_uplad {
    display: flex;
    flex-flow: column;
    padding: 12px 14px 14px;
    box-sizing: border-box;
    background: rgb(255, 255, 255);
}
.paper-answrg-nav .case-answer-editor {
    flex: 1 1 0%;
    min-height: 180px;
    padding: 12px 20px;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 30px;
    color: rgb(51, 51, 51);
    background: rgb(255, 255, 255);
    border: 1px solid rgb(189, 212, 236);
    border-radius: 6px;
}
.answer_uplad textarea {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
    padding: 12px 20px;
    box-sizing: border-box;
    resize: none;
    font-size: 16px;
    line-height: 30px;
    color: rgb(51, 51, 51);
    font-family: inherit;
    font-style: normal;
    background: rgb(255, 255, 255);
}
.paper-answrg-nav.chan_one .answer_ntext *,
.paper-answrg-nav.chan_one textarea {
    font-size: 14px !important;
}
.paper-answrg-nav.chan_two .answer_ntext *,
.paper-answrg-nav.chan_two textarea {
    font-size: 16px !important;
}
.paper-answrg-nav.chan_three .answer_ntext *,
.paper-answrg-nav.chan_three textarea {
    font-size: 18px !important;
}
.paper-answrg-nav.chan_four .answer_ntext *,
.paper-answrg-nav.chan_four textarea {
    font-size: 20px !important;
}
.js-paper-card .paper-topic-title {
    margin: 16px 0 8px;
    font-size: 15px;
    font-weight: bold;
    color: rgb(51, 51, 51);
}
.js-paper-card .paper-subtopic-link {
    display: inline-block;
    min-width: 74px;
    padding: 0 10px;
    margin: 0 10px 12px 0;
}
.paper-highlight .answer_ntext,
.paper-highlight .zt_qwer {
    background-color: rgb(255, 248, 230);
}
.paper-highlight textarea {
    background-color: rgb(255, 252, 242);
}
.answer_nav .answer_lf {
    background: transparent;
}
.dtkbox .dtk_th .dtk_thgogo {
    margin-top: 20px;
}
.paper-answrg-nav .answer_nlf {
    height: 50%;
}
.tancup {
    position: fixed;
    inset: 0;
    background: rgba(122, 122, 122, 0.5);
    display: none;
    z-index: 9998;
}
.tancup.is-visible {
    display: block;
}
.tancitem {
    width: 760px;
    min-height: 430px;
    background: rgb(255, 255, 255);
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.15) 0 0 20px 0;
    overflow: hidden;
}
.tanctit {
    line-height: 56px;
    background: rgb(24, 142, 238);
    color: rgb(255, 255, 255);
    text-align: center;
    font-size: 20px;
}
.tanctszf {
    padding: 24px 28px 8px;
    font-size: 22px;
    color: rgb(51, 51, 51);
    line-height: 1.8;
}
.tanctszf p {
    margin: 0 0 8px;
}
.tanctszf span {
    display: inline-block;
    min-width: 28px;
    margin: 0 5px 8px 0;
    cursor: pointer;
    text-align: center;
}
.tancitem h3 {
    font-size: 16px;
    color: rgb(102, 102, 102);
    text-align: center;
    font-weight: normal;
    padding: 0 20px 20px;
}
.tanchu {
    width: 180px;
    line-height: 42px;
    margin: 0 auto 24px;
    background: rgb(24, 142, 238);
    color: rgb(255, 255, 255);
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
}

/* ---------------- 交卷成功提示页 ---------------- */
body.submit-success-body {
    min-width: 1200px;
    background: rgb(255, 255, 255);
    padding-bottom: 80px;
}
body.submit-success-body .jjcghead {
    width: 100%;
    height: 430px;
    margin: auto;
    background: url("https://cnitpmpic.cnitpm.com/img/jikao/login_img01.png") center top no-repeat;
    overflow: hidden;
}
body.submit-success-body .jjcg_go {
    text-align: center;
    margin-top: 120px;
    font-size: 80px;
    color: rgb(255, 255, 255);
    font-weight: bold;
}
body.submit-success-body .jjcg_go img {
    display: inline-block;
    width: 84px;
    height: 84px;
    margin-right: 20px;
    position: relative;
    top: 14px;
}
body.submit-success-body .jjcg_ts {
    width: 470px;
    line-height: 80px;
    border-radius: 40px;
    text-align: center;
    margin: 40px auto 0;
    background-color: rgb(255, 153, 0);
    color: rgb(255, 255, 255);
    font-weight: bold;
    font-size: 50px;
}
body.submit-success-body .jjcg_back {
    text-align: center;
    margin-top: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
body.submit-success-body .jjcg_back a {
    display: inline-block;
    min-width: 220px;
    line-height: 56px;
    padding: 0 28px;
    border-radius: 28px;
    background-color: rgb(24, 142, 238);
    color: rgb(255, 255, 255);
    font-size: 28px;
    font-weight: bold;
    box-shadow: 0 10px 24px rgba(18, 59, 122, 0.16);
}
body.submit-success-body .jjcg_back a:hover {
    color: rgb(255, 255, 255);
    background-color: rgb(66, 171, 251);
}
/* 交卷成功页：查看本轮答卷，用橙色与上方提示呼应 */
body.submit-success-body .jjcg_back a.jjcg_answer {
    background-color: rgb(255, 153, 0);
    box-shadow: 0 10px 24px rgba(196, 112, 0, 0.22);
}
body.submit-success-body .jjcg_back a.jjcg_answer:hover {
    background-color: rgb(255, 173, 51);
}

/* ---------------- 页脚 ---------------- */
.js-footer { 
    width: 100%;
    padding: 20px 0 40px; 
    text-align: center; 
    margin-top: 20px;
    background: transparent;
}
.footer-links { margin-bottom: 10px; }
.footer-links a { color: rgb(51, 51, 51); font-size: 12px; margin: 0 8px; }
.footer-links a:hover { color: rgb(66, 171, 251); }
.footer-sep { color: rgb(51, 51, 51); font-size: 12px; }
.footer-copy { color: rgb(51, 51, 51); font-size: 12px; line-height: 1.8; }

