/* ============================================================
   翊璟无人机培训管理系统 - UI v2
   设计语言参考 caachub.com：浅灰底 + 天蓝主色 + 玻璃拟态 + 科技网格
   考试界面参考 uom-exam：深蓝考试头 + 倒计时 + 答题卡
   ============================================================ */
:root {
  --primary: #0ea5e9;          /* sky-500 */
  --primary-dark: #0284c7;     /* sky-600 */
  --primary-deep: #0369a1;     /* sky-700 */
  --primary-light: #e0f2fe;    /* sky-100 */
  --primary-50: #f0f9ff;
  --orange: #f99c00;
  --orange-light: #fff4e0;
  --green: #00bb7f;
  --green-light: #e6f7f0;
  --red: #fb2c36;
  --red-light: #ffecee;
  --purple: #8d54ff;
  --purple-light: #f0eaff;
  --text: #1d293d;
  --text-2: #62748e;
  --text-3: #93a1b0;
  --bg: #f1f5f9;               /* slate-200 */
  --bg-deep: #e2e8f0;
  --card: #ffffff;
  --border: #e5e9f0;
  --exam-header: #005791;      /* 考试深蓝头 */
  --exam-deep: #1e3a8a;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 2px 8px rgba(15, 30, 60, 0.05);
  --shadow-md: 0 6px 20px rgba(15, 30, 60, 0.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  background-color: var(--bg);
  background-image:
    linear-gradient(to right, rgba(100, 116, 139, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(100, 116, 139, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 15px; outline: none; }
a { color: var(--primary); text-decoration: none; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-track { background: transparent; }

/* ============ 通用组件 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; padding: 10px 22px; border-radius: 12px;
  font-size: 15px; font-weight: 600; transition: all .18s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; box-shadow: 0 4px 14px rgba(14, 165, 233, .3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(14, 165, 233, .4); }
.btn-primary:disabled { opacity: .5; transform: none; }
.btn-orange {
  background: linear-gradient(135deg, var(--orange), #ff9500); color: #fff;
  box-shadow: 0 4px 14px rgba(249, 156, 0, .3);
}
.btn-orange:hover { transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--text-2); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-danger { background: var(--red-light); color: var(--red); }
.btn-danger:hover { background: var(--red); color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-sm { padding: 6px 14px; font-size: 13px; border-radius: 10px; }
.btn-block { width: 100%; }

.card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid rgba(15, 30, 60, .06);
  transition: box-shadow .2s;
}
.card:hover { box-shadow: var(--shadow-md); }

.tag {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: 12px; font-weight: 600;
}
.tag-blue { background: var(--primary-light); color: var(--primary-deep); }
.tag-orange { background: var(--orange-light); color: var(--orange); }
.tag-green { background: var(--green-light); color: var(--green); }
.tag-red { background: var(--red-light); color: var(--red); }
.tag-purple { background: var(--purple-light); color: var(--purple); }
.tag-gray { background: #f0f2f5; color: var(--text-3); }

.input, .select, .textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: 12px; background: #fff; transition: border .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14, 165, 233, .12);
}
.textarea { min-height: 80px; resize: vertical; }
.form-item { margin-bottom: 16px; }
.form-label { display: block; margin-bottom: 6px; font-size: 14px; color: var(--text-2); font-weight: 500; }

/* ============================================================
   品牌落地页（复刻 caachub.com/study 结构）
   ============================================================ */
.landing { min-height: 100vh; background: var(--bg); }
.lp-nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.85); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.lp-nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 20px; height: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.lp-brand { font-size: 18px; font-weight: 800; color: var(--text); display: flex; align-items: center; gap: 6px; }
.lp-brand b { background: linear-gradient(135deg, var(--primary), var(--purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.lp-brand span { font-size: 13px; color: var(--text-3); font-weight: 500; }
.lp-links { display: flex; gap: 26px; }
.lp-links a { color: var(--text-2); font-size: 14px; font-weight: 500; transition: color .15s; }
.lp-links a:hover { color: var(--primary); }
.lp-auth { display: flex; gap: 10px; }

/* Hero */
.lp-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 15% 10%, rgba(14,165,233,.28), transparent),
    radial-gradient(ellipse 60% 55% at 90% 30%, rgba(141,84,255,.22), transparent),
    linear-gradient(165deg, #0b1120 0%, #0f1d3a 55%, #0a1526 100%);
  color: #fff; text-align: center; padding: 90px 20px 70px;
}
.lp-hero::after {
  content: "🚁"; position: absolute; left: 6%; bottom: -60px; font-size: 300px; opacity: .05; transform: rotate(-12deg);
}
.lp-hero-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }
.lp-hero-badge {
  display: inline-block; padding: 6px 18px; border-radius: 30px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 24px;
  backdrop-filter: blur(6px);
}
.lp-hero-title { font-size: 52px; font-weight: 800; line-height: 1.25; letter-spacing: 1px; }
.lp-hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, #38bdf8, #a78bfa, #38bdf8);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  animation: shine 4s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.lp-hero-sub { color: rgba(255,255,255,.6); font-size: 17px; margin-top: 16px; margin-bottom: 30px; }
.lp-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.lp-hero-stats {
  display: flex; justify-content: center; gap: 50px; margin-top: 56px; flex-wrap: wrap;
}
.lhs { text-align: center; }
.lhs-num {
  font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff, #7dd3fc);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.lhs-label { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 4px; }

/* 区块通用 */
.lp-section { padding: 70px 20px; }
.lp-section-alt { background: #fff; }
.lp-container { max-width: 1100px; margin: 0 auto; }
.lp-sec-title { font-size: 30px; font-weight: 800; text-align: center; }
.lp-sec-sub { text-align: center; color: var(--text-2); margin-top: 10px; margin-bottom: 44px; font-size: 15px; }

/* 4 大特性 */
.lp-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.lp-feature {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 28px 24px; transition: all .22s;
}
.lp-feature:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(14,165,233,.12); border-color: rgba(14,165,233,.4); }
.lpf-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 16px;
}
.lpf-blue { background: linear-gradient(135deg, #e0f2fe, #bae6fd); }
.lpf-purple { background: linear-gradient(135deg, #f0eaff, #ddd6fe); }
.lpf-orange { background: linear-gradient(135deg, #fff4e0, #fed7aa); }
.lpf-green { background: linear-gradient(135deg, #e6f7f0, #a7f3d0); }
.lpf-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.lpf-desc { font-size: 13.5px; color: var(--text-2); line-height: 1.7; }

/* 为什么选择 6 卡片 */
.lp-why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
.lp-why {
  display: flex; gap: 16px; background: var(--bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px; transition: all .2s;
}
.lp-why:hover { border-color: var(--primary); background: #fff; box-shadow: 0 8px 24px rgba(14,165,233,.1); }
.lpw-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--primary-light);
  display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0;
}
.lpw-title { font-weight: 700; margin-bottom: 5px; }
.lpw-desc { font-size: 13px; color: var(--text-2); line-height: 1.6; }

/* 适用场景 */
.lp-scene-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.lp-scene {
  text-align: center; background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 30px 22px; transition: all .22s;
}
.lp-scene:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(14,165,233,.12); border-color: rgba(14,165,233,.4); }
.lps-icon { font-size: 36px; margin-bottom: 12px; }
.lps-title { font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.lps-desc { font-size: 13px; color: var(--text-2); line-height: 1.6; }

/* 底部 CTA + footer */
.lp-cta {
  padding: 70px 20px; text-align: center; color: #fff;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(14,165,233,.25), transparent),
    linear-gradient(160deg, #0d1730, #0a1526);
}
.lp-cta h2 { font-size: 32px; font-weight: 800; }
.lp-cta p { color: rgba(255,255,255,.6); margin: 14px 0 28px; font-size: 15px; }
.lp-footer {
  background: #080e1c; color: rgba(255,255,255,.55); text-align: center;
  padding: 36px 20px; font-size: 14px; line-height: 1.8;
}

/* 落地页响应式 */
@media (max-width: 768px) {
  .lp-nav-inner { padding: 0 14px; }
  .lp-links { display: none; }
  .lp-hero { padding: 56px 16px 48px; }
  .lp-hero-title { font-size: 32px; }
  .lp-hero-sub { font-size: 15px; }
  .lp-hero-stats { gap: 30px; margin-top: 40px; }
  .lhs-num { font-size: 26px; }
  .lp-section { padding: 48px 14px; }
  .lp-sec-title { font-size: 24px; }
  .lp-why-grid { grid-template-columns: 1fr; }
  .lp-cta h2 { font-size: 24px; }
}

/* ============ 登录页（深空科技风） ============ */
.auth-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(14,165,233,.25), transparent),
    radial-gradient(ellipse 60% 50% at 90% 90%, rgba(141,84,255,.2), transparent),
    linear-gradient(160deg, #0c1220 0%, #101a30 50%, #0a1526 100%);
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(14,165,233,.25), transparent),
    radial-gradient(ellipse 60% 50% at 90% 90%, rgba(141,84,255,.2), transparent),
    linear-gradient(160deg, #0c1220 0%, #101a30 50%, #0a1526 100%),
    linear-gradient(to right, rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: auto, auto, auto, 30px 30px, 30px 30px;
  padding: 20px; position: relative; overflow: hidden;
}
.auth-wrap::before {
  content: "🚁"; position: absolute; font-size: 260px; opacity: .05;
  top: 50%; left: 50%; transform: translate(-50%, -50%); filter: blur(2px);
}
.auth-card {
  width: 100%; max-width: 410px; background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px); border-radius: 22px;
  padding: 38px 34px 30px; box-shadow: 0 24px 70px rgba(0, 10, 40, .5);
  border: 1px solid rgba(255,255,255,.15); position: relative; z-index: 1;
}
.auth-logo { text-align: center; margin-bottom: 26px; }
.auth-logo .plane { font-size: 46px; display: block; margin-bottom: 6px; }
.auth-logo h1 {
  font-size: 23px; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.auth-logo p { color: var(--text-3); font-size: 13px; margin-top: 5px; }
.auth-tabs { display: flex; background: var(--bg); border-radius: 12px; padding: 4px; margin-bottom: 24px; }
.auth-tabs button { flex: 1; padding: 9px; border-radius: 9px; font-size: 15px; font-weight: 600; color: var(--text-3); transition: all .2s; }
.auth-tabs button.active { background: #fff; color: var(--primary); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.auth-tip { text-align: center; color: var(--text-3); font-size: 13px; margin-top: 16px; }

/* ============ 布局 ============ */
.app-shell { min-height: 100vh; }
.layout { display: flex; gap: 20px; padding: 24px; }
.layout.exam { padding: 0; gap: 0; background: #fff; }
.layout.exam .content { background: #fff; }
.content { flex: 1; min-width: 0; }
.mobile-nav { display: none; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
}

/* ============ 左侧栏（caachub 三段式） ============ */
.sidebar {
  width: 260px; flex-shrink: 0; position: sticky; top: 24px; align-self: flex-start;
  height: calc(100vh - 48px);
  background: var(--card); border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: var(--shadow); padding: 26px 16px 18px;
  display: flex; flex-direction: column;
}
.sb-logo { padding: 2px 10px 20px; }
.sb-logo-row { display: flex; align-items: center; gap: 8px; }
.sb-name { font-size: 18px; font-weight: 900; color: var(--text); letter-spacing: .5px; white-space: nowrap; }
.sb-badge {
  background: var(--primary); color: #fff; font-size: 11px; font-weight: 800;
  padding: 4px 9px; border-radius: 8px; white-space: nowrap; flex-shrink: 0;
}
.sb-tagline { font-size: 11px; color: var(--text-3); margin-top: 8px; line-height: 1.6; }
.sb-nav { display: flex; flex-direction: column; gap: 6px; padding: 4px 0; }
.sb-item {
  display: flex; align-items: center; gap: 13px; padding: 12px 14px;
  border-radius: 12px; color: var(--text-2); cursor: pointer;
  border-left: 4px solid transparent; transition: all .18s;
}
.sb-item:hover { background: var(--primary-light); }
.sb-item.active {
  background: linear-gradient(90deg, rgba(14,165,233,.14) 0%, rgba(14,165,233,0) 100%);
  border-left: 4px solid var(--primary); color: var(--primary-deep);
}
.sb-ico { font-size: 19px; }
.sb-label { font-size: 15px; font-weight: 700; }
.sb-en { font-size: 9.5px; letter-spacing: 1.5px; color: var(--text-3); font-weight: 600; margin-top: 1px; }
.sb-item.active .sb-en { color: var(--primary); }
.sb-group { display: flex; flex-direction: column; gap: 4px; }
.sb-group .sb-caret { margin-left: auto; font-size: 12px; color: var(--text-3); transition: transform .2s; }
.sb-group.open > .sb-item .sb-caret { transform: rotate(180deg); }
.sb-group.active > .sb-item { color: var(--primary-deep); }
.sb-submenu {
  display: none; flex-direction: column; gap: 4px;
  margin: 2px 0 2px 18px; padding-left: 14px;
  border-left: 2px solid var(--border);
}
.sb-group.open .sb-submenu { display: flex; }
.sb-subitem {
  display: flex; align-items: center; gap: 11px; padding: 9px 12px;
  border-radius: 10px; color: var(--text-2); cursor: pointer;
  transition: all .18s;
}
.sb-subitem:hover { background: var(--primary-light); color: var(--primary-deep); }
.sb-subitem.active {
  background: linear-gradient(90deg, rgba(14,165,233,.14) 0%, rgba(14,165,233,0) 100%);
  color: var(--primary-deep);
}
.sb-subico { font-size: 16px; }
.sb-subitem .sb-label { font-size: 13.5px; font-weight: 600; }
.sb-subitem .sb-en { font-size: 9px; }
.sb-subitem.active .sb-en { color: var(--primary); }
.sb-bottom { margin-top: auto; padding-top: 18px; }
.sidebar-divider {
  margin: 12px 8px 6px; font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--text-3); text-transform: uppercase;
}
.sb-user {
  display: flex; align-items: center; gap: 11px;
  background: var(--bg); border-radius: 14px; padding: 13px 14px;
}
.sb-uinfo { flex: 1; min-width: 0; }
.sb-uname { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-urole { font-size: 9px; letter-spacing: 1.5px; color: var(--text-3); font-weight: 700; }
.sb-out {
  background: none; border: none; color: var(--text-3); font-size: 15px;
  cursor: pointer; padding: 4px; border-radius: 6px; transition: all .15s;
}
.sb-out:hover { color: var(--red); background: var(--red-light); }

/* ============ 学习中心页头 ============ */
.sc-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; gap: 16px; }
.sc-head-title { font-size: 26px; font-weight: 900; display: flex; align-items: baseline; gap: 10px; }
.sc-head-en { font-size: 11px; letter-spacing: 2px; color: var(--text-3); font-weight: 600; }
.sc-head-config { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.pill-blue { background: var(--primary-light); color: var(--primary-deep); font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 20px; }
.cfg-text { color: var(--text-2); font-size: 14px; font-weight: 600; }
.cfg-link { color: var(--primary); font-size: 13px; cursor: pointer; }
.cfg-link:hover { text-decoration: underline; }
.sc-head-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; box-shadow: 0 0 0 3px rgba(0,187,127,.15); }
.online-txt { color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .5px; }

/* ============ 仪表盘两栏 ============ */
.dash-grid { display: grid; grid-template-columns: 380px 1fr; gap: 20px; align-items: start; }
.dash-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.card-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.card-head-t { font-size: 15px; font-weight: 800; }
.card-head-en { font-size: 10px; letter-spacing: 1.5px; color: var(--text-3); font-weight: 600; }
.sec-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); margin-right: 6px; }

/* 训练数据 */
.td-card { padding: 20px; }
.td-top { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.lv-badge {
  width: 52px; height: 52px; border-radius: 12px; background: var(--primary-light);
  display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0;
}
.lv-l { font-size: 10px; font-weight: 800; color: var(--primary); }
.lv-n { font-size: 22px; font-weight: 900; color: var(--primary-deep); line-height: 1; }
.td-xp { flex: 1; }
.xp-line { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-2); margin-bottom: 6px; }
.xp-num { font-weight: 700; color: var(--text); }
.xp-tip { font-size: 11px; color: var(--text-3); text-align: right; margin-top: 5px; }
.td-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.td-box { background: var(--bg); border-radius: 11px; padding: 12px 14px; }
.td-label { font-size: 12px; color: var(--text-3); }
.td-num { font-size: 22px; font-weight: 800; margin-top: 3px; font-variant-numeric: tabular-nums; }

/* 选择题库 */
.lb-card { padding: 20px; }
.lb-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-radius: 11px; border: 1.5px solid var(--border);
  margin-bottom: 8px; cursor: pointer; transition: all .15s; background: #fff;
}
.lb-item:hover { border-color: var(--primary); }
.lb-item.selected { border-color: var(--primary); background: var(--primary-50); }
.lb-item.lb-jump:hover { background: linear-gradient(135deg, #f0f9ff, #fff); }
.lb-name { font-size: 14px; font-weight: 700; }
.lb-desc { font-size: 11.5px; color: var(--text-3); margin-top: 2px; }
.lb-jump-tag {
  margin-left: 8px; font-size: 11px; font-weight: 600; color: var(--primary);
  padding: 1px 7px; border-radius: 8px; background: var(--primary-light);
}
.lb-check {
  width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
}

/* 智能学习横幅 */
.ss-card {
  padding: 20px; display: flex; gap: 14px; align-items: center;
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 60%);
}
.ss-icon {
  width: 48px; height: 48px; border-radius: 13px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.ss-body { flex: 1; min-width: 0; }
.ss-title { font-size: 16px; font-weight: 800; display: flex; align-items: baseline; gap: 8px; }
.ss-desc { font-size: 12.5px; color: var(--text-2); margin-top: 5px; }
.ss-desc-2 { color: var(--text-3); }
.ss-actions { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }

/* 学习模式卡片（上3下2） */
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mission-card {
  padding: 28px 24px; cursor: pointer; border: 1px solid var(--border);
  transition: all .2s; position: relative; overflow: hidden; min-height: 150px;
}
.mission-card:hover {
  transform: translateY(-3px); box-shadow: 0 10px 24px rgba(14,165,233,.12);
  border-color: rgba(14,165,233,.4);
}
.m-tag {
  display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: 1px;
  padding: 4px 10px; border-radius: 7px; margin-bottom: 16px;
}
.m-blue { background: var(--primary-light); color: var(--primary-deep); }
.m-orange { background: var(--orange-light); color: var(--orange); }
.m-purple { background: var(--purple-light); color: var(--purple); }
.m-red { background: var(--red-light); color: var(--red); }
.m-green { background: var(--green-light); color: var(--green); }
.m-ico { position: absolute; right: 14px; bottom: 12px; font-size: 38px; opacity: .18; }
.m-name { font-size: 19px; font-weight: 800; }
.m-desc { font-size: 13.5px; color: var(--text-2); line-height: 1.7; margin-top: 8px; max-width: 90%; }

/* 随机练习 - 题数选择 */
.random-card { padding-bottom: 22px; min-height: 188px; }
.m-count-row {
  display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap;
}
.m-count-chip {
  padding: 4px 11px; border-radius: 8px; font-size: 12px; font-weight: 700;
  cursor: pointer; border: 1.5px solid var(--border); color: var(--text-2);
  background: #fff; transition: all .15s;
}
.m-count-chip:hover { border-color: var(--purple); color: var(--purple); }
.m-count-chip.active {
  background: var(--purple); border-color: var(--purple); color: #fff;
  box-shadow: 0 3px 8px rgba(139,92,246,.25);
}

/* 章节进度总览 */
.chapter-summary {
  display: flex; align-items: center; gap: 20px; padding: 20px 24px;
}
.cs-left { display: flex; align-items: center; gap: 14px; flex: 1; }
.cs-icon { font-size: 34px; }
.cs-title { font-size: 14px; font-weight: 800; color: var(--text-2); }
.cs-desc { font-size: 12.5px; color: var(--text-3); margin-top: 4px; }
.cs-desc b { color: var(--primary); font-weight: 700; }
.cs-right { display: flex; align-items: center; gap: 14px; min-width: 220px; }
.cs-pct { font-size: 28px; font-weight: 800; color: var(--primary); line-height: 1; min-width: 68px; text-align: right; }
.cs-bar-wrap {
  flex: 1; height: 10px; background: var(--bg); border-radius: 6px; overflow: hidden;
  border: 1px solid var(--border);
}
.cs-bar-fill { height: 100%; border-radius: 6px; transition: all .4s; }

/* 章节列表（行式布局，带进度条） */
.chapter-list { display: flex; flex-direction: column; gap: 10px; }
.chapter-row {
  display: flex; align-items: center; gap: 20px; padding: 18px 22px;
  transition: all .18s;
}
.chapter-row:hover { box-shadow: var(--shadow-md); }
.cr-left { display: flex; align-items: center; gap: 14px; flex: 1; cursor: pointer; min-width: 0; }
.cr-icon { font-size: 26px; flex-shrink: 0; }
.cr-info { flex: 1; min-width: 0; }
.cr-name { font-size: 15px; font-weight: 700; color: var(--text-2); }
.cr-meta { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.cr-total { color: var(--text-2); font-weight: 600; }
.cr-sep { color: var(--border); margin: 0 6px; }
.cr-done { color: var(--text-3); }
.cr-rate { font-weight: 700; }
.cr-progress {
  display: flex; align-items: center; gap: 10px; min-width: 200px;
  cursor: pointer;
}
.cr-bar-wrap {
  flex: 1; height: 8px; background: var(--bg); border-radius: 4px; overflow: hidden;
  border: 1px solid var(--border);
}
.cr-bar-fill { height: 100%; border-radius: 4px; transition: all .3s; }
.cr-pct { font-size: 13px; font-weight: 700; color: var(--text-2); min-width: 44px; text-align: right; }
.cr-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* 小按钮 */
.btn-sm { padding: 6px 14px; font-size: 12.5px; border-radius: 8px; font-weight: 600; }

/* 底部横栏 */
.dash-bars { display: flex; flex-direction: column; gap: 12px; }
.dash-bar {
  display: flex; align-items: center; gap: 10px; padding: 15px 18px;
}
.db-title { font-size: 14px; font-weight: 800; }
.db-sep { color: var(--border); }
.db-text { font-size: 12.5px; color: var(--text-3); flex: 1; }
.btn-join {
  border: 1.5px dashed var(--border); background: none; color: var(--text-2);
  font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 8px;
  cursor: pointer; transition: all .15s; flex-shrink: 0;
}
.btn-join:hover { border-color: var(--primary); color: var(--primary); }
.db-arrow { font-size: 20px; color: var(--text-3); font-weight: 700; }

@media (max-width: 1000px) {
  .dash-grid { grid-template-columns: 1fr; }
  .sidebar { width: 190px; }
}

/* 组别页 */
.group-list { display: flex; flex-direction: column; gap: 14px; }
.group-card { overflow: hidden; }
.gc-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; cursor: pointer; transition: background .15s;
}
.gc-header:hover { background: #fafbfd; }
.gc-arrow { color: var(--text-3); font-size: 12px; }
.group-info-item {
  background: var(--bg); border-radius: 12px; padding: 14px 16px;
}
.gi-label { font-size: 12px; color: var(--text-3); }
.gi-value { font-size: 17px; font-weight: 700; margin-top: 5px; }

/* ============ 首页 Hero 横幅（参考 caachub.com/study） ============ */
.hero-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  background:
    radial-gradient(ellipse 70% 90% at 85% 20%, rgba(141,84,255,.25), transparent),
    radial-gradient(ellipse 60% 80% at 10% 10%, rgba(14,165,233,.3), transparent),
    linear-gradient(135deg, #0e1a33 0%, #13294d 55%, #0e1a33 100%);
  border-radius: 18px; padding: 36px 40px; color: #fff;
  position: relative; overflow: hidden; margin-bottom: 26px;
  border: 1px solid rgba(255,255,255,.08);
}
.hero-banner::after {
  content: "🚁"; position: absolute; right: -30px; bottom: -40px;
  font-size: 200px; opacity: .06; transform: rotate(-15deg);
}
.hero-eyebrow {
  font-size: 12px; letter-spacing: 1px; color: rgba(255,255,255,.6);
  font-weight: 600; margin-bottom: 12px;
}
.hero-title { font-size: 30px; font-weight: 800; line-height: 1.35; margin-bottom: 10px; }
.hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, #38bdf8, #a78bfa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { color: rgba(255,255,255,.65); font-size: 14px; margin-bottom: 22px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-lg { padding: 12px 26px; font-size: 15px; border-radius: 12px; }
.btn-ghost-light {
  background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.22); transform: translateY(-1px); }
.hero-right { display: flex; gap: 14px; align-items: stretch; flex-shrink: 0; }
.hero-card {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(12px); border-radius: 14px; padding: 20px 22px; min-width: 150px;
}
.hc-label { font-size: 12px; color: rgba(255,255,255,.6); }
.hc-num { font-size: 34px; font-weight: 800; margin: 6px 0 10px; font-variant-numeric: tabular-nums; }
.hc-bar { height: 6px; background: rgba(255,255,255,.15); border-radius: 3px; overflow: hidden; }
.hc-fill { height: 100%; background: linear-gradient(90deg, #38bdf8, #a78bfa); border-radius: 3px; }
.hc-sub { font-size: 12px; color: rgba(255,255,255,.65); margin-top: 10px; }
.hero-mini-cards { display: flex; flex-direction: column; gap: 14px; }
.hero-mini {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(12px); border-radius: 14px; padding: 14px 18px; flex: 1;
  display: flex; flex-direction: column; justify-content: center;
}
.hm-num { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.hm-num.orange { color: #fbbf24; }
.hm-num.purple { color: #c4b5fd; }
.hm-label { font-size: 11px; color: rgba(255,255,255,.6); margin-top: 3px; }

/* 首页特性卡片（参考 caachub 的 mission-card） */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.feature-card {
  padding: 26px 22px; cursor: pointer; border: 1px solid var(--border);
  transition: all .22s; position: relative; overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-4px); box-shadow: 0 12px 30px rgba(14,165,233,.14);
  border-color: rgba(14,165,233,.45);
}
.fc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  margin-bottom: 16px; transition: transform .22s;
}
.feature-card:hover .fc-icon { transform: scale(1.08) rotate(-4deg); }
.fc-blue { background: linear-gradient(135deg, #e0f2fe, #bae6fd); }
.fc-orange { background: linear-gradient(135deg, #fff4e0, #fed7aa); }
.fc-purple { background: linear-gradient(135deg, #f0eaff, #ddd6fe); }
.fc-red { background: linear-gradient(135deg, #ffecee, #fecdd3); }
.fc-name { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.fc-desc { font-size: 13px; color: var(--text-2); line-height: 1.6; min-height: 40px; }
.fc-go { margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--primary); }

/* ============ 首页仪表盘（复刻 caachub 登录后界面） ============ */
.dash-hero {
  display: flex; align-items: stretch; justify-content: space-between; gap: 24px;
  background:
    radial-gradient(ellipse 75% 95% at 85% 15%, rgba(141,84,255,.22), transparent),
    radial-gradient(ellipse 55% 85% at 8% 10%, rgba(14,165,233,.3), transparent),
    linear-gradient(140deg, #0d1830 0%, #122a52 55%, #0c1a33 100%);
  border-radius: 20px; padding: 34px 36px; color: #fff;
  position: relative; overflow: hidden; margin-bottom: 22px;
  border: 1px solid rgba(255,255,255,.08);
}
.dash-hero::after {
  content: "🚁"; position: absolute; right: 12%; bottom: -46px;
  font-size: 170px; opacity: .07; transform: rotate(-12deg);
}
.dh-greeting { font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 8px; font-weight: 500; }
.dh-title { font-size: 28px; font-weight: 800; line-height: 1.3; }
.dh-title em {
  font-style: normal;
  background: linear-gradient(90deg, #38bdf8, #a78bfa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.dh-sub { color: rgba(255,255,255,.6); font-size: 14px; margin-top: 8px; margin-bottom: 20px; }
.dh-sub b { color: rgba(255,255,255,.9); }
.dh-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-ghost-light {
  background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.22);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.18); transform: translateY(-1px); }
.dh-right { flex-shrink: 0; display: flex; align-items: stretch; position: relative; z-index: 1; }
.dh-countdown {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px); border-radius: 16px;
  padding: 18px 30px; text-align: center; min-width: 170px;
  display: flex; flex-direction: column; justify-content: center;
}
.dhc-label { font-size: 13px; color: rgba(255,255,255,.6); }
.dhc-num {
  font-size: 46px; font-weight: 900; line-height: 1.15; margin: 4px 0;
  background: linear-gradient(180deg, #fff, #7dd3fc);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.dhc-num span { font-size: 18px; margin-left: 3px; }
.dhc-date { font-size: 12px; color: rgba(255,255,255,.5); }

/* 学习报告 + 最近考试 两栏 */
.dash-two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) {
  .dash-two-col { grid-template-columns: 1fr; gap: 12px; }
  .dash-hero { flex-direction: column; padding: 26px 20px; }
  .dh-title { font-size: 22px; }
  .dh-right { width: 100%; }
  .dh-countdown { flex: 1; }
}

/* ============ 首页统计 ============ */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { padding: 20px; position: relative; overflow: hidden; }
.stat-card::after {
  content: ""; position: absolute; right: -20px; top: -20px; width: 80px; height: 80px;
  border-radius: 50%; opacity: .1;
}
.sc-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  margin-bottom: 12px;
}
.sc-blue { background: linear-gradient(135deg, #e0f2fe, #bae6fd); }
.sc-green { background: linear-gradient(135deg, #e6f7f0, #a7f3d0); }
.sc-orange { background: linear-gradient(135deg, #fff4e0, #fed7aa); }
.sc-purple { background: linear-gradient(135deg, #f0eaff, #ddd6fe); }
.stat-card .num { font-size: 30px; font-weight: 800; margin-top: 6px; font-variant-numeric: tabular-nums; }
.stat-card .num.blue { color: var(--primary); }
.stat-card .num.orange { color: var(--orange); }
.stat-card .num.green { color: var(--green); }
.stat-card .num.red { color: var(--red); }
.stat-card .num.purple { color: var(--purple); }
.stat-card .label { color: var(--text-3); font-size: 13px; }

/* 任务模式网格（参考 caachub 登录后的任务模式） */
.mode-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.mode-card {
  padding: 22px 18px; cursor: pointer; border: 1px solid var(--border);
  transition: all .22s; position: relative;
}
.mode-card:hover {
  transform: translateY(-3px); box-shadow: 0 12px 28px rgba(14,165,233,.13);
  border-color: rgba(14,165,233,.45);
}
.mc-icon {
  width: 48px; height: 48px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  margin-bottom: 14px; transition: transform .22s;
}
.mode-card:hover .mc-icon { transform: scale(1.08) rotate(-4deg); }
.mc-blue { background: linear-gradient(135deg, #e0f2fe, #bae6fd); }
.mc-cyan { background: linear-gradient(135deg, #e0faff, #a5f3fc); }
.mc-orange { background: linear-gradient(135deg, #fff4e0, #fed7aa); }
.mc-red { background: linear-gradient(135deg, #ffecee, #fecdd3); }
.mc-purple { background: linear-gradient(135deg, #f0eaff, #ddd6fe); }
.mc-name { font-size: 16px; font-weight: 700; margin-bottom: 5px; }
.mc-desc { font-size: 12.5px; color: var(--text-2); line-height: 1.5; }
.mc-go { margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--primary); }

.section-title { font-size: 17px; font-weight: 700; margin: 26px 0 14px; display: flex; align-items: center; justify-content: space-between; }

.entry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.entry-card {
  padding: 24px 16px; text-align: center; cursor: pointer;
  transition: all .2s; border: 1px solid var(--border);
}
.entry-card:hover {
  transform: translateY(-3px); box-shadow: 0 10px 25px rgba(14,165,233,.12);
  border-color: rgba(14,165,233,.4);
}
.entry-card .icon { font-size: 34px; }
.entry-card .name { font-weight: 700; margin-top: 10px; font-size: 15px; }
.entry-card .desc { color: var(--text-3); font-size: 12px; margin-top: 4px; }

/* ============ 章节 ============ */
.pg-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
}
.pg-title { font-size: 22px; font-weight: 800; }
.pg-sub { color: var(--text-3); font-size: 13px; margin-top: 6px; }
.pg-actions { display: flex; gap: 10px; align-items: center; }
.pg-count { width: 110px; }
.quick-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 8px; }
.quick-card {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  cursor: pointer; border: 1px solid var(--border); transition: all .2s;
}
.quick-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(14,165,233,.1); }
.qc-icon {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 21px;
}
.qc-orange { background: linear-gradient(135deg, #fff4e0, #fed7aa); }
.qc-purple { background: linear-gradient(135deg, #f0eaff, #ddd6fe); }
.qc-red { background: linear-gradient(135deg, #ffecee, #fecdd3); }
.qc-name { font-size: 14px; font-weight: 700; }
.qc-desc { font-size: 12px; color: var(--text-3); margin-top: 3px; }
.qc-arrow { margin-left: auto; color: var(--primary); font-weight: 700; }

.chapter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.chapter-card {
  display: flex; align-items: center; gap: 14px; padding: 16px;
  cursor: pointer; transition: all .2s; border: 1px solid var(--border);
}
.chapter-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(14,165,233,.1); }
.ch-icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--primary-light);
  display: flex; align-items: center; justify-content: center; font-size: 23px; flex-shrink: 0;
}
.ch-info { flex: 1; min-width: 0; }
.ch-name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-count { color: var(--text-3); font-size: 12.5px; margin-top: 4px; }
.ch-go { color: var(--primary); font-size: 13px; font-weight: 700; flex-shrink: 0; }

/* ============ 答题 ============ */
/* 触屏设备：hover 样式会在点击后残留(点过的卡片/选项一直"亮着")，全部禁用 */
@media (hover: none) {
  .option-item:hover { border-color: var(--border); background: #fff; }
  .option-item:hover .letter { background: var(--bg); color: var(--text-2); }
  .chapter-card:hover, .quick-card:hover { border-color: var(--border); transform: none; box-shadow: none; }
  .chapter-row:hover { box-shadow: none; }
  /* 卡片类：按下后残留的抬起/蓝色边框 */
  .mission-card:hover, .entry-card:hover, .feature-card:hover, .mode-card:hover,
  .session-card:hover, .oral-qcard:hover, .question-card:hover, .question-paper:hover,
  .slot-date-card:hover, .booking-card:hover {
    transform: none; box-shadow: var(--shadow); border-color: var(--border);
  }
  .region-card:hover, .province-card:hover, .site-card:hover {
    transform: none; border-color: var(--border); box-shadow: none;
  }
  /* 列表项类：按下后残留的蓝色底 */
  .oral-chapter-item:hover, .oral-province-item:hover, .lb-item:hover,
  .rp-item:hover, .exam-option:hover, .cat-tile:hover {
    border-color: var(--border); background: #fff; transform: none; box-shadow: none;
  }
  .lb-item.lb-jump:hover { background: #fff; }
  /* 答题卡/题数chip/等级行：残留会干扰状态显示 */
  .sheet-btn:hover { border-color: var(--border); background: #fff; }
  .m-count-chip:hover { border-color: var(--border); color: var(--text-2); }
  .lv-row:hover { border-color: var(--border); }
  .lp-feature:hover { transform: none; box-shadow: none; border-color: var(--border); }
  /* 全局卡片悬停阴影：触屏不保留 */
  .card:hover { box-shadow: var(--shadow); }
}
/* 触屏按压反馈：按下瞬间高亮，松开立即消失 */
.option-item:active { border-color: var(--primary); background: var(--primary-50); }

.quiz-progress { height: 6px; background: var(--bg-deep); border-radius: 3px; margin-bottom: 20px; overflow: hidden; }
.quiz-progress .bar { height: 100%; background: linear-gradient(90deg, var(--primary), var(--purple)); border-radius: 3px; transition: width .3s; }
.quiz-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.quiz-header .q-num { font-size: 14px; color: var(--text-2); font-weight: 600; }
.quiz-body { padding: 28px; }
.quiz-question { font-size: 17px; font-weight: 600; line-height: 1.7; margin-bottom: 24px; }
.option-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 12px;
  margin-bottom: 12px; cursor: pointer; transition: all .15s; background: #fff;
}
.option-item:hover { border-color: var(--primary); background: var(--primary-50); }
.option-item .letter {
  width: 28px; height: 28px; border-radius: 50%; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: var(--text-2); flex-shrink: 0;
  transition: all .15s;
}
.option-item:hover .letter { background: var(--primary); color: #fff; }
.option-item .text { line-height: 1.6; padding-top: 2px; }
.option-item.correct { border-color: var(--green); background: var(--green-light); }
.option-item.correct .letter { background: var(--green); color: #fff; }
.option-item.wrong { border-color: var(--red); background: var(--red-light); }
.option-item.wrong .letter { background: var(--red); color: #fff; }
.option-item.disabled { cursor: default; }
.result-box { margin-top: 18px; padding: 16px 18px; border-radius: 12px; font-size: 14px; line-height: 1.7; }
.result-box.ok { background: var(--green-light); color: #0a6b46; }
.result-box.bad { background: var(--red-light); color: #a31b3a; }
.result-box .exp-label { font-weight: 700; margin-bottom: 4px; }
.quiz-footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }

/* ============ 错题本 ============ */
.wrong-card { padding: 18px 20px; margin-bottom: 14px; }
.wrong-card .q { font-weight: 600; line-height: 1.6; margin-bottom: 10px; }
.wrong-card .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.wrong-options { margin: 10px 0; }
.wrong-options .option-item { padding: 10px 14px; font-size: 14px; margin-bottom: 8px; }

/* ============================================================
   模拟考试 - 真实考试样式（参考 uom-exam.caac.help）
   ============================================================ */
/* 考试环境加载遮罩 */
.exam-loading {
  position: fixed; inset: 0; z-index: 90;
  background: linear-gradient(160deg, #0c1220, #101a30);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff;
}
.exam-loading .drone {
  font-size: 64px; animation: float 2s ease-in-out infinite;
}
.exam-loading .title { font-size: 18px; font-weight: 700; margin-top: 20px; }
.exam-loading .sub { color: rgba(255,255,255,.6); font-size: 13px; margin-top: 8px; }
.exam-loading .spinner {
  width: 34px; height: 34px; border: 3px solid rgba(255,255,255,.2);
  border-top-color: var(--primary); border-radius: 50%;
  margin-top: 24px; animation: spin .8s linear infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* 考试须知 */
.exam-notice {
  max-width: 560px; margin: 24px auto; padding: 32px;
}
.exam-rule-banner {
  display: flex; gap: 12px; margin: 18px 0;
}
.erb-item {
  flex: 1; text-align: center; background: var(--primary-50);
  border: 1px solid rgba(14,165,233,.2); border-radius: 12px; padding: 14px 8px;
}
.erb-num { font-size: 26px; font-weight: 800; color: var(--primary-deep); font-variant-numeric: tabular-nums; }
.erb-label { font-size: 12px; color: var(--text-3); margin-top: 3px; }
.pill-orange { background: var(--orange-light); color: var(--orange); font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 20px; }

/* ============ 考试配置页 ============ */
.cfg-page { max-width: 640px; margin: 0 auto; }
.cfg-head { text-align: center; margin-bottom: 26px; }
.cfg-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary-50); border: 1px solid rgba(14,165,233,.3);
  color: var(--primary-deep); font-size: 13px; font-weight: 600;
  padding: 5px 16px; border-radius: 30px; margin-bottom: 14px;
}
.cfg-title { font-size: 26px; font-weight: 900; }
.cfg-sub { color: var(--text-3); font-size: 13.5px; margin-top: 8px; }
.cfg-card { padding: 22px; margin-bottom: 16px; }
.cfg-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.cfg-card-ico {
  width: 34px; height: 34px; border-radius: 9px; background: var(--primary-light);
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.cfg-card-ico-orange { background: var(--orange-light); }
.cfg-card-title { font-size: 16px; font-weight: 800; flex: 1; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cat-tile {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 8px; border-radius: 12px; border: 1.5px solid var(--border);
  background: var(--bg); cursor: pointer; transition: all .15s;
}
.cat-tile:hover { border-color: var(--primary); }
.cat-tile.selected {
  background: var(--primary-light); border-color: var(--primary);
}
.cat-ico {
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  color: var(--text-3); opacity: .6;
}
.cat-ico svg { width: 100%; height: 100%; }
.cat-tile.selected .cat-ico { color: var(--primary); opacity: 1; }
.cat-name { font-size: 13px; font-weight: 600; color: var(--text-2); text-align: center; }
.cat-tile.selected .cat-name { color: var(--primary-deep); font-weight: 700; }
.lv-list { display: flex; flex-direction: column; gap: 10px; }
.lv-row {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  border-radius: 12px; border: 1.5px solid var(--border); background: var(--bg);
  cursor: pointer; transition: all .15s;
}
.lv-row:hover { border-color: var(--orange); }
.lv-row.selected { background: var(--orange-light); border-color: var(--orange); }
.lv-badge {
  font-size: 12px; font-weight: 800; letter-spacing: .5px;
  background: #e2e8f0; color: var(--text-2);
  padding: 5px 10px; border-radius: 8px; flex-shrink: 0; min-width: 60px; text-align: center;
}
.lv-badge-orange { background: var(--orange); color: #fff; }
.lv-info { flex: 1; }
.lv-name { font-size: 14.5px; font-weight: 700; }
.lv-rule { font-size: 12px; color: var(--text-3); margin-top: 3px; }
.lv-check {
  width: 24px; height: 24px; border-radius: 50%; background: var(--orange);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.cfg-submit { width: 100%; padding: 14px; font-size: 16px; margin-top: 6px; }

/* ================================================================
   考试须知（复刻 CAAC 官方在线考试系统 UI）
   主色：#005791 深蓝 / #0066cc 亮蓝
   风格：保留圆角 + 科技感，融合官方政务系统布局
   ================================================================ */

/* 须知页整体容器 */
.uom-exam-page {
  min-height: calc(100vh - 60px);
  position: relative;
  overflow: hidden;
  background: #f4f7fb;
}

/* 背景层：渐变天空 + SVG 无人机剪影 */
.uom-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(135deg, #1a5276 0%, #2980b9 40%, #85c1e9 70%, #d6eaf8 100%);
}
.uom-bg::before {
  /* 无人机 SVG 剪影 */
  content: "";
  position: absolute;
  top: -60px; right: -80px;
  width: 520px; height: 340px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 340'%3E%3Cdefs%3E%3ClinearGradient id='droneFade' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='white' stop-opacity='0.25'/%3E%3Cstop offset='100%25' stop-color='white' stop-opacity='0.05'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='url(%23droneFade)' stroke='rgba(255,255,255,0.3)' stroke-width='1'%3E%3Cellipse cx='130' cy='100' rx='80' ry='80' fill='none' stroke='white' stroke-opacity='0.35' stroke-width='3'/%3E%3Cellipse cx='130' cy='100' rx='40' ry='40' fill='none' stroke='white' stroke-opacity='0.5' stroke-width='2'/%3E%3Cellipse cx='390' cy='100' rx='80' ry='80' fill='none' stroke='white' stroke-opacity='0.35' stroke-width='3'/%3E%3Cellipse cx='390' cy='100' rx='40' ry='40' fill='none' stroke='white' stroke-opacity='0.5' stroke-width='2'/%3E%3Crect x='230' y='145' width='60' height='30' rx='8' fill='white' fill-opacity='0.25' stroke='white' stroke-opacity='0.5'/%3E%3Cline x1='140' y1='140' x2='230' y2='155' stroke='white' stroke-opacity='0.4' stroke-width='3'/%3E%3Cline x1='320' y1='140' x2='290' y2='155' stroke='white' stroke-opacity='0.4' stroke-width='3'/%3E%3Cline x1='140' y1='160' x2='230' y2='170' stroke='white' stroke-opacity='0.4' stroke-width='3'/%3E%3Cline x1='320' y1='160' x2='290' y2='170' stroke='white' stroke-opacity='0.4' stroke-width='3'/%3E%3Cline x1='260' y1='175' x2='260' y2='220' stroke='white' stroke-opacity='0.4' stroke-width='3'/%3E%3Crect x='240' y='218' width='40' height='28' rx='4' fill='white' fill-opacity='0.2' stroke='white' stroke-opacity='0.4'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.15));
}
.uom-bg::after {
  /* 装饰性光线 */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15), transparent);
  pointer-events: none;
}

/* 顶部导航栏 */
.uom-topbar {
  position: relative; z-index: 10;
  background: linear-gradient(90deg, #005791 0%, #0066cc 100%);
  box-shadow: 0 4px 16px rgba(0, 40, 80, .25);
  color: #fff;
}
.uom-topbar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 54px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.uom-logo {
  width: 28px; height: 28px; border-radius: 6px;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.uom-brand { font-size: 15px; font-weight: 700; letter-spacing: .3px; white-space: nowrap; }
.uom-nav { display: flex; align-items: center; gap: 4px; }
.uom-nav-item {
  color: rgba(255,255,255,.9); font-size: 13px; cursor: pointer;
  padding: 6px 12px; border-radius: 6px; transition: all .15s; white-space: nowrap;
}
.uom-nav-item:hover { background: rgba(255,255,255,.2); color: #fff; }

/* 主体：双栏等高面板居中（须知 | 考生信息） */
.uom-main {
  position: relative; z-index: 5;
  max-width: 920px; margin: 28px auto 40px; padding: 0 24px;
}
/* 双栏等高白色面板 + 中间分割线 */
.uom-panel {
  display: grid;
  grid-template-columns: 5fr 7fr;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 40, 80, 0.12);
  overflow: hidden;
  align-items: stretch;
}
/* 左栏：须知，紧凑排列 */
.uom-col-notice {
  padding: 32px 28px;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
/* 右栏：考生信息，宽松排列 */
.uom-col-info {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
/* 右栏：考试记录独立卡片，固定宽度贴右侧 */
.uom-history-card {
  width: 300px;
  flex-shrink: 0;
  padding: 22px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 40, 80, 0.12);
}

/* 公司名（导航栏左侧） */
.uom-company-top {
  font-size: 14px;
  font-weight: 700;
  color: #e8f0fa;
  letter-spacing: 1px;
  white-space: nowrap;
}
/* 导航栏内部分割线 */
.uom-topbar-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.3);
}

/* 左侧：考试须知 */
.uom-left { min-width: 0; }
.uom-notice-card {
  padding: 32px 36px; background: #fff;
  border: none; border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 40, 80, 0.12);
}
.uom-notice-title {
  font-size: 17px; font-weight: 700; color: #1a2b44; margin-bottom: 6px;
  padding-bottom: 8px; border-bottom: 2px solid #0066cc;
  display: inline-block;
}
.uom-rule {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 4px 0; font-size: 14px; color: #444; line-height: 1.65;
}
.uom-idx {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #e3edf7, #d0e0f0); color: #005791;
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

/* 考试信息条：题目数/时长/及格分 */
.uom-rule-banner {
  display: flex; gap: 16px; margin: 0;
  padding: 16px 20px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f2fc 100%);
  border-radius: 10px;
  border: 1px solid #d0e4f7;
}
.erb-item { flex: 1; text-align: center; }
.erb-num {
  font-size: 28px; font-weight: 800; color: #005791;
  font-variant-numeric: tabular-nums;
}
.erb-label { font-size: 12px; color: #5a7a9a; margin-top: 2px; }

/* 勾选协议 */
.uom-agree {
  display: flex; align-items: center; gap: 10px; margin-top: 0;
  font-size: 14px; color: #333; cursor: pointer; padding: 6px 0;
  padding-left: 12px;
  border-left: 3px solid #0066cc;
}
.uom-agree input { width: 18px; height: 18px; accent-color: #0066cc; cursor: pointer; }

/* 考试详情区：姓名+证件号码表单 */
.uom-exam-info {
  margin: 24px 0 18px;
  padding: 20px 24px;
  background: #fafbfd;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}
.uom-exam-info h4 {
  font-size: 15px; font-weight: 700; color: #1a2b44; margin-bottom: 14px;
}
.uom-info-row {
  display: flex; align-items: center; gap: 14px; margin-bottom: 12px;
}
.uom-info-row:last-child { margin-bottom: 0; }
.uom-info-row .label {
  width: 72px; font-size: 13px; color: #64748b; font-weight: 600; flex-shrink: 0;
}
.uom-info-row .value {
  flex: 1; padding: 8px 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 14px; color: #1a2b44; font-weight: 600;
}

/* 按钮区 */
.uom-notice-card .btn-primary {
  background: linear-gradient(135deg, #005791, #0066cc);
  box-shadow: 0 4px 14px rgba(0, 102, 204, .35);
  padding: 14px 28px;
  font-size: 15px;
  letter-spacing: 2px;
  font-weight: 700;
  border: none;
}
.uom-notice-card .btn-primary:hover {
  background: linear-gradient(135deg, #004d7f, #005bb8);
  box-shadow: 0 6px 20px rgba(0, 102, 204, .45);
  transform: translateY(-1px);
}
.uom-notice-card .btn-primary:disabled {
  opacity: .5; cursor: not-allowed; transform: none;
}
.uom-notice-card .btn-ghost {
  color: #64748b;
  border: 1px solid #e2e8f0;
  background: #fff;
}
.uom-notice-card .btn-ghost:hover {
  background: #f8fafc;
  color: #0066cc;
  border-color: #0066cc;
}

/* 右侧：考试记录 */
.uom-history-card {
  padding: 22px; background: #fff;
  border: none; border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 40, 80, 0.12);
}
.uom-history-title { font-size: 15px; font-weight: 700; color: #1a2b44; margin-bottom: 16px; }

/* 用户信息块 */
.uh-user {
  background: linear-gradient(135deg, #f0f7ff, #e8f2fc);
  border-radius: 10px; padding: 14px 16px; margin-bottom: 16px;
  font-size: 13px;
  border: 1px solid #d0e4f7;
}
.uh-user .uhu-line { display: flex; line-height: 2; }
.uh-user .uhu-label { color: #64748b; flex-shrink: 0; width: 72px; font-weight: 600; }
.uh-user .uhu-value { font-weight: 700; color: #1a2b44; }

/* 考试记录列表 */
.uom-history-empty {
  color: #94a3b8; font-size: 13px; text-align: center;
  padding: 32px 0; line-height: 1.8;
}
.uom-history-item {
  border: 1px solid #e2e8f0; border-radius: 10px;
  padding: 14px 16px; margin-bottom: 12px;
  transition: box-shadow .15s;
}
.uom-history-item:hover { box-shadow: 0 4px 12px rgba(0,40,80,.08); }
.uom-history-item .uh-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.uom-history-item .uh-name { font-size: 13px; font-weight: 600; color: #333; }
.uom-history-item .uh-score { font-size: 16px; font-weight: 800; }
.uom-history-item .uh-meta { display: flex; gap: 12px; font-size: 12px; color: #94a3b8; align-items: center; }
.uh-pass { color: #16a34a; }
.uh-fail { color: #dc2626; }
.uom-history-item .uh-status {
  font-weight: 600; font-size: 11px; padding: 2px 8px; border-radius: 4px;
}
.uom-history-item .uh-status.uh-pass { background: #dcfce7; color: #16a34a; }
.uom-history-item .uh-status.uh-fail { background: #fee2e2; color: #dc2626; }

/* 考试详情卡（右侧） */
.uom-exam-detail {
  margin-bottom: 16px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}
.uom-ed-header {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 600; color: #333; margin-bottom: 6px;
}
.uom-ed-meta { font-size: 12px; color: #64748b; }
.uom-ed-status {
  font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 10px;
}
.uom-ed-status.pass { background: #dcfce7; color: #16a34a; }
.uom-ed-status.fail { background: #fee2e2; color: #dc2626; }

/* ================================================================
   右侧考生信息+考试详情+开始按钮 卡片（图1右侧结构）
   ================================================================ */
.uom-right-card {
  padding: 32px 28px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 40, 80, 0.12);
}
.uom-right-title {
  font-size: 18px; font-weight: 800; color: #1a2b44;
  text-align: center; margin-bottom: 0;
  padding-bottom: 18px; border-bottom: 1px solid #e2e8f0;
  letter-spacing: .5px;
}
.uom-person-row {
  display: flex; gap: 48px; margin-bottom: 0;
  font-size: 14px;
  justify-content: center;
}
.uom-person-cell {
  display: flex; align-items: baseline; gap: 6px;
}
.uom-person-label { color: #64748b; font-weight: 600; white-space: nowrap; }
.uom-person-value { color: #1a2b44; font-weight: 700; }

/* 考试详情选择卡 */
.uom-exam-detail-card {
  border: 1px solid #0066cc;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 0;
  background: linear-gradient(135deg, rgba(0,102,204,0.03), rgba(0,102,204,0.08));
  position: relative;
}
.uom-exam-detail-card::after {
  /* 右侧下拉小三角 */
  content: "▼";
  position: absolute;
  right: 16px; top: 50%; transform: translateY(-50%);
  color: #0066cc; font-size: 10px;
}
.uedc-line {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 6px;
}
.uedc-title { font-size: 13px; font-weight: 600; color: #333; }
.uedc-score { font-size: 14px; font-weight: 800; padding-right: 18px; }
.uedc-score.pass { color: #16a34a; }
.uedc-score.fail { color: #dc2626; }
.uedc-meta {
  display: flex; align-items: center; gap: 10px; font-size: 12px; color: #64748b;
}
.uedc-date { letter-spacing: .5px; }
.uedc-status {
  font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px;
}
.uedc-status.pass { background: #dcfce7; color: #16a34a; }
.uedc-status.fail { background: #fee2e2; color: #dc2626; }

/* 开始考试大按钮（图1 红框强调） */
.uom-start-btn {
  display: block;
  width: 100%;
  margin-top: 0;
  padding: 16px 0;
  background: linear-gradient(135deg, #005791 0%, #0066cc 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 4px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 102, 204, 0.35);
  transition: all .18s;
}
.uom-start-btn:hover {
  background: linear-gradient(135deg, #004d7f 0%, #005bb8 100%);
  box-shadow: 0 8px 22px rgba(0, 102, 204, 0.45);
  transform: translateY(-1px);
}
.uom-start-btn.disabled,
.uom-start-btn:disabled {
  opacity: .45; cursor: not-allowed;
  box-shadow: none; transform: none;
  background: #94a3b8;
}

/* 考试头部（深蓝条，参考 caachub） */
.exam-topbar {
  position: sticky; top: 0; z-index: 60;
  background: var(--exam-header);
  background-image: linear-gradient(to right, rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 24px 24px;
  color: #fff; box-shadow: 0 4px 20px rgba(0, 50, 100, .35);
}
.exam-topbar-inner {
  max-width: 1360px; margin: 0 auto; padding: 0 20px; height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.exam-topbar .et-title { font-size: 15px; font-weight: 700; white-space: nowrap; }
.exam-topbar .et-sub { font-size: 12px; font-weight: 400; opacity: .7; margin-left: 6px; }
.exam-topbar .et-progress {
  font-family: "SF Mono", "Roboto Mono", ui-monospace, Menlo, monospace;
  font-size: 18px; font-weight: 800; letter-spacing: 1px;
  background: rgba(255,255,255,.12); padding: 4px 14px; border-radius: 10px;
  font-variant-numeric: tabular-nums;
}
.exam-topbar .et-right { display: flex; align-items: center; gap: 10px; }
.exam-topbar .et-timer {
  font-family: "SF Mono", "Roboto Mono", ui-monospace, Menlo, monospace;
  font-size: 22px; font-weight: 800; letter-spacing: 1px;
  background: rgba(255,255,255,.15); padding: 5px 16px; border-radius: 10px;
  font-variant-numeric: tabular-nums;
}
.exam-topbar .et-timer.warn { background: #fb2c36; animation: pulse 1s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .7; } }
.exam-topbar .et-quit {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
  color: #fff; font-size: 13px; padding: 6px 14px; border-radius: 8px; cursor: pointer;
  transition: all .15s;
}
.exam-topbar .et-quit:hover { background: rgba(255,255,255,.25); }

/* 考试主体布局：左信息栏 + 滚动题目 + 右侧答题卡（参考 caachub 三栏） */
.exam-layout {
  max-width: 1360px; margin: 20px auto; padding: 0 20px;
  display: grid; grid-template-columns: 200px 1fr 240px; gap: 18px;
  align-items: start;
}
/* 左栏：考试信息 */
.exam-info-card { position: sticky; top: 76px; padding: 16px; }
.exam-info-card .ei-item { padding: 10px 0; border-bottom: 1px dashed var(--border); }
.exam-info-card .ei-item:last-of-type { border-bottom: none; }
.exam-info-card .ei-label { font-size: 11.5px; color: var(--text-3); font-weight: 600; }
.exam-info-card .ei-num { font-size: 26px; font-weight: 800; color: var(--text); margin-top: 2px; font-variant-numeric: tabular-nums; }
.exam-info-card .ei-unit { font-size: 13px; color: var(--text-3); font-weight: 600; margin-left: 2px; }
.exam-info-card .ei-time { color: var(--primary-deep); }
.exam-info-card .ei-time.warn { color: var(--red); animation: pulse 1s infinite; }
.exam-info-card .ei-progress { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; margin-top: 3px; }
.exam-info-card .ei-p-a { color: var(--primary); }
.exam-info-card .ei-p-b { color: var(--text-3); }
/* 滚动式题目区 */
.exam-scroll-area { min-width: 0; }
.exam-type-bar {
  background: #f5f7fa; border: 1px solid #e5e7eb; border-radius: 8px;
  padding: 12px 18px; margin-bottom: 16px;
  font-size: 13.5px; color: #555;
}
.exam-type-bar span { font-weight: 600; color: #333; }
.exam-scroll-item { padding: 24px; margin-bottom: 16px; scroll-margin-top: 80px; }
.exam-scroll-item:target { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14,165,233,.15); }
.exam-question-card { padding: 26px; }
.exam-question-card .eq-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.exam-scroll-item .eq-header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.exam-question-card .eq-num {
  font-size: 14px; font-weight: 700; color: var(--primary-deep);
  background: var(--primary-light); padding: 5px 14px; border-radius: 20px;
}
.exam-scroll-item .eq-num {
  font-size: 16px; font-weight: 800; color: var(--text);
  flex-shrink: 0;
}
.exam-question-card .eq-chapter { font-size: 13px; color: var(--text-3); }
.exam-scroll-item .eq-chapter { font-size: 12px; color: var(--text-3); }
.exam-question-card .eq-body { font-size: 17px; font-weight: 600; line-height: 1.7; margin-bottom: 24px; }
.exam-scroll-item .eq-body { font-size: 16px; font-weight: 600; line-height: 1.7; margin-bottom: 18px; }
.exam-option {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 18px; border: 1.5px solid var(--border); border-radius: 12px;
  margin-bottom: 12px; cursor: pointer; transition: all .15s; background: #fff;
}
.exam-option:hover { border-color: var(--primary); }
.exam-option .eo-letter {
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px;
  color: var(--text-2); flex-shrink: 0; transition: all .15s;
}
.exam-option:hover .eo-letter { border-color: var(--primary); color: var(--primary); }
.exam-option.selected { border-color: var(--primary); background: var(--primary-50); }
.exam-option.selected .eo-letter { background: var(--primary); border-color: var(--primary); color: #fff; }
.exam-option .eo-text { line-height: 1.6; }
.exam-option.disabled { cursor: default; }
.exam-option.review-correct { border-color: var(--green); background: var(--green-light); }
.exam-option.review-correct .eo-letter { background: var(--green); border-color: var(--green); color: #fff; }
.exam-option.review-wrong { border-color: var(--red); background: var(--red-light); }
.exam-option.review-wrong .eo-letter { background: var(--red); border-color: var(--red); color: #fff; }

.exam-nav { display: flex; justify-content: space-between; margin-top: 22px; gap: 12px; }

/* 答题卡（右侧栏） */
.answer-sheet-card { position: sticky; top: 76px; padding: 18px; }
.answer-sheet-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; display: flex; justify-content: space-between; align-items: center; }
.answer-sheet-card .as-count { font-size: 13px; color: var(--text-3); font-weight: 700; }
.answer-sheet-card .as-types { display: flex; gap: 6px; margin: 10px 0 4px; flex-wrap: wrap; }
.as-type {
  font-size: 11px; color: var(--text-3); background: var(--bg);
  border: 1px solid var(--border); border-radius: 6px; padding: 3px 8px;
}
.as-type b { color: var(--text); margin-left: 2px; }
.answer-sheet-card .as-progress { font-size: 12px; color: var(--text-3); margin-bottom: 10px; }
.as-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 16px; }
.sheet-btn {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  border: 1.5px solid #d0d7de;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .12s;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
}
.sheet-btn:hover { border-color: var(--primary); background: #f0f7ff; }
/* 已答：蓝色实底白字 */
.sheet-btn.answered {
  background: #1a73e8;
  border-color: #1a73e8;
  color: #fff;
}
/* 在答（当前题）：绿色边框 + 浅绿底，优先级高于已答（不叠加蓝色） */
.sheet-btn.current,
.sheet-btn.answered.current {
  background: #f0fdf4;
  border-color: #16a34a;
  color: #15803d;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.4);
}
.as-submit { width: 100%; margin-top: 14px; }
.as-legend { display: flex; gap: 16px; margin-top: 12px; font-size: 11px; color: var(--text-3); flex-wrap: wrap; }
.as-legend .lg { display: flex; align-items: center; gap: 5px; }
.as-legend .lg i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.as-legend .lg .lg-a { background: #1a73e8; border: 1px solid #1a73e8; }
.as-legend .lg .lg-b { border: 1.5px solid #d0d7de; background: #fff; }
.as-legend .lg .lg-c { border: 1.5px solid #16a34a; background: #f0fdf4; }

/* 成绩页 */
.exam-result { max-width: 560px; margin: 30px auto; text-align: center; padding: 44px 32px; }
.exam-result .big-score { font-size: 68px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.exam-result .big-score.pass { color: var(--green); }
.exam-result .big-score.fail { color: var(--red); }
.exam-result .sub { color: var(--text-2); margin-top: 10px; font-size: 15px; }
.exam-result .pass-badge { margin: 18px auto 0; width: fit-content; }
.result-title { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.result-tip { font-size: 13px; color: var(--text-3); margin-top: 14px; }
.ring-wrap { position: relative; width: 150px; height: 150px; margin: 0 auto 20px; }
.ring-wrap svg { transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--bg-deep); stroke-width: 10; }
.ring-fg {
  fill: none; stroke: var(--green); stroke-width: 10; stroke-linecap: round;
  transition: stroke-dashoffset 1s ease;
}
.ring-fg.fail { stroke: var(--red); }
.ring-num {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.ring-num .rn-score { font-size: 40px; font-weight: 900; }
.ring-num .rn-label { font-size: 12px; color: var(--text-3); }

/* ============ 管理端 ============ */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
th { background: #fafbfd; color: var(--text-3); font-weight: 600; font-size: 13px; }
tr:hover td { background: #fafbfd; }
.pager { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 14px; font-size: 13px; color: var(--text-2); }
.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar .input { width: 200px; }
.toolbar .select { width: 150px; }

/* 弹窗 */
.modal-mask {
  position: fixed; inset: 0; background: rgba(15, 30, 60, .5); z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(3px);
}
.modal {
  background: #fff; border-radius: 18px; width: 100%; max-width: 520px;
  max-height: 90vh; overflow-y: auto; padding: 26px;
  box-shadow: 0 24px 70px rgba(0, 10, 40, .3); animation: modalIn .2s;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal h3 { font-size: 18px; margin-bottom: 20px; }
.modal-footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.modal .close { float: right; color: var(--text-3); font-size: 20px; cursor: pointer; padding: 4px; }

/* 通用弹窗（modal-box 风格） */
.modal-box {
  background: #fff; border-radius: 18px; width: 100%; max-width: 520px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 24px 70px rgba(0, 10, 40, .3); animation: modalIn .2s;
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: #fff; border-radius: 18px 18px 0 0; z-index: 1;
}
.modal-title { font-size: 16px; font-weight: 800; color: var(--text-2); }
.modal-close { font-size: 18px; color: var(--text-3); cursor: pointer; padding: 4px 8px; border-radius: 6px; transition: all .15s; }
.modal-close:hover { background: var(--bg); color: var(--text-1); }
.modal-body { padding: 18px 22px 22px; }

/* 按章节随机选择器 */
.rp-hint { font-size: 13px; color: var(--text-3); margin-bottom: 14px; }
.rp-list { display: flex; flex-direction: column; gap: 8px; }
.rp-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  border: 1.5px solid var(--border); border-radius: 12px; cursor: pointer;
  transition: all .15s; background: #fff;
}
.rp-item:hover {
  border-color: var(--orange); transform: translateX(2px);
  box-shadow: 0 4px 12px rgba(251,146,60,.12);
}
.rp-item.rp-all {
  background: linear-gradient(135deg, #fff7ed, #fff);
  border-color: rgba(251,146,60,.3);
}
.rp-ico { font-size: 22px; flex-shrink: 0; }
.rp-info { flex: 1; min-width: 0; }
.rp-name { font-size: 14px; font-weight: 700; color: var(--text-2); }
.rp-desc { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.rp-arrow { color: var(--text-3); font-size: 16px; }

/* toast */
.toast-wrap { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast {
  background: #2b3a52; color: #fff; padding: 10px 22px; border-radius: 24px;
  font-size: 14px; box-shadow: 0 6px 20px rgba(0,0,0,.2); animation: toastIn .25s;
}
.toast.ok { background: var(--green); }
.toast.err { background: var(--red); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.empty { text-align: center; color: var(--text-3); padding: 60px 0; }
.empty .icon { font-size: 44px; margin-bottom: 12px; }
.loading { text-align: center; padding: 60px; color: var(--text-3); }
.spinner {
  width: 30px; height: 30px; border: 3px solid var(--primary-light);
  border-top-color: var(--primary); border-radius: 50%;
  margin: 0 auto 12px; animation: spin .8s linear infinite;
}
.rate-bar { height: 8px; background: var(--bg-deep); border-radius: 4px; overflow: hidden; }
.rate-bar .fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--primary), var(--purple)); }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .exam-layout { grid-template-columns: 1fr; }
  .exam-info-card { position: static; order: -2; }
  .answer-sheet-card { position: static; order: -1; }
  .as-grid { grid-template-columns: repeat(10, 1fr); }
  .uom-main { max-width: none; }
  .uom-panel { grid-template-columns: 1fr; }
  .uom-col-notice { border-right: none; border-bottom: 1px solid #e2e8f0; }
  .uom-nav { display: none; }
  .uom-topbar-inner { justify-content: center; }
  .uom-brand { font-size: 13px; }
  .uom-bg::before { width: 280px; height: 180px; top: -40px; right: -40px; }
  .uom-col-notice, .uom-col-info { padding: 24px 20px; }
  .uom-person-row { gap: 24px; }
  .uom-right-title { font-size: 16px; }
}
@media (max-width: 768px) {
  .layout { flex-direction: column; padding: 14px 12px; gap: 12px; }
  .sidebar { display: none; }
  .mobile-nav {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 70;
    background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
  }
  .mobile-nav .m-item { flex: 1; text-align: center; padding: 6px 2px; font-size: 11px; color: var(--text-3); }
  .mobile-nav .m-item .mi { font-size: 20px; display: block; }
  .mobile-nav .m-item.active { color: var(--primary); font-weight: 700; }
  .content { padding-bottom: 66px; }
  .topbar { padding: 0 12px; }
  .quiz-body { padding: 18px 14px; }
  .hero-banner { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .hero-title { font-size: 23px; }
  .hero-right { width: 100%; }
  .hero-card { flex: 1; }
  .hero-mini-cards { flex-direction: row; }
  .hero-mini { flex: 1; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .feature-card { padding: 18px 14px; }
  .fc-icon { width: 42px; height: 42px; font-size: 22px; margin-bottom: 10px; }
  .fc-name { font-size: 15px; }
  .fc-desc { font-size: 12px; min-height: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-card { padding: 14px; }
  .stat-card .num { font-size: 24px; }
  .entry-grid { grid-template-columns: repeat(2, 1fr); }
  .exam-topbar-inner { padding: 0 12px; }
  .exam-topbar .et-title { display: none; }
  .exam-topbar .et-meta { display: none; }
  .exam-topbar-inner { justify-content: center; gap: 10px; }
  .exam-topbar .et-progress { font-size: 15px; }
  .exam-topbar .et-timer { font-size: 17px; padding: 4px 10px; }
  .exam-topbar .et-quit { display: none; }
  .exam-layout { padding: 12px; margin-top: 12px; }
  .exam-question-card { padding: 18px 14px; }
  .exam-scroll-item { padding: 16px 14px; }
  .answer-sheet-card { padding: 14px; }
  .as-grid { grid-template-columns: repeat(10, 1fr); max-height: 140px; overflow-y: auto; }
  .toolbar .input { width: 100%; }
  .toolbar { flex-direction: column; align-items: stretch; }

  /* ---- 章节练习页：移动端适配 ---- */
  .pg-header { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 16px; }
  .pg-title { font-size: 19px; }
  .pg-actions { width: 100%; justify-content: space-between; }
  .pg-count { flex: 1; width: auto; }
  .pg-actions .btn { white-space: nowrap; }

  /* 总进度卡片：竖排 */
  .chapter-summary { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
  .cs-right { width: 100%; min-width: 0; }
  .cs-pct { font-size: 22px; min-width: 52px; }

  /* 章节行：允许换行，进度条+按钮各占一行 */
  .chapter-row { flex-wrap: wrap; gap: 12px; padding: 14px; }
  .cr-left { flex: 1 1 100%; min-width: 0; gap: 10px; }
  .cr-icon { font-size: 22px; }
  .cr-name { font-size: 14px; word-break: break-all; white-space: normal; }
  .cr-meta { font-size: 11.5px; }
  .cr-sep { margin: 0 4px; }
  .cr-progress { flex: 1 1 55%; min-width: 0; }
  .cr-actions { flex-shrink: 0; gap: 6px; }
  .cr-actions .btn { padding: 6px 10px; font-size: 12px; }

  /* 选项项：紧凑一点，增大点击区域友好度 */
  .option-item { padding: 12px 13px; gap: 10px; }
  .option-item .text { font-size: 14.5px; }
  .quiz-question { font-size: 15.5px; margin-bottom: 18px; }

  /* 答题页底部按钮：窄屏防溢出 */
  .quiz-footer { flex-wrap: wrap; gap: 10px; }
  .quiz-footer .btn { flex: 1 1 auto; min-width: 0; white-space: nowrap; }

  /* ---- 学习中心：移动端适配 ---- */
  .sc-head-title { font-size: 21px; }
  .sc-head-en { display: none; }
  .sc-head { margin-bottom: 14px; }

  /* 学习模式卡片：3列 → 2列，随机卡片跨满 */
  .mission-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mission-card { padding: 18px 16px; min-height: 120px; }
  .m-name { font-size: 16px; }
  .m-desc { font-size: 12px; max-width: 100%; }
  .m-ico { font-size: 30px; right: 10px; bottom: 8px; }
  .m-tag { margin-bottom: 10px; }
  .random-card { grid-column: span 2; min-height: 120px; }
  .m-count-chip { flex: 1 1 auto; text-align: center; }

  /* 智能学习横幅：竖排 */
  .ss-card { flex-direction: column; align-items: stretch; gap: 12px; padding: 18px 16px; }
  .ss-actions { flex-direction: row; width: 100%; }
  .ss-actions .btn { flex: 1; }

  /* section-title 紧凑 */
  .section-title { font-size: 15px; margin: 20px 0 12px; }
  .card-head-en { display: none; }
}

/* ==================== 个人信息页 ==================== */
.profile-page { max-width: 480px; margin: 0 auto; padding: 0; overflow: hidden; }
.profile-nav {
  padding: 12px 28px; font-size: 14px; color: var(--text-3);
  cursor: pointer; display: flex; align-items: center; gap: 4px;
  border-bottom: 1px solid var(--border);
}
.profile-nav:hover { color: var(--primary); }
.profile-header {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  padding: 36px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: #fff;
}
.profile-header .avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 700;
  border: 3px solid rgba(255,255,255,.5);
}
.profile-title h2 { margin: 0; font-size: 22px; font-weight: 700; }
.profile-title .role-tag {
  display: inline-block; margin-top: 4px;
  background: rgba(255,255,255,.22);
  color: #fff; font-size: 12px; padding: 2px 10px; border-radius: 10px;
}
.profile-form { padding: 28px 28px 8px; }
.pf-item { margin-bottom: 20px; }
.pf-item label {
  display: block; font-size: 13px; color: var(--text-3);
  margin-bottom: 6px; font-weight: 500;
}
.pf-item input {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 15px; color: var(--text); background: #fff;
  transition: border-color .15s;
  box-sizing: border-box;
}
.pf-item input:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14,165,233,.12);
}
.pf-item input:disabled {
  background: var(--bg); color: var(--text-3); cursor: not-allowed;
}
.profile-actions { padding: 8px 28px 28px; }
.profile-actions .btn { padding: 12px; font-size: 15px; }

/* 侧边栏用户卡片可点击样式 */
.sb-user-link { cursor: pointer; transition: background .15s; }
.sb-user-link:hover { background: rgba(14,165,233,.08); }
.sb-user-link .sb-gear { font-size: 14px; color: var(--text-3); margin-right: 4px; }
.sb-user-link.active { background: rgba(14,165,233,.12); }

/* ============================================================
   实操预约 - 场次卡片样式
   ============================================================ */
/* 卡片网格：自适应 2-3 列 */
.session-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.session-card {
  background: var(--card); border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  padding: 20px; display: flex; flex-direction: column; gap: 12px;
  transition: all .2s;
}
.session-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.sc-head { display: flex; gap: 12px; align-items: flex-start; }
.sc-icon {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary-light), #bae6fd);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.sc-title-wrap { flex: 1; min-width: 0; }
.sc-title {
  font-size: 16px; font-weight: 700; color: var(--text);
  margin-bottom: 6px; line-height: 1.4;
  /* 单行省略 */
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sc-sub { display: flex; gap: 6px; flex-wrap: wrap; }
.sc-info { display: flex; flex-direction: column; gap: 6px; }
.sc-row { display: flex; font-size: 13.5px; align-items: center; }
.sc-k {
  color: var(--text-3); width: 64px; flex-shrink: 0; font-size: 12.5px;
}
.sc-v { color: var(--text); flex: 1; }
.sc-num-ok { color: var(--green); font-weight: 700; }
.sc-num-full { color: var(--red); font-weight: 700; }
.sc-remark {
  font-size: 12.5px; color: var(--text-2); line-height: 1.5;
  background: var(--bg); padding: 8px 10px; border-radius: 8px;
  border-left: 3px solid var(--primary);
}
.sc-foot { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
.sc-foot .btn { flex: 1; }

/* 我的预约 - 列表式卡片 */
.session-list { display: flex; flex-direction: column; gap: 12px; }
.booking-card {
  background: var(--card); border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  padding: 16px 20px; transition: all .2s;
}
.booking-card:hover { box-shadow: var(--shadow-md); }
.booking-card.bk-cancelled { opacity: .65; }
.booking-card.bk-booked { border-left: 4px solid var(--green); }
.booking-card.bk-cancelled { border-left: 4px solid var(--text-3); }
.bc-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.bc-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.bc-info { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; color: var(--text-2); }
.bc-foot { display: flex; justify-content: flex-end; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border); }

/* 表单多列布局（管理端新建场次弹窗用） */
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
@media (max-width: 600px) {
  .form-row2, .form-row3 { grid-template-columns: 1fr; }
  .session-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   实操预约 - 日期格子（自主预约模式）
   ============================================================ */
/* 图例小圆点 */
.slot-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  margin-right: 4px; vertical-align: middle;
}
.slot-dot.slot-ok { background: var(--green); }
.slot-dot.slot-mine { background: var(--primary); }
.slot-dot.slot-full { background: var(--red); }

/* 日期网格 */
.slot-date-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.slot-date-card {
  background: var(--card); border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  overflow: hidden; transition: all .2s;
}
.slot-date-card:hover { box-shadow: var(--shadow-md); }
.sdc-head {
  padding: 12px 14px; background: linear-gradient(135deg, var(--primary-light), #f0f9ff);
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.sdc-date { font-size: 18px; font-weight: 700; color: var(--primary-deep); font-variant-numeric: tabular-nums; }
.sdc-week { font-size: 13px; color: var(--text-2); font-weight: 500; }
.sdc-slots { display: flex; flex-direction: column; gap: 8px; padding: 10px; }
.sdc-slot {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--border); background: #fff;
  transition: all .15s;
}
.sdc-slot.slot-ok { border-color: var(--green); background: var(--green-light); }
.sdc-slot.slot-mine { border-color: var(--primary); background: var(--primary-light); }
.sdc-slot.slot-full { border-color: var(--red); background: var(--red-light); opacity: .7; }
.sdc-slot-label { font-weight: 600; font-size: 14px; min-width: 36px; }
.sdc-slot-info { flex: 1; font-size: 12.5px; color: var(--text-2); }
.sdc-slot.slot-ok .sdc-slot-info { color: var(--green); font-weight: 600; }
.sdc-slot-btn { padding: 4px 12px; font-size: 12px; }
@media (max-width: 600px) {
  .slot-date-grid { grid-template-columns: 1fr; }
}

/* ============ 地面站 ============ */
.page-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
}
.pg-badge {
  padding: 8px 16px; background: var(--primary-light);
  color: var(--primary-deep); border-radius: 20px;
  font-size: 13px; font-weight: 600;
}
.region-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px; padding: 8px;
}
.region-card {
  display: flex; flex-direction: column; align-items: center;
  padding: 18px 14px; border-radius: 14px; cursor: pointer;
  border: 2px solid var(--border); background: #fff;
  transition: all .2s;
}
.region-card:hover {
  border-color: var(--primary); transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(14,165,233,.14);
}
.region-card.active {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--primary-light), #f0f9ff);
  box-shadow: 0 4px 12px rgba(14,165,233,.15);
}
.region-name { font-size: 16px; font-weight: 700; color: var(--text-2); }
.region-card.active .region-name { color: var(--primary-deep); }
.region-count { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.region-card.active .region-count { color: var(--primary); }
.province-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px; padding: 8px;
}
.province-card {
  display: flex; flex-direction: column; align-items: center;
  padding: 16px 12px; border-radius: 12px; cursor: pointer;
  border: 2px solid var(--border); background: #fff;
  transition: all .2s;
}
.province-card:hover {
  border-color: var(--primary); transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14,165,233,.12);
}
.province-card.active {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--primary-light), #f0f9ff);
}
.province-name { font-size: 16px; font-weight: 700; color: var(--text-2); }
.province-card.active .province-name { color: var(--primary-deep); }
.province-count { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.province-card.active .province-count { color: var(--primary); }

.site-card {
  display: block;
  border: 1px solid var(--border); border-radius: 12px;
  background: #fff; margin-bottom: 10px;
  cursor: pointer; overflow: hidden;
  transition: all .2s;
}
.site-card:hover { border-color: var(--primary); box-shadow: 0 4px 14px rgba(14,165,233,.1); transform: translateY(-1px); }
.sc-top {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px 10px;
}
.sc-ico { font-size: 16px; }
.sc-name { font-size: 15px; font-weight: 700; color: var(--text); }
.sc-arrow {
  font-size: 12px; color: var(--primary); font-weight: 600;
  margin-left: auto; white-space: nowrap;
}
.site-card:hover .sc-arrow { text-decoration: underline; }
/* 卡片内详情：仿 uom 官网三列 */
.sc-detail {
  display: flex; gap: 20px; flex-wrap: wrap;
  padding: 4px 18px 16px;
}
.scd-col { display: flex; flex-direction: column; gap: 8px; min-width: 130px; }
.scd-col-wide { flex: 1; min-width: 260px; }
.scd-row { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; line-height: 1.6; }
.scd-tag {
  flex-shrink: 0;
  background: rgba(14,165,233,.1); color: var(--primary-deep);
  border-radius: 5px; padding: 1px 8px; font-size: 11.5px; font-weight: 700;
}
.scd-tag-green { background: rgba(82,196,26,.1); color: #3f8f0d; }
.scd-label { flex-shrink: 0; color: var(--text-3); }
.scd-label-green { color: #3f8f0d; }
.scd-text { color: var(--text-2); }
.sc-papers-empty {
  text-align: center; padding: 30px 16px;
  background: #fff; border: 1px dashed var(--border); border-radius: 10px;
}
.gs-search {
  width: 100%; padding: 12px 16px; border-radius: 10px;
  border: 2px solid var(--border); background: #fff;
  font-size: 14px; color: var(--text); outline: none;
  transition: border-color .18s;
}
.gs-search:focus { border-color: var(--primary); }
.gs-search::placeholder { color: var(--text-3); }
.site-detail {
  display: flex; flex-direction: column; gap: 0;
  padding: 8px 0;
}
.sd-row {
  display: flex; gap: 16px; padding: 10px 4px;
  border-bottom: 1px dashed var(--border);
  font-size: 14px; line-height: 1.6;
}
.sd-row:last-child { border-bottom: none; }
.sd-label {
  flex-shrink: 0; width: 108px; color: var(--text-3); font-weight: 600;
}
.sd-value { color: var(--text); flex: 1; }
.site-detail .sd-value a { color: var(--primary); text-decoration: none; }

.question-paper {
  display: flex; align-items: center; gap: 16px;
  padding: 16px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--border); background: #fff;
  transition: all .2s; margin-bottom: 10px;
}
.question-paper:hover {
  border-color: var(--primary); transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(14,165,233,.1);
}
.qp-main { flex: 1; }
.qp-title { font-size: 15px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.qp-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--text-3); }
.qp-diff {
  padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600;
}
.qp-diff.diff-简单 { background: #dcfce7; color: #16a34a; }
.qp-diff.diff-中等 { background: #fef3c7; color: #d97706; }
.qp-diff.diff-较难 { background: #fee2e2; color: #dc2626; }
.qp-action {
  padding: 8px 16px; background: var(--primary); color: #fff;
  border-radius: 8px; font-size: 13px; font-weight: 600;
  white-space: nowrap;
}

/* ============ 地面站真题样式 ============ */
.question-list {
  display: flex; flex-direction: column; gap: 12px;
}
.question-card {
  padding: 18px 20px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--border); background: #fff;
  transition: all .2s;
}
.question-card:hover {
  border-color: var(--primary); transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(14,165,233,.1);
}
.qc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.qc-num {
  font-size: 13px; font-weight: 700; color: var(--primary-deep);
  background: rgba(14,165,233,.1); padding: 2px 10px; border-radius: 6px;
}
.qc-tag {
  font-size: 12px; font-weight: 600; color: #b45309;
  background: rgba(245,158,11,.12); padding: 2px 10px; border-radius: 6px;
}
.qc-type {
  font-size: 12px; color: #3f8f0d; font-weight: 600;
  background: rgba(82,196,26,.1); padding: 2px 10px; border-radius: 6px;
}
.qc-title { font-size: 16px; font-weight: 600; color: var(--text); margin: 4px 0 12px; line-height: 1.5; }
.qc-preview {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: var(--bg); border-radius: 8px;
  font-size: 13px;
}
.qc-param-count { color: var(--text-2); font-weight: 500; }
.qc-view { color: var(--primary); font-weight: 600; cursor: pointer; }
.qc-view:hover { text-decoration: underline; }

.exam-tag {
  display: inline-block; font-size: 11.5px; font-weight: 600;
  padding: 3px 10px; margin: 3px 6px 3px 0;
  border-radius: 10px; background: rgba(14,165,233,.08);
  color: var(--primary-deep);
}
.site-list { display: flex; flex-direction: column; gap: 12px; }

/* 地面站模态框 */
.gs-modal { max-width: 680px; max-height: 85vh; }
.qd-info { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.qd-tag {
  font-size: 12px; font-weight: 600; color: #b45309;
  background: rgba(245,158,11,.12); padding: 3px 12px; border-radius: 6px;
}
.qd-type-tag {
  font-size: 12px; font-weight: 600; color: #3f8f0d;
  background: rgba(82,196,26,.1); padding: 3px 12px; border-radius: 6px;
}
.qd-site {
  font-size: 12px; color: var(--text-3);
  background: var(--bg); padding: 3px 12px; border-radius: 6px;
}
.qd-params {
  display: flex; flex-direction: column; gap: 10px;
  padding: 4px 0 16px; max-height: 50vh; overflow-y: auto;
}
.qd-param {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 14px; background: var(--bg); border-radius: 8px;
  line-height: 1.6;
}
.qd-param-num {
  flex-shrink: 0; font-weight: 700; color: var(--primary-deep);
  min-width: 24px;
}
.qd-param-text { color: var(--text-2); font-size: 14px; flex: 1; }
.qd-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 16px; border-top: 1px solid var(--border); }

/* 地面站题目 PDF 截图 */
.qd-image-wrap {
  margin: 12px 0 16px;
  text-align: center;
}
.qd-image {
  max-width: 100%;
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
  cursor: zoom-in;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: transform .2s;
}
.qd-image:hover { transform: scale(1.01); }
.qd-params-title {
  font-size: 13px; font-weight: 700; color: var(--text-2);
  margin-bottom: 8px; padding-bottom: 6px;
  border-bottom: 1px dashed var(--border);
}

/* ============ 题库卡片图标 ============ */
.lb-icon { font-size: 22px; flex-shrink: 0; }

/* ============ 口试基础知识 - 章节纵向列表 ============ */
.oral-chapter-list {
  display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px;
}
.oral-chapter-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--radius-sm); cursor: pointer;
  background: #fff; border: 1px solid var(--border);
  font-size: 14px; color: var(--text); transition: all .18s;
}
.oral-chapter-item:hover { border-color: var(--primary); background: var(--primary-50); }
.oral-chapter-item.active {
  background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600;
}
.oci-icon { font-size: 18px; flex-shrink: 0; }
.oci-name { flex: 1; }
.oci-count {
  font-size: 12px; padding: 2px 8px; border-radius: 10px;
  background: var(--primary-light); color: var(--primary-deep);
}
.oral-chapter-item.active .oci-count { background: rgba(255,255,255,.25); color: #fff; }

/* ---------- 口试真题 - 省份列表 ---------- */
.oral-province-list { display: flex; flex-direction: column; gap: 6px; }
.oral-province-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-radius: var(--radius-sm); cursor: pointer;
  background: #fff; border: 1px solid var(--border);
  font-size: 14px; transition: all .18s;
}
.oral-province-item:hover { border-color: var(--primary); background: var(--primary-50); }
.oral-province-item.active { background: var(--primary); color: #fff; font-weight: 600; }
.opi-name { flex: 1; }
.opi-count { font-size: 12px; padding: 2px 8px; border-radius: 10px; background: var(--primary-light); color: var(--primary-deep); }
.oral-province-item.active .opi-count { background: rgba(255,255,255,.25); color: #fff; }
.oral-qlist { display: flex; flex-direction: column; gap: 12px; }
.oral-qcard {
  padding: 18px 20px; border-radius: 12px; background: #fff;
  border: 1px solid var(--border); transition: all .2s;
}
.oral-qcard:hover { box-shadow: var(--shadow-md); }
.oral-qhead {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap;
}
.oral-qtag {
  padding: 2px 10px; border-radius: 4px; font-size: 11px; font-weight: 600;
  background: var(--primary-light); color: var(--primary-deep);
}
.oral-qdiff {
  padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600;
}
.oral-qdiff.diff-易, .oral-qdiff.diff-简单 { background: #dcfce7; color: #16a34a; }
.oral-qdiff.diff-中, .oral-qdiff.diff-中等 { background: #fef3c7; color: #d97706; }
.oral-qdiff.diff-难, .oral-qdiff.diff-较难 { background: #fee2e2; color: #dc2626; }
.oral-qsrc { font-size: 11px; color: var(--text-3); }
.oral-qtitle { font-size: 15px; font-weight: 600; color: var(--text-2); line-height: 1.7; margin-bottom: 12px; }
.oral-qnum { font-weight: 700; margin-right: 4px; }
.oral-qanswer {
  padding: 14px 16px; background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border-radius: 10px; border-left: 3px solid var(--primary); margin-bottom: 12px;
}
.oral-qanswer-t { font-size: 12px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.oral-qanswer-b { font-size: 14px; color: var(--text-2); line-height: 1.8; white-space: pre-wrap; }
.oral-qtoggle { font-size: 12px; }

/* ============ AI 口试 ============ */
.oral-progress {
  padding: 6px 14px; background: var(--primary-light); color: var(--primary-deep);
  border-radius: 16px; font-size: 13px; font-weight: 600;
}
.ai-oral-box {
  display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 18px; min-height: 60vh;
}
.ai-oral-chat {
  flex: 1; overflow-y: auto; padding: 6px; display: flex; flex-direction: column; gap: 14px;
  max-height: 52vh;
}
.aoc-msg { max-width: 88%; padding: 12px 16px; border-radius: 14px; line-height: 1.7; }
.aoc-role { font-size: 11px; font-weight: 700; margin-bottom: 4px; opacity: .8; }
.aoc-examiner {
  align-self: flex-start; background: var(--primary-light); color: var(--text-2);
  border-bottom-left-radius: 4px;
}
.aoc-student {
  align-self: flex-end; background: var(--primary); color: #fff;
  border-bottom-right-radius: 4px;
}
.aoc-feedback {
  align-self: center; max-width: 96%; background: #fef9c3; color: #854d0e;
  font-size: 13px; border-radius: 10px; border: 1px dashed #facc15;
}
.aoc-content { font-size: 14px; }
.aoc-cat { font-size: 11px; font-weight: 700; color: var(--primary); margin-right: 6px; }
.aoc-student .aoc-cat { color: #fff; }
.ai-oral-input { display: flex; gap: 10px; align-items: flex-end; }
.ai-oral-ta {
  flex: 1; resize: vertical; min-height: 70px; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: 10px; font-size: 14px;
  font-family: inherit; line-height: 1.6;
}
.ai-oral-ta:focus { outline: none; border-color: var(--primary); }
.oral-score { font-size: 56px; font-weight: 800; line-height: 1; }
.oral-hist {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  border-radius: 10px; background: var(--bg); margin-bottom: 8px; font-size: 13px;
}
.oral-hist-score { font-size: 16px; font-weight: 800; min-width: 56px; }
.oral-hist-fb { flex: 1; color: var(--text-2); }
.oral-hist-time { color: var(--text-3); font-size: 12px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
