/* 阅读科学管理后台样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: #f0f2f5;
  color: #333;
  font-size: 14px;
}

/* 登录页 */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1E5AA8 0%, #5BA3D0 100%);
}

.login-box {
  background: #fff;
  border-radius: 16px;
  padding: 48px 40px;
  width: 400px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.login-logo {
  text-align: center;
  margin-bottom: 36px;
}

.login-logo .logo-icon {
  font-size: 56px;
  margin-bottom: 12px;
}

.login-logo-img {
  width: 200px;
  height: auto;
  object-fit: contain;
  margin-bottom: 0;
}

.login-logo h1 {
  font-size: 28px;
  color: #1E5AA8;
  margin-bottom: 4px;
}

.login-logo p {
  color: #999;
  font-size: 14px;
}

.login-form .form-group {
  margin-bottom: 20px;
}

.login-form label {
  display: block;
  margin-bottom: 8px;
  color: #555;
  font-weight: 500;
}

.login-form input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.login-form input:focus {
  outline: none;
  border-color: #1E5AA8;
}

.login-tip {
  text-align: center;
  margin-top: 20px;
  color: #bbb;
  font-size: 12px;
}

/* 登录页底部备案信息（湖北/武汉标准：主体 + ICP号，ICP号链接到工信部） */
.login-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 6px;
  gap: 14px;
  font-size: 12px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: .3px;
}
.login-footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}
.login-footer a:hover {
  text-decoration: underline;
}
.beian-police {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.beian-icon {
  width: 14px;
  height: 15px;
  object-fit: contain;
  vertical-align: middle;
}

/* 按钮 */
.btn-primary {
  background: #1E5AA8;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
}

.btn-primary:hover { background: #1a4e94; }

.btn-outline {
  background: #fff;
  color: #1E5AA8;
  border: 1px solid #1E5AA8;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
}

.btn-outline:hover { background: #f0f7ff; }

.btn-danger {
  background: #fff;
  color: #e74c3c;
  border: 1px solid #e74c3c;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
}

.btn-success {
  background: #fff;
  color: #27ae60;
  border: 1px solid #27ae60;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
}

.btn-block { width: 100%; padding: 14px; font-size: 16px; }

/* 主布局 */
.main-app {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 168px;
  background: #001529;
  color: #fff;
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
}

.sidebar-logo {
  cursor: pointer;
  padding: 10px 8px;
  border-bottom: 1px solid #1f3a5f;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-logo .logo-icon { font-size: 24px; }

.sidebar-logo-img {
  width: 110px;
  height: 110px;
  object-fit: contain;
}

.sidebar-nav {
  flex: 1;
  padding: 8px 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #1f3a5f #001529;
}

.sidebar-nav::-webkit-scrollbar { width: 6px; }
.sidebar-nav::-webkit-scrollbar-track { background: #001529; }
.sidebar-nav::-webkit-scrollbar-thumb { background: #1f3a5f; border-radius: 3px; }

/* 侧栏分组框：每组菜单套一个浅色描边圆角框，组间留间隔 */
.nav-group {
  margin: 6px 8px;
  border: 1px solid #234268;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

.nav-item {
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #a0b4d0;
  transition: all 0.2s;
  position: relative;
  font-size: 14px;
}

.nav-item:hover {
  background: #1f3a5f;
  color: #fff;
}

.nav-item.active {
  background: #f08a1e;
  color: #fff;
}

.nav-icon { font-size: 18px; }

.badge {
  position: absolute;
  right: 16px;
  background: #e74c3c;
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
}

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid #1f3a5f;
}

.user-info {
  margin-bottom: 12px;
  font-size: 14px;
}

.btn-logout {
  width: 100%;
  background: transparent;
  color: #a0b4d0;
  border: 1px solid #1f3a5f;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
}

.btn-logout:hover { color: #fff; border-color: #e74c3c; }

/* 主内容 */
.main-content {
  flex: 1;
  margin-left: 168px;
  padding: 24px;
  padding-bottom: 60px;
}

.app-footer {
  position: fixed;
  bottom: 0;
  left: 168px;
  right: 0;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  color: #999;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  z-index: 100;
}
.app-footer a {
  color: #999;
  text-decoration: none;
}
.app-footer a:hover {
  color: #1E5AA8;
}

.page { display: none; }
.page.active { display: block; }

.page-title {
  font-size: 22px;
  margin-bottom: 24px;
  color: #1a1a1a;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.page-header .page-title { margin-bottom: 0; }

/* 统计卡片 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

/* 会员管理顶部紧凑费用卡 */
.fee-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
.fee-card {
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  overflow: hidden;
}
.fee-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
}
.fee-card.blue::before { background: #4a90e2; }
.fee-card.green::before { background: #34a86b; }
.fee-card.orange::before { background: #f0a030; }
.fee-card.purple::before { background: #9b6bd6; }
.fee-dot {
  width: 30px; height: 30px;
  flex: 0 0 30px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.fee-card.blue .fee-dot { background: #eef5fd; }
.fee-card.green .fee-dot { background: #ecf8f1; }
.fee-card.orange .fee-dot { background: #fdf4e6; }
.fee-card.purple .fee-dot { background: #f6effd; }
.fee-info { min-width: 0; }
.fee-num { font-size: 19px; font-weight: 700; color: #1a1a1a; line-height: 1.2; white-space: nowrap; }
.fee-label { font-size: 12px; color: #8a8f99; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1200px) { .fee-cards { grid-template-columns: repeat(2, 1fr); } }

.stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.stat-icon.blue { background: #e8f2fb; }
.stat-icon.green { background: #e8f8ef; }
.stat-icon.orange { background: #fff3e0; }
.stat-icon.purple { background: #f3e8ff; }

.stat-num {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
}

.stat-label {
  font-size: 13px;
  color: #888;
  margin-top: 4px;
}

/* 图表 */
.chart-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.chart-card-header h3 { margin: 0; }
.chart-card-header select { padding: 4px 10px; border-radius: 6px; border: 1px solid #ddd; font-size: 13px; }
.chart-card-header input[type="date"], .chart-card-header input[type="month"] { padding: 4px 8px; border-radius: 6px; border: 1px solid #ddd; font-size: 13px; }

.chart-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.chart-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.chart-card h3 {
  font-size: 16px;
  margin-bottom: 16px;
}

.chart-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 表格卡片 */
.table-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-bottom: 24px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.card-header h3 { font-size: 16px; }

.table-scroll {
  max-height: 500px;
  overflow-y: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  text-align: left;
  padding: 12px;
  background: #f8f9fa;
  font-weight: 600;
  font-size: 13px;
  color: #555;
  border-bottom: 2px solid #eee;
}

.data-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
}

.data-table tr:hover { background: #fafbfc; }

.data-table img {
  width: 40px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
}

/* 状态标签 */
.status-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
}

.status-active { background: #e8f8ef; color: #27ae60; }
.status-disabled { background: #f5f5f5; color: #999; }
.status-formal { background: #fff7e6; color: #fa8c16; }
.status-community { background: #e6f7ff; color: #1890ff; }

.level-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  background: #1E5AA8;
  color: #fff;
  margin-right: 4px;
}

.category-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
}
.category-精读 { background: #e3f2fd; color: #1976d2; }
.category-深读 { background: #f3e5f5; color: #7b1fa2; }
.category-泛读 { background: #fff3e0; color: #f57c00; }
.status-trial { background: #e8f2fb; color: #1E5AA8; }
.status-teacher { background: #f3e8ff; color: #7c3aed; }
.status-reviewing { background: #fff7e6; color: #fa8c16; }
.status-completed { background: #e8f8ef; color: #27ae60; }
.status-rejected { background: #fff1f0; color: #e74c3c; }
.status-reading { background: #e6f7ff; color: #1890ff; }

/* 筛选栏 */
.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.filter-bar select,
.filter-bar input {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 13px;
}

.filter-bar input { flex: 1; max-width: 300px; }

/* 分段切换（财务周期） */
.seg-tabs { display: inline-flex; border: 1px solid #e3a85a; border-radius: 8px; overflow: hidden; }
.seg-tabs button { border: none; background: #fff; color: #b07a2e; padding: 7px 16px; font-size: 13px; cursor: pointer; }
.seg-tabs button + button { border-left: 1px solid #f0d9b5; }
.seg-tabs button.on { background: #f08a1e; color: #fff; }

/* 财务-支出类别下拉（保留原生三角） */
.fin-cat-select {
  border: 1px solid #f0c896;
  background: #FDF0E2;
  color: #C77B22;
  border-radius: 6px;
  padding: 3px 6px;
  font-size: 12px;
  max-width: 132px;
  cursor: pointer;
}

/* Tab栏 */
.tab-bar {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border-bottom: 2px solid #eee;
}

.tab {
  padding: 12px 24px;
  cursor: pointer;
  color: #666;
  font-size: 14px;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.tab.active {
  color: #1E5AA8;
  border-bottom-color: #1E5AA8;
  font-weight: 600;
}

.tab-badge {
  display: inline-block;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  padding: 0 5px;
  margin-left: 6px;
  background: #e74c3c;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  border-radius: 9px;
  vertical-align: middle;
}

/* 区块卡片 */
.section-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.section-card h3 {
  font-size: 16px;
  margin-bottom: 20px;
}

/* 表单 */
.form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: #555;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

.form-group textarea { resize: vertical; }

/* 模态框 */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-box {
  background: #fff;
  border-radius: 12px;
  width: 500px;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 { font-size: 18px; }

.modal-close {
  cursor: pointer;
  font-size: 20px;
  color: #999;
  background: none;
  border: none;
}

.modal-body { padding: 24px; }

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* 操作按钮组 */
.action-btns {
  display: flex;
  gap: 8px;
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #999;
}

/* 响应式 */
@media (max-width: 1200px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .chart-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

.book-select-item {
  padding: 12px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background 0.2s;
}
.book-select-item:hover {
  background: #f0f7ff;
}
.book-select-item.disabled {
  cursor: not-allowed;
  opacity: 0.6;
  display: flex;
  align-items: center;
}
.book-select-item.disabled:hover {
  background: transparent;
}


.grade-group-row {
  background: #f0f7ff !important;
}
.grade-group-row td {
  padding: 10px 15px !important;
  font-size: 15px;
  color: #1E5AA8;
  border-left: 3px solid #1E5AA8;
}

/* 销课金额汇总 */
.finance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 15px; }
.finance-card { padding: 12px 15px; border-radius: 8px; }
.finance-card.sold { background: #e8f5e9; }
.finance-card.unsold { background: #fff3e0; }
.finance-label { font-size: 13px; color: #666; margin-bottom: 4px; }
.finance-value { font-size: 16px; font-weight: 700; color: #333; }
.btn-sm { padding: 2px 8px; font-size: 12px; }

/* ============ 练习题库 ============ */
.qb-tip { background:#E8F2FB; border:1px solid #c7ddf5; color:#1E5AA8; border-radius:8px;
  padding:9px 14px; font-size:13px; line-height:1.6; margin-bottom:16px; }
.qb-app-grid { display:flex; flex-wrap:wrap; gap:20px; }
.qb-app-card { background:#fff; border-radius:12px; box-shadow:0 2px 8px rgba(0,0,0,.06);
  padding:24px; width:380px; max-width:100%; display:flex; gap:18px; align-items:flex-start;
  position:relative; transition:box-shadow .2s, transform .2s; cursor:pointer; }
.qb-app-card:hover { box-shadow:0 6px 18px rgba(30,90,168,.16); transform:translateY(-2px); }
.qb-app-icon { width:58px; height:58px; border-radius:14px; flex-shrink:0;
  background:linear-gradient(135deg,#36CFC9,#3D9BFF); color:#fff; font-size:30px;
  display:flex; align-items:center; justify-content:center; }
.qb-app-body { flex:1; min-width:0; }
.qb-app-name { font-size:17px; font-weight:700; color:#222; }
.qb-app-desc { font-size:13px; color:#888; line-height:1.6; margin:6px 0 12px; }
.qb-stat-row { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:8px; }
.qb-stat { background:#f2f6fb; color:#1E5AA8; border-radius:999px; padding:3px 12px; font-size:12px; }
.qb-stat.custom { background:#fff3e6; color:#fa8c16; }
.qb-app-enter { color:#1E5AA8; font-size:13px; font-weight:600; }
.qb-app-sync { font-size:12px; color:#aaa; margin-top:4px; }
.qb-app-placeholder { border:2px dashed #d5dce5; border-radius:12px; width:300px; max-width:100%;
  min-height:150px; display:flex; flex-direction:column; align-items:center; justify-content:center;
  color:#aab4c0; gap:8px; background:#fafbfd; }
.qb-app-placeholder .plus { font-size:34px; line-height:1; }
.qb-app-placeholder .ph-t { font-size:14px; }
.qb-app-placeholder .ph-s { font-size:12px; color:#c2cad4; }

/* 题库版本卡片角标 */
.qb-edition-tag { position:absolute; top:0; right:0; font-size:12px; font-weight:600; padding:4px 12px; border-radius:0 12px 0 10px; }
.qb-edition-tag.current { background:#e8f3ff; color:#1E5AA8; }
.qb-edition-tag.archived { background:#f0f1f3; color:#8a93a0; }
.qb-app-card.is-archived { background:#fafbfc; }
.qb-app-card.is-archived .qb-app-icon { background:linear-gradient(135deg,#b9c0c9,#98a1ad); }
.qb-app-card.is-archived .qb-app-name { color:#6b7280; }
.qb-app-card.is-archived:hover { box-shadow:0 6px 18px rgba(120,130,145,.18); }

.qb-picker .qb-row { display:flex; align-items:flex-start; padding:10px 0; }
.qb-picker .qb-row + .qb-row { border-top:1px dashed #eef1f5; }
.qb-row-label { flex:0 0 56px; font-size:13px; color:#888; padding-top:6px; }
.qb-chip-bar { flex:1; display:flex; flex-wrap:wrap; gap:8px; }
.qb-chip { border:1px solid #cdd9e8; background:#fff; color:#456; border-radius:999px;
  padding:5px 14px; font-size:13px; cursor:pointer; transition:all .15s; }
.qb-chip:hover { border-color:#1E5AA8; color:#1E5AA8; }
.qb-chip.active { background:#1E5AA8; border-color:#1E5AA8; color:#fff; }
.qb-chip .dot { display:inline-block; width:6px; height:6px; border-radius:50%; background:#fa8c16;
  margin-left:5px; vertical-align:middle; }
.qb-chip.active .dot { background:#ffd591; }

.qb-level-head { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:6px; }
.qb-level-meta { font-size:12px; color:#999; }
.qb-dirty { background:#fff7e6; border:1px solid #ffd591; color:#d46b08; border-radius:8px;
  padding:8px 14px; font-size:13px; margin:10px 0; }
.qb-qlist { margin-top:12px; display:flex; flex-direction:column; gap:12px; }
.qb-q { border:1px solid #eef1f5; border-radius:10px; padding:14px 16px; background:#fcfdfe; position:relative; }
.qb-q:hover { border-color:#d3e0f0; }
.qb-q-top { display:flex; align-items:center; gap:8px; margin-bottom:8px; padding-right:130px; flex-wrap:wrap; }
.qb-q-no { width:26px; height:26px; border-radius:8px; background:#1E5AA8; color:#fff; font-size:13px;
  display:flex; align-items:center; justify-content:center; font-weight:600; flex-shrink:0; }
.qb-tag { border-radius:6px; padding:2px 9px; font-size:12px; }
.qb-tag-choice { background:#E8F2FB; color:#1E5AA8; }
.qb-tag-judge { background:#fff3e6; color:#fa8c16; }
.qb-tag-match { background:#f3eafc; color:#722ed1; }
.qb-tag-multi { background:#e6fffb; color:#08979c; }
.qb-tag-write { background:#fff0f6; color:#c41d7f; }
.qb-tag-lv { background:#f2f3f5; color:#888; }
.qb-wg { font-size:13px; color:#555; line-height:1.6; }
.qb-q-stem { font-size:14px; color:#222; line-height:1.6; font-weight:600; }
.qb-opts { display:grid; grid-template-columns:1fr 1fr; gap:6px 20px; margin:8px 0 2px; }
.qb-opt { font-size:13px; color:#555; padding:3px 8px; border-radius:6px; }
.qb-opt.right { background:#e8f8ef; color:#1d7a43; font-weight:600; }
.qb-opt .mk { color:#bbb; margin-right:6px; }
.qb-opt.right .mk { color:#27ae60; }
.qb-judge { font-size:13px; margin:6px 0; color:#1d7a43; font-weight:600; }
.qb-pairs { display:flex; flex-direction:column; gap:5px; margin:8px 0 2px; }
.qb-pair { font-size:13px; color:#555; }
.qb-pair .arrow { color:#722ed1; margin:0 10px; }
.qb-ex { margin-top:8px; background:#f6f7f9; border-radius:8px; padding:8px 12px; font-size:12.5px;
  color:#777; line-height:1.6; }
.qb-ex b { color:#555; }
.qb-q-actions { position:absolute; top:12px; right:14px; display:flex; gap:8px; }
.qb-q-actions .btn-outline, .qb-q-actions .btn-danger { padding:4px 12px; font-size:12px; }
.qb-empty { text-align:center; color:#999; font-size:13px; padding:40px 0; }

/* 短文配图行（读写课编辑器）*/
.qb-passage-img-bar { background:#f4f9ff; border:1px solid #d8e8fa; border-radius:10px; padding:12px 14px; margin:10px 0; }
.qb-pi-title { font-size:14px; font-weight:700; color:#1E5AA8; margin-bottom:14px; }
.qb-pi-block { padding:14px 16px; border:1px solid #e8eef7; border-radius:10px; background:#f8fbff; margin-bottom:12px; }
.qb-pi-block:last-child { margin-bottom:0; }
.qb-pi-label { font-size:13px; font-weight:600; color:#1E5AA8; margin-bottom:10px; }
.qb-pi-row { display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.qb-pi-thumb { width:120px; height:90px; border-radius:8px; background:#fff; border:1px solid #e3e9f2;
  display:flex; align-items:center; justify-content:center; overflow:hidden; flex-shrink:0; }
.qb-pi-thumb img { width:100%; height:100%; object-fit:cover; }
.qb-pi-empty { font-size:12px; color:#aaa; }
.qb-pi-actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.qb-pi-hint { font-size:12px; color:#999; }

/* 题目编辑弹窗 */
.qbf-form .form-group { margin-bottom:14px; }
.qbf-opts, .qbf-pairs { display:flex; flex-direction:column; gap:8px; }
.qbf-opt-row, .qbf-pair-row { display:flex; align-items:center; gap:8px; }
.qbf-opt-row input[type=radio], .qbf-judge-row input[type=radio] { margin:0; width:auto; }
.qbf-opt-row input[type=text], .qbf-pair-row input[type=text] { flex:1; }
.qbf-mini { padding:4px 10px; font-size:12px; }
.qb-fields-inline { display:flex; gap:12px; }
.qb-fields-inline .form-group { flex:1; }

/* 练习题库卡片上的“答题数据”入口按钮 */
.qb-app-data-btn { margin-top:10px; padding:5px 14px; font-size:13px; }
#qbAlPager button:disabled { opacity:.5; cursor:not-allowed; }
#qbAlTable td, #qbAlTable th { white-space:normal; }

/* ============ 课本注音（题库只读预览：拼音在汉字正上方、独立成格） ============ */
.rb { display:inline-flex; flex-direction:column; align-items:center; vertical-align:bottom; margin:0 1px; line-height:1; }
.rb .py { font-size:.62em; line-height:1.15; color:#8aa0c0; white-space:nowrap; }
.rb .pye { visibility:hidden; }
.rb .hz { font-size:1em; line-height:1.4; }
.qb-q-stem { line-height:2; }
.qb-opt { line-height:1.9; }
.qb-pair { line-height:1.9; }
.qb-judge { line-height:1.85; }
.qb-ex { line-height:1.85; }
.qb-wg { line-height:1.85; }

/* ===== 练习题库·课次班级布置记录 ===== */
#qbAssignLogCard .qb-al-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
#qbAssignLogCard .qb-al-title { font-size:15px; font-weight:700; color:#1f2329; display:flex; align-items:center; gap:8px; }
#qbAssignLogCard .qb-al-ic { width:24px; height:24px; border-radius:6px; background:#eaf1fe; display:inline-flex; align-items:center; justify-content:center; font-size:13px; }
#qbAssignLogCard .qb-al-sum { font-size:13px; color:#8a93a5; white-space:nowrap; }
#qbAssignLogCard .qb-al-sum b { color:#2f55d4; font-weight:600; }
#qbAssignLogCard .qb-al-sub { font-size:12.5px; color:#9aa2b3; margin:4px 0 10px 32px; }
#qbAssignLogCard .qb-al-scroll { max-height:none; }
#qbAssignLogCard .qb-al-table th { font-weight:500; color:#8a93a5; font-size:13px; white-space:nowrap; }
#qbAssignLogCard .qb-al-table td { font-size:13.5px; vertical-align:middle; }
#qbAssignLogCard .qb-al-cls { font-weight:600; color:#263044; }
#qbAssignLogCard .qb-al-time { color:#7a8398; font-variant-numeric:tabular-nums; white-space:nowrap; }
#qbAssignLogCard .qb-al-seq { display:inline-block; min-width:42px; text-align:center; background:#f1f4fb; color:#3d4f86; border-radius:6px; padding:3px 8px; font-size:12.5px; white-space:nowrap; }
#qbAssignLogCard .qb-al-badge { display:inline-flex; align-items:center; gap:6px; font-size:12.5px; padding:4px 11px; border-radius:20px; }
#qbAssignLogCard .qb-al-badge.active { background:#e8f7ee; color:#1a9e54; }
#qbAssignLogCard .qb-al-badge .qb-al-dot { width:7px; height:7px; border-radius:50%; background:currentColor; }
#qbAssignLogCard .qb-al-badge.revoked { display:inline-flex; background:#f1f2f5; color:#9aa1af; }
#qbAssignLogCard .qb-al-rmeta { font-size:11.5px; color:#aeb5c2; margin-top:5px; font-weight:400; line-height:1.5; }
#qbAssignLogCard tr.qb-al-revoked td { color:#a7aebc; }
#qbAssignLogCard tr.qb-al-revoked .qb-al-cls { color:#a7aebc; text-decoration:line-through; font-weight:500; }
#qbAssignLogCard tr.qb-al-revoked .qb-al-seq { background:#f4f5f7; color:#a7aebc; }
#qbAssignLogCard .qb-al-seq.qb-al-seq-dash { background:transparent; color:#aab1bf; }
#qbAssignLogCard .qb-al-cls-name { font-weight:600; color:#2f3a52; }
#qbAssignLogCard .qb-al-foot { margin-top:10px; padding-top:10px; border-top:1px dashed #eef1f6; font-size:12px; color:#a2aab9; line-height:1.6; }


/* ===== 侧边栏手风琴分组 ===== */
.sidebar-nav .acc {
  margin: 6px 8px;
  border: 1px solid #234268;
  border-radius: 8px;
  background: rgba(255,255,255,.025);
  overflow: hidden;
}
.acc-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 13px;
  cursor: pointer;
  color: #cdd9ec;
  font-size: 14px;
  font-weight: 600;
  user-select: none;
}
.acc-toggle:hover { background: rgba(255,255,255,.05); }
.acc-arrow {
  font-size: 10px;
  color: #7f97b8;
  width: 11px;
  display: inline-block;
  transition: transform .15s;
}
.acc.open .acc-arrow { transform: rotate(90deg); }
.acc-name { flex: 1; }
.acc-badge {
  background: #e74c3c;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  min-width: 19px;
  height: 19px;
  border-radius: 9px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}
.acc-sub { display: none; }
.acc.open .acc-sub { display: block; }
.nav-item.sub {
  padding: 11px 14px 11px 33px;
  font-size: 13.5px;
}
.nav-item.sub .nav-icon { font-size: 16px; }

/* ============================================================
 * 英语阅读后台
 * ============================================================ */
/* 学科切换器 */
.subject-switch { display: flex; margin: 6px 12px 12px; border: 1px solid #234268; border-radius: 8px; overflow: hidden; }
.subj-btn { flex: 1; background: transparent; border: 0; color: #a0b4d0; font-size: 12.5px; padding: 8px 4px; cursor: pointer; text-align: center; line-height: 1.3; }
.subj-btn + .subj-btn { border-left: 1px solid #234268; }
.subj-btn.active { background: #f08a1e; color: #fff; font-weight: 600; }
.subj-btn.disabled, .subj-btn:disabled { opacity: .4; cursor: not-allowed; }

/* 英语主内容：en-mode 下隐藏所有中文页面，显示英语容器 */
#enMain { display: none; }
.main-content.en-mode .page { display: none !important; }
.main-content.en-mode #enMain { display: block; }

/* 英语侧栏 */
#enSidebar .nav-item { display: flex; align-items: center; gap: 9px; padding: 12px 16px; cursor: pointer; color: #a0b4d0; font-size: 14px; }
#enSidebar .nav-item .nav-icon { font-size: 17px; width: 20px; text-align: center; }
#enSidebar .nav-item.active { background: #f08a1e; color: #fff; }

/* 分页 */
.en-pager { display: flex; justify-content: flex-end; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; color: #666; flex-wrap: wrap; }
.en-pg { border: 1px solid #d9d9d9; background: #fff; border-radius: 6px; padding: 5px 11px; cursor: pointer; color: #333; }
.en-pg.on { background: #1E5AA8; color: #fff; border-color: #1E5AA8; }
.en-pg-dots { padding: 0 3px; color: #999; }
.en-pg-info { margin-right: 8px; color: #888; }
.list-pager { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 12px 4px 4px; }

/* 班级卡片 */
.en-class-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.en-class-card { background: #fff; border-radius: 12px; padding: 18px; box-shadow: 0 2px 8px rgba(0,0,0,.06); display: flex; flex-direction: column; gap: 7px; }
.en-class-name { font-size: 16px; font-weight: 700; color: #1f2329; }
.en-class-line { font-size: 13.5px; color: #555; }
.en-class-desc { font-size: 12.5px; color: #999; min-height: 18px; }
.en-class-tag { display:inline-block; background:#fff1ea; color:#e05b3c; border-radius:5px; padding:2px 9px; font-size:12.5px; font-weight:600; }
.en-class-ops { margin-top: auto; padding-top: 8px; display: flex; gap: 8px; }
.en-class-ops .btn-outline, .en-class-ops .btn-danger { padding: 5px 12px; font-size: 12.5px; }

/* 班级弹窗双列勾选 */
.en-class-modal { max-width: 880px; width: 880px; }
.en-class-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.en-picker-col { border: 1px solid #eee; border-radius: 10px; padding: 12px; min-width: 0; }
.en-picker-label { font-size: 13.5px; font-weight: 700; color: #1f2329; margin-bottom: 8px; }
.en-picker-search { width: 100%; box-sizing: border-box; padding: 7px 10px; border: 1px solid #ddd; border-radius: 6px; font-size: 13px; margin-bottom: 8px; }
.en-check-list { max-height: 260px; overflow-y: auto; border: 1px solid #f0f0f0; border-radius: 8px; padding: 6px; }
.en-check-item { display: flex; align-items: center; gap: 7px; padding: 5px 6px; font-size: 13.5px; cursor: pointer; border-radius: 6px; }
.en-check-item:hover { background: #f5f7fa; }

/* 词卡网格 */
.en-wc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.en-wc-card { background: #fff; border-radius: 12px; padding: 16px 14px; box-shadow: 0 2px 8px rgba(0,0,0,.06); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.en-wc-img { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; }
.en-wc-emoji { width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; font-size: 64px; line-height: 1; }
.en-wc-empty { width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; font-size: 40px; background: #f5f6f8; border-radius: 12px; color: #bbb; }
.en-wc-text { width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; background: #fff4e8; border-radius: 12px; color: #ff8f1f; font-weight: 800; font-size: 22px; text-align: center; padding: 4px; word-break: break-word; line-height: 1.1; box-sizing: border-box; }
.en-wc-word { font-size: 18px; font-weight: 700; color: #1f2329; display: flex; align-items: center; gap: 7px; }
.en-wc-pos { font-size: 11px; font-weight: 600; color: #ff8f1f; background: #fff4e8; border-radius: 6px; padding: 1px 6px; }
.en-wc-play { border: 0; background: transparent; cursor: pointer; font-size: 16px; padding: 0; }
.en-wc-phonetic { font-size: 13px; color: #999; min-height: 18px; }
.en-wc-meaning { font-size: 13px; color: #5a6072; margin-top: 2px; }
.en-wc-ops { display: flex; gap: 8px; margin-top: 4px; }
.en-wc-ops .btn-outline, .en-wc-ops .btn-danger { padding: 4px 11px; font-size: 12px; }
.en-wc-upload-preview { margin-top: 8px; }
.en-wc-upload-preview img { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; }

/* 批量删除 */
.en-batch-bar { display: flex; align-items: center; gap: 10px; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; flex-wrap: wrap; }
.en-batch-count { color: #9a3412; font-size: 14px; margin-right: 4px; }
.en-batch-count b { color: #c2410c; font-size: 16px; }
.en-batch-bar .btn-outline, .en-batch-bar .btn-danger { padding: 5px 13px; font-size: 13px; }
.en-wc-select { position: relative; cursor: pointer; border: 2px solid transparent; transition: border-color .15s, box-shadow .15s; }
.en-wc-check { position: absolute; top: 8px; left: 8px; width: 24px; height: 24px; border-radius: 6px; border: 2px solid #d1d5db; background: #fff; color: #fff; font-size: 15px; line-height: 20px; text-align: center; z-index: 2; }
.en-wc-check.on { background: #ea580c; border-color: #ea580c; }
.en-wc-card.selected { border-color: #ea580c; box-shadow: 0 0 0 2px rgba(234,88,12,.18); }

/* 系统设置 2×2 */
.en-settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.en-setting-card { background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.en-setting-card h3 { margin: 0 0 14px; font-size: 16px; color: #1f2329; }
.en-store-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f0f0f0; font-size: 13.5px; flex-wrap: wrap; }
.en-store-addr { color: #999; font-size: 12.5px; flex: 1; }

/* 窄屏适配 */
@media (max-width: 900px) {
  .en-class-picker, .en-settings-grid { grid-template-columns: 1fr; }
  .en-class-modal { width: 94vw; }
}

/* ===== 英文练习题库：练习类型 / 教材卡片 ===== */
.en-qb-back { font-size: 13.5px; color: #1E5AA8; cursor: pointer; margin-bottom: 12px; }
.en-qb-type-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.en-qb-type-card { background: #fff; border-radius: 14px; padding: 22px; display: flex; gap: 18px; align-items: center; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.06); border: 2px solid transparent; transition: .15s; }
.en-qb-type-card:hover { border-color: #f08a1e; transform: translateY(-2px); }
.en-qb-type-card.soon { cursor: default; border: 2px dashed #c5cdd9; box-shadow: none; opacity: .9; }
.en-qb-type-card.soon:hover { transform: none; border-color: #c5cdd9; }
.en-qb-type-icon { width: 70px; height: 70px; border-radius: 16px; background: linear-gradient(135deg, #f7a83a, #f08a1e); color: #fff; font-size: 36px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.en-qb-type-card.soon .en-qb-type-icon { background: #e7ebf1; color: #9aa6b5; }
.en-qb-type-body { flex: 1; min-width: 0; }
.en-qb-type-name { font-size: 18px; font-weight: 700; color: #1f2329; margin-bottom: 6px; }
.en-qb-type-desc { font-size: 13px; color: #6b7280; line-height: 1.55; margin-bottom: 8px; }
.en-qb-type-enter { font-size: 13.5px; color: #f08a1e; font-weight: 600; }
.en-qb-type-card.soon .en-qb-type-enter { color: #9aa6b5; font-weight: 400; }

.en-qb-course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 16px; }
.en-qb-course-card { background: #fff; border-radius: 12px; padding: 18px; box-shadow: 0 2px 8px rgba(0,0,0,.05); cursor: pointer; border: 2px solid transparent; transition: .15s; display: flex; flex-direction: column; gap: 7px; }
.en-qb-course-card:hover { border-color: #f08a1e; transform: translateY(-2px); }
.en-qb-course-name { font-size: 16px; font-weight: 700; color: #1E5AA8; }
.en-qb-course-count { font-size: 13px; color: #6b7280; }
.en-qb-course-enter { font-size: 13px; color: #f08a1e; font-weight: 600; margin-top: auto; }
.en-qb-group { margin-bottom: 6px; }
.en-qb-group-title { font-size: 16px; font-weight: 700; color: #1f2329; margin: 26px 0 13px; padding-left: 11px; border-left: 4px solid #f08a1e; line-height: 1.2; }
.en-qb-group:first-of-type .en-qb-group-title { margin-top: 6px; }
.en-unit-count { font-size: 13px; font-weight: 500; color: #8a94a6; margin-left: 10px; }
.en-unit-more { text-align: right; margin: 12px 4px 4px; color: #f08a1e; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.en-unit-more:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .en-qb-type-grid { grid-template-columns: 1fr; }
}

/* ===== 英文数据看板（青绿主题） ===== */
.en-dash-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-bottom: 18px; }
.en-dash-card { background:#fff; border-radius:14px; padding:18px 20px; box-shadow:0 2px 10px rgba(13,148,136,.08); border:1px solid #ecfdf5; display:flex; flex-direction:column; gap:9px; min-width:0; }
.en-dash-card-top { display:flex; align-items:center; justify-content:space-between; }
.en-dash-card-title { font-size:13.5px; color:#6b7280; font-weight:600; }
.en-dash-card-ic { width:34px; height:34px; border-radius:9px; background:#f0fdfa; color:#0d9488; display:flex; align-items:center; justify-content:center; font-size:18px; }
.en-dash-card-num { font-size:30px; font-weight:800; color:#134e4a; line-height:1; }
.en-dash-card-unit { font-size:13px; font-weight:600; color:#94a3b8; margin-left:4px; }
.en-dash-card-sub { font-size:12px; color:#9ca3af; }
.en-dash-card-dual { display:flex; gap:20px; align-items:flex-end; }
.en-dash-cell { display:flex; align-items:baseline; gap:6px; }
.en-dash-cell-v { font-size:26px; font-weight:800; color:#0f766e; line-height:1; }
.en-dash-cell-l { font-size:12px; color:#9ca3af; }

.en-dash-cols { display:grid; grid-template-columns: 2fr 1fr; gap:16px; align-items:start; }
.en-dash-rank-card, .en-dash-struct-card { padding:18px 20px; }
.en-dash-loading { padding:26px; text-align:center; color:#9ca3af; font-size:13.5px; }

.en-dash-rank-row { display:grid; grid-template-columns:28px 1fr; gap:10px; padding:11px 2px; border-bottom:1px solid #f1f5f9; }
.en-dash-rank-row:last-child { border-bottom:0; }
.en-dash-rank-no { width:26px; height:26px; border-radius:8px; background:#f0fdfa; color:#0d9488; font-weight:700; font-size:13px; display:flex; align-items:center; justify-content:center; }
.en-dash-rank-row:nth-child(-n+3) .en-dash-rank-no { background:#14b8a6; color:#fff; }
.en-dash-rank-main { min-width:0; display:flex; flex-direction:column; gap:7px; }
.en-dash-rank-top { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.en-dash-rank-name { font-size:14.5px; font-weight:700; color:#1f2329; display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.en-dash-rank-meta { font-size:11.5px; font-weight:500; color:#9ca3af; }
.en-dash-rank-val { font-size:12.5px; color:#0f766e; font-weight:600; white-space:nowrap; }
.en-dash-bar { height:7px; border-radius:99px; background:#ecfeff; overflow:hidden; }
.en-dash-bar.sm { height:6px; margin:2px 0; }
.en-dash-bar-in { height:100%; border-radius:99px; background:linear-gradient(90deg,#14b8a6,#0d9488); }

.en-dash-struct-sec { margin-bottom:16px; }
.en-dash-struct-sec:last-child { margin-bottom:0; }
.en-dash-struct-title { font-size:13px; font-weight:700; color:#475569; margin-bottom:10px; }
.en-dash-struct-row { display:grid; grid-template-columns:48px 1fr 26px; align-items:center; gap:9px; margin-bottom:9px; }
.en-dash-struct-k { font-size:12.5px; color:#64748b; }
.en-dash-struct-track { height:9px; border-radius:99px; background:#f1f5f9; overflow:hidden; }
.en-dash-struct-fill { height:100%; border-radius:99px; background:linear-gradient(90deg,#2dd4bf,#0d9488); }
.en-dash-struct-fill.alt { background:linear-gradient(90deg,#5eead4,#14b8a6); }
.en-dash-struct-n { font-size:12px; color:#0f766e; font-weight:700; text-align:right; }
.en-dash-unclassed { font-size:12.5px; color:#94a3b8; margin-top:6px; }
.en-dash-unclassed b { color:#0f766e; }

.en-dash-pager { justify-content:flex-end; }
.en-dash-pager .en-pg.on { background:#0d9488; border-color:#0d9488; }

@media (max-width:1100px) {
  .en-dash-cards { grid-template-columns:repeat(2,1fr); }
  .en-dash-cols { grid-template-columns:1fr; }
}
@media (max-width:640px) {
  .en-dash-cards { grid-template-columns:1fr; }
}

/* ===== 会员行操作（淡彩图标按钮 + 折叠菜单）===== */
.mact-acts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;align-items:stretch}
.mact-acts>.mact-btn,.mact-acts>.mact-wrap{width:100%}
.mact-acts .mact-btn{justify-content:center}
.mact-wrap>.mact-btn{width:100%}
#membersTable td:nth-child(3){white-space:nowrap}
.lv-stack{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.lv-grade{font-size:12px;color:#64748b;line-height:1.2;white-space:nowrap}
.mact-btn{appearance:none;border:1px solid transparent;border-radius:9px;font-size:13px;font-weight:500;padding:7px 10px;cursor:pointer;white-space:nowrap;line-height:1;display:inline-flex;align-items:center;gap:5px;color:var(--c);background:var(--bg);transition:transform .15s,box-shadow .15s,background .15s,color .15s}
.mact-btn:hover{transform:translateY(-1px);box-shadow:0 5px 12px rgba(16,40,70,.10)}
.mact-btn:active{transform:translateY(0)}
.mact-btn .mact-ico{width:14px;height:14px}
.mact-detail{--c:#3b6fe0;--bg:#edf3fe}
.mact-edit{--c:#3b6fe0;--bg:#edf3fe}
.mact-course{--c:#158a44;--bg:#e9f8ef}
.mact-borrow{--c:#c2690a;--bg:#fdf1e0}
.mact-return{--c:#4f46e5;--bg:#eeeffd}
.mact-more{--c:#57637a;--bg:#eef2f7}
.mact-wrap{position:relative}
.mact-wrap.open .mact-btn{background:var(--c);color:#fff;border-color:var(--c);box-shadow:0 5px 14px rgba(16,40,70,.18)}
.mact-pop{display:none;position:absolute;top:calc(100% + 10px);right:0;min-width:176px;background:#fff;border:1px solid #edf0f5;border-radius:14px;box-shadow:0 14px 42px rgba(16,40,70,.16);padding:6px;z-index:50}
.mact-wrap.open .mact-pop{display:block}
.mact-pop::before{content:"";position:absolute;top:-6px;right:18px;width:11px;height:11px;background:#fff;border-left:1px solid #edf0f5;border-top:1px solid #edf0f5;transform:rotate(45deg)}
.mact-wrap-course .mact-pop{left:0;right:auto}
.mact-wrap-course .mact-pop::before{left:18px;right:auto}
.mact-pop-hd{font-size:11px;color:#9aa6b8;padding:8px 10px 5px;font-weight:600;letter-spacing:.5px}
.mact-mi{display:flex;align-items:center;gap:9px;padding:6px 8px;border-radius:9px;cursor:pointer;color:#334155;font-size:13px;transition:background .13s,color .13s}
.mact-mi:hover{background:#f4f7fc}
.mact-mi-ic{width:27px;height:27px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:var(--bg);color:var(--c)}
.mact-mi-ic .mact-ico{width:15px;height:15px}
.mact-mi-tx{flex:1}
.mact-mi.mact-danger:hover{background:#fdf1f1;color:#d23b40}
.mact-sep{height:1px;background:#f0f3f8;margin:6px 8px}
.mact-ico{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
