/* ============================================================
   Yikao TOEFL · 设计系统
   纸白 #F7F5F0 / 墨绿 #0E5A56 / 金 #B4853A
   中文 Noto Sans SC · 数字英文 Inter · 品牌标语 Playfair Display Italic
   ============================================================ */

:root {
  --paper: #F7F5F0;
  --paper-2: #FBF9F5;
  --card: #FFFFFF;
  --ink: #1E1C19;
  --ink-2: #57534B;
  --muted: #8E887C;
  --faint: #B4AEA2;
  --line: #E7E2D6;
  --line-2: #EFEBE1;
  --green: #0E5A56;
  --green-dk: #0C4E4A;
  --green-hover: #0A4A47;
  --green-lt: #E9F1EF;
  --gold: #B4853A;
  --gold-lt: #F5EEDF;
  --ok: #2C7A5B;
  --ok-bg: #EBF4F0;
  --ok-line: #BCD9CC;
  --bad: #B3482F;
  --bad-bg: #FBEDE9;
  --bad-line: #EBC7BC;
  --r: 10px;
  --shadow: 0 1px 2px rgba(30, 28, 25, .04), 0 8px 24px -12px rgba(30, 28, 25, .10);
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans SC',
          'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --serif: 'Playfair Display', Georgia, 'Songti SC', 'Noto Serif SC', serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
::selection { background: #CFE3DE; }

/* ── 通用原子 ───────────────────────────────────────────── */
.num { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; }
.mono { font-family: 'Inter', ui-monospace, monospace; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.hidden { display: none !important; }
.grow { flex: 1; }
.row { display: flex; align-items: center; gap: 12px; }
.col { display: flex; flex-direction: column; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* ── 按钮 ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 36px; padding: 0 16px; border-radius: 8px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 13px; font-weight: 500; transition: .15s;
  white-space: nowrap;
}
.btn:hover { background: #FCFBF8; border-color: #DAD3C4; }
.btn-primary { background: var(--green); border-color: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-hover); border-color: var(--green-hover); }
.btn-dark { background: #23302E; border-color: #23302E; color: #fff; }
.btn-dark:hover { background: #172220; }
.btn-sm { height: 30px; padding: 0 12px; font-size: 12px; border-radius: 7px; }
.btn-lg { height: 44px; padding: 0 22px; font-size: 14px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: #F0ECE2; color: var(--ink); }

/* ── 卡片 / 标签 ─────────────────────────────────────────── */
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow);
}
.card-flat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.pad { padding: 20px; }
.pad-lg { padding: 24px; }

.tag {
  display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px;
  border-radius: 5px; background: #F2EEE4; color: var(--ink-2);
  font-size: 11px; font-weight: 500; letter-spacing: .01em;
}
.tag-green { background: var(--green-lt); color: var(--green); }
.tag-gold { background: var(--gold-lt); color: var(--gold); }
.tag-ok { background: var(--ok-bg); color: var(--ok); }
.tag-bad { background: var(--bad-bg); color: var(--bad); }

.kicker { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

/* ── 顶栏 ───────────────────────────────────────────────── */
.hdr {
  height: 62px; background: var(--paper-2); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; position: sticky; top: 0; z-index: 40;
}
.hdr .wrap { display: flex; align-items: center; gap: 28px; width: 100%; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 13px; letter-spacing: .1em; color: var(--ink); }
.brand svg { flex: none; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav a {
  padding: 7px 12px; border-radius: 7px; font-size: 13px; color: var(--ink-2); font-weight: 500;
}
.nav a:hover { background: #F0ECE2; color: var(--ink); }
.nav a.on { background: #fff; color: var(--green); box-shadow: 0 1px 2px rgba(0,0,0,.05); }

.userchip { display: flex; align-items: center; gap: 9px; }
.userchip .av {
  width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 600;
}
.userchip .who { font-size: 12.5px; font-weight: 500; }

.wrap { width: 100%; max-width: 1150px; margin: 0 auto; padding: 0 32px; }
.page { padding: 34px 0 60px; }

/* ── 登录 ───────────────────────────────────────────────── */
.login { display: grid; grid-template-columns: 1.06fr 1fr; min-height: 100vh; }
.login-l {
  background: var(--green); color: #fff; padding: 38px 44px 34px;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.login-l .brand { color: #fff; }
.login-l .slogan {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 40px; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 18px;
}
.login-l .lead { font-size: 13px; line-height: 1.75; color: #C9DEDB; max-width: 340px; margin: 0; }
.login-l .stats { display: flex; gap: 40px; }
.login-l .stats b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.login-l .stats span { font-size: 11.5px; color: #A9C8C4; }
.login-l .mid { margin-top: auto; padding-top: 40px; }
.login-l .top { margin-bottom: 40px; }
.login-l .tagline { font-size: 11.5px; color: #A9C8C4; margin: 0 0 14px; letter-spacing: .02em; }

.login-r { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; }
.login-card { width: 100%; max-width: 400px; }
.login-card h2 { font-size: 22px; margin: 0 0 6px; font-weight: 700; letter-spacing: -.01em; }
.login-card .sub { font-size: 12.5px; color: var(--muted); margin: 0 0 26px; }
.login-foot { font-size: 11px; color: var(--faint); margin-top: 26px; text-align: center; letter-spacing: .02em; }

/* ── 表单 ───────────────────────────────────────────────── */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; color: var(--ink-2); margin-bottom: 7px; font-weight: 500; }
.input {
  width: 100%; height: 42px; padding: 0 13px; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; outline: none; transition: .15s;
}
.input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(14,90,86,.08); }
.input::placeholder { color: var(--faint); }
textarea.input { height: auto; padding: 12px 13px; line-height: 1.6; resize: vertical; }

.checkline { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 20px; font-size: 12.5px; }
.check { display: flex; align-items: center; gap: 7px; color: var(--ink-2); cursor: pointer; }
.check input { accent-color: var(--green); width: 14px; height: 14px; }
.link { color: var(--green); font-weight: 500; }

.note {
  background: #FAF5E8; border: 1px solid #F0E6CE; border-radius: 8px;
  padding: 11px 13px; font-size: 12px; line-height: 1.65; color: #7A6535;
}

.alert { border-radius: 8px; padding: 10px 13px; font-size: 12.5px; margin-bottom: 14px; }
.alert-bad { background: var(--bad-bg); border: 1px solid var(--bad-line); color: var(--bad); }
.alert-ok { background: var(--ok-bg); border: 1px solid var(--ok-line); color: var(--ok); }

/* ── 学生首页 ───────────────────────────────────────────── */
.greet-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.greet-date { font-size: 12px; color: var(--muted); margin: 0 0 6px; letter-spacing: .02em; }
.greet { font-size: 27px; font-weight: 700; margin: 0; letter-spacing: -.02em; line-height: 1.25; }
.examcard { text-align: right; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 11px 16px; }
.examcard .k { font-size: 11px; color: var(--muted); }
.examcard .v { font-size: 19px; font-weight: 600; letter-spacing: -.01em; margin-top: 2px; }
.examcard .s { font-size: 11px; color: var(--green); margin-top: 2px; }

.subj-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.subj {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px 18px 16px; display: flex; flex-direction: column; min-height: 186px;
  transition: .16s; position: relative;
}
.subj:hover { border-color: #CFC7B6; transform: translateY(-1px); box-shadow: var(--shadow); }
.subj h3 { font-size: 18px; margin: 0 0 3px; font-weight: 700; letter-spacing: -.01em; }
.subj .en { font-size: 11px; color: var(--faint); margin: 0 0 12px; letter-spacing: .02em; }
.subj .cnt { font-size: 12.5px; font-weight: 600; color: var(--ink); margin: 0 0 4px; }
.subj .types { font-size: 11.5px; color: var(--muted); line-height: 1.6; margin: 0 0 14px; }
.subj .go {
  margin-top: auto; font-size: 12px; font-weight: 600; color: var(--green);
  display: inline-flex; align-items: center; gap: 5px;
}
.subj:hover .go { gap: 8px; }

.home-bottom { display: grid; grid-template-columns: 1.72fr 1fr; gap: 14px; margin-bottom: 16px; }
.cont { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.cont .lbl { font-size: 11.5px; color: var(--muted); margin-bottom: 10px; }
.cont .ttl { font-size: 14.5px; font-weight: 600; margin: 0 0 6px; letter-spacing: -.01em; }
.cont .meta { font-size: 11.5px; color: var(--muted); }
.progress { height: 5px; border-radius: 3px; background: #EDE8DC; overflow: hidden; margin: 16px 0 14px; }
.progress i { display: block; height: 100%; background: var(--green); border-radius: 3px; }

.week { background: var(--green); color: #fff; border-radius: var(--r); padding: 18px 20px; }
.week .lbl { font-size: 11.5px; color: #A9C8C4; }
.week .big { font-size: 30px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; margin: 2px 0 2px; }
.week .big small { font-size: 11.5px; font-weight: 400; color: #A9C8C4; margin-left: 6px; letter-spacing: 0; }
.week .line { display: flex; justify-content: space-between; font-size: 11.5px; color: #C9DEDB; margin-top: 10px; }
.week .line b { color: #fff; font-weight: 600; font-size: 13px; }

.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quick { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.quick h4 { font-size: 13px; margin: 0 0 5px; font-weight: 600; }
.quick p { font-size: 11.5px; color: var(--muted); margin: 0 0 12px; line-height: 1.6; }
.quick .go { font-size: 12px; font-weight: 600; color: var(--green); }

/* ── 题库浏览 ───────────────────────────────────────────── */
.crumbs { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; display: flex; gap: 7px; align-items: center; }
.crumbs a:hover { color: var(--green); }

.tabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.tab {
  height: 32px; padding: 0 14px; border-radius: 16px; border: 1px solid var(--line);
  background: #fff; font-size: 12.5px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px;
}
.tab:hover { border-color: #CFC7B6; }
.tab.on { background: var(--green); border-color: var(--green); color: #fff; font-weight: 500; }
.tab .c { font-size: 11px; opacity: .7; }

.list { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.list-row {
  display: flex; align-items: center; gap: 16px; padding: 13px 18px;
  border-bottom: 1px solid var(--line-2); transition: .12s;
}
.list-row:last-child { border-bottom: 0; }
.list-row:hover { background: #FCFBF7; }
.list-row .idx { font-size: 11.5px; color: var(--faint); width: 26px; flex: none; }
.list-row .nm { font-size: 13.5px; font-weight: 500; letter-spacing: -.005em; }
.list-row .dt { font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.list-row .rt { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* ── 答题页 ─────────────────────────────────────────────── */
.exam-hdr {
  height: 52px; background: var(--paper-2); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; position: sticky; top: 0; z-index: 40;
}
.exam-hdr .wrap { display: flex; align-items: center; gap: 16px; max-width: none; padding: 0 22px; }
.exam-hdr .back { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-2); }
.exam-hdr .back:hover { color: var(--green); }
.exam-hdr .ttl { font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; }
.timer {
  position: absolute; left: 50%; transform: translateX(-50%);
  background: var(--gold-lt); color: #8A6524; border-radius: 20px; padding: 4px 13px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
}
.exam-hdr .rt { margin-left: auto; display: flex; align-items: center; gap: 16px; font-size: 12.5px; color: var(--muted); }

.exam-body { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 52px - 58px); }
.exam-left { padding: 26px 30px; border-right: 1px solid var(--line); background: #FDFCF9; }
.exam-right { padding: 26px 30px 40px; }
.exam-left .meta { font-size: 11px; color: var(--faint); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; }
.exam-left h2 { font-family: var(--serif); font-size: 23px; font-weight: 500; margin: 0 0 16px; letter-spacing: -.01em; line-height: 1.3; }
.passage { font-size: 14px; line-height: 1.95; color: #2C2A26; white-space: pre-wrap; }
.passage p { margin: 0 0 1.1em; }

/* 题目 */
.qhead { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.qnum { font-size: 11.5px; font-weight: 600; background: #F1EDE3; border-radius: 5px; padding: 3px 8px; color: var(--ink-2); }
.qmeta { font-size: 11.5px; color: var(--muted); }
.qprompt { font-size: 15.5px; line-height: 1.6; font-weight: 600; margin: 0 0 18px; letter-spacing: -.01em; }

.opts { display: flex; flex-direction: column; gap: 9px; }
.opt {
  display: flex; align-items: flex-start; gap: 12px; width: 100%; text-align: left;
  padding: 12px 15px; border: 1px solid var(--line); border-radius: 8px; background: #fff;
  font-size: 13.5px; line-height: 1.55; transition: .13s;
}
.opt:hover { border-color: #CFC7B6; background: #FCFBF7; }
.opt .k {
  flex: none; width: 20px; height: 20px; border-radius: 50%; background: #F2EEE4;
  display: grid; place-items: center; font-size: 11px; font-weight: 600; color: var(--ink-2);
  margin-top: 1px;
}
.opt.sel { border-color: var(--green); background: var(--green-lt); }
.opt.sel .k { background: var(--green); color: #fff; }
.opt.ok { border-color: var(--ok-line); background: var(--ok-bg); }
.opt.ok .k { background: var(--ok); color: #fff; }
.opt.bad { border-color: var(--bad-line); background: var(--bad-bg); }
.opt.bad .k { background: var(--bad); color: #fff; }
.opt.lock { pointer-events: none; }

.expl {
  margin-top: 16px; border: 1px solid var(--line); border-radius: 9px; background: #FCFBF7;
  padding: 13px 15px; font-size: 12.5px; line-height: 1.75; color: var(--ink-2);
}
.expl .hd { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; font-size: 12px; font-weight: 600; }
.expl.ok .hd { color: var(--ok); }
.expl.bad .hd { color: var(--bad); }
.expl .ans b { font-weight: 700; }

/* 补全单词 / 句型搭建 */
.mask-input {
  display: inline-block; width: 116px; border: 0; border-bottom: 1.6px solid var(--green);
  background: #F3F7F5; text-align: center; font-size: 13.5px; padding: 1px 6px; margin: 0 3px;
  border-radius: 3px 3px 0 0; outline: none;
}
.mask-input:focus { background: #E9F1EF; }
.mask-input.ok { border-color: var(--ok); background: var(--ok-bg); color: var(--ok); font-weight: 600; }
.mask-input.bad { border-color: var(--bad); background: var(--bad-bg); color: var(--bad); text-decoration: line-through; }

.tokens { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.token {
  height: 34px; padding: 0 13px; border-radius: 7px; border: 1px solid var(--line);
  background: #fff; font-size: 13.5px;
}
.token:hover { border-color: var(--green); color: var(--green); }
.token.used { opacity: .32; pointer-events: none; }
.buildbox {
  min-height: 54px; border: 1px dashed #CFC7B6; border-radius: 8px; padding: 10px 12px;
  display: flex; flex-wrap: wrap; gap: 7px; align-items: flex-start; background: #FCFBF7;
}
.buildbox .token { height: 30px; font-size: 13px; background: var(--green-lt); border-color: var(--green-lt); color: var(--green); }

/* 底部答题卡 */
.sheetbar {
  height: 58px; background: var(--paper-2); border-top: 1px solid var(--line);
  display: flex; align-items: center; position: sticky; bottom: 0; z-index: 40;
}
.sheetbar .wrap { display: flex; align-items: center; gap: 16px; max-width: none; padding: 0 22px; }
.sheet-lbl { font-size: 11.5px; color: var(--muted); }
.sheet-nums { display: flex; gap: 5px; }
.sn {
  width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--line); background: #fff;
  font-size: 11px; display: grid; place-items: center; color: var(--ink-2);
}
.sn.done { background: #E4EDEA; border-color: #C9DDD6; color: var(--green); font-weight: 600; }
.sn.ok { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok); font-weight: 600; }
.sn.bad { background: var(--bad-bg); border-color: var(--bad-line); color: var(--bad); font-weight: 600; }
.sn.cur { outline: 2px solid var(--green); outline-offset: 1px; }

/* ── 报告 ───────────────────────────────────────────────── */
.rep-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.rep-hd h1 { font-size: 24px; margin: 0 0 5px; font-weight: 700; letter-spacing: -.02em; }
.rep-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.metric { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 15px 18px; }
.metric .k { font-size: 11.5px; color: var(--muted); margin-bottom: 5px; }
.metric .v { font-size: 25px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.metric .v small { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 3px; }

.rev-row {
  display: flex; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line-2);
}
.rev-row:last-child { border-bottom: 0; }
.rev-mark {
  flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: 11px; font-weight: 700; margin-top: 1px;
}
.rev-mark.ok { background: var(--ok-bg); color: var(--ok); }
.rev-mark.bad { background: var(--bad-bg); color: var(--bad); }
.rev-q { font-size: 13px; font-weight: 500; line-height: 1.6; margin-bottom: 5px; }
.rev-a { font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 14px; }
.rev-a b { color: var(--ok); font-weight: 600; }
.rev-a i { color: var(--bad); font-style: normal; font-weight: 600; }
.rev-expl { font-size: 12px; color: var(--ink-2); line-height: 1.7; margin-top: 7px; padding-left: 11px; border-left: 2px solid var(--line); }

/* ── 教务后台 ───────────────────────────────────────────── */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.kpi .k { font-size: 11.5px; color: var(--muted); margin-bottom: 6px; }
.kpi .v { font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.kpi .v small { font-size: 12px; color: var(--muted); font-weight: 500; margin-left: 3px; }

.tbl { width: 100%; border-collapse: collapse; }
.tbl th {
  text-align: left; font-size: 11.5px; font-weight: 500; color: var(--muted);
  padding: 11px 16px; border-bottom: 1px solid var(--line); background: #FCFBF7;
  white-space: nowrap;
}
.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--line-2); font-size: 13px; vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: #FCFBF7; }
.tbl .nm { font-weight: 500; }
.tbl .sub { font-size: 11.5px; color: var(--muted); margin-top: 1px; }

.bar { height: 6px; border-radius: 3px; background: #EDE8DC; overflow: hidden; width: 90px; }
.bar i { display: block; height: 100%; background: var(--green); }

.empty { padding: 44px 20px; text-align: center; color: var(--muted); font-size: 13px; }

/* 抽屉 / 弹层 */
.modal-bg { position: fixed; inset: 0; background: rgba(24, 22, 19, .38); display: grid; place-items: center; z-index: 90; padding: 24px; }
.modal { background: #fff; border-radius: 12px; width: 100%; max-width: 460px; box-shadow: 0 24px 60px -18px rgba(0,0,0,.4); }
.modal-hd { padding: 18px 22px 0; font-size: 16px; font-weight: 600; }
.modal-bd { padding: 16px 22px 6px; }
.modal-ft { padding: 14px 22px 20px; display: flex; justify-content: flex-end; gap: 10px; }

.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%);
  background: #23302E; color: #fff; padding: 10px 18px; border-radius: 8px; font-size: 13px;
  z-index: 120; box-shadow: 0 10px 30px -8px rgba(0,0,0,.4);
}

.spinner { width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--green); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 60px; color: var(--muted); font-size: 13px; }

/* ── 响应式 ─────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .subj-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-grid { grid-template-columns: 1fr; }
  .home-bottom { grid-template-columns: 1fr; }
  .exam-body { grid-template-columns: 1fr; }
  .exam-left { border-right: 0; border-bottom: 1px solid var(--line); }
  .rep-metrics, .kpis { grid-template-columns: repeat(2, 1fr); }
  .login { grid-template-columns: 1fr; }
  .login-l { display: none; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .subj-grid, .rep-metrics, .kpis { grid-template-columns: 1fr; }
  .nav { display: none; }
  .timer { position: static; transform: none; }
}

/* ============================================================
   成绩单（复刻 ETS TOEFL Score Report 版式）
   版式与色值取自参考页的实测计算样式，不是估算
   ============================================================ */
.rpt-page { background: #B4B4B4; min-height: 100vh; padding: 0 0 40px; }
.rpt-wrap { max-width: 1024px; margin: 0 auto; background: #fff; padding: 0 15px 30px; }

/* 顶栏 */
.rpt-bar {
  height: 50px; background: #066A6E; display: flex; align-items: center;
  gap: 12px; padding: 0 10px; margin: 0 -15px; color: #fff;
}
.rpt-bar .brand { color: #fff; font-size: 12px; letter-spacing: .08em; font-weight: 700; gap: 7px; }
.rpt-bar .sep { color: rgba(255,255,255,.45); font-size: 12px; }
.rpt-bar .name { font-size: 13px; font-weight: 600; letter-spacing: .3px; }
.rpt-bar .grow { flex: 1; }
.rpt-pills { display: flex; align-items: center; gap: 8px; }
.rpt-pill {
  font-size: 13px; font-weight: 500; color: #fff; letter-spacing: .5px;
  border: 1px solid rgba(255,255,255,.5); border-radius: 12px;
  padding: 6px 14px; background: transparent; line-height: 18.57px;
  display: inline-flex; align-items: center; height: 33px;
}
.rpt-pill:hover { background: rgba(255,255,255,.12); }
.rpt-pill.on { background: #fff; color: #077F83; border-color: #077F83; font-weight: 600; }
.rpt-pill.back { border-color: rgba(255,255,255,.5); }

/* 单张成绩卡 */
.rpt-sheet { max-width: 835px; margin: 0 auto; padding-top: 22px; }
.rpt-card {
  border: 1.5px solid #9094DD; border-radius: 12px; padding: 14px 18px 36px;
  background: #fff;
}
.rpt-card + .rpt-card { margin-top: 14px; }
.rpt-card.best { border-color: #F0975F; }

.rpt-card-hd {
  font-size: 17px; font-weight: 700; color: #1F1F1F;
  padding-bottom: 10px; border-bottom: 1px solid #E2E2E2;
}
.rpt-card-hd .sub { font-size: 13px; font-weight: 400; color: #5E5E5E; margin-left: 12px; }
.rpt-card-hd .t { font-style: italic; }
.rpt-card-hd .t sup { font-size: .6em; font-weight: 700; }

.rpt-row { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; margin-top: 16px; }

/* 左侧弧形总分 */
.rpt-gauge { width: 168px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; }
.rpt-gauge .lbl { font-size: 15px; font-weight: 600; color: #3A3A3A; margin-bottom: 6px; }
.rpt-arc { position: relative; width: 150px; height: 82px; }
.rpt-arc svg { width: 100%; height: 100%; display: block; }
.rpt-arc .val {
  position: absolute; left: 0; right: 0; bottom: -5px; text-align: center;
  font-size: 24px; font-weight: 800; line-height: 1; color: #1F1F1F;
  font-variant-numeric: tabular-nums;
}

/* 右侧四科 */
.rpt-chips { flex: 1 1 0%; min-width: 280px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rpt-chip { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: inherit; }
.rpt-chip:hover .cb { filter: brightness(.96); }
.rpt-chip .cl {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 15px; font-weight: 600; color: #3A3A3A;
}
.rpt-chip .cb {
  width: 100%; box-sizing: border-box; margin-top: 8px; border-radius: 10px;
  background: #DFE0F5; color: #1F1F1F; text-align: center;
  padding: 14px 4px; min-height: 49px;
  font-size: 17px; font-weight: 700; line-height: 1.2;
}
.rpt-card.best .rpt-chip .cb { background: #FBE3D4; padding: 9px 4px 8px; }
.rpt-chip .cb .d { font-size: 11.5px; font-weight: 400; color: #6F6F6F; margin-top: 2px; }
.rpt-chip .cn {
  font-size: 12px; line-height: 1.55; color: #5E5E5E; margin-top: 7px;
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
}
.rpt-chip .cn strong { font-weight: 700; color: #1F1F1F; }

/* 页脚 */
.rpt-caption { font-size: 12px; color: #999; margin-top: 14px; text-align: center; }
.rpt-foot { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; margin-top: 12px; }
.rpt-notes { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.7; color: #6F6F6F; flex: 1; }
.rpt-notes li { margin-bottom: 1px; }
.rpt-acts { display: flex; flex-direction: column; gap: 10px; flex: none; width: 300px; }
.rpt-btn {
  height: 42px; border-radius: 6px; border: 1px solid #077F83; background: #fff;
  color: #077F83; font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.rpt-btn:hover { background: #F2FAFA; }
.rpt-btn.solid { background: #077F83; color: #fff; }
.rpt-btn.solid:hover { background: #066A6E; }

/* 逐题回顾（本站自有，接在成绩单下） */
.rpt-review { max-width: 835px; margin: 18px auto 0; }
.rpt-review .hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2px 10px;
}
.rpt-review .hd h3 { font-size: 16px; margin: 0; font-weight: 700; color: #1F1F1F; }
.rpt-review .box { border: 1px solid #E2E2E2; border-radius: 10px; overflow: hidden; background: #fff; }


/* ─────────── 阅读 T1 填词：浅灰块 + 逐字母下划线（对齐 toefltiku 原站） ─────────── */
.fill-passage {
  font-size: 15.7px; line-height: 2.05; letter-spacing: 0;
  font-family: "Noto Sans SC", Inter, -apple-system, system-ui, sans-serif;
}
.fill-passage .blank {
  display: inline-block; white-space: nowrap; vertical-align: baseline;
  padding: 0 1px; border-radius: 4px;
}
.fill-passage .blank .fixed { font-size: 15.7px; letter-spacing: 0; color: #1F1F1F; }
.fill-passage .blank input {
  --cw: 1.3ch;
  width: calc(var(--n, 1) * var(--cw));
  height: 21px; margin: 0 1px; padding: 0; box-sizing: border-box;
  border: 0; border-radius: 0; outline: 0;
  background-color: #D3D3D3;
  background-image: repeating-linear-gradient(90deg, #696969 0 1ch, rgba(0,0,0,0) 0 var(--cw));
  background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 17px; font-weight: 400; letter-spacing: .3ch; word-spacing: 0;
  line-height: 21px; color: #000; caret-color: #000;
  text-align: start; text-transform: none; text-indent: 0; vertical-align: baseline;
  -webkit-appearance: none; appearance: none;
  transition: background-color .12s;
}
.fill-passage .blank input:focus { background-color: #C8C8C8; }
.fill-passage .blank.ok input {
  background-color: #DCEFE2;
  background-image: repeating-linear-gradient(90deg, #1D7A4C 0 1ch, rgba(0,0,0,0) 0 var(--cw));
  color: #1D7A4C; -webkit-text-fill-color: #1D7A4C; font-weight: 700;
}
.fill-passage .blank.no input {
  background-color: #F7E1DD;
  background-image: repeating-linear-gradient(90deg, #B4341F 0 1ch, rgba(0,0,0,0) 0 var(--cw));
  color: #B4341F; -webkit-text-fill-color: #B4341F; font-weight: 700;
}
.fill-passage .blank .reveal {
  font-size: 15.7px; font-weight: 700; margin-left: 3px;
  color: #1D7A4C; white-space: nowrap;
}
.fill-passage .blank.no .reveal::before {
  content: "→"; margin-right: 3px; font-weight: 400; opacity: .85;
}

/* ─────────── 听力：每题独立音频 ─────────── */
.listen-box {
  border: 1px solid var(--line, #E4E2DC); border-radius: 10px; background: #FCFBF7;
  padding: 12px 14px; margin-top: 10px;
}
.listen-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.listen-row .st { font-size: 12px; color: #6F6F6F; }
.listen-bar { height: 4px; border-radius: 2px; background: #E4E2DC; overflow: hidden; margin-top: 10px; }
.listen-bar i { display: block; height: 100%; width: 0; background: #0E5A56; transition: width .2s linear; }
.listen-btn {
  height: 32px; padding: 0 14px; border-radius: 16px; border: 1px solid #0E5A56;
  background: #fff; color: #0E5A56; font-size: 12.5px; font-weight: 600;
}
.listen-btn:hover { background: #EFF6F5; }
.listen-btn:disabled { opacity: .45; }
.listen-note { font-size: 11.5px; color: #8A8A8A; margin-top: 8px; line-height: 1.6; }

@media print {
  .rpt-bar, .rpt-acts { display: none !important; }
  .rpt-page { background: #fff; }
  .rpt-wrap { box-shadow: none; }
}
@media (max-width: 900px) {
  .rpt-chips { grid-template-columns: repeat(2, 1fr); }
  .rpt-foot { flex-direction: column; }
  .rpt-acts { width: 100%; }
  .rpt-bar .name, .rpt-bar .sep { display: none; }
}

/* ============================================================
   考试外壳（复刻原站 / 参考站与 wofo 的 ETS 风格答题界面）
   顶部深青条 46px · 科目条 31px · 纸面 1024×686 · 单选圆点
   ============================================================ */

.wb.ex {
  --brand: #066A6E;
  --brand-2: #077F83;
  --sans-x: 'Helvetica Neue', Helvetica, Arial, -apple-system, BlinkMacSystemFont,
            'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --mono-x: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
  --line-x: #E2E4E4;
  --line-2x: #CBD0D0;
  --ink-x: #1A1A1A;
  --ink-2x: #494D4D;
  --ink-3x: #878C8C;
  --ok-x: #1D7A4C;
  --danger-x: #B4341F;
  --amber-x: #B0761E;
  background: #F4F5F5;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  font-family: var(--sans-x);
}

.exw { width: 1024px; max-width: 100%; margin: 0 auto; flex: 0 0 auto; position: relative; }

/* ── 顶部深青条 ── */
.exw-top {
  display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 10px;
  background: var(--brand); position: relative;
}
.exw-brand {
  flex: 0 0 auto; color: #fff; font-size: 14px; font-weight: 700; line-height: 1;
  white-space: nowrap; letter-spacing: .2px; padding: 0 2px;
}
.exw-exit {
  flex: 0 0 auto; height: 28px; padding: 0 11px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 1px solid rgba(255,255,255,.5); color: rgba(255,255,255,.95);
  font-size: 13px; line-height: 1; white-space: nowrap; text-decoration: none;
  box-sizing: border-box; cursor: pointer;
}
.exw-exit:hover { background: rgba(255,255,255,.12); }
.exw-pills { display: flex; align-items: center; gap: 4px; min-width: 0; overflow: hidden; }
.exw-pill {
  height: 26px; padding: 0 9px; border-radius: 7px; display: inline-flex; align-items: center;
  gap: 5px; font-size: 12px; color: rgba(255,255,255,.82); white-space: nowrap;
  border: 1px solid transparent; text-decoration: none; cursor: pointer; background: none;
}
.exw-pill:hover { background: rgba(255,255,255,.12); color: #fff; }
.exw-pill.on { background: rgba(255,255,255,.94); color: var(--brand); font-weight: 700; }
.exw-pill .k { font-size: 11px; opacity: .7; }
.exw-acts { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.exw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 40px; padding: 0 16px; border-radius: 12px; background: #2B8084;
  border: 1px solid #F5F5F5; color: #fff; font-size: 13px; font-weight: 600; line-height: 1;
  white-space: nowrap; transition: background .15s, opacity .15s; cursor: pointer;
}
.exw-btn:hover { background: #358E92; }
.exw-btn.next { background: #fff; border-color: #F5F5F5; color: var(--brand-2); }
.exw-btn.next:hover { background: #F2F8F8; }
.exw-btn.slim { padding: 0 12px; }
.exw-btn:disabled { opacity: .45; cursor: default; }

/* ── 科目条 ── */
.exw-tools {
  display: flex; align-items: center; gap: 10px; height: 31px; padding: 0 8px 0 6px;
  background: #fff; color: #3D3D3D; font-size: 13px;
}
.exw-tools .sec { padding-left: 2px; font-weight: 600; }
.exw-tools .sep { width: 1px; height: 13px; background: #C9C9C9; flex: 0 0 auto; }
.exw-tools .cnt { color: #3D3D3D; }
.exw-tools .rt { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.exw-clock { font-variant-numeric: tabular-nums; font-size: 13px; color: #3D3D3D; letter-spacing: .2px; }
.exw-clock.on { font-weight: 700; }
.exw-clock.warn { color: var(--amber-x); }
.exw-clock.crit { color: var(--danger-x); }
.exw-hide {
  display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 2px;
  background: none; border: 0; color: #3D3D3D; font-size: 13px; line-height: 1; cursor: pointer;
}
.exw-hide:hover { color: var(--brand); }

/* ── 纸面 ── */
.exw-paper {
  width: 1024px; max-width: 100%; height: 686px; background: #fff;
  border: 1px solid #000; padding: 2px; overflow: hidden; display: flex; position: relative;
}
.exw-in {
  flex: 1 1 0%; min-width: 0; overflow: hidden auto; padding: 26px 34px 22px;
  font-family: var(--sans-x); font-size: 15.7px; line-height: 1.5; color: #000; display: block;
}
.exw-dir { margin: 6px 0 24px; text-align: center; font-size: 16.5px; font-weight: 700; line-height: 1.4; color: #000; }
.exw-dir:empty { display: none; }

/* 单选：圆点 + 文本 */
.exw-in .choices { display: flex; flex-direction: column; gap: 2px; }
.exw-in .choice {
  display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; border: 0;
  background: none; border-radius: 0; font-size: 15.7px; line-height: 1.42; color: #000;
  text-align: left; cursor: pointer; font-family: inherit;
}
.exw-in .choice:hover .k { box-shadow: inset 0 0 0 3px #fff, 0 0 0 1.5px var(--brand); }
.exw-in .choice .k {
  flex: 0 0 auto; width: 15px; height: 15px; margin-top: 3px; border-radius: 50%;
  border: 1.5px solid #000; background: #fff; font-size: 0; color: transparent;
  display: inline-block; transition: box-shadow .12s, background .12s;
}
.exw-in .choice .x { flex: 1 1 0%; min-width: 0; }
.exw-in .choice.sel .k { background: var(--brand); border-color: var(--brand); box-shadow: inset 0 0 0 3px #fff; }
.exw-in .choice.right .k { background: #000; box-shadow: inset 0 0 0 3px #fff; }
.exw-in .choice.wrong { color: var(--danger-x); }
.exw-in .choice.wrong .k { border-color: var(--danger-x); background: var(--danger-x); box-shadow: inset 0 0 0 3px #fff; }
.exw-in .choice.locked .k { border-color: #B4B4B4; }

/* 阅读：段落框 */
.exw-in .passage {
  position: static; max-height: none; background: #fff; box-shadow: none;
  border: 2px solid var(--brand); border-radius: 5px; padding: 14px 16px;
  font-size: 15.7px; line-height: 1.5;
}
.exw-in .passage h4 { margin: 0 0 16px; text-align: center; font-size: 16.5px; font-weight: 700; color: #000; }
.exw-in .passage p { margin: 0 0 12px; }

/* 左右分栏 */
.exw-in .split {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr);
  gap: 44px; align-items: stretch; height: 100%; min-height: 0;
}
.exw-in .split > * { min-width: 0; height: 100%; overflow-y: auto; }
.exw-in .split > :first-child { padding-right: 2px; }
.exw-in .split > :last-child { padding-left: 2px; }

/* 底部操作条 */
.exw-foot {
  display: flex; align-items: center; gap: 12px; margin-top: 18px;
  padding-top: 14px; border-top: 1px solid var(--line-x);
}
.exw-foot .hint { font-size: 12.5px; color: var(--ink-3x); }
.exw-in .btn {
  height: 34px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--line-2x);
  background: #fff; color: var(--ink-2x); font-size: 13px; font-weight: 600; cursor: pointer;
}
.exw-in .btn.primary, .exw-foot .btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.exw-in .btn.primary:hover, .exw-foot .btn.primary:hover { background: var(--brand-2); }
.exw-in .btn:disabled { opacity: .45; }
.exw-foot .sc { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 13.5px; font-weight: 700; letter-spacing: .2px; }
.exw-foot .sc.ok { background: #DCEFE2; color: var(--ok-x); }
.exw-foot .sc.no { background: #F7E1DD; color: var(--danger-x); }
.exw-foot .sc.mid { background: #E1EFF0; color: var(--brand); }
.exw-foot .sc-x { margin-left: 10px; font-size: 12.5px; color: #6B6B6B; }

/* 听力题布局（居中题干 + 560 宽选项） */
.exw-lq-dir { margin: 2px 0 22px; text-align: center; font-size: 15.7px; font-weight: 700; line-height: 1.4; color: #000; }
.exw-lq-stem { font-size: 15.7px; line-height: 1.5; color: #000; margin: 0 auto 14px; max-width: 560px; }
.exw-lq-opts { max-width: 560px; margin: 0 auto; }
.exw-lq-tip { font-size: 14px; color: #7A7A7A; padding: 2px 0 6px; }
.exw-lq-opts .choice { padding: 6px 0; }
.exw-lq-opts .choice .k { border-color: #7A7A7A; }
.exw-lq-opts .choice.locked .k { border-color: #B4B4B4; }
.exw-lq-opts .choice.right .k { background: var(--brand); border-color: var(--brand); box-shadow: inset 0 0 0 3px #fff; }
.exw-lq-opts .choice.wrong .k { background: var(--danger-x); border-color: var(--danger-x); box-shadow: inset 0 0 0 3px #fff; }
.exw-lq-opts .choice.right .x { color: #0B6B3A; font-weight: 600; }
.exw-lq-opts .choice.wrong .x { color: var(--danger-x); }
.exw-lbar { display: flex; align-items: center; gap: 16px; margin-top: 20px; padding-top: 10px; border-top: 1px solid #E4E4E4; }
.exw-link {
  padding: 0; border: 0; background: none; font-size: 12.5px; color: #2B8084;
  text-decoration: underline; text-underline-offset: 2px; cursor: pointer;
}
.exw-link:hover { color: var(--brand); }
.exw-lhint { font-size: 12.5px; color: #8A8A8A; }
.exw-mark { margin-top: 14px; font-size: 13.5px; font-weight: 700; }
.exw-mark.ok { color: #0B6B3A; }
.exw-mark.no { color: var(--danger-x); }
.exw-exp { margin-top: 6px; font-size: 13px; line-height: 1.7; color: #4A4A4A; max-width: 660px; }
.exw-trt { font-size: 14px; line-height: 1.85; color: #333; white-space: pre-wrap; max-width: 720px; }

/* 弹层 */
.exw-modal {
  position: absolute; inset: 0; z-index: 8; background: rgba(60,60,60,.42);
  display: flex; align-items: flex-start; justify-content: center; padding-top: 52px;
}
.exw-modal-in {
  width: 360px; max-width: calc(100% - 32px); background: #fff; border-radius: 14px;
  padding: 22px 24px 20px; box-shadow: 0 18px 44px rgba(0,0,0,.28);
}
.exw-modal-h { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 700; color: #1F2328; }
.exw-warn {
  display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px;
  border-radius: 50%; background: #E3A008; color: #fff; font-size: 12px; font-weight: 700;
}
.exw-modal-b {
  margin: 12px 0 18px; font-size: 13.5px; line-height: 1.6; color: #3D3D3D;
  padding-top: 12px; border-top: 1px solid #EAEAEA;
}
.exw-modal .exw-btn { height: 34px; padding: 0 18px; border-radius: 9px; }

/* 答题卡（Review） */
.exw-review-in { width: 520px; }
.exw-rv-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid #EAEAEA; }
.exw-rv-row:first-of-type { border-top: 0; }
.exw-rv-row .nm { font-size: 13.5px; font-weight: 600; width: 74px; flex: 0 0 auto; }
.exw-rv-nums { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.exw-rv-num {
  width: 26px; height: 26px; border-radius: 6px; border: 1px solid #CBD0D0; background: #fff;
  font-size: 12px; color: #494D4D; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; font-variant-numeric: tabular-nums;
}
.exw-rv-num.done { background: #E1EFF0; border-color: #9FC4C6; color: var(--brand); font-weight: 700; }
.exw-rv-num.cur { outline: 2px solid var(--brand); outline-offset: 1px; }
.exw-rv-tip { font-size: 12px; color: #878C8C; margin-top: 12px; }

/* 科目过渡 / 结束页 */
.exw-intro { padding: 40px 0 0; text-align: center; }
.exw-intro h2 { font-size: 20px; font-weight: 700; margin: 0 0 10px; color: #1A1A1A; }
.exw-intro p { font-size: 14px; color: #494D4D; margin: 0 auto 22px; max-width: 520px; line-height: 1.7; }
.exw-intro .exw-btn { height: 40px; padding: 0 26px; }

/* 音频条 */
.exw-audio { display: flex; align-items: center; gap: 10px; }
.exw-audio audio { width: 100%; height: 32px; }

@media (max-width: 900px) {
  .wb.ex { display: block; }
  .exw { width: 100%; }
  .exw-top { padding: 0 8px; gap: 6px; }
  .exw-brand { font-size: 12.5px; }
  .exw-acts { gap: 6px; }
  .exw-btn { height: 34px; padding: 0 10px; font-size: 12px; border-radius: 9px; }
  .exw-paper { height: auto; min-height: calc(100dvh - 78px); }
  .exw-in { padding: 18px 16px 20px; overflow: visible; }
  .exw-in .split { display: block; height: auto; }
  .exw-in .split > * { height: auto; overflow: visible; padding: 0; border: 0; }
  .exw-in .split > :first-child { padding-bottom: 14px; border-bottom: 1px solid #000; margin-bottom: 14px; }
}

/* 变量兜底：练习页的填词纸面不在 .wb.ex 里，也要拿到品牌色 */
.exw {
  --brand: #066A6E;
  --brand-2: #077F83;
  --line-x: #E2E4E4;
  --line-2x: #CBD0D0;
  --ink-2x: #494D4D;
  --ink-3x: #878C8C;
  --ok-x: #1D7A4C;
  --danger-x: #B4341F;
  --amber-x: #B0761E;
}

/* 模考列表（复刻 wofo 的模考卡片网格） */
.mk-hero { background: #F1F6F5; border: 1px solid #D7E4E2; border-radius: 10px; padding: 14px 18px; }
.mk-hero ul { margin: 0; padding-left: 18px; }
.mk-hero li { font-size: 12.5px; line-height: 1.95; color: #3F4B4A; }
.mk-bar { display: flex; align-items: center; gap: 8px; margin: 18px 0 12px; }
.mk-tab {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 13px;
  border-radius: 15px; border: 1px solid #E4E4E4; background: #fff;
  font-size: 12.5px; color: #4A4A4A; cursor: pointer;
}
.mk-tab.on { background: #0E5A56; border-color: #0E5A56; color: #fff; font-weight: 600; }
.mk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
@media (max-width: 900px) { .mk-grid { grid-template-columns: 1fr; } }
.mk-card {
  display: grid; grid-template-columns: 1fr 190px; min-height: 106px;
  border: 1px solid #D8D8D8; border-radius: 8px; background: #fff; overflow: hidden;
}
.mk-card-main {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 10px 14px; text-align: center; background: none; border: 0; cursor: pointer;
  font-family: inherit; color: #1A1A1A;
}
.mk-card-t { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; }
.mk-card-s { font-size: 12.5px; color: #8A8A8A; margin-top: 4px; }
.mk-card-acts {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 5px; padding: 8px 10px 8px 4px;
}
.mk-sub {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  border: 1px solid #D8D8D8; border-radius: 6px; background: #F7F7F7;
  font-size: 12px; font-weight: 500; color: #1A1A1A; cursor: pointer; font-family: inherit;
}
.mk-sub:hover { background: #EEF4F3; border-color: #9FC4C6; }
.mk-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.mk-dot.orange { background: #FF6C0C; }
.mk-dot.green { background: #1D7A4A; }
.mk-pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 22px 0 8px; }
.mk-pg {
  min-width: 26px; height: 26px; padding: 0 6px; border: 1px solid #E2E2E2; border-radius: 5px;
  background: #fff; font-size: 12px; color: #555; cursor: pointer;
}
.mk-pg.on { border-color: #0E5A56; color: #0E5A56; font-weight: 700; }

/* 顶栏别挤：科目 pill 可收缩、按钮紧凑 */
.exw-pills { flex: 1 1 0; min-width: 0; }
.exw-pill { overflow: hidden; text-overflow: ellipsis; }
.exw-brand { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }

/* 练习页单选：与考试外壳一致的圆点样式（两处共用） */
.choices { display: flex; flex-direction: column; gap: 2px; }
.choices .choice {
  display: flex; align-items: flex-start; gap: 10px; padding: 7px 0;
  border: 0; background: none; font-size: 15.7px; line-height: 1.42;
  text-align: left; cursor: pointer; font-family: inherit; color: inherit;
}
.choices .choice .k {
  flex: 0 0 auto; width: 15px; height: 15px; margin-top: 3px; border-radius: 50%;
  border: 1.5px solid #1A1A1A; background: #fff; font-size: 0; display: inline-block;
  transition: box-shadow .12s, background .12s;
}
.choices .choice:hover .k { box-shadow: inset 0 0 0 3px #fff, 0 0 0 1.5px #066A6E; }
.choices .choice .x { flex: 1 1 0%; min-width: 0; }
.choices .choice.sel .k { background: #066A6E; border-color: #066A6E; box-shadow: inset 0 0 0 3px #fff; }
.choices .choice.right .k { background: #000; box-shadow: inset 0 0 0 3px #fff; }
.choices .choice.wrong { color: #B4341F; }
.choices .choice.wrong .k { background: #B4341F; border-color: #B4341F; box-shadow: inset 0 0 0 3px #fff; }
.choices .choice.locked .k { border-color: #B4B4B4; }
.passage-ex {
  border: 2px solid #066A6E; border-radius: 5px; padding: 14px 16px;
  font-size: 15.7px; line-height: 1.5; background: #fff;
}
