/* 시험 부정행위 장부. IVEL 공용 디자인 체계(/_ivel/ds.css) 위에 이 서비스 부품만 얹는다.
   2026-11-18 자격증 끝판왕 부정행위 쪽(/study/cheating/)에서 옮김. 톤은 쇼핑형(흰 바탕, 1px 선과 8px 회색 띠, 그림자 없음).
   대표색 채움은 먹색 그대로, 자료 색(막대, 칩)은 서비스 색 보라 한 계열. 값은 글자로 함께 둔다. */
:root {
  color-scheme: light;
  /* 쇼핑형 톤 값(hub 시안 B tone.css와 같음). 대표색은 건드리지 않는다 */
  --ds-bg: #fff; --ds-surface: #fff; --ds-surface-2: #f2f4f6;
  --ds-ink: #191f28; --ds-sub: #596373; --ds-line: #eceff2; --ds-line-strong: #cdd3da;
  --ds-warn: #d92d20; --ds-r-card: 0px; --ds-r-thumb: 6px; --ds-shadow-1: none;

  /* 자료 색: 서비스 색 보라 한 계열(흰 바탕 위 대비 8.4:1), 접수 완료 글자 초록 */
  --pen: #5b2fb3; --pen-soft: #ebe4fa;
  --pass1: #0b7a5f;

  /* 이 파일 안에서 쓰는 짧은 이름(모두 공용 토큰을 가리킨다) */
  --bg: var(--ds-bg); --card: var(--ds-surface); --band: var(--ds-surface-2);
  --ink: var(--ds-ink); --sub: var(--ds-sub); --mute: var(--ds-sub);
  --line: var(--ds-line); --line2: var(--ds-line-strong); --warn: var(--ds-warn);
  --font: var(--ds-font); --on-ink: #fff; --g: var(--ds-gutter);
}
html { -webkit-text-size-adjust: 100%; }
body, body.ds-page { word-break: keep-all; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: var(--ds-maxw); margin: 0 auto; padding: 0 var(--g); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.nw { white-space: nowrap; }
a { color: inherit; }
/* 버튼: 공용 체계 ds-btn과 같은 값. 채움(primary)은 쪽마다 1순위 동작 하나 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--ds-sp-2); min-height: var(--ds-h-btn); padding: 0 var(--ds-sp-4); border: 1px solid var(--line2); border-radius: var(--ds-r-2); background: var(--card); color: var(--ink); font: var(--ds-w-strong) var(--ds-fs-caption)/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { border-color: var(--ink); }
.btn.primary { background: var(--ds-accent); border-color: var(--ds-accent); color: var(--ds-on-accent); }
.btn.primary:hover { filter: brightness(1.25); }
.linkbtn { border: 0; padding: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
[aria-pressed="true"] > .i-off, [aria-pressed="false"] > .i-on { display: none; }
/* 머리글 */
.top { border-bottom: 1px solid var(--line); background: var(--card); }
.top .wrap { display: flex; align-items: center; gap: var(--ds-sp-3); min-height: var(--ds-h-bar); }
.brand { display: flex; align-items: center; gap: var(--ds-sp-2); font-size: var(--ds-fs-lead); font-weight: var(--ds-w-head); text-decoration: none; letter-spacing: -0.01em; }
.brand svg { width: 22px; height: 22px; }
.top nav { margin-left: auto; display: flex; gap: var(--ds-sp-2); }
.fbbtn { min-height: var(--ds-h-btn-sm); padding: 0 var(--ds-sp-3); font-size: var(--ds-fs-small); }
.fbbtn svg { width: 16px; height: 16px; }
/* 쪽 머리(첫 화면, 시험 쪽 공통) */
.hero, .head { padding: var(--ds-sp-6) 0 var(--ds-sp-4); }
.hero h1, .head h1 { margin: 0; font-size: var(--ds-fs-h1); line-height: var(--ds-lh-head); font-weight: var(--ds-w-h1, var(--ds-w-head)); letter-spacing: -0.015em; }
.hero p, .head .sub { margin: var(--ds-sp-2) 0 0; color: var(--sub); font-size: var(--ds-fs-caption); }
@media (min-width: 768px) { .hero, .head { padding: var(--ds-sp-7) 0 var(--ds-sp-5); } .hero p, .head .sub { font-size: var(--ds-fs-lead); } }
.crumb { padding-top: var(--ds-sp-4); font-size: var(--ds-fs-small); color: var(--sub); }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.crumb + .head { padding-top: var(--ds-sp-2); }
/* 칸(쇼핑형: 좁은 화면은 테두리 없이 8px 회색 띠로 나누고, 넓은 화면은 1px 선 칸) */
.box, .ticket { min-width: 0; background: var(--card); padding: var(--ds-sp-5) var(--g); margin: 0 calc(var(--g) * -1); border-top: 8px solid var(--band); }
.box > h2, .rv-ask { margin: 0 0 var(--ds-sp-3); font-size: var(--ds-fs-h4); line-height: var(--ds-lh-tight); font-weight: var(--ds-w-head); display: flex; align-items: center; flex-wrap: wrap; gap: 0 var(--ds-sp-1); }
.none { color: var(--sub); font-size: var(--ds-fs-caption); margin: 0; }
.empty { padding: var(--ds-sp-6); color: var(--sub); text-align: center; }
.scope { margin: var(--ds-sp-6) 0; font-size: var(--ds-fs-caption); color: var(--sub); }
/* 회차 표(공용 ds-table 값) */
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rounds, .rank, table.data { width: 100%; border-collapse: collapse; font-size: var(--ds-fs-caption); }
.more { margin-top: var(--ds-sp-3); font-size: var(--ds-fs-caption); }
.more summary { cursor: pointer; color: var(--sub); min-height: 32px; display: flex; align-items: center; }
table.data { font-size: var(--ds-fs-small); margin-top: var(--ds-sp-2); }
table.data th, table.data td { padding: 6px var(--ds-sp-2); border-bottom: 1px solid var(--line); text-align: right; }
table.data th:first-child, table.data td:first-child { text-align: left; padding-left: 0; }
.find { position: relative; }
.find input { width: 100%; min-height: var(--ds-h-btn-lg); padding: 0 var(--ds-sp-4) 0 44px; border: 1px solid var(--line2); border-radius: var(--ds-r-2); background: var(--card); font: var(--ds-w-body) var(--ds-fs-lead) var(--font); color: var(--ink); }
.find input:focus { outline: 2px solid var(--ds-focus); outline-offset: 0; border-color: var(--ink); }
.find svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--sub); }
/* 바닥 */
.foot { margin-top: var(--ds-sp-9); border-top: 8px solid var(--band); padding: var(--ds-sp-6) 0 var(--ds-sp-9); font-size: var(--ds-fs-small); color: var(--sub); }
.foot .wrap { display: grid; gap: var(--ds-sp-3); }
.foot a { color: var(--sub); }
.foot .row { display: flex; flex-wrap: wrap; gap: var(--ds-sp-2) var(--ds-sp-4); align-items: center; }
.foot .btn { min-height: var(--ds-h-btn-sm); font-size: var(--ds-fs-small); }

/* 의견 창 */
dialog.fb { width: min(440px, calc(100vw - 32px)); border: 0; border-radius: var(--ds-r-3); padding: var(--ds-sp-5); color: var(--ink); }
dialog.fb::backdrop { background: rgb(20 24 31 / .45); }
dialog.fb h2 { margin: 0 0 var(--ds-sp-3); font-size: var(--ds-fs-h4); }
dialog.fb .kinds { display: flex; gap: var(--ds-sp-2); margin-bottom: var(--ds-sp-3); }
dialog.fb .kinds label { flex: 1; }
dialog.fb .kinds input { position: absolute; opacity: 0; }
dialog.fb .kinds span { display: flex; align-items: center; justify-content: center; min-height: var(--ds-h-chip); border: 1px solid var(--line2); border-radius: var(--ds-r-pill); font-size: var(--ds-fs-caption); font-weight: var(--ds-w-strong); cursor: pointer; }
dialog.fb .kinds input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
dialog.fb .kinds input:focus-visible + span { outline: 2px solid var(--ds-focus); outline-offset: 2px; }
dialog.fb textarea { height: 110px; margin-bottom: var(--ds-sp-2); }
dialog.fb .fb-who { margin: 0 0 var(--ds-sp-2); font-size: var(--ds-fs-small); line-height: var(--ds-lh-body); color: var(--sub); }
dialog.fb .fb-opt { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--ds-sp-2); }
dialog.fb .fb-opt label { display: grid; gap: 4px; font-size: var(--ds-fs-small); font-weight: 600; color: var(--ink); }
dialog.fb .fb-opt small { font-weight: 400; color: var(--sub); }
dialog.fb .fb-opt input { min-height: 44px; padding: 0 var(--ds-sp-3); font-weight: 400; }
dialog.fb .row { display: flex; gap: var(--ds-sp-2); justify-content: flex-end; margin-top: var(--ds-sp-3); align-items: center; }
dialog.fb .msg { margin-right: auto; font-size: var(--ds-fs-small); color: var(--warn); }
dialog.fb .msg.ok { color: var(--pass1); }

/* 정책 글 */
.doc { max-width: 720px; padding: var(--ds-sp-6) 0; }
.doc h1 { font-size: var(--ds-fs-h2); line-height: var(--ds-lh-head); }
.doc h2 { font-size: var(--ds-fs-h4); margin-top: var(--ds-sp-6); }
@media (min-width: 861px) { main > .box + .box, .arts + .box { margin-top: var(--ds-sp-4); } }
.wrap { max-width: calc(960px + var(--g) * 2); }
p.lead { margin: 0 0 var(--ds-sp-4); font-size: var(--ds-fs-lead); line-height: 1.6; }
.ctiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--ds-sp-2); margin-bottom: var(--ds-sp-5); }
.ctile { padding: var(--ds-sp-4); background: var(--band); border-radius: var(--ds-r-2); }
.ctile b { display: block; font-size: var(--ds-fs-h3); line-height: 1.1; font-weight: var(--ds-w-head); }
.ctile span { display: block; margin-top: var(--ds-sp-1); font-weight: var(--ds-w-strong); font-size: var(--ds-fs-caption); }
.ctile small { display: block; margin-top: 2px; color: var(--sub); font-size: var(--ds-fs-small); line-height: var(--ds-lh-tight); }
.cheat .hint { margin: 0 0 var(--ds-sp-3); color: var(--sub); font-size: var(--ds-fs-small); line-height: var(--ds-lh-tight); }
.cheat .hint:empty { display: none; }
.ccols { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-end; gap: var(--ds-sp-2); height: 220px; border-bottom: 1px solid var(--line2); }
.ccols li { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; position: relative; padding-bottom: 34px; }
.ccols b { font-size: var(--ds-fs-small); font-weight: var(--ds-w-strong); margin-bottom: 4px; text-align: center; }
.ccols .b { width: 100%; max-width: 44px; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 22px; box-sizing: border-box; }
.ccols .b i { display: block; width: 100%; flex: none; background: var(--pen); border-radius: 4px 4px 0 0; }
.ccols li.part .b i { background: repeating-linear-gradient(135deg, var(--pen) 0 4px, var(--pen-soft) 4px 7px); }
.ccols .y { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-size: var(--ds-fs-small); color: var(--sub); line-height: 1.2; }
.ccols .y small { display: block; font-size: 11px; }
.cbars { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--ds-sp-2); }
.cbars li { display: grid; grid-template-columns: minmax(84px, 9em) minmax(0, 1fr) auto; align-items: center; gap: var(--ds-sp-3); font-size: var(--ds-fs-caption); }
.cbars .k { font-weight: var(--ds-w-strong); }
.cbars .b { height: 14px; }
.cbars .b i { display: block; height: 100%; background: var(--pen); border-radius: 0 4px 4px 0; }
.cbars b { font-weight: var(--ds-w-strong); min-width: 3.5em; text-align: right; }
.tscroll { overflow-x: auto; }
table.cexams th, table.cexams td { text-align: left; vertical-align: top; }
table.cexams td:nth-child(3) { white-space: nowrap; font-weight: var(--ds-w-strong); }
table.cexams td:nth-child(2) { white-space: nowrap; }
@media (max-width: 600px) {
  /* 좁은 화면: 줄마다 카드처럼 (시험 이름, 기간, 적발 한 줄 + 내용 아래) */
  table.cexams thead { display: none; }
  table.cexams, table.cexams tbody, table.cexams tr { display: block; }
  table.cexams tr { padding: 12px 0; border-bottom: 1px solid var(--ds-line); }
  table.cexams td { display: inline; padding: 0; border: 0; }
  table.cexams td:first-child { font-weight: var(--ds-w-strong); margin-right: 8px; }
  table.cexams td:nth-child(2) { color: var(--ds-sub); margin-right: 8px; }
  table.cexams td:nth-child(4) { display: block; margin-top: 4px; }
}
.cheat .find { margin-bottom: var(--ds-sp-3); }
.cases { display: grid; gap: 0; }
.case { border-bottom: 1px solid var(--line); }
.case summary { display: grid; grid-template-columns: 5.6em auto minmax(0, 1fr) 16px; align-items: center; gap: var(--ds-sp-1) var(--ds-sp-3); padding: 10px 0; cursor: pointer; list-style: none; }
.case summary::-webkit-details-marker { display: none; }
.case summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid var(--sub); border-bottom: 1.5px solid var(--sub); transform: rotate(45deg); justify-self: end; margin-top: -4px; }
.case details[open] summary::after { transform: rotate(-135deg); margin-top: 3px; }
.case time { font-size: var(--ds-fs-small); color: var(--sub); font-variant-numeric: tabular-nums; white-space: nowrap; align-self: start; padding-top: 1px; }
.case h3 { margin: 0; font-size: var(--ds-fs-caption); font-weight: var(--ds-w-head); white-space: nowrap; }
.case .cm { display: flex; flex-wrap: wrap; gap: 4px 6px; font-size: var(--ds-fs-small); min-width: 0; }
.case .chip, .cchips .chip { padding: 1px 8px; border-radius: 999px; background: var(--pen-soft); color: var(--pen); font-weight: var(--ds-w-strong); }
.case .chip.r, .cchips .chip.r { background: var(--band); color: var(--ink); }
.case p { margin: 0 0 var(--ds-sp-3) 0; padding-left: calc(5.6em + var(--ds-sp-3)); line-height: 1.6; font-size: var(--ds-fs-caption); }
.case p a { margin-left: 4px; }
.crules { margin: 0; display: grid; grid-template-columns: minmax(7em, 12em) minmax(0, 1fr); gap: var(--ds-sp-3) var(--ds-sp-4); }
.crules dt { font-weight: var(--ds-w-strong); }
.crules dd { margin: 0; line-height: 1.6; }
@media (max-width: 600px) { .crules { grid-template-columns: 1fr; gap: var(--ds-sp-1); } .crules dd { margin-bottom: var(--ds-sp-3); } .cbars li { grid-template-columns: 6.5em minmax(0, 1fr) auto; gap: var(--ds-sp-2); } .ccols { height: 190px; gap: 4px; } }
/* 부정행위 쪽 시각 자료(사용자 2026-11-18 07:00 "텍스트양을 최대한 줄일 수 있는건 줄이고 이미지나 시각 자료를 많이") */
.cyears { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-end; gap: 3px; height: 200px; border-bottom: 1px solid var(--line2); }
.cyears li { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; position: relative; padding-bottom: 22px; }
.cyears .b { width: 100%; max-width: 40px; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-top: 34px; box-sizing: border-box; }
.cyears .b i { display: block; width: 100%; flex: none; background: var(--pen); border-radius: 3px 3px 0 0; }
.cyears li.part .b i { background: repeating-linear-gradient(135deg, var(--pen) 0 4px, var(--pen-soft) 4px 7px); }
.cyears li.na .b { background: var(--line2); opacity: .45; background-clip: content-box; border-radius: 3px 3px 0 0; }
.cyears b { font-size: var(--ds-fs-small); font-weight: var(--ds-w-strong); margin-bottom: 3px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cyears .y { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--sub); white-space: nowrap; }
.cyears .ev, .cevs .ev { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); color: var(--card); font-size: 11px; font-style: normal; font-weight: var(--ds-w-strong); }
.cyears .ev { position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 1; }
.cyears .e0 .y { left: 0; transform: none; }
.cyears .e1 .y { left: auto; right: 0; transform: none; }
/* 눈금(옅은 가로선 3줄 안팎, 값은 왼쪽 위) */
.cyw { position: relative; }
.cyw .cyears { padding-left: 26px; }
.cyears .ev.lo { top: 20px; }
.cgrid { position: absolute; inset: 0; pointer-events: none; }
.cgrid span { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--line); }
.cgrid em { position: absolute; left: 0; bottom: 2px; width: 24px; text-align: left; font-size: 10px; font-style: normal; color: var(--sub); line-height: 1; font-variant-numeric: tabular-nums; }
/* 누르면(넓은 화면은 올리면) 그 해 값 */
.cyears li { cursor: pointer; }
.cyears li.on .b i, .cyears li.on.na .b { opacity: .7; }
.cyears li.on::after { content: attr(title); position: absolute; top: 20px; left: 0; z-index: 2; padding: 3px 8px; border-radius: 6px; background: var(--ink); color: var(--card); font-size: 12px; white-space: nowrap; pointer-events: none; }
.cyears li.r.on::after { left: auto; right: 0; }
@media (hover: hover) { .cyears li:hover .b i { opacity: .7; } }
.cevs { list-style: none; margin: var(--ds-sp-3) 0 0; padding: 0; display: grid; gap: var(--ds-sp-1); font-size: var(--ds-fs-small); color: var(--sub); }
.cevs li { display: flex; align-items: center; gap: var(--ds-sp-2); }
.cbars li.part .b i { background: repeating-linear-gradient(135deg, var(--pen) 0 4px, var(--pen-soft) 4px 7px); }
.cbars .k small { display: block; font-size: 11px; color: var(--sub); font-weight: var(--ds-w-body); }
.cdevs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ds-sp-3); }
@media (min-width: 861px) { .cdevs { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.cdevs li { display: grid; gap: 2px; }
.cdevs img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--ds-r-2); background: var(--band); margin-bottom: var(--ds-sp-1); }
.cdevs b { font-size: var(--ds-fs-caption); font-weight: var(--ds-w-strong); line-height: 1.3; }
.cdevs span { font-size: var(--ds-fs-small); color: var(--pen); font-weight: var(--ds-w-strong); }
.cpair { display: grid; }
.cseg { display: inline-flex; gap: 2px; padding: 2px; margin-bottom: var(--ds-sp-4); border-radius: 999px; background: var(--band); }
.cseg button { border: 0; padding: 6px 14px; border-radius: 999px; background: none; color: var(--sub); font: inherit; font-size: var(--ds-fs-small); font-weight: var(--ds-w-strong); cursor: pointer; }
.cseg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.hint .sws { display: flex; flex-wrap: wrap; gap: 2px var(--ds-sp-3); margin-top: 4px; }
.hint .sw { display: inline-flex; align-items: center; gap: 4px; }
.hint .sw i.na { background: var(--line2); opacity: .7; }
.hint .sw i { width: 12px; height: 12px; border-radius: 2px; background: repeating-linear-gradient(135deg, var(--pen) 0 3px, var(--pen-soft) 3px 5px); }
.cfacts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--ds-sp-2); }
.cfacts li { padding: var(--ds-sp-3) var(--ds-sp-4); background: var(--band); border-radius: var(--ds-r-2); }
.cfacts b { display: block; font-size: var(--ds-fs-h3); line-height: 1.15; font-weight: var(--ds-w-head); font-variant-numeric: tabular-nums; }
.cfacts b small { font-size: var(--ds-fs-caption); margin-left: 2px; }
.cfacts span { display: block; margin-top: 2px; font-size: var(--ds-fs-caption); font-weight: var(--ds-w-strong); }
.cfacts li > small { display: block; font-size: var(--ds-fs-small); color: var(--sub); }
@media (min-width: 861px) { .cpair { grid-template-columns: 1fr 1fr; } .cpair > .box + .box { border-left: 0; } }
.cchips { display: flex; flex-wrap: wrap; gap: var(--ds-sp-2); margin-bottom: var(--ds-sp-3); font-size: var(--ds-fs-caption); }
.cchips .chip { padding: 4px 10px; }
.cnums { list-style: none; margin: 0 0 var(--ds-sp-3); padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--ds-sp-2); }
.cnums li { padding: var(--ds-sp-3) var(--ds-sp-4); background: var(--band); border-radius: var(--ds-r-2); }
.cnums b { display: block; font-size: var(--ds-fs-h3); line-height: 1.15; font-weight: var(--ds-w-head); font-variant-numeric: tabular-nums; }
.cnums span { display: block; margin-top: 2px; font-size: var(--ds-fs-small); color: var(--sub); }
@media (max-width: 600px) { .cnums, .cfacts { grid-template-columns: 1fr 1fr; } .cnums li:last-child:nth-child(odd), .cfacts li:last-child:nth-child(odd) { grid-column: 1 / -1; } .cdevs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cyears { gap: 2px; height: 180px; } .case summary { grid-template-columns: 6.4em minmax(0, 1fr) 16px; gap: 4px var(--ds-sp-2); } .case .cm { grid-column: 2; } .case h3 { grid-column: 2; } .case summary::after { grid-row: 1; grid-column: 3; } .case p { padding-left: 0; } }
.faq summary { color: var(--ink); font-weight: var(--ds-w-strong); justify-content: space-between; gap: var(--ds-sp-3); }
.faq summary::after { content: ""; flex: none; width: 7px; height: 7px; margin-right: 4px; border-right: 1.5px solid var(--sub); border-bottom: 1.5px solid var(--sub); transform: rotate(45deg); }
.faq[open] summary::after { transform: rotate(-135deg); }
.faq p { margin: 0 0 var(--ds-sp-3); line-height: 1.6; }

/* 시험별 기록 색인(사용자 2026-11-18 09:10 "색인? 이라고 하나? 암튼 그런식으로") */
.xgrid { display: grid; gap: var(--ds-sp-5); }
@media (min-width: 768px) { .xgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ds-sp-5) var(--ds-sp-6); } }
@media (min-width: 861px) { .xgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.xgrid.one { grid-template-columns: 1fr; }
.xgrp h3 { margin: 0 0 var(--ds-sp-1); font-size: var(--ds-fs-small); font-weight: var(--ds-w-strong); color: var(--sub); }
.xgrp ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.xgrp li { border-bottom: 1px solid var(--line); }
.xgrp a { display: flex; align-items: baseline; justify-content: space-between; gap: var(--ds-sp-3); min-height: 48px; padding: var(--ds-sp-2) 0; text-decoration: none; }
.xgrp a:hover .t { text-decoration: underline; }
.xgrp .t { margin-right: auto; font-weight: var(--ds-w-strong); }
.xgrp a::after { content: ""; flex: none; align-self: center; width: 6px; height: 6px; border-right: 1.5px solid var(--sub); border-bottom: 1.5px solid var(--sub); transform: rotate(-45deg); }
.xgrp .m { font-size: var(--ds-fs-small); color: var(--sub); white-space: nowrap; font-variant-numeric: tabular-nums; }
.xgrid.one ul { display: grid; }
@media (min-width: 768px) { .xgrid.one ul { grid-template-columns: 1fr 1fr; column-gap: var(--ds-sp-6); } }
/* 자격증 끝판왕으로 가는 칸 */
.xlinks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--ds-sp-2); }
@media (min-width: 768px) { .xlinks { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }
.xlinks a { display: grid; grid-template-columns: 24px minmax(0, 1fr) 18px; align-items: center; gap: var(--ds-sp-3); padding: var(--ds-sp-3) var(--ds-sp-4); border: 1px solid var(--line2); border-radius: var(--ds-r-2); text-decoration: none; color: var(--ink); }
.xlinks a:hover { border-color: var(--ink); }
.xlinks a:hover b { text-decoration: underline; }
.xlinks svg { width: 22px; height: 22px; color: var(--pen); }
.xlinks svg:last-child { width: 18px; height: 18px; color: var(--sub); }
.xlinks b { display: block; font-weight: var(--ds-w-strong); }
.xlinks small { display: block; color: var(--sub); font-size: var(--ds-fs-small); }
.head .full { display: block; margin-top: 2px; color: var(--sub); font-size: var(--ds-fs-caption); }
.case .chip.f { background: var(--band); color: var(--sub); }
.case p a.go { font-weight: var(--ds-w-strong); white-space: nowrap; }
.foot .ivel { letter-spacing: .04em; }
.box > h2 small { font-size: var(--ds-fs-small); font-weight: var(--ds-w-body); color: var(--sub); }
