/* 기출 CBT 목록(cbt-list.php)·풀이(cbt.php) 화면. 대표색은 CBT 메인(cbt-index)과 같다. */
.dm-cbt { --dm-cbt-blue: #2451d6; --dm-cbt-navy: #10235c; --dm-cbt-line: #e3eaf5; color: #17253d; }
.dm-cbt-wrap { max-width: 1120px; margin: 0 auto; padding: 24px 20px 56px; }
.dm-cbt a { text-decoration: none; }
.dm-cbt-crumb { font-size: 13px; color: #68758b; margin-bottom: 14px; }
.dm-cbt-crumb a { color: #68758b; }
.dm-cbt-crumb a:hover { color: var(--dm-cbt-blue); }

.dm-cbt-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 26px 30px; border-radius: 18px; background: linear-gradient(110deg, #eff7ff, #f6f9ff); margin-bottom: 16px; }
.dm-cbt-head h1 { margin: 0; font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; color: var(--dm-cbt-navy); letter-spacing: -1px; }
.dm-cbt-head h1 span { color: var(--dm-cbt-blue); margin-left: 6px; }
.dm-cbt-head p { margin: 6px 0 0; color: #3b5280; }
.dm-cbt-search { display: flex; flex: 0 1 340px; background: #fff; border: 1px solid #cdd9ec; border-radius: 10px; overflow: hidden; }
.dm-cbt-search input { flex: 1; min-width: 0; height: 46px; border: 0; padding: 0 14px; font-size: 15px; outline: none; }
.dm-cbt-search button { width: 50px; border: 0; background: var(--dm-cbt-blue); color: #fff; font-size: 18px; }
.dm-cbt-search:focus-within { border-color: var(--dm-cbt-blue); box-shadow: 0 0 0 3px rgba(36, 81, 214, .15); }

.dm-cbt-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin-bottom: 8px; scrollbar-width: thin; }
.dm-cbt-tabs a { flex: 0 0 auto; padding: 9px 16px; border: 1px solid #cdd9ec; border-radius: 999px; background: #fff; color: var(--dm-cbt-navy); font-weight: 650; font-size: 15px; white-space: nowrap; }
.dm-cbt-tabs a:hover { border-color: var(--dm-cbt-blue); color: var(--dm-cbt-blue); }
.dm-cbt-tabs a.is-active { background: var(--dm-cbt-blue); border-color: var(--dm-cbt-blue); color: #fff; }

.dm-cbt-notice { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: 12px; background: #fff8e1; border: 1px solid #ffe08a; margin-bottom: 18px; color: #5a4300; }
.dm-cbt-notice a { flex: 0 0 auto; padding: 8px 18px; border-radius: 8px; background: var(--dm-cbt-blue); color: #fff; font-weight: 700; }
.dm-cbt-rule { margin: 0 0 18px; font-size: 13px; color: #68758b; }
.dm-cbt-empty { padding: 40px; text-align: center; color: #68758b; border: 1px dashed #cdd9ec; border-radius: 14px; }

.dm-cbt section.dm-cbt-year { padding: 0; margin-bottom: 26px; }
.dm-cbt-year h2 { font-size: 20px; font-weight: 800; color: var(--dm-cbt-navy); margin: 0 0 10px; padding-left: 12px; border-left: 4px solid var(--dm-cbt-blue); }
.dm-cbt-round { border: 1px solid var(--dm-cbt-line); border-radius: 14px; background: #fff; padding: 16px 18px; margin-bottom: 10px; box-shadow: 0 4px 18px #10235c05; }
.dm-cbt-round-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
.dm-cbt-round-head h3 { margin: 0; font-size: 18px; font-weight: 800; color: var(--dm-cbt-navy); }
.dm-cbt-meta { font-size: 13px; color: #68758b; }
.dm-cbt-download { margin-left: auto; font-size: 13px; color: var(--dm-cbt-blue); font-weight: 700; }

.dm-cbt-verdict { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.dm-cbt-verdict.is-pass { background: #e3f6ea; color: #1e7a46; }
.dm-cbt-verdict.is-fail { background: #fdecec; color: #c62828; }
.dm-cbt-verdict.is-partial { background: #eef1f6; color: #3d4556; }

.dm-cbt-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.dm-cbt-sec { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px; border: 1px solid #dbe3f0; border-radius: 10px; background: #f8faff; color: #17253d; }
.dm-cbt-sec:hover { border-color: var(--dm-cbt-blue); background: #eef3ff; color: #17253d; }
.dm-cbt-sec .num { flex: 0 0 26px; height: 26px; border-radius: 50%; background: #dce7ff; color: var(--dm-cbt-blue); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
.dm-cbt-sec .title { flex: 1; min-width: 0; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dm-cbt-sec .status { flex: 0 0 auto; font-size: 13px; color: #5f6e85; }
.dm-cbt-sec.is-good { background: #f1faf4; border-color: #bfe5cc; }
.dm-cbt-sec.is-good .status strong { color: #1e7a46; }
.dm-cbt-sec.is-warn { background: #fffaf0; border-color: #f3dca8; }
.dm-cbt-sec.is-warn .status strong { color: #a15c00; }
.dm-cbt-sec.is-bad { background: #fff5f5; border-color: #f4c4c4; }
.dm-cbt-sec.is-bad .status strong { color: #c62828; }
.dm-cbt-sec .status strong { font-size: 15px; }
.dm-cbt-paging { margin-top: 24px; }

/* 풀이 화면 */
.dm-cbt-exam .card.question .list-group-item { padding: 4px 0; }
.dm-cbt-exam .card.question li a.item { display: block; margin-left: 0; padding: 11px 14px; border: 1px solid #e3e7ef; border-radius: 10px; background: #fff; color: #17253d; line-height: 1.55; transition: border-color .12s, background-color .12s; }
.dm-cbt-exam .card.question li a.item:hover { border-color: #9fb2ea; background: #f6f8ff; }
.dm-cbt-exam .card.question li a.item span.chk_img { display: none; }
.dm-cbt-exam .card.question li a.item.chk { border-color: var(--dm-cbt-blue, #2451d6); background: #eef3ff; font-weight: 700; box-shadow: inset 4px 0 0 #2451d6; }
.dm-cbt-exam .card.question li a.item.on { border-color: #4caf72; background: #f1faf4; color: #1e7a46; font-weight: 700; box-shadow: inset 4px 0 0 #2e9e5b; }
.dm-cbt-exam .card.question:has(span.ox.incorrect) li a.item.chk:not(.on) { border-color: #e57373; background: #fff5f5; color: #c62828; box-shadow: inset 4px 0 0 #d84343; }

.dm-cbt-score { margin: 12px 0 4px; padding: 12px; border-radius: 10px; background: #fff; font-size: 15px; }
.dm-cbt-score strong { font-size: 22px; }
.dm-cbt-score span { display: block; margin-top: 4px; font-size: 13px; font-weight: 700; }
.dm-cbt-score.is-good span, .dm-cbt-score.is-good strong { color: #1e7a46; }
.dm-cbt-score.is-warn span, .dm-cbt-score.is-warn strong { color: #a15c00; }
.dm-cbt-score.is-bad span, .dm-cbt-score.is-bad strong { color: #c62828; }

.dm-cbt-exam #offcanvasSidebar .offcanvas-body { flex-direction: column; }
.dm-cbt-round-summary { margin-top: 16px; padding: 18px; border-radius: 12px; background: #fff; border: 1px solid #e3eaf5; box-shadow: 0 4px 18px #10235c08; }
.dm-cbt-round-summary h5 { font-size: 16px; font-weight: 800; color: #10235c; margin: 0 0 10px; }
.dm-cbt-round-summary ul { list-style: none; margin: 0 0 12px; padding: 0; }
.dm-cbt-round-summary li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid #f0f3f8; font-size: 14px; }
.dm-cbt-round-summary li a { color: #17253d; }
.dm-cbt-round-summary li.is-current a { color: #2451d6; font-weight: 800; }
.dm-cbt-round-summary li span { flex: 0 0 auto; font-weight: 700; color: #8a93a6; }
.dm-cbt-round-summary li span.is-good { color: #1e7a46; }
.dm-cbt-round-summary li span.is-warn { color: #a15c00; }
.dm-cbt-round-summary li span.is-bad { color: #c62828; }
.dm-cbt-round-summary p { margin: 8px 0 0; font-size: 12px; color: #8a93a6; }

.dm-cbt-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: flex; align-items: center; gap: 8px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #e3e7ef; box-shadow: 0 -6px 18px rgba(16, 35, 92, .08); }
.dm-cbt-progress { flex: 1; font-weight: 800; color: #10235c; }
.dm-cbt-bar-sheet, .dm-cbt-bar-main { height: 46px; padding: 0 16px; border-radius: 10px; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; }
.dm-cbt-bar-sheet { border: 1px solid #c9cfdb; background: #fff; color: #3d4556; }
.dm-cbt-bar-main { border: 0; background: #2451d6; color: #fff; padding: 0 22px; }
.dm-cbt-bar-main:hover { background: #1b3fae; color: #fff; }

/* 목록: 두 가지 풀이 방식 안내와 회차별 풀기 버튼 */
.dm-cbt-modes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 14px 18px; margin-bottom: 14px; border: 1px solid #e3eaf5; border-radius: 12px; background: #fff; font-size: 14px; color: #465976; }
.dm-cbt-modes p { margin: 0; flex: 1 1 300px; }
.dm-cbt-modes p strong { color: #10235c; margin-right: 6px; }
.dm-cbt-modes p.is-focus strong { color: #5b43c3; }
.dm-cbt-wrong-link { flex: 0 0 auto; padding: 8px 16px; border-radius: 999px; background: #f3f0ff; color: #5b43c3; font-weight: 800; }
.dm-cbt-wrong-link span { display: inline-block; min-width: 22px; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: #5b43c3; color: #fff; font-size: 12px; text-align: center; }
.dm-cbt-round-btn { margin-left: auto; padding: 7px 14px; border-radius: 8px; background: #5b43c3; color: #fff; font-size: 13px; font-weight: 800; }
.dm-cbt-round-btn:hover { background: #4a35a8; color: #fff; }
.dm-cbt-round-btn.is-open { background: #b45309; }
.dm-cbt-round-last { font-size: 13px; font-weight: 700; color: #5b43c3; }
.dm-cbt-round-head .dm-cbt-download { margin-left: 0; }

.dm-btn-primary, .dm-btn-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 10px; font-weight: 800; font-size: 15px; border: 1px solid transparent; cursor: pointer; }
.dm-btn-primary { background: #2451d6; color: #fff; }
.dm-btn-primary:hover { background: #1b3fae; color: #fff; }
.dm-btn-ghost { background: #fff; border-color: #c9cfdb; color: #3d4556; }
.dm-btn-ghost:hover { background: #f3f5f9; color: #191919; }

/* 회차별 풀기: 시작·결과 */
.dm-round-start, .dm-round-result { max-width: 760px; margin: 0 auto; padding: 30px; border: 1px solid #e3eaf5; border-radius: 18px; background: #fff; box-shadow: 0 4px 18px #10235c08; }
.dm-round-kicker { margin: 0 0 4px; color: #5b43c3; font-weight: 800; font-size: 14px; }
.dm-round-start h1, .dm-round-result h1 { margin: 0; font-size: clamp(22px, 3vw, 30px); font-weight: 800; color: #10235c; }
.dm-round-lead { margin: 8px 0 18px; color: #465976; }
.dm-round-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
.dm-round-facts div { padding: 14px; border-radius: 12px; background: #f6f8ff; }
.dm-round-facts dt { font-size: 13px; color: #68758b; font-weight: 600; }
.dm-round-facts dd { margin: 4px 0 0; font-size: 17px; font-weight: 800; color: #10235c; }
.dm-round-subjects { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.dm-round-subjects li { padding: 6px 12px; border-radius: 999px; background: #eef3ff; font-size: 14px; font-weight: 650; }
.dm-round-subjects li span { margin-right: 6px; color: #2451d6; font-weight: 800; }
.dm-round-subjects small { color: #68758b; }
.dm-round-trends { margin: 0 0 18px; padding: 16px; border-radius: 12px; background: #f6f4ff; border: 1px solid #e3ddff; }
.dm-round-trends h2 { margin: 0 0 10px; font-size: 15px; font-weight: 800; color: #5b43c3; }
.dm-round-trend { display: flex; gap: 10px; padding: 6px 0; border-top: 1px solid #ebe6ff; font-size: 14px; }
.dm-round-trend:first-of-type { border-top: 0; }
.dm-round-trend > strong { flex: 0 0 130px; color: #10235c; }
.dm-round-trend ul { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 0; list-style: none; color: #3d4556; }
.dm-round-trend li span { color: #5b43c3; font-weight: 700; font-size: 12px; }
.dm-cbt-mock-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; margin-bottom: 14px; border-radius: 14px; background: linear-gradient(110deg, #f3f0ff, #eef4ff); border: 1px solid #ddd5ff; }
.dm-cbt-mock-cta p { margin: 0; color: #3d4556; font-size: 14px; }
.dm-cbt-mock-cta p strong { display: block; color: #10235c; font-size: 17px; margin-bottom: 2px; }
.dm-cbt-mock-cta a { flex: 0 0 auto; padding: 10px 18px; border-radius: 10px; background: #5b43c3; color: #fff; font-weight: 800; }
.dm-cbt-mock-cta a:hover { background: #4a35a8; color: #fff; }
.dm-round-rules { margin: 0 0 20px; padding-left: 18px; color: #465976; font-size: 14px; line-height: 1.8; }
.dm-round-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dm-round-actions form { margin: 0; }
.dm-round-history { margin-top: 24px; padding-top: 18px; border-top: 1px solid #eef1f6; }
.dm-round-history h2 { font-size: 16px; font-weight: 800; margin: 0 0 8px; }
.dm-round-history ul { margin: 0; padding: 0; list-style: none; }
.dm-round-history li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f3f5f9; font-size: 14px; }
.dm-round-history li a { color: #2451d6; font-weight: 700; }

.dm-round-score { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 18px 0; padding: 20px; border-radius: 14px; background: linear-gradient(110deg, #f3f0ff, #f6f9ff); }
.dm-round-score-main strong { font-size: 44px; font-weight: 900; color: #10235c; line-height: 1; }
.dm-round-score-main > span { margin: 0 10px 0 4px; color: #465976; font-weight: 700; }
.dm-round-score dl { margin: 0; display: grid; gap: 4px; font-size: 14px; }
.dm-round-score dl div { display: flex; gap: 10px; }
.dm-round-score dt { color: #68758b; min-width: 64px; }
.dm-round-score dd { margin: 0; font-weight: 700; }
.dm-round-sections { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.dm-round-sections li { display: flex; align-items: baseline; gap: 8px; padding: 12px 14px; border-radius: 10px; border: 1px solid #dbe3f0; background: #f8faff; }
.dm-round-sections li span { flex: 1; font-weight: 650; }
.dm-round-sections li strong { font-size: 17px; }
.dm-round-sections li small { color: #68758b; }
.dm-round-sections li.is-good { background: #f1faf4; border-color: #bfe5cc; } .dm-round-sections li.is-good strong { color: #1e7a46; }
.dm-round-sections li.is-warn { background: #fffaf0; border-color: #f3dca8; } .dm-round-sections li.is-warn strong { color: #a15c00; }
.dm-round-sections li.is-bad { background: #fff5f5; border-color: #f4c4c4; } .dm-round-sections li.is-bad strong { color: #c62828; }

/* 회차별 풀기: 시험 화면 */
.dm-round-bar { position: sticky; top: 0; z-index: 1020; display: flex; align-items: center; gap: 14px; padding: 10px 16px; margin: 0 -4px 10px; border: 1px solid #e3e7ef; border-radius: 12px; background: rgba(255, 255, 255, .97); box-shadow: 0 6px 18px rgba(16, 35, 92, .08); }
.dm-round-bar-title { flex: 1; min-width: 0; font-weight: 800; color: #10235c; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dm-round-timer { font-size: 24px; font-weight: 900; font-variant-numeric: tabular-nums; color: #10235c; }
.dm-round-timer.is-warn { color: #c62828; }
.dm-round-bar { flex-wrap: wrap; }
.dm-round-count { display: flex; flex-direction: column; gap: 4px; min-width: 128px; font-weight: 700; color: #465976; font-variant-numeric: tabular-nums; }
.dm-round-count strong { color: #10235c; font-size: 18px; }
.dm-round-pct { color: #5b43c3; font-weight: 800; }
.dm-round-meter { display: block; height: 6px; border-radius: 999px; background: #e9edf5; overflow: hidden; }
.dm-round-meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #5b43c3, #2451d6); transition: width .25s; }
.dm-round-empty-btn { min-height: 42px; padding: 0 14px; border: 1px solid #f3c77a; border-radius: 10px; background: #fff8e6; color: #8a5300; font-weight: 800; white-space: nowrap; }
.dm-round-empty-btn span { display: inline-block; min-width: 24px; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: #b45309; color: #fff; font-size: 12px; text-align: center; }
.dm-round-empty-btn.is-clear { border-color: #bfe5cc; background: #f1faf4; color: #1e7a46; }
.dm-round-empty-btn.is-clear span { background: #1e7a46; }
.dm-round-empty { flex-basis: 100%; padding: 10px 0 2px; border-top: 1px dashed #e3e7ef; }
.dm-round-empty p { margin: 0 0 8px; font-size: 13px; color: #68758b; }
.dm-round-empty-list { display: flex; flex-wrap: wrap; gap: 6px; max-height: 120px; overflow-y: auto; }
.dm-round-empty-list a { min-width: 40px; padding: 6px 8px; border-radius: 8px; background: #fff8e6; border: 1px solid #f3c77a; color: #8a5300; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.dm-round-empty-list a:hover { background: #ffedc2; }
.dm-round-empty-done { color: #1e7a46; font-weight: 700; }
.dm-q { scroll-margin-top: 150px; }
.dm-show-empty .dm-q:not(:has(input:checked)) { border-color: #f3c77a; box-shadow: inset 4px 0 0 #f59e0b; }
.dm-q.is-flash { animation: dm-q-flash 1.4s ease-out; }
@keyframes dm-q-flash { 0%, 30% { background: #fff3d6; } 100% { background: #fff; } }
.dm-round-saved { font-size: 12px; color: #68758b; min-width: 70px; }
.dm-round-submit { min-height: 42px; padding: 0 18px; }
.dm-round-nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; }
.dm-round-nav a { flex: 0 0 auto; padding: 7px 14px; border-radius: 999px; border: 1px solid #cdd9ec; background: #fff; color: #10235c; font-weight: 650; font-size: 14px; }
.dm-round-nav a small { color: #68758b; margin-left: 4px; }
.dm-round-section { scroll-margin-top: 90px; margin-bottom: 18px; }
.dm-round-section h2 { margin: 18px 0 10px; font-size: 19px; font-weight: 800; color: #10235c; padding-left: 12px; border-left: 4px solid #5b43c3; }
.dm-round-section h2 small { font-size: 14px; color: #68758b; font-weight: 600; }
.dm-q { margin: 0 0 12px; padding: 18px; border: 1px solid #e3e7ef; border-radius: 14px; background: #fff; min-width: 0; }
.dm-cbt section.dm-round-section, .dm-cbt section.dm-round-review { padding: 0; }
.dm-q legend + .dm-choice { clear: both; }
.dm-q legend { float: left; }
.dm-q legend, .dm-q .dm-q-title { width: 100%; padding: 0; margin: 0 0 12px; font-size: 1.02rem; font-weight: 700; line-height: 1.6; font-family: 'Pretendard Variable', Pretendard, 'Malgun Gothic', sans-serif; }
.dm-q-no { color: #2451d6; }
.dm-q-meta { margin: 0 0 8px; font-size: 13px; color: #68758b; }
.dm-q-skip { color: #a15c00; font-weight: 700; }
.dm-choice { display: flex; align-items: flex-start; gap: 10px; width: 100%; margin: 0 0 8px; padding: 11px 14px; border: 1px solid #e3e7ef; border-radius: 10px; background: #fff; text-align: left; cursor: pointer; line-height: 1.55; font-family: 'Pretendard Variable', Pretendard, 'Malgun Gothic', sans-serif; color: #17253d; }
.dm-choice:hover { border-color: #9fb2ea; background: #f6f8ff; }
.dm-choice input { position: absolute; opacity: 0; pointer-events: none; }
.dm-choice:has(input:checked) { border-color: #2451d6; background: #eef3ff; font-weight: 700; box-shadow: inset 4px 0 0 #2451d6; }
.dm-choice:has(input:focus-visible) { outline: 3px solid rgba(36, 81, 214, .35); outline-offset: 2px; }
.dm-choice-no { flex: 0 0 auto; }
.dm-choice.is-answer { border-color: #4caf72; background: #f1faf4; color: #1e7a46; font-weight: 700; box-shadow: inset 4px 0 0 #2e9e5b; }
.dm-choice.is-mine { border-color: #e57373; background: #fff5f5; color: #c62828; box-shadow: inset 4px 0 0 #d84343; }
.dm-q-explan { margin-top: 10px; padding: 12px 14px; border-radius: 10px; background: #f8f9fc; font-size: 14px; }
.dm-round-finish { display: flex; justify-content: center; margin: 20px 0 10px; }
.dm-round-review { max-width: 900px; margin: 26px auto 0; }
.dm-round-review > h2 { font-size: 20px; font-weight: 800; color: #10235c; margin-bottom: 12px; }
.dm-round-review > h2 small { font-size: 14px; color: #68758b; }

/* 오답노트 */
.dm-wrong-filter { display: flex; gap: 6px; margin: 4px 0 16px; border-bottom: 1px solid #e3e7ef; }
.dm-wrong-filter a { padding: 10px 14px; color: #68758b; font-weight: 700; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.dm-wrong-filter a.is-active { color: #5b43c3; border-bottom-color: #5b43c3; }
.dm-wrong-item.is-busy { opacity: .6; }
.dm-wrong-item .dm-choice:disabled { cursor: default; }
.dm-wrong-feedback .is-ok { color: #1e7a46; font-weight: 800; margin: 6px 0 0; }
.dm-wrong-feedback .is-bad { color: #c62828; font-weight: 800; margin: 6px 0 0; }
.dm-wrong-done { color: #1e7a46; font-weight: 700; }
.dm-cbt-tabs a small { margin-left: 4px; font-size: 12px; opacity: .8; }

@media (max-width: 1199.98px) {
  .dm-cbt-exam { padding-bottom: 80px; }
}
@media (max-width: 767.98px) {
  /* 테마가 모바일 section에 !important 여백을 주므로 CBT 영역만 되돌린다 */
  .dm-cbt section.dm-cbt-year, .dm-cbt section.dm-round-section, .dm-cbt section.dm-round-review, .dm-cbt-exam section.dm-cbt-round-summary { padding-top: 0 !important; padding-bottom: 0 !important; }
  .dm-cbt-exam section.dm-cbt-round-summary { padding: 18px !important; }
  .dm-cbt section.dm-round-start, .dm-cbt section.dm-round-result { padding: 20px 16px !important; }
  .dm-round-start, .dm-round-result { padding: 20px 16px; }
  .dm-round-facts { grid-template-columns: 1fr; }
  .dm-round-bar { flex-wrap: wrap; gap: 6px 12px; padding: 8px 12px; }
  .dm-round-bar-title { flex-basis: 100%; font-size: 14px; }
  .dm-round-timer { font-size: 20px; }
  .dm-round-saved { display: none; }
  .dm-round-submit { margin-left: auto; }
  .dm-cbt-round-btn { margin-left: 0; }
}
@media (max-width: 767.98px) {
  .dm-cbt-wrap { padding: 16px 14px 48px; }
  .dm-cbt-head { flex-direction: column; align-items: stretch; padding: 20px; }
  .dm-cbt-search { flex-basis: auto; }
  .dm-cbt-sections { grid-template-columns: 1fr; }
  .dm-cbt-notice { flex-direction: column; align-items: stretch; text-align: center; }
  .dm-cbt-download { margin-left: 0; }
}
