/* ============================================================
   题目与选项 · question.css（R202）
   宣传页的「题目样式」与工作台的「行测练习」共用这一份。
   以前同一套 .q / .opt 规则只存在于 xingce.html 的内联样式里，
   工具层搬进工作台时就会变成第二份副本 —— 这一份是唯一真相。
   ============================================================ */

/* 题目：素线分隔，整页只有上下横线，不给每题套盒子（长列表套盒子 = 模板感） */
.q { padding: 30px 0 34px; border-bottom: 1px solid var(--line); }
.q:last-child { border-bottom: none; }
.q__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.q__no { font-family: var(--num); font-variant-numeric: tabular-nums; font-size: var(--fs-sm); letter-spacing: 0.08em; color: var(--ink-3); }
.q__tag { font-size: var(--fs-sm); color: var(--ink-3); }
.q__stem { font-size: var(--fs-lead); line-height: var(--lh-read); color: var(--ink); font-weight: var(--fw-medium); letter-spacing: -0.005em; white-space: pre-line; } /* 真题的材料分段、①②分行 */
/* 2026-11-09 题干是一段正文（资料分析的材料几百字），不按标题的词组断行：全局 h1-h3 的 keep-all 会让它只在逗号处换行，手机上一行只剩「至此，」 */
.q__stem, .wb__stem { word-break: normal; text-wrap: pretty; }
.q__src { margin: 0 0 8px; font-size: var(--fs-xs); color: var(--ink-3); letter-spacing: .01em; }

.q__opts { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.opt {
  display: flex; align-items: flex-start; gap: 12px; width: 100%; text-align: left;
  padding: 11px 14px; font-family: inherit; font-size: var(--fs-body); line-height: var(--lh-ui);
  color: var(--ink-2); background: transparent;
  border: 1px solid var(--line); border-radius: var(--r); cursor: pointer;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease), color 0.15s var(--ease);
}
.opt:hover:not(:disabled) { border-color: var(--ink-3); color: var(--ink); }
.opt:disabled { cursor: default; }
.opt__l { flex: none; width: 18px; font-family: var(--num); font-variant-numeric: tabular-nums; font-size: var(--fs-sm); color: var(--ink-3); padding-top: 2px; }
.opt__t { flex: 1; min-width: 0; }
.opt[data-st="ok"] { border-color: var(--green); background: var(--green-soft); color: var(--ink); }
.opt[data-st="ok"] .opt__l { color: var(--ok); font-weight: var(--fw-bold); }
.opt[data-st="bad"] { border-color: var(--red); background: var(--red-soft); color: var(--ink); }
.opt[data-st="bad"] .opt__l { color: var(--red-3); font-weight: var(--fw-bold); }
.opt[data-st="dim"] { opacity: 0.7; }

.q__res { margin-top: 16px; padding-left: 15px; border-left: 2px solid var(--line); }
.q__res[data-st="ok"] { border-left-color: var(--green); }
.q__res[data-st="bad"] { border-left-color: var(--red); }
.q__verdict { font-size: var(--fs-ui); font-weight: var(--fw-bold); letter-spacing: 0.01em; }
.q__res[data-st="ok"] .q__verdict { color: var(--ok); }
.q__res[data-st="bad"] .q__verdict { color: var(--red-2); }
.q__analysis { margin-top: 8px; font-size: var(--fs-ui); line-height: var(--lh-read); color: var(--ink-2); max-width: 62ch; }
.q__hint { margin-top: 8px; font-size: var(--fs-sm); color: var(--ink-3); }
.q__hint a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 640px) {
  .q { padding: 24px 0 28px; }
  .q__stem { font-size: var(--fs-lead); }
  .opt { font-size: var(--fs-ui); padding: 10px 12px; }
}
/* 2026-11-10 题图放大（zt-rich.js）：题干里的图可以点开 */
.q__stem .q-img, .wb__stem .q-img { cursor: zoom-in; }
.q-zoom { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: safe center; overflow: auto; padding: 16px; background: rgba(15, 23, 42, .82); cursor: zoom-out; -webkit-overflow-scrolling: touch; }
.q-zoom img { max-width: none; height: auto; background: #fff; border-radius: var(--r-sm); box-shadow: 0 24px 60px -20px rgba(0,0,0,.5); }
