/* 专业课学习（学生端）+ 管理端专业课工作区 */
.zx3730-home{margin:14px 0}
.zx3730-home .zx3730-hcard{background:#fff;border-radius:20px;padding:15px 16px;box-shadow:0 8px 24px rgba(20,25,40,.06)}
.zx3730-home .zx3730-htop{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.zx3730-home .zx3730-htop b{font-size:15px}
.zx3730-home .zx3730-htop span{font-size:11px;color:#7b8393}
.zx3730-home .zx3730-hrow{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 0;border-top:1px solid #f0f2f6}
.zx3730-home .zx3730-hrow:first-of-type{border-top:0}
.zx3730-home .zx3730-hname{font-weight:800;font-size:14px}
.zx3730-home .zx3730-hmeta{font-size:11px;color:#7b8393;margin-top:3px}
.zx3730-home .zx3730-hbtn{border:0;border-radius:12px;background:#5867ef;color:#fff;font-weight:800;padding:9px 14px;font-size:13px;white-space:nowrap}
.zx3730-home .zx3730-hbtn.ghost{background:#eef1ff;color:#5264f2}
.zx3730-home .zx3730-bar{height:6px;background:#e9ebf1;border-radius:999px;overflow:hidden;margin-top:6px}
.zx3730-home .zx3730-bar i{display:block;height:100%;background:#5867ef}

/* 弹窗默认关闭：只有 .zx-course-open 才显示；hidden 属性再兜一层（防作者样式覆盖 UA 的 [hidden]） */
.zx3730-modal{position:fixed;inset:0;z-index:100050;background:rgba(0,0,0,.52);display:none;align-items:flex-end;justify-content:center}
.zx3730-modal.zx-course-open{display:flex}
.zx3730-modal[hidden]{display:none!important}
.zx3730-sheet{width:min(100%,560px);max-height:94vh;overflow:auto;background:#f7f8fb;border-radius:28px 28px 0 0;padding:18px 16px calc(24px + env(safe-area-inset-bottom));color:#111}
.zx3730-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.zx3730-top b{display:block;font-size:22px}
.zx3730-top span{display:block;font-size:12px;color:#7b8393;margin-top:3px}
.zx3730-top>button{width:42px;height:42px;border:0;border-radius:50%;background:#e9ebf1;font-size:24px}
.zx3730-sec{background:#fff;border-radius:18px;padding:14px;margin-top:12px;box-shadow:0 6px 20px rgba(20,25,40,.05)}
.zx3730-sec h3{margin:0 0 10px;font-size:15px}
.zx3730-course{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:11px 0;border-top:1px solid #f0f2f6}
.zx3730-course:first-of-type{border-top:0}
.zx3730-course .nm{font-weight:800;font-size:14px}
.zx3730-course .mt{font-size:11px;color:#7b8393;margin-top:4px;line-height:1.5}
.zx3730-prog{height:6px;background:#e9ebf1;border-radius:999px;overflow:hidden;margin-top:7px}
.zx3730-prog i{display:block;height:100%;background:#5867ef}
.zx3730-btn{border:0;border-radius:12px;background:#5867ef;color:#fff;font-weight:800;padding:10px 15px;font-size:13px;white-space:nowrap}
.zx3730-btn.ghost{background:#eef1ff;color:#5264f2}
.zx3730-btn.plain{background:#eef0f4;color:#374151}
.zx3730-ch{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:10px 12px;border-radius:13px;background:#f7f8fb;margin-top:8px;cursor:pointer;border:1.5px solid transparent}
.zx3730-ch.on{background:#eef1ff;border-color:#5867ef}
.zx3730-ch .t{font-weight:700;font-size:13.5px}
.zx3730-ch .s{font-size:11px;color:#7b8393;margin-top:3px}
.zx3730-chip{display:inline-block;background:#eef1ff;color:#5264f2;border-radius:999px;padding:3px 8px;font-size:10.5px;font-weight:800;margin-left:6px}
.zx3730-chip.due{background:#fff2e0;color:#a3661b}
.zx3730-size{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:10px}
.zx3730-size button{min-height:44px;border:0;border-radius:12px;background:#eef0f4;font-weight:800;font-size:13px}
.zx3730-size button.on{background:#111827;color:#fff}

.zx3730-card{background:#fff;border-radius:20px;padding:16px;margin-top:12px;box-shadow:0 8px 26px rgba(20,25,40,.06)}
.zx3730-meta{display:flex;justify-content:space-between;font-size:11px;color:#7b8393;margin-bottom:8px}
.zx3730-barline{height:6px;background:#e9ebf1;border-radius:999px;overflow:hidden;margin-bottom:14px}
.zx3730-barline i{display:block;height:100%;background:#5867ef}
.zx3730-badge{display:inline-block;background:#eef1ff;color:#5264f2;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:900}
.zx3730-q{font-size:17.5px;font-weight:850;line-height:1.65;margin:12px 0 4px;white-space:pre-wrap}
.zx3730-note{font-size:15px;line-height:1.8;white-space:pre-wrap;margin-top:10px}
.zx3730-answer{background:#f7f8fb;border-radius:14px;padding:12px;margin-top:12px;line-height:1.8;font-size:14.5px;white-space:pre-wrap}
.zx3730-answer b{display:block;font-size:11px;color:#7b8393;margin-bottom:5px;letter-spacing:.5px}
.zx3730-answer .kp{color:#5264f2;font-weight:700}
.zx3730-answer .ex{color:#515a6b;font-size:13px;margin-top:8px;border-top:1px dashed #dfe3ea;padding-top:8px}
.zx3730-wide{width:100%;min-height:48px;border:0;border-radius:13px;background:#111827;color:#fff;font-weight:900;font-size:15px;margin-top:12px}
.zx3730-wide.ghost{background:#eef1ff;color:#5264f2}
.zx3730-empty{padding:44px 16px;text-align:center;color:#7b8393;font-size:14px;line-height:1.7}
.zx3730-hint{font-size:11.5px;color:#7b8393;line-height:1.6;margin-top:10px;text-align:center}

/* 背诵模式：顶部课程/章节/本次进度 + 选题 */
.zx3730-topbar{background:#fff;border-radius:18px;padding:13px 14px;margin-top:12px;box-shadow:0 6px 20px rgba(20,25,40,.05)}
.zx3730-tb-name{font-size:16px;font-weight:800;line-height:1.4}
.zx3730-tb-ch{font-size:12px;color:#7b8393;margin-top:3px}
.zx3730-tb-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:9px}
.zx3730-tb-goal{font-size:13px;font-weight:800;color:#5264f2}
.zx3730-pick-btn{border:0;border-radius:11px;background:#eef1ff;color:#5264f2;font-weight:800;font-size:12.5px;padding:8px 14px}

/* 底部导航：上一题 / 换一题 / 下一题 / AI 学习助手（无检测评级按钮） */
.zx3730-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:16px}
.zx3730-nav button{min-height:48px;border:0;border-radius:13px;background:#eef0f4;color:#26303f;font-weight:800;font-size:14px}
.zx3730-nav button:active{background:#dfe3ec}
.zx3730-ai{width:100%;min-height:48px;border:0;border-radius:13px;background:#eef1ff;color:#4053c8;font-weight:800;font-size:14.5px;margin-top:8px}

/* 进入页：范围提示 / 本次目标 / 真实行为统计 */
.zx3730-scope{background:#eef1ff;border-radius:16px;padding:12px 14px;margin-top:12px;color:#3f4bb8;font-size:12.5px;line-height:1.65}
.zx3730-scope-s{color:#5b66b8;margin-top:4px;font-size:11.5px}
.zx3730-goal{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.zx3730-goal button{flex:1 1 28%;min-height:42px;border:0;border-radius:12px;background:#eef0f4;font-weight:800;font-size:13px}
.zx3730-goal button.on{background:#111827;color:#fff}
.zx3730-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.zx3730-stats div{background:#f7f8fb;border-radius:12px;padding:10px 8px;text-align:center;min-width:0}
.zx3730-stats b{display:block;font-size:14px;line-height:1.4;word-break:break-all}
.zx3730-stats span{display:block;font-size:11px;color:#7b8393;margin-top:4px}

/* AI 辅助内容：与标准答案严格分区 */
.zx3730-aid{background:#f4f6ff;border:1px dashed #c7cdf5;border-radius:14px;padding:12px;margin-top:12px;font-size:13px;line-height:1.75;color:#2b3358;white-space:pre-wrap}
.zx3730-aid>b{display:block;font-size:11.5px;color:#5264f2;margin-bottom:6px}
.zx3730-aid-body{white-space:pre-wrap}
.zx3730-aid-note{font-size:11.5px;color:#6b7280;margin-top:9px;border-top:1px dashed #dfe3ea;padding-top:8px}
.zx3730-aid-ok{font-size:11.5px;color:#18754c;margin-top:6px}
.zx3730-aid-warn{font-size:11.5px;color:#bf4242;margin-top:6px}
.zx3730-ai-ops{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:10px}
.zx3730-ai-ops button{min-height:44px;border:0;border-radius:12px;background:#eef0f4;font-weight:800;font-size:13px;color:#26303f}

/* 浮层：换一题范围 / AI 学习助手 / 选题 */
.zx3730-panel{position:absolute;inset:0;z-index:5;background:rgba(16,22,38,.46);display:flex;align-items:flex-end;justify-content:center}
.zx3730-panel-in{width:min(100%,560px);max-height:80vh;overflow:auto;background:#fff;border-radius:22px 22px 0 0;padding:18px 16px calc(20px + env(safe-area-inset-bottom))}
.zx3730-panel-t{font-size:16px;font-weight:800;margin-bottom:6px}
.zx3730-panel-s{font-size:11.5px;color:#7b8393;line-height:1.6;margin-bottom:10px}
.zx3730-panel-in>button{width:100%;min-height:46px;border:0;border-radius:12px;background:#eef0f4;color:#26303f;font-weight:800;font-size:14px;margin-top:8px}
.zx3730-panel-in>button:disabled{opacity:.5}
.zx3730-panel-in>button.ghost{background:#f3f4f7;color:#6b7280}
.zx3730-panel-sel{display:flex;flex-direction:column;gap:6px;margin-top:10px;max-height:220px;overflow:auto}
.zx3730-panel-sel button{width:100%;min-height:38px;border:0;border-radius:10px;background:#f7f8fb;text-align:left;padding:8px 10px;font-size:12.5px;color:#26303f;margin:0}
.zx3730-pick-chs{display:flex;flex-wrap:wrap;gap:6px}
.zx3730-pick-chs button{border:0;border-radius:10px;background:#f1f3f7;padding:8px 10px;font-size:12px;color:#374151}
.zx3730-pick-chs button.on{background:#5867ef;color:#fff}
.zx3730-pick-count{font-size:12px;color:#7b8393;margin-bottom:8px}
.zx3730-pick-list{display:flex;flex-direction:column}
.zx3730-pick-item{display:flex;gap:9px;align-items:flex-start;padding:10px 4px;border-top:1px solid #f0f2f6;font-size:13.5px;line-height:1.6;cursor:pointer}
.zx3730-pick-item .n{color:#7b8393;min-width:20px;font-size:12px;padding-top:2px}
.zx3730-toast{position:absolute;left:50%;bottom:26px;transform:translateX(-50%);z-index:9;background:#111827;color:#fff;border-radius:12px;padding:10px 16px;font-size:12.5px;max-width:86%;text-align:center}
.zx3730-toast[hidden]{display:none}

/* ---------------- 管理端 ---------------- */
.zx3730-admin .row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.zx3730-admin input[type=text],.zx3730-admin input[type=date],.zx3730-admin select,.zx3730-admin input[type=number]{font:inherit;padding:9px 10px;border:1px solid #d8dbe3;border-radius:10px;background:#fff}
.zx3730-admin input[type=file]{font:inherit;padding:8px 0}
.zx3730-admin textarea{width:100%;font:inherit;padding:9px 10px;border:1px solid #d8dbe3;border-radius:10px;min-height:64px;line-height:1.6}
.zx3730-admin .muted{color:#6b7280;font-size:12px;line-height:1.6}
.zx3730-admin .st{font-size:12px;color:#374151;margin-top:8px;word-break:break-all}
.zx3730-admin .prog{height:7px;background:#e5e7eb;border-radius:999px;overflow:hidden;margin-top:8px}
.zx3730-admin .prog i{display:block;height:100%;background:#5867ef;width:0}
.zx3730-admin .list{margin-top:10px;display:flex;flex-direction:column;gap:6px}
.zx3730-admin .li{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:9px 10px;border:1px solid #eceef3;border-radius:10px;background:#fbfcfe;font-size:13px}
.zx3730-admin .tag{font-size:11px;padding:2px 7px;border-radius:999px;background:#eef1ff;color:#5264f2;font-weight:700}
.zx3730-admin .tag.warn{background:#fff3e6;color:#a3661b}
.zx3730-admin .tag.ok{background:#eaf8f0;color:#18754c}
.zx3730-admin .chap{border:1px solid #eceef3;border-radius:12px;margin-top:8px;overflow:hidden}
.zx3730-admin .chap>summary{padding:10px 12px;cursor:pointer;font-weight:700;font-size:13.5px;background:#fafbfd}
.zx3730-admin .item{padding:10px 12px;border-top:1px solid #f1f3f7}
.zx3730-admin .item .q{font-weight:700;font-size:13px;line-height:1.6;margin-bottom:6px}
.zx3730-admin .item label{display:block;font-size:11px;color:#6b7280;margin:6px 0 3px}
.zx3730-admin .item .btns{display:flex;gap:8px;margin-top:8px}
.zx3730-admin .item button{font:inherit;font-size:12px;padding:7px 11px;border-radius:9px;border:0;background:#5867ef;color:#fff;font-weight:700}
.zx3730-admin .item button.ghost{background:#eef1ff;color:#5264f2}
.zx3730-admin table{width:100%;border-collapse:collapse;font-size:12.5px;margin-top:8px}
.zx3730-admin th,.zx3730-admin td{border-bottom:1px solid #eef0f4;padding:7px 6px;text-align:left}
.zx3730-admin th{color:#6b7280;font-weight:600}
@media(max-width:520px){.zx3730-sheet{border-radius:26px 26px 0 0}.zx3730-q{font-size:16.5px}}
/* 管理端 · 章节/小节/题目折叠预览 */
.zx3730-admin details.item>summary{list-style:none;display:flex;flex-wrap:wrap;gap:6px;align-items:center;background:#fafbfd;border-radius:10px}
.zx3730-admin details.item>summary::-webkit-details-marker{display:none}
.zx3730-admin details.chap>summary{font-size:13px}
.zx3730-admin pre{font-size:11.5px;line-height:1.65;max-height:220px;overflow:auto;background:#fbfcfe;border:1px solid #eceef3;border-radius:10px;padding:8px 10px;white-space:pre-wrap;word-break:break-word}
.zx3730-admin .item textarea{min-height:70px}
