/* ==========================================================================
   chuyen.css — Giao diện riêng mục Luyện thi Chuyên (navy + vàng điểm nhấn),
   tối ưu cho điện thoại. Chỉ nạp trên các trang /luyen-thi-chuyen.
   ========================================================================== */
:root { --cq-navy:#12294a; --cq-navy-2:#0b1d36; --cq-gold:#e8a917; --cq-ink:#13213a; --cq-line:#e3e9f3;
  --cq-nd:#0e7490; --cq-vd:#1d4ed8; --cq-bl:#b45309; }

/* ---------- Trang tổng ---------- */
.cq-hero { background-color:var(--cq-navy); color:#e6ecf6; padding:3.5rem 0 3rem;
  background-image:linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size:36px 36px; }
.cq-hero__inner { max-width:44rem; border-left:3px solid rgba(232,169,23,.7); padding-left:1.5rem; }
.cq-hero h1 { color:#fff !important; font-weight:800; font-size:clamp(2rem, 5vw, 3rem); margin:.5rem 0 .8rem; }
.cq-hero__lead { color:#c9d4e6; font-size:1.08rem; line-height:1.6; margin:0; }
.cq-kicker { display:inline-block; font-size:.85rem; font-weight:700; color:var(--cq-gold); letter-spacing:.02em; }
@media (max-width:575.98px) { .cq-hero { padding:2.4rem 0 2rem; } .cq-hero__inner { padding-left:1rem; } }

.cq-stage-grid { display:grid; gap:1rem; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); }
.cq-stage-card { display:flex; align-items:flex-start; gap:1rem; padding:1.1rem 1.1rem 1.1rem 1rem; border-radius:16px; background:#fff;
  border:1px solid var(--cq-line); box-shadow:0 1px 2px rgba(18,41,74,.06), 0 6px 18px rgba(18,41,74,.06); color:var(--cq-ink) !important;
  text-decoration:none; position:relative; transition:transform .15s ease, box-shadow .15s ease; }
.cq-stage-card:hover { transform:translateY(-2px); box-shadow:0 10px 26px rgba(18,41,74,.12); }
.cq-stage-card__num { flex:0 0 3.2rem; height:3.2rem; border-radius:12px; display:grid; place-items:center; font-size:1.6rem; font-weight:800;
  background:var(--cq-navy); color:var(--cq-gold); }
.cq-stage-card.stage-de .cq-stage-card__num { background:var(--cq-gold); color:var(--cq-navy); font-size:1.3rem; }
.cq-stage-card__title { font-weight:800; color:var(--cq-navy); font-size:1.05rem; }
.cq-stage-card__goal { font-size:.86rem; color:#55637a; margin:.25rem 0 .6rem; }
.cq-stage-card__go { position:absolute; right:1rem; top:1.2rem; color:#94a3b8; }
.cq-stage-card__body { padding-right:1.2rem; }
.cq-feature i { font-size:1.4rem; color:var(--cq-gold); }
.cq-type { display:flex; gap:.8rem; align-items:flex-start; padding:1rem; border-radius:14px; background:#f1f5fb; border:1px solid var(--cq-line); }
.cq-type > i { font-size:1.2rem; color:var(--cq-navy); margin-top:.15rem; width:1.4rem; text-align:center; }

.cq-pill { display:inline-flex; align-items:center; font-size:.76rem; font-weight:700; padding:.22rem .6rem; border-radius:999px;
  background:#eef2f7; color:#55637a; white-space:nowrap; }
.cq-pill--ok { background:#dcfce7; color:#166534; }
.cq-pill--warn { background:#fef3c7; color:#92400e; }
.cq-pill--blue { background:#e8eef8; color:#1f4b8f; }

/* ---------- Trang lớp ---------- */
.cq-stage-tabs { display:flex; gap:.5rem; overflow-x:auto; padding-bottom:.25rem; -webkit-overflow-scrolling:touch; scrollbar-width:thin; }
.cq-stage-tab { flex:0 0 auto; padding:.5rem 1.05rem; border-radius:999px; border:1.5px solid #cbd5e1; font-weight:700; color:var(--cq-navy) !important;
  text-decoration:none; background:#fff; }
.cq-stage-tab.active { background:var(--cq-navy); border-color:var(--cq-navy); color:#fff !important; }
.cq-stage-head { padding:1.1rem 1.25rem; border-radius:16px; background:#fff; border:1px solid var(--cq-line); border-left:5px solid var(--cq-gold); }
/* Khối môn + thẻ chuyên đề: thẻ cao bằng nhau, chân thẻ thống nhất, lưới 2 cột */
.cq-subj { --cq-acc:#1f4b8f; }
.cq-subj--van { --cq-acc:#b91c1c; } .cq-subj--anh { --cq-acc:#15803d; }
.cq-subj__head { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.5rem 1rem;
  padding-bottom:.6rem; margin-bottom:1rem; border-bottom:2px solid var(--cq-line); }
.cq-subj__title { display:flex; align-items:center; gap:.6rem; margin:0; font-size:1.25rem; font-weight:800; color:var(--cq-navy); }
.cq-subj__icon { display:inline-grid; place-items:center; width:2.2rem; height:2.2rem; border-radius:10px; background:var(--cq-acc); color:#fff; font-size:1rem; }
.cq-subj__stat { display:flex; flex-wrap:wrap; gap:.5rem; font-size:.85rem; font-weight:700; color:#64748b; }
.cq-subj__done { color:#15803d; }
.cq-topic-grid { display:grid; gap:1rem; grid-template-columns:1fr; }
@media (min-width:768px) {
  .cq-topic-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .cq-topic-grid > .cq-topic:last-child:nth-child(odd) { grid-column:1 / -1; }
}
.cq-topic { display:flex; flex-direction:column; gap:.55rem; min-height:100%; padding:1.1rem 1.2rem 0; border-radius:14px; background:#fff;
  border:1px solid var(--cq-line); border-top:4px solid var(--cq-acc); text-decoration:none; color:var(--cq-ink) !important;
  box-shadow:0 1px 2px rgba(18,41,74,.05); transition:box-shadow .15s, transform .15s; }
.cq-topic:hover { box-shadow:0 10px 24px rgba(18,41,74,.10); transform:translateY(-1px); }
.cq-topic__head { display:flex; align-items:flex-start; gap:.75rem; }
.cq-topic__no { flex:0 0 2rem; height:2rem; display:inline-grid; place-items:center; border-radius:9px; background:var(--cq-navy); color:var(--cq-gold);
  font-weight:800; font-size:.95rem; }
.cq-topic__title { font-weight:800; font-size:1.05rem; line-height:1.35; color:var(--cq-navy); padding-top:.2rem; }
.cq-topic__sum { font-size:.9rem; color:#55637a; line-height:1.5; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.cq-topic__foot { margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:.5rem; padding:.7rem 0 .8rem;
  border-top:1px dashed var(--cq-line); font-size:.83rem; }
.cq-topic__meta { color:#64748b; font-weight:600; }
.cq-topic__status { font-weight:800; color:var(--cq-acc); white-space:nowrap; }
.cq-topic__status--ok { color:#15803d; } .cq-topic__status--warn { color:#b45309; }
.cq-topic--done { background:linear-gradient(180deg, #f3fdf6, #fff 45%); }
.cq-topic--soon { background:#f8fafc; border-top-color:#cbd5e1; border-style:dashed; border-top-style:solid; }
.cq-topic--soon .cq-topic__no { background:#e2e8f0; color:#64748b; }
.cq-topic--soon .cq-topic__title, .cq-topic--soon .cq-topic__status { color:#64748b; }

/* ---------- Trang chuyên đề ---------- */
.cq-topic-page { max-width:960px; }
.cq-topic-head { padding:1.4rem 1.4rem 1.2rem; border-radius:18px; background:var(--cq-navy); color:#e6ecf6; }
.cq-topic-head__kicker { color:var(--cq-gold); font-weight:700; font-size:.85rem; }
.cq-topic-head__title { color:#fff !important; font-weight:800; font-size:clamp(1.35rem, 3.6vw, 2rem); margin:.35rem 0 .5rem; line-height:1.25; }
.cq-topic-head__sum { color:#c9d4e6; margin-bottom:.9rem; }
.cq-topic-head .cq-pill--blue { background:rgba(255,255,255,.12); color:#e6ecf6; }
.cq-toc { display:flex; flex-wrap:wrap; gap:.4rem; overflow-x:auto; padding:.55rem 0; margin-bottom:1rem;
  }
.cq-toc a { flex:0 0 auto; display:inline-flex; align-items:center; gap:.4rem; padding:.38rem .85rem; border-radius:999px; background:#fff;
  border:1px solid var(--cq-line); font-weight:700; font-size:.88rem; color:var(--cq-navy) !important; text-decoration:none; }
.cq-toc a span, .cq-part__title span { display:inline-grid; place-items:center; width:1.4rem; height:1.4rem; border-radius:50%;
  background:var(--cq-gold); color:#1f1300; font-size:.75rem; font-weight:800; }
.cq-part { margin-bottom:2.2rem; scroll-margin-top:5rem; }
.cq-part__title { display:flex; align-items:center; gap:.55rem; font-size:1.25rem; font-weight:800; color:var(--cq-navy); margin-bottom:.9rem; }
.cq-part__title span { width:1.8rem; height:1.8rem; font-size:.95rem; }
.cq-box { padding:1rem 1.1rem; border-radius:14px; border:1px solid var(--cq-line); background:#fff; }
.cq-box ul { padding-left:1.15rem; } .cq-box li { margin-bottom:.35rem; }
.cq-box__head { font-weight:800; margin-bottom:.5rem; }
.cq-box--sign { border-left:4px solid var(--cq-nd); } .cq-box--sign .cq-box__head { color:var(--cq-nd); }
.cq-box--trap { border-left:4px solid #dc2626; background:#fffafa; } .cq-box--trap .cq-box__head { color:#b91c1c; }
.cq-problem { padding:.8rem 1rem; border-radius:12px; background:#f6f8fc; border:1px dashed #c9d5e8; }
.cq-method-tabs .nav-link { font-weight:700; padding:.35rem .9rem; border-radius:999px; }
.cq-method { padding:.8rem 1rem; border-radius:12px; border:1px solid var(--cq-line); background:#fff; }
.cq-remark { padding:.75rem 1rem; border-radius:12px; background:#fdf3d7; color:#5b3d00; font-size:.95rem; }
.cq-level { font-size:.74rem; font-weight:800; padding:.18rem .55rem; border-radius:6px; }
.cq-level--cb { background:#e0f2fe; color:#075985; } .cq-level--nc { background:#e8eef8; color:#1e3a8a; } .cq-level--hsg { background:#fde68a; color:#78350f; }
.cq-hints { display:flex; flex-direction:column; gap:.5rem; margin-top:.6rem; }
.cq-hint, .cq-solution { padding:.65rem .9rem; border-radius:10px; background:#fffbeb; border:1px solid #fde68a; }
.cq-solution { background:#f0fdf4; border-color:#bbf7d0; }
.cq-hint__no { display:inline-block; font-size:.72rem; font-weight:800; text-transform:uppercase; letter-spacing:.03em; color:#92400e; margin-right:.5rem; }
.cq-hint__no--sol { color:#166534; display:block; margin-bottom:.25rem; }

/* Trắc nghiệm */
.cq-legend { display:flex; flex-wrap:wrap; align-items:center; gap:.4rem; }
.cq-tier { font-size:.72rem; font-weight:800; padding:.18rem .55rem; border-radius:6px; color:#fff; }
.cq-tier--nhan_dien { background:var(--cq-nd); } .cq-tier--van_dung { background:var(--cq-vd); } .cq-tier--bien_luan { background:var(--cq-bl); }
.cq-tier-head { margin:1.4rem 0 .6rem; font-weight:800; font-size:.95rem; display:flex; align-items:center; gap:.5rem; }
.cq-tier-head::after { content:""; flex:1; height:2px; background:currentColor; opacity:.2; }
.cq-tier-head--nhan_dien { color:var(--cq-nd); } .cq-tier-head--van_dung { color:var(--cq-vd); } .cq-tier-head--bien_luan { color:var(--cq-bl); }
.cq-nav { display:flex; flex-wrap:wrap; gap:.4rem; margin-bottom:.5rem; }
.cq-card { scroll-margin-top:5rem; }
.cq-card__badges { display:flex; flex-wrap:wrap; gap:.35rem; margin-bottom:.5rem; }
.cq-kind { font-size:.72rem; font-weight:800; padding:.18rem .55rem; border-radius:6px; background:#fdf3d7; color:#7a5200; }
.cq-card__q { font-weight:600; margin-bottom:.6rem; line-height:1.55; }
.cq-card__no { font-weight:800; color:var(--cq-navy); }
.cq-steps { margin:.5rem 0; padding-left:0; list-style:none; font-weight:500; }
.cq-steps li { padding:.45rem .7rem; border-left:3px solid #cbd5e1; background:#f8fafc; margin-bottom:.3rem; border-radius:0 8px 8px 0; }
.cq-items { margin:.5rem 0; padding-left:0; list-style:none; font-weight:500; }
.cq-items li { padding:.4rem .7rem; background:#f8fafc; border-radius:8px; margin-bottom:.3rem; }
.cq-sub { font-size:.8rem; font-weight:800; color:#475569; text-transform:uppercase; letter-spacing:.03em; margin:.6rem 0 .35rem; }
.cq-options--inline { display:grid; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:.4rem; }
.cq-options--inline .quiz-option-label { margin-bottom:0; }
.cq-number { max-width:16rem; font-size:1.1rem; font-weight:700; }
.cq-card.review-ok { border-color:#86efac; }
.cq-card.review-wrong { border-color:#fca5a5; }
.cq-review { margin-top:.75rem; }
.cq-verdict { font-weight:800; margin-bottom:.35rem; } .cq-verdict.ok { color:#15803d; } .cq-verdict.bad { color:#b91c1c; }
.cq-submit { margin-top:.5rem; }
.cq-tierbar { margin-bottom:.6rem; }
.cq-tierbar .progress { height:.55rem; margin-top:.2rem; }
.cq-tierbar__fill--nhan_dien { background:var(--cq-nd) !important; } .cq-tierbar__fill--van_dung { background:var(--cq-vd) !important; }
.cq-tierbar__fill--bien_luan { background:var(--cq-bl) !important; }
.cq-section input[type=radio]:disabled + * , .cq-section input:disabled { cursor:default; }

/* Điện thoại: chữ công thức không tràn khung */
.cq-topic-page mjx-container[display="true"] { max-width:100%; }
.cq-topic-page .quiz-option-label { word-break:break-word; }
@media (max-width:575.98px) {
  .cq-topic-head { padding:1.1rem; border-radius:14px; }
  .cq-part__title { font-size:1.1rem; }
  .cq-problem, .cq-method { padding:.7rem .8rem; }
  .cq-options--inline { grid-template-columns:1fr 1fr; }
  .cq-number { max-width:100%; }
}
/* Nút dạng liên kết: giữ chữ trắng trên nền navy (giao diện mới tô màu mọi thẻ a) */
.cq-topic-page a.btn-primary, .cq-topic-page a.btn-primary:hover { color:#fff !important; }
.cq-topic-page a.btn-outline-primary:hover { color:#fff !important; }
/* Công thức dài trên điện thoại: cuộn ngang trong khung riêng, không làm tràn cả trang */
/* Chỉ công thức thực sự rộng hơn khung (chuyen.js gắn lớp cq-mjx-wide) mới cuộn ngang. */
.cq-topic-page mjx-container.cq-mjx-wide { display:inline-block; max-width:100%; overflow-x:auto; overflow-y:hidden;
  vertical-align:middle; padding:.35em 0; }
.cq-topic-page mjx-container[display="true"].cq-mjx-wide { display:block; }
.cq-topic-page .lesson-theory, .cq-topic-page .cq-method, .cq-topic-page .cq-card, .cq-topic-page .cq-problem,
.cq-topic-page .cq-hints, .cq-topic-page .cq-remark { overflow-wrap:anywhere; min-width:0; }
/* Tự luận: mốc chấm */
.cq-marks { border:1px solid var(--cq-line); border-radius:14px; padding:.9rem 1rem; background:#fbfcfe; }
.cq-marks__head { font-weight:800; color:var(--cq-navy); margin-bottom:.6rem; }
.cq-mark { padding:.7rem .8rem; border-radius:10px; background:#fff; border:1px solid var(--cq-line); margin-bottom:.6rem; }
.cq-mark__label { font-weight:600; margin-bottom:.45rem; }
.cq-mark__pts { display:inline-block; font-size:.72rem; font-weight:800; padding:.1rem .45rem; border-radius:6px; background:var(--cq-gold); color:#1f1300; margin-right:.45rem; }
.cq-mark__input--set { max-width:100%; }
.cq-mark.ok { border-color:#86efac; background:#f6fef9; } .cq-mark.bad { border-color:#fca5a5; background:#fff7f7; } .cq-mark.half { border-color:#fcd34d; background:#fffcf0; }
.cq-mark__review { margin-top:.45rem; }
.cq-essay-score { display:flex; align-items:center; gap:.9rem; padding:.7rem .9rem; border-radius:12px; }
.cq-essay-score > span { font-size:1.9rem; font-weight:800; line-height:1; white-space:nowrap; }
.cq-essay-score small { font-size:.9rem; font-weight:700; opacity:.7; }
.cq-essay-score.hi { background:#dcfce7; color:#14532d; } .cq-essay-score.mid { background:#fef9c3; color:#713f12; } .cq-essay-score.lo { background:#ffedd5; color:#7c2d12; }

/* ---------- Cân đối trang chuyên đề (16/11 tối) ---------- */
.cq-topic-page .lesson-theory { background:#fff !important; border:1px solid var(--cq-line) !important; border-left:4px solid var(--cq-gold) !important;
  border-radius:14px; box-shadow:0 1px 2px rgba(18,41,74,.05); }
.cq-topic-page .cq-vi-note, .cq-topic-page .cq-vi { color:#64748b; }
.cq-topic-page .cq-vi-note { margin:0; padding-top:.6rem; border-top:1px dashed var(--cq-line); }
.cq-box { box-shadow:0 1px 2px rgba(18,41,74,.05); }
.cq-marks__grid { display:grid; gap:.6rem; grid-template-columns:minmax(0, 1fr); }
@media (min-width:576px) { .cq-marks__grid { grid-template-columns:repeat(2, minmax(0, 1fr)); } }
@media (min-width:992px) { .cq-marks__grid--short { grid-template-columns:repeat(4, minmax(0, 1fr)); } }
.cq-marks__grid .cq-mark { margin-bottom:0; display:flex; flex-direction:column; }
.cq-mark--wide { grid-column:1 / -1; }
.cq-mark .cq-number { max-width:none; }
.cq-mark__label { flex:1 1 auto; }
.cq-mark .small.text-muted { font-size:.76rem; }
.cq-essay .cq-problem { font-size:1.02rem; }
.cq-part__title { padding-bottom:.4rem; border-bottom:2px solid var(--cq-line); }

/* Bài viết hoàn chỉnh */
.cq-draft { font-size:1rem; line-height:1.6; }
.cq-soon-note { font-size:.85rem; padding:.55rem .8rem; border-radius:10px; background:#eef2f7; color:#334155; }
.cq-rubric { padding:1rem; border-radius:12px; background:#fbfcfe; border:1px solid var(--cq-line); height:100%; }
.cq-rubric__row { display:flex; justify-content:space-between; gap:.75rem; align-items:flex-start; padding:.55rem 0; border-top:1px dashed var(--cq-line); }
.cq-rubric__row:first-of-type { border-top:0; }
.cq-model { padding:1rem 1.1rem; border-radius:12px; background:#f0fdf4; border:1px solid #bbf7d0; }
.cq-model p { margin-bottom:.6rem; }

/* Bài viết hoàn chỉnh — kết quả máy chấm theo mốc */
.cq-wcrit { display:grid; grid-template-columns:1fr; gap:.6rem; }
@media (min-width:768px) { .cq-wcrit { grid-template-columns:1fr 1fr; } }
.cq-wcrit__row { border:1px solid var(--cq-line); border-radius:12px; padding:.6rem .75rem; background:#fff; }
.cq-wcrit__head { display:flex; justify-content:space-between; gap:.5rem; align-items:center; margin-bottom:.35rem; }
.cq-wcrit__item { display:flex; gap:.5rem; padding:.35rem 0; border-top:1px dashed var(--cq-line); font-size:.9rem; }
.cq-wcrit__ic { flex:0 0 1.3rem; font-weight:800; text-align:center; }
.cq-wcrit__item.ok .cq-wcrit__ic { color:#15803d; } .cq-wcrit__item.half .cq-wcrit__ic { color:#b45309; } .cq-wcrit__item.bad .cq-wcrit__ic { color:#b91c1c; }
.cq-wcrit__item .small { overflow-wrap:anywhere; }
.cq-poem { margin:.5rem 0 .4rem; padding:.55rem .9rem; border-left:3px solid var(--cq-gold, #e8a917); background:#fffbeb; font-style:italic; line-height:1.75; border-radius:0 10px 10px 0; }

/* ===== Điện thoại thật (17/11): không để công thức, ô nhập, thẻ làm tràn ngang ===== */
.cq-mark, .cq-marks__grid > *, .cq-stage-card__body, .cq-topic__title, .cq-subj__title, .quiz-option-label { min-width:0; }
.cq-mark .form-control, .cq-mark__input { width:100%; min-width:0; }
.cq-topic-page, .cq-stage-card, .cq-topic { overflow-wrap:break-word; }
@media (max-width:575.98px) {
  .cq-hero h1 { font-size:1.75rem; }
  .cq-hero__lead { font-size:1rem; }
  .cq-topic-head__title { font-size:1.3rem; }
  .cq-subj__title { font-size:1.1rem; }
  .cq-essay .cq-problem { font-size:1rem; }
  .cq-essay-score > span { font-size:1.6rem; }
  .cq-marks { padding:.7rem .7rem; }
  .cq-mark { padding:.6rem .65rem; }
}
@media (max-width: 575.98px) {
  .cq-pill { white-space: normal; max-width: 100%; }
  .cq-stage-card__meta { min-width: 0; max-width: 100%; }
}

/* ---------------- Luyện đề: trang ĐỀ THI THỬ (exam.html + exam.js) ---------------- */
.cq-exam-note { padding:.7rem .9rem; border-radius:12px; background:#fff8e6; border:1px solid #f5d98a; color:#5b4300; font-size:.92rem; }
.cq-exam-struct__row { display:flex; justify-content:space-between; align-items:center; gap:.6rem; padding:.4rem .2rem; border-bottom:1px dashed var(--cq-line, #dbe3ef); color:inherit; text-decoration:none; font-size:.94rem; }
.cq-exam-struct__row:last-child { border-bottom:0; } .cq-exam-struct__row:hover { color:#1d4ed8; }
.cq-timer { display:flex; flex-wrap:wrap; align-items:center; gap:.6rem; padding:.55rem .7rem; border-radius:12px; background:#f6f8fc; border:1px solid #dbe3ef; }
.cq-timer__clock { font-size:1.5rem; font-weight:800; font-variant-numeric:tabular-nums; min-width:5.2rem; color:#1e3a8a; }
.cq-timer__clock.warn { color:#b45309; } .cq-timer__clock.over { color:#b91c1c; font-size:1.15rem; }
.cq-exam-sec__pts { font-size:.8rem; font-weight:600; color:#64748b; margin-left:.4rem; }
.cq-exam-sec .cq-part__title .cq-level { margin-left:.5rem; vertical-align:middle; }
.cq-exam-intro p:last-child { margin-bottom:0; }
.cq-exam-intro .cq-poem { margin:.4rem 0 .6rem 1rem; font-style:italic; line-height:1.75; }
.cq-exam-intro .cq-src { font-size:.85rem; color:#64748b; text-align:right; }
.cq-xitems { display:flex; flex-direction:column; gap:.65rem; }
.cq-xitem { padding:.75rem .85rem; border-radius:12px; background:#fff; border:1px solid var(--cq-line, #dbe3ef); min-width:0; }
.cq-xitem.ok { border-color:#86efac; background:#f6fef9; } .cq-xitem.bad { border-color:#fca5a5; background:#fff7f7; } .cq-xitem.half { border-color:#fcd34d; background:#fffcf0; }
.cq-xitem__q { margin-bottom:.5rem; overflow-wrap:anywhere; }
.cq-xitem__pts { float:right; margin-left:.5rem; }
.cq-xitem .quiz-options { margin-bottom:0; }
.cq-xitem .cq-xinput { max-width:16rem; width:100%; }
.cq-xitem .cq-xinput--wide { max-width:none; }
.cq-xitem__review { margin-top:.55rem; }
.cq-xitem .pv-report { margin-top:.35rem; }
.cq-exam-secres { padding:.5rem .75rem; border-radius:10px; background:#eef4ff; color:#1e3a8a; }
.cq-exam .cq-writing-result .cq-essay-score > span small { font-size:.85rem; }
@media (max-width:575.98px) {
  .cq-xitem { padding:.6rem .65rem; }
  .cq-xitem__pts { float:none; display:inline-block; margin-left:.3rem; }
  .cq-timer__clock { font-size:1.3rem; min-width:4.6rem; }
  .cq-exam-sec__pts { display:inline-block; margin-left:.3rem; }
}
