/* 소방설비기사 방 — quiz.css 위에 얹는 것만. 시안 캔버스 「오픈 판 (11-10)」 두 줄과 같은 모양
   (색은 quiz.css 의 주황 #e8590c · 검정 #1d1d1f · 회색 #f2f2f4 를 그대로 쓴다. 이모지·그라데이션 금지 → docs/screens/design-rules.md) */

.qz .gs-lead { margin: 0; font-size: 14px; color: #555; }
.qz .gs-two { display: flex; gap: 8px; }
.qz .gs-two > * { flex: 1; }
.qz .gs-mt { margin-top: 10px; }
.qz .gs-pre { white-space: pre-line; }
.qz .gs-rates4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.qz .gs-rates4 small { display: block; font-size: 11px; color: #999; }
.qz a.qz-go.gs-weak { background: #fef3f2; color: #b42318; font-weight: 600; }

/* 8칸 중 잠긴 칸 */
.qz .qz-tiles a.is-locked { color: #8a8a8e; }
.qz .gs-lockic { position: absolute; top: 7px; right: 7px; color: #9a9aa0; display: inline-flex; }

/* 기계·전기 두 칸 고르개 */
.qz .gs-seg { display: grid; grid-template-columns: 1fr 1fr; background: #ececee; border-radius: 10px; padding: 3px; }
.qz .gs-seg a { display: flex; align-items: center; justify-content: center; min-height: 38px; border-radius: 8px; font-weight: 600; font-size: 15px; color: #6e6e73; }
.qz .gs-seg a.is-on { background: #fff; font-weight: 800; color: var(--qz-fg); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }

/* 목록 한 줄 */
.qz .gs-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid #f0f0f2; color: var(--qz-fg); text-decoration: none; position: relative; }
.qz .gs-row:last-child { border-bottom: 0; }
.qz .gs-row .t { flex: 1; min-width: 0; }
.qz .gs-row .t b { display: block; font-size: 15px; font-weight: 700; }
.qz .gs-row .t small { display: block; font-size: 12.5px; color: #8a8a8e; }
.qz .gs-row.is-locked { color: #8a8a8e; }
.qz .gs-row.is-locked .t b { color: #6e6e73; }
.qz .gs-row .gs-lockic { position: static; }
.qz .gs-tag { flex: none; font-size: 12.5px; font-weight: 700; border-radius: 6px; padding: 3px 8px; background: #f0f0f2; color: #3a3a3c; }
.qz .gs-tag.is-member { background: #f0f0f2; color: #3a3a3c; }
.qz .gs-tag.is-go { background: #fff1e8; color: #c2410c; }
.qz .gs-tag.is-pass { background: #edf8f1; color: #0f5132; }
.qz .gs-tag.is-fail { background: #fef3f2; color: #b42318; }
.qz .gs-tag-lg { align-self: center; font-size: 14px; padding: 4px 12px; }
.qz .gs-score { flex: none; font-size: 17px; min-width: 34px; text-align: right; }
.qz .gs-none { flex: none; font-size: 13px; color: #8a8a8e; }

/* 과목별 풀기 */
.qz .gs-form { display: flex; flex-direction: column; gap: 12px; }
.qz .gs-radio { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0f0f2; cursor: pointer; }
.qz .gs-radio:last-child { border-bottom: 0; }
.qz .gs-radio input { position: absolute; opacity: 0; pointer-events: none; }
/* 가운데 점을 ::after 로 따로 그리면 화면 배율(125% 등)에서 반 픽셀씩 어긋나 점이 한쪽으로 쏠린다(2026-11-20 사용자).
   한 상자 안에서 배경 + 흰 안쪽 테로 그려 늘 같은 중심을 쓴다 */
.qz .gs-radio i { flex: none; box-sizing: border-box; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c7c7cc; background: #fff; }
.qz .gs-radio input:checked + i { border-color: #e8590c; background: #e8590c; box-shadow: inset 0 0 0 3px #fff; }
.qz .gs-radio input:focus-visible + i { outline: 2px solid #e8590c; outline-offset: 2px; }
.qz .gs-radio b { flex: 1; font-size: 15px; }
.qz .gs-radio small { color: #8a8a8e; font-size: 13px; }
.qz .gs-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.qz .gs-pills label { cursor: pointer; }
.qz .gs-pills input { position: absolute; opacity: 0; pointer-events: none; }
.qz .gs-pills span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 19px; font-size: 14px; font-weight: 600; background: #fff; color: #3a3a3c; border: 1px solid #e3e3e6; }
.qz .gs-pills input:checked + span { background: #1d1d1f; color: #fff; border-color: #1d1d1f; font-weight: 800; }
.qz .gs-pills input:focus-visible + span { outline: 2px solid #e8590c; outline-offset: 2px; }
.qz .gs-msg { margin: 0; font-size: 14px; color: #b42318; text-align: center; }
.qz button.gs-submit { min-height: 52px; font-size: 16px; }
/* 휴대폰: 고르기 화면의 '5문제 풀기' 가 첫 화면 밖·아래 메뉴 뒤에 있었다(2026-11-20 UI 검토) — 아래 메뉴 바로 위에 붙인다 */
@media (max-width: 1023px) {
    .qz .gs-subj-form button.gs-submit { position: sticky; bottom: calc(var(--appnav-h, 0px) + var(--appnav-sab, 0px) + 12px); z-index: 5; box-shadow: 0 0 0 8px #f6f4f2; }
}
/* 홈 회차 칸 — 불합격 점수까지 초록이라 합격처럼 보였다(2026-11-20 UI 검토). 목록의 '불합격' 딱지와 같은 빨강 */
.qz .gs-grid26 a.is-done.is-fail { border-color: #f3c9c9; background: #fff; }
.qz .gs-grid26 a.is-done.is-fail small { color: #c62828; }

/* 풀기 — 위 띠 · 스위치 · 번호 줄 */
.qz .gs-bar { display: flex; align-items: center; gap: 10px; }
.qz .gs-back { flex: none; display: grid; place-items: center; width: 36px; height: 36px; margin-left: -6px; color: var(--qz-fg); }
.qz .gs-bar-t { flex: 1; min-width: 0; }
.qz .gs-bar-t b { display: block; font-size: 15.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qz .gs-bar-t small { display: block; font-size: 12.5px; color: #8a8a8e; }
.qz .gs-switch { flex: none; display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: #6e6e73; cursor: pointer; min-height: 40px; }
.qz .gs-switch input { position: absolute; opacity: 0; pointer-events: none; }
.qz .gs-switch i { position: relative; width: 44px; height: 26px; border-radius: 13px; background: #d6d6da; transition: background .15s; }
.qz .gs-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: left .15s; }
.qz .gs-switch input:checked ~ i { background: #e8590c; }
.qz .gs-switch input:checked ~ i::after { left: 21px; }
.qz .gs-switch:has(input:checked) { color: var(--qz-fg); }
/* 좁은 폭(380 이하 — 갤럭시 S·폴드 겉화면) — 뒤로·제목·시간·스위치가 한 줄에 다 안 들어가 제목이 '전기 모...' 로 잘렸다.
   시간·스위치를 둘째 줄로 내린다 (2026-11-24 폴더블 점검) */
@media (max-width: 380px) {
  .qz .gs-bar { flex-wrap: wrap; row-gap: 0; }
  .qz .gs-bar-t { flex: 1 1 calc(100% - 50px); }
  .qz .gs-time { margin-left: 40px; }
  .qz .gs-switch { margin-left: auto; min-height: 36px; }
}
.qz .gs-switch input:focus-visible ~ i { outline: 2px solid #e8590c; outline-offset: 2px; }
.qz .gs-dots { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.qz .gs-dots::-webkit-scrollbar { display: none; }
.qz .gs-dot { flex: none; width: 32px; height: 32px; border-radius: 16px; border: 1px solid #d6d6da; background: #fff; display: grid; place-items: center; font: inherit; font-size: 12.5px; font-weight: 700; color: #8a8a8e; cursor: pointer; padding: 0; }
.qz .gs-dot.is-pick { background: #e9e9ec; border-color: #e9e9ec; color: #3a3a3c; }
.qz .gs-dot.is-ok { background: #2b8a3e; border-color: #2b8a3e; color: #fff; }
.qz .gs-dot.is-bad { background: #e03131; border-color: #e03131; color: #fff; }
.qz .gs-dot.is-now { border: 2px solid #1d1d1f; color: #1d1d1f; font-weight: 800; }
.qz .gs-dot.is-ok.is-now, .qz .gs-dot.is-bad.is-now { color: #fff; }

/* 문제 카드 */
.qz .gs-q { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.6; white-space: pre-line; }
.qz .gs-h1 { margin: 0; font-size: 14px; color: #8a8a8e; font-weight: 600; }
.qz .qz-opt.is-picked { border: 2px solid #1d1d1f; }
.qz .qz-opt.is-picked .qz-n { background: #1d1d1f; color: #fff; }
.qz .gs-nav { display: flex; gap: 8px; }
.qz .gs-nav[hidden] { display: none; }
.qz .gs-nav .gs-btn { flex: 1; }
.qz .gs-nav .gs-btn.is-dark { flex: 1.4; }
.qz .gs-tools { display: flex; justify-content: space-between; }
.qz .gs-tool { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: #3a3a3c; min-height: 40px; padding: 0 2px; cursor: pointer; }
.qz .gs-tool.is-on { color: #e8590c; }
.qz .gs-tool.is-on svg { fill: currentColor; }
.qz .gs-tool.is-on { font-weight: 800; }

/* 단추 */
.gs-btn { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; border: 0; border-radius: 12px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none; width: 100%; }
.gs-btn.is-dark { background: #1d1d1f; color: #fff; }
.gs-btn.is-soft { background: #f2f2f4; color: #1d1d1f; }
.gs-btn.is-kakao { background: #fee500; color: #191919; min-height: 52px; font-size: 16px; gap: 8px; }
.gs-btn.is-done { background: #edf8f1; color: #0f5132; cursor: default; }
.gs-btn:disabled { opacity: .5; cursor: default; }
.gs-link { border: 0; background: none; font: inherit; font-size: 13.5px; color: #8a8a8e; text-decoration: underline; cursor: pointer; min-height: 36px; }
.qz .gs-link-sm { font-size: 13px; color: #e8590c; font-weight: 700; }

/* 정답을 본 뒤 */
.qz .gs-result { gap: 12px; }
.qz .gs-acts { display: flex; border-top: 1px solid #f0f0f2; border-bottom: 1px solid #f0f0f2; padding: 10px 0; }
.qz .gs-act { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; border: 0; background: none; font: inherit; font-size: 12px; font-weight: 600; color: #6e6e73; cursor: pointer; min-height: 48px; }
.qz .gs-act.is-on { color: #e8590c; font-weight: 800; }
/* 켜진 저장은 꽉 채운다 — 15% 로 연하게 칠했더니 눌렸는지 몰랐다 (2026-11-21 사용자) */
.qz .gs-act.is-on svg { fill: currentColor; fill-opacity: 1; }
.qz .gs-ic { display: inline-flex; }
.qz .gs-old { margin: 0; font-size: 13px; background: #fff8e6; border-radius: 10px; padding: 8px 12px; }

/* 결과 화면 */
.qz .gs-score-box { align-items: stretch; text-align: center; }
.qz .gs-big { display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.qz .gs-big b { font-size: 48px; font-weight: 900; letter-spacing: -.02em; }
.qz .gs-big span { font-size: 18px; font-weight: 700; color: #6e6e73; }
.qz .gs-sub { margin: 0; font-size: 14px; color: #6e6e73; }
.qz .gs-subjects { display: flex; flex-direction: column; gap: 8px; text-align: left; margin: 4px 0; }
.qz .gs-subj { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.qz .gs-subj span { width: 64px; flex: none; color: #3a3a3c; font-weight: 600; }
.qz .gs-subj i { flex: 1; height: 8px; border-radius: 4px; background: #f0f0f2; overflow: hidden; }
.qz .gs-subj i em { display: block; height: 100%; background: #1d1d1f; border-radius: 4px; }
.qz .gs-subj b { width: 32px; text-align: right; flex: none; }
.qz .gs-subj.is-fail i em { background: #e03131; }
.qz .gs-subj.is-fail b { color: #b42318; }
.qz .gs-rule { font-size: 12px; color: #8a8a8e; }
.qz .gs-rline { border-bottom: 1px solid #f0f0f2; }
.qz .gs-rline:last-child { border-bottom: 0; }
.qz .gs-rline summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 0; cursor: pointer; }
.qz .gs-rline summary::-webkit-details-marker { display: none; }
.qz .gs-rline .t { flex: 1; min-width: 0; }
.qz .gs-rline .t b { display: block; font-size: 14.5px; }
.qz .gs-rline .t small { display: block; font-size: 12.5px; color: #8a8a8e; }
.qz .gs-mark { flex: none; width: 30px; height: 30px; border-radius: 15px; display: grid; place-items: center; font-size: 12.5px; font-weight: 800; color: #fff; }
.qz .gs-mark.is-ok { background: #2b8a3e; }
.qz .gs-mark.is-bad { background: #e03131; }
.qz .gs-rbody { display: flex; flex-direction: column; gap: 10px; padding: 0 0 14px; }
.qz .gs-rbody .gs-q { font-size: 15px; }
.qz .gs-ropts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.qz .gs-ropts li { display: flex; gap: 8px; align-items: flex-start; border: 1px solid #ebe6e1; border-radius: 10px; padding: 9px 12px; font-size: 14.5px; }
.qz .gs-ropts li i { font-style: normal; flex: none; width: 22px; height: 22px; border-radius: 11px; background: #f1ede9; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.qz .gs-ropts li.is-ans { border-color: #2b8a3e; background: #e7f6ee; }
.qz .gs-ropts li.is-ans i { background: #2b8a3e; color: #fff; }
.qz .gs-ropts li.is-mine { border-color: #e03131; background: #fdeceb; }
.qz .gs-ropts li.is-mine i { background: #e03131; color: #fff; }
.qz .gs-exp { font-size: 14px; line-height: 1.7; background: #f6f4f2; border-radius: 10px; padding: 10px 12px; }
/* 해설 표 (2026-11-16) — 휴대폰 420px 에서 2~3칸이 한 화면에 들게. 낱말 중간에서 끊지 않고(keep-all) 칸 안에서 줄을 바꾼다.
   그래도 넘치는 표는 표만 옆으로 밀린다 — 화면 전체가 옆으로 흔들리지 않게 */
.qz .gs-tblwrap { overflow-x: auto; margin: 6px 0; -webkit-overflow-scrolling: touch; }
.qz .gs-tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 1.5; background: #fff; border-radius: 8px; overflow: hidden; word-break: keep-all; }
.qz .gs-tbl th { background: #ece7e2; font-weight: 700; text-align: left; padding: 6px 8px; font-size: 12.5px; color: #4a4a4f; }
.qz .gs-tbl td { padding: 6px 8px; border-top: 1px solid #efebe7; vertical-align: top; }
.qz .gs-tbl tr.is-ans td { background: #e7f6ee; color: #1f6f32; font-weight: 700; }
.qz .qz-xt-tbl { background: var(--qz-bg); border-radius: 12px; padding: 4px; }
.qz .qz-xt-tbl .gs-tblwrap { margin: 0; }
/* 문제 글 속 표·지문 상자 (common/domain/QuestionBody · gisa.js bodyView, 2026-11-25) — 문제 글은 굵은 명조라 표·상자는 보통 굵기 본문 글꼴로 */
.qz .gs-q .gs-qtbl { margin: 10px 0; white-space: normal; }
.qz .gs-q .gs-tbl { font-family: 'Pretendard', sans-serif; font-weight: 500; font-size: 14px; border: 1px solid #e3ddd7; }
.qz .gs-q .gs-tbl th { font-size: 13px; }
.qz .gs-q .gs-qbox { display: block; margin: 10px 0; padding: 10px 12px; border: 1px solid #e3ddd7; border-radius: 8px; background: #fff; font-size: 15.5px; font-weight: 500; line-height: 1.65; }
/* [보기] 상자 — ㉠㉡… 항목 묶음 (2026-11-28 사용자, 시험지 꼴). 이름표는 상자 첫 줄 */
.qz .gs-q .gs-qview { white-space: pre-line; }
.qz .gs-q .gs-qview-h { display: block; font-size: 13px; font-weight: 700; color: #6b625a; margin-bottom: 4px; text-align: center; white-space: normal; }
/* 보기의 함정 — 작은 이름표 + 보기 번호마다 한 줄 */
.qz .gs-trap { margin-top: 8px; }
.qz .gs-trap-h { display: inline-block; font-size: 12px; font-weight: 700; color: #b4501e; background: #fdeee4; border-radius: 6px; padding: 2px 8px; }
.qz .gs-trap ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 3px; font-size: 13.5px; line-height: 1.55; word-break: keep-all; }
.qz .qz-xt-trap { background: var(--qz-bg); border-radius: 12px; padding: 10px 14px; }
.qz .qz-xt-trap.gs-trap { margin-top: 0; }
.qz .gs-qfold summary { cursor: pointer; font-size: 13px; color: #6e6e73; }
.qz .gs-qfold[open] summary { margin-bottom: 6px; }
.qz .gs-cite { margin: 0; font-size: 13px; color: #6e6e73; }
.qz .gs-answer > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 12px; background: #1d1d1f; color: #fff; font-weight: 700; }
.qz .gs-answer > summary::-webkit-details-marker { display: none; }
.qz .gs-answer[open] > summary { background: #f2f2f4; color: #1d1d1f; margin-bottom: 10px; }
.qz .gs-answer > * + * { margin-top: 10px; }
.qz .gs-ans { margin: 0; font-size: 18px; font-weight: 800; color: #2b8a3e; }

/* 아래에서 올라오는 창 */
.gs-sheet[hidden] { display: none; }
.gs-sheet { position: fixed; inset: 0; z-index: 1000; }
.gs-dim { position: absolute; inset: 0; background: rgba(0, 0, 0, .42); }
.gs-panel { position: absolute; left: 0; right: 0; bottom: 0; max-width: 520px; margin: 0 auto; background: #fff; border-radius: 20px 20px 0 0; padding: 10px 20px calc(24px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 14px; max-height: 88vh; overflow-y: auto; color: #1d1d1f; }
.gs-handle { width: 40px; height: 4px; border-radius: 2px; background: #d6d6da; align-self: center; }
.gs-chip { align-self: flex-start; font-size: 12.5px; font-weight: 700; color: #6e6e73; background: #f0f0f2; border-radius: 6px; padding: 3px 8px; }
.gs-sheet-t { font-size: 20px; font-weight: 800; line-height: 1.35; }
.gs-sheet-d { font-size: 14.5px; color: #3a3a3c; line-height: 1.7; }
.gs-benefit { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; font-weight: 600; }
.gs-benefit li { display: flex; align-items: center; gap: 10px; }
.gs-benefit svg { flex: none; color: #e8590c; }
.gs-agree { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: #3a3a3c; cursor: pointer; }
.gs-agree[hidden] { display: none; }
.gs-agree input { margin-top: 3px; width: 18px; height: 18px; accent-color: #e8590c; flex: none; }
.gs-agree.is-need { color: #b42318; font-weight: 700; }
.gs-board-h { display: flex; align-items: baseline; justify-content: space-between; }
.gs-board-h > b { font-size: 19px; }
.gs-board-h span { font-size: 13.5px; color: #6e6e73; }
.gs-board-h span b { color: #1d1d1f; }
.gs-bsec-h { font-size: 13.5px; font-weight: 700; color: #3a3a3c; margin-bottom: 8px; }
.gs-bgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 12px; }
.gs-cell { position: relative; height: 44px; border-radius: 10px; border: 1px solid #d6d6da; background: #fff; font: inherit; font-size: 15px; font-weight: 700; color: #8a8a8e; cursor: pointer; }
.gs-cell.is-p { background: #e9e9ec; border-color: #e9e9ec; color: #1d1d1f; }
.gs-cell.is-now { border: 2px solid #1d1d1f; color: #1d1d1f; }
.gs-flag { position: absolute; top: -3px; right: -3px; width: 10px; height: 10px; border-radius: 5px; background: #e8590c; border: 2px solid #fff; }
.gs-legend { display: flex; gap: 14px; font-size: 12.5px; color: #6e6e73; }
.gs-legend span { display: flex; align-items: center; gap: 5px; }
.gs-legend i { width: 12px; height: 12px; border-radius: 3px; }
.gs-legend i.is-p { background: #e9e9ec; }
.gs-legend i.is-n { border: 1px solid #d6d6da; }
.gs-legend i.is-f { width: 10px; height: 10px; border-radius: 5px; background: #e8590c; }
.gs-reasons { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.gs-reasons label { display: flex; align-items: center; gap: 8px; min-height: 40px; cursor: pointer; }
.gs-reasons input { width: 18px; height: 18px; accent-color: #e8590c; }
.gs-panel textarea { font: inherit; font-size: 14px; border: 1px solid #e3e3e6; border-radius: 10px; padding: 10px 12px; resize: vertical; }
body.gs-lock-scroll { overflow: hidden; }

/* hidden 이 display 규칙에 지지 않게 (단추·줄은 display:flex 라 hidden 을 덮는다) */
.gs-btn[hidden], .gs-agree[hidden], .qz .gs-tools[hidden], .qz .gs-nav[hidden] { display: none !important; }
/* 사이트 공통 규칙이 체크칸을 감춰 동의 칸이 안 보였다 — 이 창의 체크칸은 브라우저 기본 모양으로 */
.gs-agree input[type="checkbox"] { -webkit-appearance: checkbox; appearance: auto; position: static; opacity: 1; display: inline-block; pointer-events: auto; }
/* 고른 답은 검정 테두리 (시안) — 손가락이 머문 hover 주황이 덮지 않게 */
.qz .qz-opt.is-picked, .qz .qz-opt.is-picked:hover { border: 2px solid #1d1d1f; }
.qz .gs-tool[hidden] { display: none; }

/* 결과 화면 '내 학교 고르기' 한 줄 (학교 1단계, 2026-11-10) — 학교를 안 고른 회원에게만 */
.qz a.gs-school { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.qz a.gs-school span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.qz a.gs-school b { font-size: 15px; }
.qz a.gs-school small { color: #6b7079; font-size: 13px; line-height: 1.5; }
.qz a.gs-school em { font-style: normal; font-weight: 700; font-size: 14px; color: #1a4fb8; background: #e8f0ff; border-radius: 8px; padding: 8px 12px; white-space: nowrap; }

/* ── 2026-11-11 PC 문제풀기 시안 ── */
/* 문제 글만 시험지처럼 명조 (docs/screens/design-rules.md 「글꼴」 예외). 단추·라벨·해설 본문은 Pretendard 그대로 */
.qz .gs-q, .qz .gs-card .qz-t, .qz .gs-ropts span, .qz .qz-xt-optno { font-family: 'Noto Serif KR', 'Batang', 'AppleMyungjo', serif; }
.qz .gs-q { font-weight: 700; letter-spacing: -.01em; }
.qz .gs-card .qz-t { font-size: 16px; line-height: 1.65; }

/* 정답을 본 뒤 보기 옆 '정답'·'내 답', 해설 보기 줄의 O·X */
.qz .gs-otag { display: inline-block; margin-left: 8px; vertical-align: 1px; font-family: Pretendard, 'Pretendard Variable', sans-serif; font-size: 13px; font-weight: 700; border-radius: 6px; padding: 2px 8px; color: #fff; position: relative; }
.qz .gs-otag.is-ok { background: #2b8a3e; }
.qz .gs-otag.is-bad { background: #e03131; }
.qz .gs-ox { font-size: 12px; font-weight: 900; border-radius: 5px; padding: 1px 8px; color: #fff; }
.qz .gs-ox.is-o { background: #2b8a3e; }
.qz .gs-ox.is-x { background: #e03131; }

/* 지난 시간 · 권장 시간 (위 띠) */
.qz .gs-time { flex: none; display: flex; align-items: center; gap: 6px; font-size: 13px; color: #6e6e73; font-variant-numeric: tabular-nums; }
.qz .gs-time[hidden] { display: none; }
.qz .gs-time i { width: 7px; height: 7px; border-radius: 4px; background: #2b8a3e; }
.qz .gs-time b { color: #1d1d1f; font-size: 14px; }
.qz .gs-time small { font-size: 12.5px; color: #8a8a8e; }
@media (max-width: 480px) { .qz .gs-time small { display: none; } }

/* 결과 — 합격선까지, 과목 막대의 40·60 선 */
.qz .gs-gap { margin: 0; font-size: 18px; font-weight: 800; }
.qz .gs-gap em { font-style: normal; color: #e8590c; }
.qz .gs-gap-sub { margin: -4px 0 0; font-size: 13.5px; color: #6e6e73; }
.qz .gs-subj i { position: relative; overflow: visible; }
.qz .gs-subj i em { position: relative; z-index: 0; }
.qz .gs-subj i s { position: absolute; top: -4px; bottom: -4px; width: 0; border-left: 2px dashed #e03131; z-index: 1; }
.qz .gs-subj i s.is-60 { border-left-color: #2b8a3e; }
.qz .gs-rule { display: flex; gap: 14px; justify-content: center; }
.qz .gs-rule span { display: inline-flex; align-items: center; gap: 5px; }
.qz .gs-rule span::before { content: ""; width: 12px; border-top: 2px dashed #e03131; }
.qz .gs-rule span.is-60::before { border-top-color: #2b8a3e; }

/* PC 오른쪽 답안 표기란 · 결과 20칸 — 휴대폰에서는 감춘다 */
.qz .gs-side, .qz .gs-grid-side { display: none !important; }
.qz .gs-omr { display: flex; flex-direction: column; gap: 2px; }
.qz .gs-omr-sj { font-size: 12.5px; font-weight: 700; color: #8a8a8e; margin: 8px 0 3px; }
.qz .gs-omr-sj:first-child { margin-top: 0; }
.qz .gs-omr-row { position: relative; display: grid; grid-template-columns: 30px repeat(4, 1fr); align-items: center; gap: 4px; padding: 3px 6px; border: 0; border-radius: 7px; background: none; font: inherit; cursor: pointer; }
.qz .gs-omr-row:hover { background: #f6f4f2; }
.qz .gs-omr-row.is-now { background: #fff1e8; box-shadow: inset 0 0 0 1px #ffd9bf; }
.qz .gs-omr-row b { font-size: 13px; color: #3a3a3c; text-align: right; padding-right: 6px; font-variant-numeric: tabular-nums; }
.qz .gs-bub { justify-self: center; width: 22px; height: 22px; border-radius: 11px; border: 1.5px solid #c7c7cc; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #9a9aa0; }
.qz .gs-bub.is-p { background: #1d1d1f; border-color: #1d1d1f; color: #fff; }
.qz .gs-bub.is-ok { background: #2b8a3e; border-color: #2b8a3e; color: #fff; }
.qz .gs-bub.is-bad { background: #e03131; border-color: #e03131; color: #fff; }
.qz .gs-bub.is-ans { border: 2px solid #2b8a3e; color: #2b8a3e; }
.qz .gs-omr-row .gs-flag { top: 2px; right: 2px; }
.qz .gs-omr-left { margin: 10px 0 0; font-size: 13.5px; color: #6e6e73; }
.qz .gs-grid20 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.qz .gs-grid20 a { height: 40px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; }
.qz .gs-grid20 a.is-ok { background: #e7f6ee; color: #2b8a3e; }
.qz .gs-grid20 a.is-bad { background: #fdeceb; color: #e03131; }

@media (min-width: 1024px) {
    .qz .gs-side, .qz .gs-grid-side { display: flex !important; }
    /* 번호 줄·'20문제 한눈에'는 오른쪽 표기란이 대신한다 */
    .qz.pc-wide .gs-dots, .qz.pc-wide #gsBoardBtn { display: none !important; }
    .qz.pc-wide .gs-tools { justify-content: flex-end; }
    .qz.pc-wide .gs-bar { padding: 4px 0; }
    .qz.pc-wide .gs-bar-t b { font-size: 18px; }
    .qz.pc-wide .gs-card { padding: 30px 40px 26px; gap: 16px; }
    .qz.pc-wide .gs-q { font-size: 21px; line-height: 1.75; }
    .qz.pc-wide .gs-card .qz-t { font-size: 18px; }
    .qz.pc-wide .gs-time { font-size: 14px; margin-right: 10px; }
    .qz.pc-wide .gs-nav { max-width: 420px; }
    .qz.pc-wide .gs-omr-box { gap: 10px; }
    .qz.pc-wide .gs-gap { font-size: 22px; }
}

/* 태블릿 세로 폭 600~1023 — 문제 풀기 카드 글씨를 PC 와 휴대폰 사이로 (quiz.css 「태블릿 세로 폭」과 같이 본다, 2026-11-29) */
@media (min-width: 600px) and (max-width: 1023px) {
    .qz .gs-card { padding: 24px 28px 22px; }
    .qz .gs-q { font-size: 19px; line-height: 1.7; }
    .qz .gs-card .qz-t { font-size: 17px; }
    .qz .gs-bar-t b { font-size: 17px; }
}

/* PC — 기사 방 나머지 화면 (홈 8칸 한 줄 · 회차 카드 4줄 · 과목 2×2 · 틀린 문제 2줄) */
@media (min-width: 1024px) {
    .qz.pc-wide .qz-tiles { grid-template-columns: repeat(8, minmax(0, 1fr)); }
    .qz.pc-wide .qz-home-h b { font-size: 28px; }
    .qz.pc-wide .gs-seg { max-width: 360px; }
    .qz.pc-wide .gs-sets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
    .qz.pc-wide .gs-sets .gs-row { border: 1px solid #ebe6e1; border-radius: 12px; padding: 12px 14px; flex-wrap: wrap; gap: 4px 8px; min-height: 92px; align-content: space-between; }
    .qz.pc-wide .gs-sets .gs-row:last-child { border-bottom: 1px solid #ebe6e1; }
    .qz.pc-wide .gs-sets .gs-row .t { flex: 1 0 100%; }
    .qz.pc-wide .gs-subj-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
    .qz.pc-wide .gs-subj-form .gs-msg, .qz.pc-wide .gs-subj-form button.gs-submit { grid-column: 2; }
    .qz.pc-wide .gs-subj-form > section:first-child { grid-row: span 3; }
    .qz.pc-wide .gs-wrong-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
    .qz.pc-wide .gs-wrong-list .gs-row:last-child { border-bottom: 1px solid #f0f0f2; }
    .qz.pc-wide .gs-card .gs-ropts li { font-size: 18px; padding: 11px 14px; }
}

/* 정답 확인 뒤 다듬기 — 보기 옆 표시는 오른쪽 끝에, 해설 보기 줄은 번호·O·X 를 한 줄로(정답 딱지 대신 O) */
.qz .qz-opt .gs-otag { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); margin: 0; }
.qz .qz-opt:has(.gs-otag) { padding-right: 104px; }
.qz.gs-solve .qz-xt-opt-head { flex-direction: row; align-items: center; min-width: 58px; }
.qz.gs-solve .qz-xt-ok { display: none; }

/* 보기별 고른 비율 · 오답 N회 · 내 기록 점수 막대 (2026-11-11 PC 시안) */
.qz .gs-qhead { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.qz .qz-opt .gs-pct { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 12.5px; font-weight: 700; color: #8a8a8e; font-variant-numeric: tabular-nums; }
.qz .qz-opt:has(.gs-pct) { padding-right: 64px; }
.qz .qz-opt:has(.gs-otag):has(.gs-pct) { padding-right: 104px; }
.qz .qz-opt:has(.gs-pct) .gs-otag { top: 9px; transform: none; }
.qz .qz-opt:has(.gs-otag) .gs-pct { top: auto; bottom: 8px; transform: none; }
/* 딱지(위)·비율(아래)을 겹쳐 쌓으니 한 줄 보기(약 52px)에서는 둘이 겹쳤다(2026-11-17 점검) — 둘 다 들어갈 높이를 준다 */
.qz .qz-opt:has(.gs-otag):has(.gs-pct) { min-height: 64px; }
.qz .gs-chart { position: relative; display: flex; align-items: flex-end; gap: 8px; height: 150px; padding: 18px 0 20px; }
.qz .gs-chart-60 { position: absolute; left: 0; right: 0; bottom: calc(20px + (100% - 38px) * .6); border-top: 1.5px dashed #2b8a3e; }
.qz .gs-chart-60 em { position: absolute; right: 0; top: -16px; font-style: normal; font-size: 11px; color: #2b8a3e; }
.qz .gs-chart-bar { position: relative; flex: 1; max-width: 46px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-decoration: none; }
.qz .gs-chart-bar span { width: 100%; background: #1d1d1f; border-radius: 6px 6px 0 0; min-height: 2px; }
.qz .gs-chart-bar.is-low span { background: #e03131; }
.qz .gs-chart-bar b { font-size: 12px; margin-bottom: 3px; font-variant-numeric: tabular-nums; }
.qz .gs-chart-bar small { position: absolute; bottom: -18px; font-size: 11px; color: #8a8a8e; white-space: nowrap; }

/* 문제 댓글 (2026-11-11) — 해설 아래. 줄 모양은 quiz.css 의 한마디(qz-clist·qz-cact)를 같이 쓰고 여기서는 칸만 잡는다 */
.qz .gs-cmt { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--qz-line); min-width: 0; }
.qz .gs-cmt[hidden], .qz .gs-cmt [hidden] { display: none; }
.qz .gs-cmt-h { display: flex; align-items: baseline; gap: 6px; }
.qz .gs-cmt-h b { font-size: 15px; font-weight: 700; }
.qz .gs-cmt-h small { font-size: 13px; color: var(--qz-muted); font-variant-numeric: tabular-nums; }
.qz .gs-cmt-lock { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: 12px; background: var(--qz-chip); font-size: 14px; }
.qz .gs-cmt-lock .qz-linkbtn { text-decoration: none; }
.qz .gs-cmt .qz-clist > li { padding: 10px 0; }
/* 비회원(소방인0000) 동그라미 — 옅은 바탕에 흰 글자는 안 보였다. 주 색 글자로 */
.qz .gs-cmt .qz-av.is-guest { color: var(--qz-accent); }
.qz .gs-cmt .qz-rmsg { color: var(--qz-bad); font-size: 12px; }
.qz .gs-answer .gs-cmt { margin-top: 16px; }

/* 중요도 별 스티커 ★1~3 (2026-11-11, 시안 가 — docs/decisions.md 「별 스티커」). 작은 짙은 딱지에 주황빛 별.
   별이 많을수록 바탕이 짙다(★★★ #1d1b19 · ★★ #3a3532 · ★ #6f675f). 별은 채운 SVG — 글자 ★ 는 휴대폰에 따라 이모지가 된다.
   크기·굵기는 사용자가 고른 시안 값 그대로(12px·800) — design-rules 의 단계 밖이지만 딱지 하나라 시안을 따른다 */
.qz .gs-star { flex: none; display: inline-flex; align-items: center; gap: 1px; padding: 2px 8px; border-radius: 6px; background: #1d1b19; color: #fff;
    font-size: 13px; font-weight: 700; line-height: 18px; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; white-space: nowrap; }
.qz .gs-star.is-s2 { background: #3a3532; }
.qz .gs-star.is-s1 { background: #6f675f; }
.qz .gs-star i { display: inline-flex; color: #ffb020; }
.qz .gs-star .ico { width: 11px; height: 11px; }
.qz .gs-star b { font-weight: 800; margin-left: 4px; }
.qz .gs-star:focus-visible { outline: 2px solid #e8590c; outline-offset: 2px; }
/* 누르면 뜨는 두 줄 — body 에 붙으니 .qz 밖이다 */
.gs-star-pop { position: absolute; z-index: 1000; max-width: min(300px, calc(100vw - 16px)); padding: 10px 12px; border-radius: 8px; background: #1d1b19; color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .18); display: flex; flex-direction: column; gap: 2px; font-family: inherit; }
.gs-star-pop b { font-size: 13px; font-weight: 700; }
.gs-star-pop span { font-size: 13px; color: #d9d4cf; }
/* 과목별 풀기 '중요한 것만 ★★ 이상' 알약 */
.qz .gs-pills .gs-pill-star { gap: 4px; }
.qz .gs-pill-stars { display: inline-flex; gap: 1px; color: #ffb020; }
.qz .gs-pill-stars .ico { width: 12px; height: 12px; }

/* ── 종이 시험지 채점 /gisa/p (2026-11-13) — 엄지로 누르기 쉽게 단추를 크게 ── */
.qz .gs-paper { display: flex; flex-direction: column; gap: 12px; }
.qz .gs-paper-h { margin: 4px 2px 0; font-size: 15px; color: #3a3f47; }
.qz .gs-paper-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid #eef0f3; }
.qz .gs-paper-row:first-of-type { border-top: 0; }
.qz .gs-paper-no { width: 28px; flex: none; font-weight: 800; font-size: 17px; text-align: right; color: #1d1d1f; }
.qz .gs-paper-row.is-done .gs-paper-no { color: #9aa0a8; }
.qz .gs-paper-opts { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.qz .gs-paper-opts button { height: 46px; border: 1.5px solid #d5d9df; border-radius: 10px; background: #fff; font-size: 21px; color: #3a3f47; cursor: pointer; }
.qz .gs-paper-opts button.is-on { border-color: #1d1d1f; background: #1d1d1f; color: #fff; }
/* 사이트 아래 메뉴가 화면 맨 아래를 차지해 고정 띠는 그 뒤에 숨는다 — 20번 아래 제자리에 둔다 */
.qz .gs-paper-foot { display: flex; align-items: center; gap: 14px; padding: 4px 2px 8px; }
.qz .gs-paper-foot span { font-size: 15px; color: #6b7079; white-space: nowrap; }
.qz .gs-paper-foot b { color: #1d1d1f; font-size: 18px; }
.qz .gs-paper-foot .gs-btn { flex: 1; }

/* 결과·풀기 화면 해설 잠금 — 비회원 2회 이후 (2026-11-13 사용자) */
.qz a.gs-lockbar { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.qz a.gs-lockbar span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.qz a.gs-lockbar b { font-size: 15px; }
.qz a.gs-lockbar small { color: #6b7079; font-size: 13px; line-height: 1.5; }
.qz a.gs-lockbar em, .qz a.gs-lockline em { font-style: normal; font-weight: 700; font-size: 14px; color: #1a4fb8; background: #e8f0ff; border-radius: 8px; padding: 8px 12px; white-space: nowrap; }
.qz a.gs-lockline { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 12px 14px; border-radius: 10px; background: #f5f6f8; color: #3a3f47; font-size: 14px; text-decoration: none; }

/* 해설 잠금 줄 — [무료 가입] [로그인] 두 단추 (2026-11-17 사용자: 이미 회원인 사람이 로그인 길을 못 찾았다) */
.qz div.gs-lockline { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 10px; margin-top: 10px; padding: 12px 14px; border-radius: 10px; background: #f5f6f8; color: #3a3f47; font-size: 14px; }
.qz .gs-lock-btns { display: inline-flex; gap: 6px; margin-left: auto; }
.qz .gs-lock-btns a { font-weight: 700; font-size: 14px; border-radius: 8px; padding: 8px 12px; white-space: nowrap; text-decoration: none; min-height: 36px; box-sizing: border-box; display: inline-flex; align-items: center; }
.qz .gs-lock-btns a.is-join { color: #1a4fb8; background: #e8f0ff; }
.qz .gs-lock-btns a.is-login { color: #3a3f47; background: #fff; border: 1px solid #d7dbe0; }
.gs-join-login { display: block; text-align: center; margin-top: 10px; font-size: 14px; color: #6b7079; text-decoration: none; min-height: 36px; line-height: 36px; }
.gs-join-login b { color: #1a4fb8; text-decoration: underline; margin-left: 4px; }

/* ── 기사 홈 (2026-11-14 사용자 시안) — 자주 나오는 문제 · PC 만 모의고사 26회 ── */
.qz .gs-pc-only { display: none; }
@media (min-width: 1024px) { .qz .gs-pc-only { display: block; } }
.qz .qz-rows a.gs-starrow { align-items: center; }
.qz .gs-starrow .gs-star { flex: none; }
.qz .gs-starrow .t { min-width: 0; }
.qz .gs-seg-sm { display: inline-flex; gap: 4px; }
.qz .gs-seg-sm button { border: 0; border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; background: #f0f1f3; color: #6b7079; cursor: pointer; }
.qz .gs-seg-sm button.is-on { background: #1d1d1f; color: #fff; }
.qz .gs-grid26 { display: grid; grid-template-columns: repeat(10, 1fr); /* 29회 = 10·10·9 세 줄 (26회 때 9칸) */ gap: 8px; }
.qz .gs-grid26[hidden] { display: none; }
.qz .gs-grid26 a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 58px; border: 1.5px solid #e3e6ea;
    border-radius: 10px; font-size: 13px; color: #3a3f47; text-decoration: none; }
.qz .gs-grid26 a:hover { border-color: #1d1d1f; }
.qz .gs-grid26 b { font-weight: 700; }
.qz .gs-grid26 small { min-height: 14px; font-size: 11.5px; font-weight: 700; }
.qz .gs-grid26 a.is-done { border-color: #bfe3c8; background: #f1faf3; }
.qz .gs-grid26 a.is-done small { color: #2e8b45; }
.qz .gs-grid26 a.is-doing { border-color: #f6b98a; background: #fff6ee; }
.qz .gs-grid26 a.is-doing small { color: #e8590c; }

/* ── 결과 화면 문제별 한 줄 (2026-11-14 사용자 시안) — 과목 띠 · 번호 · 제목 · 고른 답 → 정답 ── */
.qz .gs-rsub { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 2px; padding: 7px 10px; background: #f3f4f6; border-radius: 8px; font-size: 13px; }
.qz .gs-rsub b { font-weight: 700; color: #3a3f47; }
.qz .gs-rsub span { color: #6b7079; font-weight: 700; }
.qz .gs-rsub span.is-fail { color: #d93a2b; }
.qz .gs-rline.is-one > summary { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.qz .gs-rline.is-one .t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14.5px; }
.qz .gs-pick { flex: none; min-width: 28px; height: 26px; padding: 0 6px; border-radius: 7px; display: inline-grid; place-items: center; font-size: 15px; font-weight: 700; }
.qz .gs-pick.is-ok { background: #e7f5ea; color: #2e8b45; }
.qz .gs-pick.is-bad { background: #fde9e7; color: #d93a2b; }
.qz .gs-picks { flex: none; display: inline-flex; align-items: center; gap: 4px; }
.qz .gs-picks i { font-style: normal; color: #9aa0a8; font-size: 12px; }
.qz .gs-rlegend { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12.5px; color: #6b7079; margin-top: 2px; }
.qz .gs-rlegend .gs-pick { height: 22px; min-width: 24px; font-size: 13px; }

/* 비교담에 바라는 점 (2026-11-16) — 결과 화면 한 줄 · 홈 작은 줄 · 올라오는 창의 칸 · 내 기록 보낸 의견 */
.qz .gs-fb-box { padding: 0; }
.qz .gs-fb-row { display: flex; align-items: center; gap: 10px; padding: 14px 16px; color: inherit; text-decoration: none; }
.qz .gs-fb-row svg { flex: none; color: #e8590c; }
.qz .gs-fb-row b { flex: 1; font-size: 15px; }
.qz .gs-fb-row span { font-size: 13px; color: #6e6e73; }
.qz .gs-fb-line { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 16px 4px; font-size: 14px; color: #48484a; text-decoration: none; }
.qz .gs-fb-line svg { color: #e8590c; }
.gs-fb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gs-fb-chips button { border: 1.5px solid #e3e3e6; background: #fff; border-radius: 999px; padding: 9px 14px; font: inherit; font-size: 14.5px; color: #3a3a3c; cursor: pointer; }
.gs-fb-chips button[aria-pressed="true"] { border-color: #e8590c; background: #fff4ec; color: #c2410c; font-weight: 700; }
.gs-fb-msg { margin: 0; font-size: 13.5px; color: #c2410c; }
.qz .gs-fb-item { padding: 10px 0; border-top: 1px solid #f0f0f2; display: flex; flex-direction: column; gap: 4px; }
.qz .gs-fb-item:first-of-type { border-top: 0; }
.qz .gs-fb-item small { font-size: 12.5px; color: #8a8a8e; }
.qz .gs-fb-item p { margin: 0; font-size: 14px; white-space: pre-wrap; word-break: break-all; }
.qz .gs-fb-answer { display: flex; gap: 8px; background: #fff4ec; border-radius: 10px; padding: 8px 10px; font-size: 14px; }
.qz .gs-fb-answer b { flex: none; color: #c2410c; }
.qz .gs-fb-answer span { white-space: pre-wrap; word-break: break-all; }

/* ── 실기 알림 칸 (2026-11-16) — 필기 결과 맨 아래 · 모의고사 회차 목록 위. 동의 한 줄은 단추 바로 아래 작은 글씨 ── */
.qz .gs-silgi-t { font-size: 15px; line-height: 1.45; }
.qz .gs-silgi-agree { display: block; margin-top: -4px; font-size: 12.5px; line-height: 1.5; color: #6b7079; }
.qz .gs-silgi-agree[hidden], .qz .gs-silgi-done[hidden] { display: none; }
.qz .gs-silgi-done { margin: 0; padding: 12px 14px; border-radius: 12px; background: #edf8f1; color: #0f5132; font-size: 14.5px; font-weight: 700; line-height: 1.5; }

/* 소방안전관리자 그림 문제 (2026-11-21) — 선 그림 svg, 흰 바탕 테두리 상자 */
.qz .gs-fig { margin: 12px 0 4px; padding: 12px; border: 1px solid var(--qz-line, #e6e4e1); border-radius: 12px; background: #fff; text-align: center; }
.qz .gs-fig img { display: block; max-width: 100%; max-height: 320px; margin: 0 auto; }

/* AI 약점 분석 먹색 상자 · 보강이 필요한 단원 · 이벤트 딱지 (2026-11-21, 시안 SL32sD3ejKrVQh6AHyeQau) */
.qz .gs-ai { margin: 12px 0; padding: 18px 16px 14px; border-radius: 16px; background: #1d1d1f; color: #fff; }
.qz .gs-ai-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.qz .gs-ai-h b { font-size: 17px; font-weight: 800; }
.qz .gs-ai-ev { flex: none; padding: 4px 10px; border-radius: 999px; background: #ff8a3d; color: #1d1d1f; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.qz .gs-ai-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.qz .gs-ai-list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: #e9e7e4; }
.qz .gs-ai-list svg { flex: none; color: #ff8a3d; }
.qz .gs-ai-list em { font-style: normal; font-weight: 800; color: #ff9d5c; }
.qz .gs-ai-bar { display: flex; gap: 6px; margin: 4px 0 10px; }
.qz .gs-ai-bar i { flex: 1; height: 6px; border-radius: 999px; background: #3a3a3d; }
.qz .gs-ai-bar i.is-on { background: #ff8a3d; }
.qz .gs-ai-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 12px; background: #ff6600; color: #fff; font-size: 15.5px; font-weight: 800; text-decoration: none; }
.qz .gs-ai-btn.is-lock { background: #3a3a3d; color: #c9c6c2; }
.qz .gs-ai-note { display: block; margin-top: 8px; text-align: center; font-size: 13px; color: #b9b5b0; }
.qz .gs-wu { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.qz .gs-wu span { flex: 0 1 46%; min-width: 0; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qz .gs-wu i { flex: 1; height: 8px; border-radius: 999px; background: var(--qz-chip); overflow: hidden; }
.qz .gs-wu i em { display: block; height: 100%; border-radius: 999px; background: var(--qz-bad); }
.qz .gs-wu b { flex: none; width: 44px; text-align: right; font-size: 14.5px; color: var(--qz-bad); font-variant-numeric: tabular-nums; }
.qz .gs-studyrow { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 12px 14px; border: 1.5px solid var(--qz-accent-line); border-radius: 12px; background: #fff; /* 살구 바탕 → 흰 카드 + 주황 선 (design-rules 「연한 색 바탕을 깔지 않는다」, 2026-11-20 UI 검토) */ color: var(--qz-fg); text-decoration: none; }
.qz .gs-studyrow .t { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.qz .gs-studyrow .t b { font-size: 15px; }
.qz .gs-studyrow .t small { font-size: 13px; color: var(--qz-muted); }
.qz .gs-evtag { flex: none; padding: 3px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--qz-accent-line); color: #cc4d00; font-size: 12px; font-weight: 800; white-space: nowrap; }
.qz .gs-nsize .gs-evtag { margin-left: 4px; padding: 1px 6px; font-size: 11px; font-style: normal; }
.qz .gs-sets .t .gs-evtag { display: inline-block; margin-top: 4px; font-style: normal; width: max-content; }
.qz .qz-tiles a.is-event { position: relative; }
/* 딱지를 칸 윗변에 걸친다 — 안쪽(top:6px)에 두면 좁은 폭에서 글이 두 줄이 되며 아이콘이 올라와 딱지에 가렸다 (2026-11-23 폴더블 점검) */
.qz .qz-tiles .gs-tile-ev { position: absolute; top: -7px; right: 4px; padding: 1px 6px; border-radius: 999px; background: #ff6600; color: #fff; font-size: 10.5px; line-height: 15px; font-weight: 800; }
@media (max-width: 360px) { .qz .qz-tiles .gs-tile-ev { right: 2px; padding: 0 5px; font-size: 10px; } }
/* 소방안전관리자 합격 평균 70 선 · 단원별 정답률 50% 넘으면 먹색 · 급수 알약 · 이벤트 띠 · 오답노트 */
.qz .gs-chart-60.is-70 { bottom: calc(20px + (100% - 38px) * .7); }
.qz .gs-wu.is-ok i em { background: #1d1d1f; }
.qz .gs-wu.is-ok b { color: var(--qz-fg); }
.qz .fm-grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0 12px; }
.qz .fm-grade a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 42px; border: 1px solid var(--qz-line); border-radius: 999px; background: #fff; color: var(--qz-fg); text-decoration: none; }
.qz .fm-grade a b { font-size: 15px; font-weight: 800; }
.qz .fm-grade a small { font-size: 11px; color: var(--qz-muted); line-height: 1.1; }
.qz .fm-grade a.is-on { background: #1d1d1f; border-color: #1d1d1f; color: #fff; }
/* 회차가 아직 없는 급수 — 2·3급과 같은 알약이라 누를 곳처럼 보였다(2026-11-20 UI 검토). 점선·흐린 글자로 모양이 말하게 */
.qz .fm-grade a.is-soon { border-style: dashed; background: transparent; color: #6b7079; }
.qz .fm-grade a.is-on small { color: #c9c6c2; }
.qz .gs-note { padding: 12px 0; border-top: 1px solid var(--qz-line); }
.qz .gs-note:first-of-type { border-top: 0; }
.qz .gs-note-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--qz-fg); text-decoration: none; }
.qz .gs-note-h b { font-size: 15px; }
.qz .gs-note-a { margin: 4px 0 8px; font-size: 13.5px; color: var(--qz-ok); }
.qz .gs-note-f { display: flex; gap: 8px; align-items: flex-end; }
.qz .gs-note-f textarea { flex: 1; min-height: 52px; padding: 8px 10px; border: 1px solid var(--qz-line); border-radius: 10px; font: inherit; font-size: 14.5px; resize: vertical; }
.qz .gs-note-f .qz-go { flex: none; width: auto; padding: 0 16px; min-height: 44px; }
.qz .gs-note-f[hidden] { display: none; }
/* 메모가 없는 문제는 '메모 쓰기' 한 줄 (2026-11-20 UI 검토) */
.qz .gs-note-open { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: #4b5058; cursor: pointer; }

/* 과목별·범위별 무료 5문제 하루 3번 (2026-11-19 사용자) — 유료(이벤트 기간 회원)에게는 안 보인다 */
.qz .gs-freeleft { margin: 8px 0 0; color: var(--qz-muted); font-size: 13.5px; }
.qz .gs-freeleft.is-out { color: var(--qz-bad); font-weight: 700; }

/* 회차 칸·목록 — 누르는 곳으로 보이게 '풀기 ›', 1월부터 잠긴 회차는 자물쇠 '이용권' (2026-11-19 사용자) */
.qz .gs-none.is-go { color: var(--qz-accent, #e8590c); font-weight: 700; }
.qz .gs-locktag { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; width: max-content; padding: 2px 8px; border-radius: 999px;
    background: #f2f2f4; color: #6b6b70; font-style: normal; font-size: 12px; font-weight: 700; }
.qz .gs-grid26.fm-sets { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.qz .gs-grid26.fm-sets a { height: 68px; border-radius: 14px; background: #fff; }
.qz .gs-grid26.fm-sets b { font-size: 17px; }
.qz .gs-grid26.fm-sets small { font-size: 12.5px; }
.qz .gs-grid26 small.is-go { color: var(--qz-accent, #e8590c); }
/* 잠길 회차를 이벤트로 연 칸 (2026-11-24) — '풀기 ›' 자리, 주황 딱지 글자 */
.qz .gs-grid26 small.is-evt { color: #cc4d00; font-weight: 700; }
.qz .gs-grid26 small.is-lock { display: inline-flex; align-items: center; gap: 3px; color: #8a8a8e; }
@media (min-width: 1024px) { .qz.pc-wide .gs-grid26.fm-sets { grid-template-columns: repeat(8, minmax(0, 1fr)); } }

/* 무료 회차 문제지 PDF 단추 (2026-11-19) — 회차 줄 오른쪽 작은 테두리 칸. 줄 링크와 겹치지 않게 gisa.js 가 받는다 */
.qz .gs-pdf { display: inline-flex; align-items: center; gap: 4px; flex: none; padding: 4px 8px; border: 1px solid #dcdee3; border-radius: 8px;
    background: #fff; color: #4b5058; font-size: 13px; font-weight: 700; line-height: 1; cursor: pointer; }
.qz .gs-pdf:hover, .qz .gs-pdf:focus-visible { border-color: #1d1d1f; color: #111; }
/* 소방안전관리자 홈 회차 칸 — 칸 오른쪽 위 모서리에 아이콘만 */
.qz .gs-grid26 a { position: relative; }
.qz .gs-pdf.is-corner { position: absolute; top: 4px; right: 4px; padding: 3px; border-color: #e3e6ea; }

/* 무료 회차 PDF 진행 막대 (2026-11-20 사용자) — 단추 안이 왼쪽부터 주황으로 차오른다. 글·아이콘은 위에 그대로 */
.qz .gs-pdf { position: relative; overflow: hidden; isolation: isolate; }
.qz .gs-pdf.is-corner { position: absolute; }
/* 받는 중에도 눌림은 단추가 받는다 — pointer-events: none 이면 손가락이 단추를 뚫고 회차 칸 링크를 눌러 풀기 화면으로 넘어갔다.
   다시 누름은 pdf-get.js 가 무시한다 (2026-12-03 PDF 다운로드 전수조사) */
.qz .gs-pdf.is-busy { border-color: #e8590c; color: #cc4d00; cursor: progress; }
.qz .gs-pdf-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #ffe3d1; transition: width .2s linear; z-index: -1; }
.qz .gs-pdf-pct { position: relative; flex: 1; text-align: center; font-size: 12px; font-weight: 800; color: #cc4d00; font-variant-numeric: tabular-nums; }
.qz .gs-pdf.is-corner .gs-pdf-pct { font-size: 9.5px; }
.qz .gs-pdf.is-busy .gs-pdf-bar { background: #ffd2b3; }

/* 가입 창 (2026-11-20) — 맨 위 AI 줄 강조 · 아이디 로그인 단추(테두리) */
.qz .gs-benefit li.is-top { font-weight: 800; color: #111; }
.qz .gs-benefit li em { font-style: normal; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: #fff1e8; color: #cc4d00; font-size: 12px; font-weight: 800; white-space: nowrap; }
.qz .gs-btn.is-line { background: #fff; border: 1.5px solid #d6d8dc; color: #111; }

/* 기사 홈 [기계|전기] — 급수 단추(fm-grade)와 같은 꼴, 둘이라 두 칸 (2026-11-20) */
.qz .fm-grade.gs-field { grid-template-columns: repeat(2, 1fr); }
/* 무료 PDF 작은 단추 진행 막대 — AI 분석 화면 줄 막대와 같은 색(바탕 #f6f2ee · 찬 곳 #ffd9c2 · 글 #cc4d00) (2026-11-20 사용자 "통일") */
.qz .gs-pdf.is-busy { background: #f6f2ee; border-color: #f6f2ee; }
.qz .gs-pdf.is-busy .gs-pdf-bar { background: #ffd9c2; }
/* 회차 칸 모서리 PDF 아이콘이 두 자리 회차(10회~)를 덮던 것 (2026-11-20 전 회차 무료로 10회 이후에도 아이콘이 생김) — 아이콘이 있는 칸은 글을 왼쪽으로 */
.qz .gs-grid26 a:has(.gs-pdf.is-corner) { align-items: flex-start; padding-left: 12px; padding-right: 30px; }
/* 소방안전관리자·관리사 회차 칸은 PDF 아이콘이 없는 칸(8회~ 이벤트·잠김)도 같은 왼쪽 정렬 — 섞이면 칸마다 글 자리가 달라 보였다 (2026-11-24) */
.qz .gs-grid26.fm-sets a { align-items: flex-start; padding-left: 12px; }
/* 좁은 폭(420 이하 — 휴대폰·폴드 겉화면) 4칸이면 글 자리가 20~37px 뿐이라 '10회' 가 PDF 아이콘에 가리고 '풀기 ›' 가 두 줄로 꺾였다 — 3칸 (2026-11-24 폴더블 점검) */
@media (max-width: 420px) { .qz .gs-grid26.fm-sets { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } }
@media (max-width: 300px) { .qz .gs-grid26.fm-sets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 해설 계산 묶음(문서의 ``` 사이) — 한 칸에 줄을 그대로, 숫자 자리 맞춤 (2026-11-20 전수조사) */
.qz .gs-calc { white-space: pre-wrap; background: #f6f4f2; border-left: 3px solid #d6d2cc; padding: 10px 12px; border-radius: 8px; font-variant-numeric: tabular-nums; line-height: 1.7; }

/* 결과·홈 AI 상자 푼 문제 진행 막대 (2026-11-20) — 먹색 상자 위라 밝은 주황 */
.qz .gs-ai-qbar { height: 8px; margin: 10px 0 8px; border-radius: 4px; background: rgba(255,255,255,.16); overflow: hidden; }
.qz .gs-ai-qbar i { display: block; height: 100%; background: #ff8a3d; border-radius: 4px; }

/* 가입 창 'Apple로 로그인' — 애플 안내대로 검은 바탕·흰 로고 (fragments/apple-login 과 같은 모양) */
.qz .gs-btn.is-apple { background: #000; color: #fff; gap: 8px; }
.qz .gs-btn.is-apple svg { flex: none; margin-top: -2px; }

/* 'AI' 딱지 — AI 맞춤 모의고사 이름 옆 (2026-11-20 사용자 "AI 가 만든 것이 한눈에, 임팩트") */
.qz .gs-ai-pill { display: inline-flex; align-items: center; gap: 2px; margin-left: 4px; padding: 1px 7px 1px 6px; border-radius: 999px; background: #1d1d1f; color: #ff8a3d;
    font-size: 11px; font-weight: 800; line-height: 1.6; vertical-align: 2px; letter-spacing: .02em; }
.qz .gs-ai-pill svg { flex: none; }
/* 위 줄 '○○ 홈 · 공부 홈' */
.qz .gs-bar-homes { flex: none; display: flex; gap: 6px; }
.qz .gs-bar-homes a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border: 1px solid #dcdee3; border-radius: 999px; background: #fff;
    color: #333; font-size: 12.5px; font-weight: 700; white-space: nowrap; text-decoration: none; }
.qz .gs-bar-homes a:hover { border-color: #1d1d1f; }
@media (max-width: 420px) { .qz .gs-bar-homes a { padding: 0 8px; font-size: 12px; } }

/* ── 해설 글씨 한 단계 크게 (2026-11-20 사용자 "살~짝만") — 13.5·14 → 본문 단계 15 (design-rules.md 「글꼴」 13·15·17 단계).
   기사·소방안전관리자 화면만. 오늘의 문제(quiz.css)는 그대로 */
.qz .qz-xt-plain, .qz .qz-xt-opt-tx, .qz .gs-tbl, .qz .gs-trap ul, .qz .gs-exp { font-size: 15px; }
.qz .gs-tbl th { font-size: 13px; }

/* ── 정리 탭 카드 (2026-11-20 사용자 — 근거 탭을 바꿈). 줄 꼴은 GisaSummary.java · gisa.js summaryPane.
   주 색은 주황 하나(design-rules.md 「색」) — 외우기는 연주황, 함정은 흰 바탕+붉은 테두리(2026-11-23 아래), 예는 회색 바닥 */
/* 2026-11-23 사용자 "보기 불편하다" — 제목 아래 굵은 줄 · '이름: 설명' 줄은 이름을 굵게 윗줄에, 줄마다 옅은 구분선 ·
   표는 테두리+머리칸 바탕("표가 표 같아 보이게") · 외우기는 전구+굵은 글, 함정은 흰 바탕+붉은 테두리+경고 세모로 둘을 갈라 보이게 */
.qz .gs-sum { display: flex; flex-direction: column; gap: 0; }
.qz .gs-sum-t { display: block; font-size: 17px; font-weight: 800; line-height: 1.45; word-break: keep-all;
    padding-bottom: 10px; margin-bottom: 4px; border-bottom: 2px solid var(--qz-fg); }
.qz .gs-sum .gs-tblwrap { margin: 10px 0; border: 1px solid #e3ddd7; border-radius: 10px; }
.qz .gs-sum .gs-tbl { border-radius: 0; }
.qz .gs-sum .gs-tbl th { background: var(--qz-bg); color: #5d5650; padding: 8px 10px; border-bottom: 1px solid #e3ddd7; }
.qz .gs-sum .gs-tbl th + th, .qz .gs-sum .gs-tbl td + td { border-left: 1px solid #efebe7; }
.qz .gs-sum .gs-tbl td { padding: 9px 10px; }
.qz .gs-sum .gs-tbl tbody tr:first-child td { border-top: 0; }
.qz .gs-sum .gs-tbl td:first-child { font-weight: 700; }
.qz .gs-sum-line { font-size: 15px; line-height: 1.6; word-break: keep-all; }
.qz .gs-sum-line:not(.is-memo):not(.is-ex):not(.is-trap) { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid #efebe7; color: #3d3833; }
.qz .gs-sum-k { font-size: 14px; font-weight: 800; color: var(--qz-fg); }
/* 같은 이름 아래 설명 여럿 — 앞에 작은 점, 줄 사이 조금 띄움 */
.qz .gs-sum-line.is-multi > span { position: relative; padding-left: 13px; }
.qz .gs-sum-line.is-multi > span + span { margin-top: 3px; }
.qz .gs-sum-line.is-multi > span::before { content: ""; position: absolute; left: 2px; top: .7em; width: 4px; height: 4px; border-radius: 50%; background: #a39a92; }
.qz .gs-sum-line.is-memo, .qz .gs-sum-line.is-ex, .qz .gs-sum-line.is-trap { display: flex; gap: 10px; align-items: flex-start; border-radius: 10px; padding: 11px 14px; margin-top: 10px; }
.qz .gs-sum-line .gs-ic, .qz .gs-sum-line > .ico { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.qz .gs-sum-line .gs-ic svg { display: block; }
.qz .gs-sum-x { min-width: 0; }
.qz .gs-sum-line.is-memo { background: var(--qz-accent-soft); }
.qz .gs-sum-line.is-ex { background: var(--qz-bg); }
.qz .gs-sum-line.is-trap { background: #fff; border: 1.5px solid #e9b7a1; }
.qz .gs-sum-h { display: block; font-size: 12.5px; font-weight: 800; color: #5d5650; }
.qz .is-memo .gs-sum-h, .qz .is-memo .gs-ic, .qz .is-memo > .ico { color: #e65c00; }
.qz .is-memo .gs-sum-x span { font-size: 16px; font-weight: 700; }
.qz .is-trap .gs-sum-h, .qz .is-trap .gs-ic, .qz .is-trap > .ico { color: #c4320a; }

/* ── 짧은 알림 — 저장했어요 · 메모 남기기 (2026-11-21). 아래 메뉴(앱 아래 줄) 위에 뜬다 ── */
.gs-toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); z-index: 1100; transform: translate(-50%, 12px);
  display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px); background: #1d1d1f; color: #fff; border-radius: 999px;
  padding: 10px 18px; font-size: 14.5px; font-weight: 700; white-space: nowrap; box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
  opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
.gs-toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.gs-toast button { border: 0; background: rgba(255, 255, 255, .14); color: #ffb37a; font: inherit; font-size: 14px; font-weight: 800;
  border-radius: 999px; padding: 6px 12px; margin: -4px -8px -4px 0; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .gs-toast { transition: none; } }
.gs-memo-q { display: block; color: #8a8a8e; font-size: 13px; margin: -4px 0 4px; }
#gsMemoBody { width: 100%; box-sizing: border-box; border: 1px solid #d8d3ce; border-radius: 12px; padding: 12px; font: inherit; font-size: 15px; resize: vertical; }

/* ── 단원 탭 — 틀린 문제·저장한 문제·한 장 정리 (2026-11-21, 전체 탭 없음). 넘치면 옆으로 민다 ── */
.qz .gs-utabs { display: flex; gap: 6px; overflow-x: auto; margin: 2px 0 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.qz .gs-utabs::-webkit-scrollbar { display: none; }
.qz .gs-utabs button { flex: none; display: flex; align-items: center; gap: 5px; min-height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--qz-line, #e3ddd7); background: #fff; color: #3a3a3c; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.qz .gs-utabs button small { font-size: 12px; color: #8a8a8e; font-weight: 700; }
.qz .gs-utabs button.is-on { background: #1d1d1f; border-color: #1d1d1f; color: #fff; }
.qz .gs-utabs button.is-on small { color: #c9c6c2; }
.qz [data-u][hidden] { display: none !important; }

/* 목록 한 줄 — 단원 이름 대신 문제 첫 줄(두 줄까지), 그 아래 주제·급수, 메모 */
.qz .gs-qitem { border-bottom: 1px solid #f0f0f2; padding: 13px 0; }
.qz .gs-qitem:last-child { border-bottom: 0; }
.qz .gs-qitem .gs-row { padding: 0; border-bottom: 0; }
.qz .gs-row .t b.gs-qline { font-weight: 600; font-size: 15px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qz .gs-memo { display: flex; gap: 6px; align-items: flex-start; width: 100%; margin-top: 7px; border: 0; text-align: left; font: inherit;
  font-size: 13px; line-height: 1.45; color: #8a8a8e; font-weight: 700; background: none; padding: 2px 0; cursor: pointer; }
.qz .gs-memo.has-memo { color: #b54708; background: #fff4ea; border-radius: 8px; padding: 6px 9px; font-weight: 600; }
.qz .gs-memo svg { flex: none; margin-top: 2px; }
.qz .gs-memo:not(.has-memo) svg { display: none; }

/* 문제 한 장 머리 한 줄 — 알약·별 왼쪽, 주제 이름 오른쪽 끝 (2026-11-21) */
.qz .gs-qhead.is-one { flex-wrap: nowrap; gap: 8px; }
.qz .gs-qhead.is-one > .qz-chip, .qz .gs-qhead.is-one > .gs-star { flex: none; }
.qz .gs-qhead.is-one .gs-h1 { margin: 0 0 0 auto; min-width: 0; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 소방안전관리자 문제 모음 /fm/questions (2026-11-22) — 단원마다 접는 칸, 머리에 단원 바로가기 */
.qz .fm-qidx-head h1 { font-size: 19px; font-weight: 800; margin: 0 0 4px; }
.qz .fm-qidx-jump { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.qz .fm-qidx-jump a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 1px solid var(--qz-line); border-radius: 999px; background: #fff; color: var(--qz-fg); font-size: 13px; text-decoration: none; }
.qz details.fm-qidx { scroll-margin-top: 12px; }
.qz details.fm-qidx > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 8px; cursor: pointer; min-height: 32px; }
.qz details.fm-qidx > summary::-webkit-details-marker { display: none; }
.qz details.fm-qidx > summary h2 { font-size: 15px; font-weight: 800; margin: 0; }
.qz details.fm-qidx > summary small { font-size: 12px; color: #777; white-space: nowrap; }
.qz details.fm-qidx > summary small::after { content: " \203A"; display: inline-block; transform: rotate(90deg); margin-left: 4px; }
.qz details.fm-qidx[open] > summary small::after { transform: rotate(-90deg); }
.qz details.fm-qidx[open] > summary { margin-bottom: 4px; }
.qz a.fm-qidx-sub { display: flex; justify-content: center; align-items: center; min-height: 40px; margin-top: 6px; font-size: 14px; color: #555; text-decoration: none; }
/* 홈·범위별 풀기·문제 한 장의 '문제 모음' 한 줄 */
.qz a.fm-qidx-link { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; padding: 0 2px; border-top: 1px solid #f0f0f2; font-size: 14px; color: var(--qz-fg); text-decoration: none; }
.qz a.fm-qidx-link small { color: #777; font-size: 12.5px; white-space: nowrap; }
.qz .fm-near .gs-row { padding: 10px 0; }
.qz .fm-near .gs-row .t b.gs-qline { font-size: 14px; }
/* 소방안전관리자 홈 접힌 글 — 소제목·단원 목록 */
.qz .fm-about h2 { margin: 12px 0 4px; font-size: 14px; font-weight: 700; color: var(--qz-fg); }
.qz .fm-about p { margin: 0 0 6px; font-size: 13px; line-height: 1.6; color: #555; }
.qz .fm-about p a { margin-right: 8px; }
.qz .fm-about-units { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.8; }

/* 공부 이용권 사는 화면 (/gisa/pass, 2026-11-23) — 고른 이용권은 주황 선·채운 동그라미, 나머지 흰 바탕 회색 선·빈 동그라미
   (2026-11-24: 검정 선만으로는 고른 칸이 잘 안 보였다. 주황 바탕은 위 '주요 기능' 칸이 쓰므로 이용권 칸은 바탕을 칠하지 않는다) */
.qz.ps .ps-opts { display: flex; flex-direction: column; gap: 8px; }
.qz.ps .ps-opt { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid #e3e7ec; border-radius: 12px; background: #fff; cursor: pointer; }
.qz.ps .ps-opt:has(input:checked) { border: 2px solid #cc4d00; padding: 15px; }
.qz.ps .ps-rd { display: inline-block; flex: none; width: 20px; height: 20px; margin-right: 10px; border: 2px solid #d1d5db; border-radius: 50%; box-sizing: border-box; vertical-align: -3px; }
.qz.ps .ps-opt:has(input:checked) .ps-rd { border-color: #cc4d00; background: #cc4d00; box-shadow: inset 0 0 0 3px #fff; }
.qz.ps .ps-opt input { position: absolute; opacity: 0; pointer-events: none; }
.qz.ps .ps-opt input:focus-visible + .ps-opt-h { outline: 2px solid #cc4d00; outline-offset: 4px; }
.qz.ps .ps-opt-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.qz.ps .ps-opt-h b { font-size: 17px; font-weight: 700; }
.qz.ps .ps-opt-h strong { font-size: 17px; font-weight: 700; color: #cc4d00; }
.qz.ps .ps-opt-d { font-size: 13px; color: #4b5058; }
.qz.ps .ps-opt-d b { color: #1f2937; font-weight: 700; }
/* 합격 시즌권 — 할인율 딱지·줄 그은 할인 전 값 (2026-11-23) */
.qz.ps .ps-off { display: inline-block; margin-left: 8px; padding: 2px 7px; border-radius: 6px; background: #fff1e6; color: #cc4d00; font-size: 12.5px; font-weight: 700; font-style: normal; vertical-align: 2px; }
.qz.ps .ps-price { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.qz.ps .ps-price s { font-size: 13.5px; color: #8a9099; font-weight: 400; }
.qz.ps .ps-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin: 0 0 8px; padding: 0; list-style: none; }
@media (min-width: 841px) { .qz.ps .ps-top { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.qz.ps .ps-top li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid #fed7aa; border-radius: 12px; background: #fff7ed; }
.qz.ps .ps-top li b { display: block; font-size: 15px; line-height: 1.35; color: #111; }
.qz.ps .ps-top li small { display: block; font-size: 13px; line-height: 1.35; color: #5f6670; }
.qz.ps .ps-top .ps-feat-i { background: #fff; }
.qz.ps .ps-feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
/* 4칸은 PC 넓은 폭(1024~)만 — 841~1023 은 공부 화면이 720 폭이라 4칸이면 '골라 풀기 무제한' 이 꺾였다. 태블릿 세로는 3칸 (2026-11-29) */
@media (min-width: 600px) { .qz.ps .ps-feat { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .qz.ps .ps-feat { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.qz.ps .ps-feat li { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 8px 12px; border: 1px solid #e3e7ec; border-radius: 8px; font-size: 15px; color: #111; line-height: 1.3; }
.qz.ps .ps-feat-i { flex: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: var(--qz-accent-soft); color: #cc4d00; }
.qz.ps .ps-feat-i .ico { width: 18px; height: 18px; }
.qz.ps .ps-agree-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qz.ps .ps-agree-row .ps-agree { align-items: center; font-size: 15px; }
.qz.ps .ps-more { flex: none; min-height: 44px; padding: 0 4px; border: 0; background: none; color: #4b5058; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-family: inherit; }
.qz.ps .ps-terms { padding: 12px; border-radius: 8px; background: #f6f7f8; font-size: 13px; line-height: 1.6; color: #4b5058; }
.qz.ps .ps-terms p { margin: 8px 0 4px; color: #111; }
.qz.ps .ps-terms ul.buls { margin: 0; padding-left: 16px; }
.qz.ps .ps-terms ul.buls li { margin: 2px 0; }
.qz.ps .ps-terms .nTable table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.qz.ps .ps-terms .nTable th, .qz.ps .ps-terms .nTable td { padding: 8px 4px; border: 1px solid #e3e7ec; text-align: center; vertical-align: middle; word-break: keep-all; }
.qz.ps .ps-terms .nTable th { background: #f6f7f8; color: #111; font-weight: 700; }
.qz.ps .ps-sum { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.qz.ps .ps-sum div { display: flex; justify-content: space-between; gap: 12px; }
.qz.ps .ps-sum dt { color: #4b5058; font-size: 15px; }
.qz.ps .ps-sum dd { margin: 0; text-align: right; font-size: 15px; word-break: break-all; }
.qz.ps .ps-sum dd b { font-size: 17px; }
.qz.ps .ps-sum dd span { font-size: 13px; color: #6b7079; }
.qz.ps .ps-test { margin: 0; padding: 8px 12px; border-radius: 8px; background: #f6f7f8; font-size: 13px; color: #4b5058; }
.qz.ps .ps-agree { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #111; cursor: pointer; }
.qz.ps .ps-agree input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: #1d1d1f; -webkit-appearance: checkbox; appearance: auto; }
.qz.ps .ps-err { margin: 0; font-size: 13px; color: #b42318; }
.qz.ps .ps-pay { min-height: 52px; font-size: 17px; }
.qz.ps .ps-pay:disabled { opacity: .6; cursor: default; }
/* 이용권 화면 하단 사업자 정보 — 휴대폰 아래 고정 메뉴(qz-nav)가 맨 끝 줄을 덮지 않게 */
@media (max-width: 840px) { .ps-foot #footer { padding-bottom: calc(88px + env(safe-area-inset-bottom)); } }
/* 아래 메뉴 자리 여백은 하단 사업자 정보(.ps-foot)가 맡는다 — 공부 화면 기본 150px 을 그대로 두면 결제 칸과 하단 사이가 빈다 */
.qz-body .qz.ps.has-menu { padding-bottom: 32px; }
/* 동의 두 줄 맞춤 (2026-11-23 사용자 "정렬이 이상") — 위 줄은 토스 결제위젯이 그리는 약관 칸(안쪽 여백 24px·15px 회색 글).
   우리 줄도 같은 들여쓰기·크기·색으로. 토스 칸은 우리가 체크·모양을 바꿀 수 없다(토스 문서: on() · destroy() 뿐) */
.qz.ps .ps-agree-row { padding: 0 24px; margin-top: -8px; }
.qz.ps .ps-agree-row .ps-agree { gap: 8px; color: #4b5058; }
.qz.ps .ps-agree-row .ps-agree input { width: 22px; height: 22px; }
.qz.ps .ps-terms { margin: 0 24px; }
/* 아주 좁은 폭(갤럭시 Z 폴드 겉화면 280~360) — 이름·할인 딱지·값이 한 줄에 다 안 들어가 '합격 / 시즌권'·'33% / 할인' 으로 꺾였고,
   2칸 기능 목록은 글 칸이 30px 안팎이라 '골라 / 풀기 / 무제한' 세 줄이 됐다. 이름은 한 덩어리로 두고 값을 다음 줄로, 기능은 한 칸씩 (2026-11-24 폴더블 점검) */
@media (max-width: 360px) {
  .qz.ps .ps-opt-h { flex-wrap: wrap; row-gap: 2px; }
  .qz.ps .ps-opt-h > b { white-space: nowrap; }
  .qz.ps .ps-off { white-space: nowrap; margin-left: 6px; }
  .qz.ps .ps-price { margin-left: auto; }
  .qz.ps .ps-feat { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .qz.ps .ps-feat li { min-height: 44px; }
  .qz.ps .ps-sum dt { white-space: nowrap; }
}

/* 해설 맨 위 '(N번 출제된 주제)' — 회색 작은 한 줄, 누르면 옆에 센 범위 (topic-recount.md) */
.qz .gs-freq { margin: 2px 0 6px; font-size: 12px; color: var(--qz-muted); }
.qz .gs-freq > summary { display: inline; list-style: none; cursor: pointer; font-variant-numeric: tabular-nums; }
.qz .gs-freq > summary::-webkit-details-marker { display: none; }
.qz .gs-freq[open] > summary { margin-right: 6px; }
.qz .gs-freq > span { font-size: 11px; }

/* 수식 $…$ — 위아래 분수·첨자 (관리사 해설, 2026-11-24 사용자 "나눗셈은 되도록 위아래 분수"). 그리는 곳은 math-text.js · MathText.java.
   KaTeX 없이 글꼴은 둘레 글을 따른다(본문 Pretendard · 문제 글 명조). flex 대신 inline-block — PDF(openhtmltopdf)와 같은 꼴로.
   휴대폰 420 폭에서 긴 식이 넘치지 않게 식 전체는 줄을 바꿀 수 있고(nowrap 없음), 분수 하나만 한 덩어리로 */
.qz .mx .fr { display: inline-block; vertical-align: middle; text-align: center; margin: 0 .12em; line-height: 1.25; white-space: nowrap; }
.qz .mx .fr > .nu, .qz .mx .fr > .de { display: block; padding: 0 .2em; }
.qz .mx .fr > .nu { border-bottom: 1px solid currentColor; }
.qz .mx .fr .fr { font-size: .92em; }
.qz .mx .sq { border-top: 1px solid currentColor; padding: 0 .1em; }
.qz .mx .ov { text-decoration: overline; }
.qz .mx sub, .qz .mx sup { font-size: .72em; line-height: 0; }
/* 관리사 법령 과목 문제 밑 한 줄 — 모든 법령 문제에 같게 */
.qz .gs-lawbasis { margin: 8px 0 0; font-size: 13px; line-height: 1.4; color: #4b5058; font-weight: 400; }
/* 관리사 차수 알약 — 두 칸. '2차 준비중' 은 누르지 않는 흐린 칸 (2026-11-24 사용자) */
.qz .fsm-grade { grid-template-columns: repeat(2, 1fr); }
.qz .fsm-grade span.is-soon { display: flex; align-items: center; justify-content: center; min-height: 42px; border: 1px solid #e9eaed; border-radius: 999px; background: #f2f3f5; color: #6b7079; cursor: default; }
.qz .fsm-grade span.is-soon b { font-size: 15px; font-weight: 400; }
/* 공공누리 출처 한 줄 */
.qz .fsm-source { margin: 4px 4px 0; font-size: 13px; line-height: 1.5; color: #6b7079; }
/* 관리사 문제 모음·과목별 풀기 — 과목 머리 (단원은 그 아래 묶음, 2026-11-24) */
.qz details.fm-qidx > summary h3 { font-size: 15px; font-weight: 700; margin: 0; }
.qz .fsm-qidx-subj { margin: 8px 4px 0; font-size: 17px; font-weight: 700; color: #111; }
.qz .fsm-subj-h { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid #e3e1df; font-size: 13px; font-weight: 700; color: #cc4d00; }

/* ===== AI 약점 분석 입구 (2026-11-29 사용자 시안 https://claude.ai/artifact/HoLxJNXwBktb7UWhv4XW5X) ===== */
/* 회차 목록 위 상자 — 결과 화면 .gs-ai 를 줄인 꼴. 목록 상자와 붙지 않게 아래만 띄운다 */
.qz .gs-ai.is-entry { margin: 0 0 12px; }
.qz .gs-ai.is-entry .gs-ai-list { margin-bottom: 12px; }
.qz .gs-ai.is-entry .gs-ai-qbar { margin-top: 2px; }
/* 문제 화면 'AI 약점 분석까지 n/50문제' 띠 — gisa.js aiRender. 처음과 다 채운 순간만 보인다 */
.qz .gs-aistrip { margin: 0 0 10px; padding: 11px 14px 12px; border-radius: 14px; background: #1d1d1f; color: #e9e7e4; font-size: 14px; line-height: 1.4; }
.qz .gs-aistrip[hidden] { display: none; }
.qz .gs-aistrip-r { display: flex; align-items: center; gap: 9px; }
.qz .gs-aistrip-i { flex: none; display: flex; color: #ff8a3d; }
.qz .gs-aistrip-t { min-width: 0; }
.qz .gs-aistrip-t b { color: #fff; font-weight: 800; }
.qz .gs-aistrip-n { flex: none; margin-left: auto; color: #ff9d5c; font-weight: 800; font-variant-numeric: tabular-nums; }
.qz .gs-aistrip-bar { margin-top: 9px; height: 5px; border-radius: 999px; background: #3a3a3d; overflow: hidden; }
.qz .gs-aistrip-bar i { display: block; height: 100%; border-radius: 999px; background: #ff8a3d; transition: width .3s; }

/* 결과 화면 문제 줄의 [댓글 n] — 오른쪽 끝에 줄 맞춰. 누르면 댓글 창(gisa-comment.js) */
.qz .gs-cbtn { flex: none; display: inline-flex; align-items: center; gap: 3px; min-height: 30px; padding: 0 10px; margin-left: 2px; border: 1px solid #e3ded8; border-radius: 999px; background: #fff; color: #6b6560; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.qz .gs-cbtn:hover { border-color: #c9c2ba; color: #1d1d1f; }
.qz .gs-cbtn .n:not(:empty) { margin-left: 2px; color: #ee4700; }
.gs-cmt-panel { min-height: 46vh; }
.gs-cmt-panel .gs-handle { cursor: pointer; }
/* 댓글 창 위 문제 — 해설 안의 문제 글·보기를 옮겨 붙인 것(gisa-comment.js). 창 안이라 조금 작게 */
.gs-cmt-q { padding-bottom: 14px; border-bottom: 1px solid #f0f0f2; }
.gs-cmt-q .gs-q { font-size: 15px; }
.gs-cmt-q .gs-ropts { margin-bottom: 8px; }
.gs-cmt-q .gs-cmt-exp { border: 0; background: none; padding: 4px 0; font: inherit; cursor: pointer; }

/* ===== 홈 6칸 · 모의고사 상자 탭 (2026-11-29 사용자 시안 https://claude.ai/artifact/1at843anfQ1xXe3yENqouZ) ===== */
/* 6칸 — 휴대폰 3칸씩 두 줄, PC 한 줄 6칸. 주황 칸은 두 줄 글('3회 이어 풀기' + '18 / 50') */
.qz .qz-tiles.gs-six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qz .qz-tiles.gs-six a { height: 88px; font-size: 14px; text-align: center; }
.qz .qz-tiles .gs-main-t { display: flex; flex-direction: column; align-items: center; line-height: 1.25; }
.qz .qz-tiles .gs-main-t small { font-size: 12.5px; font-weight: 700; opacity: .92; }
@media (min-width: 1024px) { .qz.pc-wide .qz-tiles.gs-six { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
/* 탭 막대 — 글자 아래 주황 밑줄. 머리줄('2급 모의고사 · 14회 …') 자리 */
.qz .gs-mtab-bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: -4px 0 14px; border-bottom: 1px solid #ebe6e1; }
.qz .gs-mtab-bar button { position: relative; padding: 13px 2px 12px; margin-bottom: -1px; border: 0; border-bottom: 3px solid transparent; background: none; font: inherit; font-size: 15px; font-weight: 600; color: #8a8580; cursor: pointer; }
.qz .gs-mtab-bar button.is-on { color: var(--qz-fg); font-weight: 800; border-bottom-color: #e8590c; }
.qz .gs-mtab-bar .gs-tab-ev { position: absolute; top: -6px; right: 2px; padding: 1px 6px; border-radius: 999px; background: #ff6600; color: #fff; font-size: 10px; line-height: 14px; font-style: normal; font-weight: 800; }
@media (max-width: 360px) { .qz .gs-mtab-bar button { font-size: 13.5px; } }
.qz .gs-mpane[hidden] { display: none; }
/* 랜덤 탭 */
.qz .gs-mfacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.qz .gs-mfacts div { padding: 12px 6px; border-radius: 12px; background: #f6f5f3; text-align: center; }
.qz .gs-mfacts b { display: block; font-size: 19px; font-weight: 800; }
.qz .gs-mfacts span { font-size: 13px; color: #6b6560; }
.qz .gs-mgo { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 12px; background: #e8590c; color: #fff; font-size: 16px; font-weight: 800; }
.qz .gs-mgo.is-dark { margin-top: 12px; background: #1d1d1f; font-size: 15px; }
.qz .gs-mpast-h { display: block; margin: 18px 0 2px; font-size: 15px; font-weight: 800; }
.qz .gs-mpast { display: flex; justify-content: space-between; align-items: center; padding: 12px 2px; border-bottom: 1px solid #f0eeeb; font-size: 15px; color: inherit; }
.qz .gs-mpast:last-child { border-bottom: 0; }
.qz .gs-mpast b.is-pass { color: #1d7a46; }
.qz .gs-mpast b.is-fail { color: #c2410c; }
/* AI 맞춤 탭 — 분석을 받은 뒤 */
.qz .gs-mai-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.qz .gs-mai-h b { font-size: 15px; font-weight: 800; }
.qz .gs-mai-h small { font-size: 13px; color: #6b6560; }
.qz .gs-mai-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 2px; border-bottom: 1px solid #f0eeeb; font-size: 15px; }
.qz .gs-mai-row:last-of-type { border-bottom: 0; margin-bottom: 14px; }
.qz .gs-mai-row b { flex: none; font-size: 13px; font-weight: 700; color: #c2410c; }
.qz .gs-mlink { display: block; padding: 14px 0 2px; text-align: center; font-size: 14px; font-weight: 700; color: #555; }
.qz .gs-mpane .gs-ai.is-entry { margin: 0; }

/* 오답노트 탭 막대(링크) · 약점 모의고사 카드 (2026-11-29 사용자 시안 ⑦) */
.qz .gs-ntab-bar { margin: 4px 0 14px; }
.qz .gs-ntab-bar a { position: relative; display: block; padding: 13px 2px 12px; margin-bottom: -1px; border-bottom: 3px solid transparent; text-align: center; font-size: 15px; font-weight: 600; color: #8a8580; }
.qz .gs-ntab-bar a.is-on { color: var(--qz-fg); font-weight: 800; border-bottom-color: #e8590c; }
.qz .gs-weakcard-h { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.qz .gs-weakcard-h b { font-size: 17px; font-weight: 800; }

/* 앱 나갈 때 창 — 이어 풀기 알림 (2026-11-29 사용자 시안 ⑧) */
.gs-ra .gs-ra-what { display: block; margin: 4px 0 6px; color: #e8590c; font-size: 14px; font-weight: 800; }
.gs-ra .gs-ra-bar { height: 10px; margin: 16px 0 8px; border-radius: 999px; background: #f1efec; overflow: hidden; }
.gs-ra .gs-ra-bar i { display: block; height: 100%; border-radius: 999px; background: #e8590c; }
.gs-ra .gs-ra-n { display: flex; justify-content: space-between; margin-bottom: 18px; font-size: 14px; color: #666; }
.gs-ra .gs-mgo { width: 100%; border: 0; cursor: pointer; font: inherit; font-size: 16px; font-weight: 800; }
.gs-ra .gs-ra-no { display: block; width: 100%; margin-top: 6px; padding: 12px; text-align: center; }
.gs-ra .gs-mgo { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 12px; background: #e8590c; color: #fff; }
.gs-ra .gs-ra-no { text-decoration: none; font-size: 15px; color: #666; font-weight: 600; }

/* 소방설비기사 [기계분야|전기분야] 큰 고르개 · [필기][실기] 알약의 NEW (2026-12-01 사용자, 실기 시안 25번) —
   휴대폰은 머리 제목 밑, PC 는 머리 줄에서 감추고 본문 왼쪽 칸 맨 위(gs-pc-only) */
.qz .gs-fieldseg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: #ececee; border-radius: 14px; padding: 4px; margin: 6px 0 2px; }
.qz .gs-fieldseg a { display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 11px; font-size: 17px; font-weight: 600; color: #6e6e73; text-decoration: none; }
.qz .gs-fieldseg a.is-on { background: #fff; color: #cc4d00; font-weight: 800; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.qz .gs-fieldseg.gs-pc-only { display: none; }
@media (min-width: 1024px) {
    .qz.pc-wide .qz-top .gs-fieldseg { display: none; }
    .qz.pc-wide .gs-fieldseg.gs-pc-only { display: grid; margin: 0; }
}
.qz .gs-field a.gs-new { position: relative; }
.qz .gs-newtag { position: absolute; top: -8px; right: 12px; font-size: 10px; font-style: normal; font-weight: 800; color: #fff; background: #e8590c; border-radius: 999px; padding: 2px 6px; line-height: 1.3; }

/* 색연필 (2026-12-02 사용자 시안 ⑨) — 문제 글은 그대로, 머리 줄 동그라미 · 보기 옆 손글씨 · 비슷한 유형 점선 딱지. 실기(silgi.css .sk-hl)와 같은 색 */
.qz .gs-tag.is-ring { position: relative; margin: 0 10px 0 8px; }
.qz .gs-tag.is-ring::after { content: ""; position: absolute; inset: -7px -14px; pointer-events: none; background-size: 100% 100%; background-repeat: no-repeat;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 30' preserveAspectRatio='none'><path d='M30 4 C 18 0 3 5 3 15 C 3 25 20 28 32 24 C 40 20 38 8 24 3' fill='none' stroke='%23e8590c' stroke-width='1.8' stroke-linecap='round'/></svg>"); }
.qz .gs-lastpick { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 800; color: #c2410c; transform: rotate(-3deg); white-space: nowrap; }
.qz .gs-simtag { flex: none; font-size: 12px; font-weight: 700; color: #b45309; background: #fff7ed; border: 1px dashed #f0a868; border-radius: 6px; padding: 2px 7px; line-height: 1.5; }
