
/* ===== 작업 W · 17번: 옛 화면 다듬기(uiwo.css, 11/10판, 사용자 10/29 '예전 판 화면이 살짝 촌스러워. 레이아웃 다 같이') =====
   예전 판에서 온 화면 가운데 같은 결이 남은 곳을 새 결(역대 오답 · 학습 기록 화면: 뒤로 단추 · 왼쪽 먹색 제목 · 고르기 띠 · 칸은 옅은 테)로 맞춘다.
   ① 도전 과제 ② 선지 검색 결과 카드 ④ 도움말 창 ⑥ 역대 알림 창 ⑦ 과제 현황 창. ③ 취약 단원은 작업 N #133이 맡는다.
   ⑤ 경험치 창은 35번(사용자 11/3 23:54)에 뺐다: 작업 D #289 레벨 창 새 꼴(D-614 ④ · D-605 ⑥)과 작업 K 리퀴드 글래스 전환이 맡는다. 이 파일은 #modal-exp를 건드리지 않는다.
   공통: 창 · 화면 제목은 아이콘 없이 먹색 왼쪽, 제목 아래 선 대신 여백. '이름: 값' 점 목록은 두 칸 줄(이름 · 값). 빛깔 바탕 상자는 옅은 테 칸으로(D-557 ⑩).
   글 · 기능 · 저장은 그대로(엔진 함수가 그린 것을 이 파일이 꾸미고 uiwo.js가 꼴만 바꾼다) */

/* ---------- 공통: 옛 창 머리(도움말 · 역대 알림 · 과제 현황) ---------- */
:is(#modal-help, #modal-notif-archive, #modal-task-summary) > .modal-content { border-radius: var(--kk-r-l, 16px) !important; box-shadow: var(--kk-sh-2) !important; }   /* 테는 두지 않는다 */
:is(#modal-help, #modal-notif-archive, #modal-task-summary) > .modal-content > div:first-child { min-height: 44px; margin: 0 0 8px !important; padding: 0 !important; border-bottom: 0 !important; }
:is(#modal-help, #modal-notif-archive, #modal-task-summary) > .modal-content > div:first-child > h3 { color: var(--ink) !important; font-size: var(--kk-fs-5, 1.12rem); font-weight: var(--kk-fw-title, 900); line-height: var(--kk-lh-title, 1.35); text-align: left; }
:is(#modal-help, #modal-notif-archive, #modal-task-summary) > .modal-content > div:first-child > h3 > .ic { display: none; }
:is(#modal-help, #modal-notif-archive, #modal-task-summary) > .modal-content > div:first-child > span[onclick] { display: inline-grid; place-items: center; width: 44px; height: 44px; margin: -6px -8px -6px 0; border-radius: 12px; color: var(--muted) !important; }
:is(#modal-help, #modal-notif-archive, #modal-task-summary) > .modal-content > div:first-child > span[onclick] .ic { width: 22px; height: 22px; }

/* ---------- ① 도전 과제 ---------- */
#screen-achievements > div:first-child { min-height: var(--kk-tap, 44px); margin: 0 0 var(--kk-sp-2, 8px) !important; padding: 0 !important; border-bottom: 0 !important; }
#screen-achievements > div:first-child > span[onclick] { display: inline-flex; align-items: center; min-height: var(--kk-tap, 44px); padding: 0 8px 0 0; color: var(--ink-2) !important; font-size: var(--kk-fs-3, .95rem) !important; font-weight: var(--kk-fw-ui, 800) !important; }
#screen-achievements > h2 { margin: 0 0 var(--kk-sp-3, 12px) !important; font-size: var(--kk-fs-6, 1.25rem); font-weight: var(--kk-fw-title, 900); line-height: var(--kk-lh-title, 1.35); color: var(--ink) !important; text-align: left !important; }
#screen-achievements > h2 > .ic { display: none; }
/* 달성 요약: 큰 고리 → 작은 고리 + 오른쪽 두 줄(카드 한 칸) */
#screen-achievements .kwo-ach-sum { display: grid !important; grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; margin: 0 0 var(--kk-sp-3, 12px) !important; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--kk-r-l, 16px); background: var(--card); text-align: left !important; }
#screen-achievements .kwo-ach-sum > #ach-circle-bg { grid-row: 1 / span 2; width: 64px !important; height: 64px !important; margin: 0 !important; }
#screen-achievements .kwo-ach-sum > #ach-circle-bg > div { width: 52px !important; height: 52px !important; }
#screen-achievements .kwo-ach-sum #ach-total-text { font-size: var(--kk-fs-2, .85rem) !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
#screen-achievements .kwo-ach-sum .kwo-ach-t { font-size: var(--kk-fs-4, 1.05rem); font-weight: var(--kk-fw-title, 900); color: var(--ink); line-height: 1.35; }
#screen-achievements .kwo-ach-sum > div:last-child { align-self: start; font-size: var(--kk-fs-2, .85rem) !important; font-weight: 600 !important; color: var(--muted) !important; }
#screen-achievements .kwo-ach-sum > div:last-child > span { color: var(--ink-2) !important; font-weight: var(--kk-fw-ui, 800); font-variant-numeric: tabular-nums; }
/* 정렬: 옛 고르기 상자 · '▼내림차순' 알약 → 고르기 띠 + 글자 단추(역대 오답 화면 .rf-bar 결) */
#screen-achievements .kwo-ach-old { display: none !important; }
#screen-achievements .kwo-ach-bar { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin: 0 0 var(--kk-sp-3, 12px); }
#screen-achievements .kwo-ach-bar .kk-seg { flex: 0 1 auto; }
#screen-achievements .kwo-ach-sort > button { display: inline-flex !important; align-items: center; justify-content: center; gap: 3px; }
#screen-achievements .kwo-ach-sort > button > svg { display: none; width: 14px; height: 14px; flex: none; transition: transform var(--kw-t, .26s) ease; }
#screen-achievements .kwo-ach-sort > button.on > svg { display: inline-block; }
#screen-achievements .kwo-ach-sort > button[data-desc="0"] > svg { transform: rotate(180deg); }
/* 목록 칸: 옅은 테 칸, 달성한 것만 진한 글 */
#ach-list-container { max-height: none !important; overflow: visible !important; padding-right: 0 !important; }
#ach-list-container > div { margin: 0 0 8px !important; padding: 12px 14px !important; border: 1px solid var(--line) !important; border-radius: var(--kk-r-l, 16px) !important; background: var(--card) !important; box-shadow: none !important; }
#ach-list-container > div.kwo-lock { background: transparent !important; }
#ach-list-container > div > .ki-chip { margin-right: 12px !important; }
#ach-list-container > div > div > div:first-child > span:first-child { color: var(--ink) !important; font-size: var(--kk-fs-3, .95rem) !important; }
#ach-list-container > div.kwo-lock > div > div:first-child > span:first-child { color: var(--muted) !important; }
#ach-list-container > div > div > div:nth-child(2) { color: var(--ink-2) !important; font-size: var(--kk-fs-2, .85rem) !important; }
#ach-list-container > div.kwo-lock > div > div:nth-child(2) { color: var(--muted) !important; }
#ach-list-container .kk-ach-st { display: inline-flex; gap: 1px; color: var(--muted-2); }
#ach-list-container .kk-ach-st svg { width: 12px; height: 12px; }
#ach-list-container > div:not(.kwo-lock) .kk-ach-st { color: var(--kk-star-on, var(--accent)); }
#ach-list-container > div > div > div:nth-child(3) { text-align: left !important; margin-top: 4px !important; color: var(--ok-ink, var(--ok)) !important; font-size: var(--kk-fs-1, .75rem) !important; font-weight: 700 !important; }

/* ---------- ② 선지 검색 결과 카드 ---------- */
/* 사례 이름 '[ 계모임 ]': 대괄호 · 큰 파란 글 → 먹색 굵은 한 줄(검색 결과 안에서만, 문제 글은 그대로) */
.rn-q strong.kwo-case { display: block; margin-top: 6px; color: var(--ink) !important; font-size: var(--kk-fs-4, 1.05rem) !important; font-weight: var(--kk-fw-title, 900); }
.rn-q.kwo-q br.kwo-br { display: none; }
/* 정답: '정답:' 머리 + '- 이름: 값' 줄표 목록 → '정답' 꼬리표 + 두 칸 줄 */
.rn-a.kwo-a { margin-top: 8px; }
.rn-a.kwo-a > .kwo-a-h { display: inline-block; margin: 0 6px 4px 0; padding: 1px 8px; border-radius: var(--kk-r-pill, 999px); background: var(--ok-soft, var(--surface)); color: var(--ok-ink, var(--correct)) !important; font-size: var(--kk-fs-1, .75rem); font-weight: var(--kk-fw-ui, 800); line-height: 1.6; vertical-align: 1px; }
.rn-a.kwo-a > .kwo-kv { display: grid; grid-template-columns: minmax(6.5em, 42%) 1fr; gap: 4px 12px; margin: 2px 0 0; }
.rn-a.kwo-a > .kwo-kv > dt { margin: 0; color: var(--muted); font-weight: 600; word-break: keep-all; }
.rn-a.kwo-a > .kwo-kv > dd { margin: 0; color: var(--ink); font-weight: 700; word-break: keep-all; }
/* 칸이 좁거나 글자가 크면(글 17자 폭 아래, 360 글자 130% 등) 이름 위 · 값 아래로 쌓아 괄호 안에서 꺾이지 않게 */
.rn-a.kwo-a { container-type: inline-size; }
@container (max-width: 17em) { .rn-a.kwo-a > .kwo-kv { grid-template-columns: 1fr; gap: 0; } .rn-a.kwo-a > .kwo-kv > dd { margin-bottom: 6px; } }

/* ---------- ④ 도움말 창 ---------- */
#modal-help .stats-box { margin: 0 0 18px !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
#modal-help .stats-box > strong:first-child { display: block; margin: 0 0 8px; color: var(--ink) !important; font-size: var(--kk-fs-3, 0.95rem) !important;   /* 53번: 한 단계 작게(사용자 11/11 '도움말은 작아야 돼') */ font-weight: var(--kk-fw-title, 900); }
#modal-help .stats-box > strong:first-child > .ic { display: none; }
#modal-help .stats-box > ul { margin: 0 !important; padding: 0 !important; list-style: none; color: var(--ink-2) !important; font-size: var(--kk-fs-1, .75rem) !important; line-height: var(--kwo-help-lh, 1.4); text-align: left; }   /* 48번(사용자 11/10 '제시문 · 설명 가독성'): 설명 글 행간은 앱 해설 칸과 같은 1.50 이하(D 화면 다듬기), 양끝 맞춤 없이 왼쪽 */
#modal-help .stats-box > ul > li { position: relative; margin: 0 0 8px; padding-left: 12px; word-break: keep-all; overflow-wrap: anywhere; text-wrap: pretty; }
#modal-help .stats-box > ul > li::before { content: ""; position: absolute; left: 1px; top: .7em; width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2); }
/* '이름: 값' 줄 → 두 칸(이름 · 값) */
#modal-help .stats-box > ul > li.kwo-kv { display: grid; grid-template-columns: minmax(5.5em, 30%) 1fr; gap: 0 12px; padding-left: 0; }
#modal-help .stats-box > ul > li.kwo-kv::before { display: none; }
#modal-help .stats-box > ul > li.kwo-kv > .kwo-k { color: var(--ink) !important; font-weight: var(--kk-fw-ui, 800); word-break: keep-all; }
#modal-help .stats-box > ul { container-type: inline-size; }
@container (max-width: 19em) { #modal-help .stats-box > ul > li.kwo-kv { grid-template-columns: 1fr; margin-bottom: 10px; } }
/* 52번: 이름은 한 줄, 값은 그 아래 폭 전체에 문장마다 가운데 점 한 줄(행간 1.40, 항목 사이는 여백으로 가름) */
#modal-help .stats-box > ul > li.kwo-kv.kwo-st { display: block; margin: 0 0 12px; padding-left: 0; }
#modal-help .stats-box > ul > li.kwo-st > .kwo-k { display: block; margin: 0 0 3px; }
#modal-help .stats-box > ul > li.kwo-st > .kwo-v { display: block; }
#modal-help .stats-box > ul > li.kwo-st .kwo-l { display: block; position: relative; padding-left: 12px; }
#modal-help .stats-box > ul > li.kwo-st .kwo-l + .kwo-l { margin-top: 4px; }
#modal-help .stats-box > ul > li.kwo-st .kwo-l::before { content: ""; position: absolute; left: 1px; top: .65em; width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2); }
#modal-help .stats-box > ul > li:not(.kwo-st) { margin-bottom: 6px; }
#modal-help .kwo-l .kwo-nw { white-space: nowrap; }
#modal-help .help-tour-reset { display: block; width: auto !important; min-height: 44px; margin: 8px auto 0 !important; padding: 0 18px !important; }

/* ---------- ⑥ 역대 알림 창 ---------- */
/* '필터:' 글 + 기본 체크 상자 셋 → 켜고 끄는 작은 칩(체크 상자는 그대로 두고 감춤, 화면 읽기 · 키보드 그대로) */
#modal-notif-archive .kwo-nf { gap: 6px !important; margin: 0 0 12px !important; }
#modal-notif-archive .kwo-nf > strong { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#modal-notif-archive .kwo-nf > label { position: relative; display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--kk-r-pill, 999px); background: var(--card); color: var(--muted); font-size: var(--kk-fs-2, .85rem); font-weight: var(--kk-fw-ui, 800); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
#modal-notif-archive .kwo-nf > label > input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
#modal-notif-archive .kwo-nf > label:has(input:checked) { border-color: var(--brand-line, var(--brand)); background: var(--brand-soft); color: var(--brand-ink, var(--brand)); }
#modal-notif-archive .kwo-nf > label:has(input:focus-visible) { outline: 3px solid var(--brand-line); outline-offset: 2px; }
/* 목록 머리 한 줄: 왼쪽 개수 · 오른쪽 차례(최신순 · 오래된순) */
#modal-notif-archive .kwo-nf-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; margin: -4px 0 6px; }
#modal-notif-archive .kwo-nf-n { color: var(--muted); font-size: var(--kk-fs-2, .85rem); font-weight: 700; font-variant-numeric: tabular-nums; }
#modal-notif-archive .kwo-nf-h > button { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin: 0 -4px 0 auto !important; padding: 0 4px !important; border: 0 !important; background: none !important; box-shadow: none !important; color: var(--ink-2) !important; font-size: var(--kk-fs-2, .85rem) !important; font-weight: var(--kk-fw-ui, 800); }
#modal-notif-archive .kwo-nf-h > button svg { width: 16px; height: 16px; transition: transform var(--kw-t, .26s) ease; }
#modal-notif-archive .kwo-nf-h > button[data-desc="0"] svg { transform: rotate(180deg); }
/* 알림 칸: 빛깔 바탕 → 옅은 테 칸(D-557 ⑩), 아이콘은 그대로 */
#notif-archive-list > div { margin: 0 0 8px !important; padding: 12px 14px !important; border: 1px solid var(--line) !important; border-radius: var(--kk-r-m, 12px) !important; background: var(--card) !important; }
#notif-archive-list > div > div:first-child > div:first-child { color: var(--muted) !important; font-size: var(--kk-fs-1, .75rem) !important; font-variant-numeric: tabular-nums; }
#notif-archive-list > div > div:first-child > div:last-child { color: var(--ink-2); }
#notif-archive-list > div > div:first-child > div:last-child .ic, #notif-archive-list > div > div:first-child > div:last-child svg { width: 20px; height: 20px; }

/* ---------- ⑦ 과제 현황 창 ---------- */
#task-summary-list > div { padding: 12px 14px !important; border: 1px solid var(--line) !important; border-radius: var(--kk-r-m, 12px) !important; background: var(--card) !important; }
#task-summary-list > div > div:first-child > div:first-child { font-size: var(--kk-fs-3, .95rem) !important; font-weight: var(--kk-fw-title, 900) !important; }
#task-summary-list > div > div:nth-child(2) { color: var(--muted) !important; font-size: var(--kk-fs-2, .85rem) !important; }
#task-summary-list > div > div:nth-child(4) { height: 6px !important; }
#modal-task-summary .modal-content > .btn-main { display: block; width: auto !important; min-width: 200px; min-height: 44px; margin: 12px auto 0 !important; padding: 0 22px !important; }

/* ===== 20번(11/10판, 사용자 10/31 '앱 화면들 전반적으로 더 잘 다듬어봐'): 옛 결이 남은 화면 더 다듬기 ===== */

/* ---------- 20-1 홈 알림 칸: 11/7에 뺌. 작업 A 134번(사용자 11/6 '알림창 자체도 리퀴드 글래스로')이 알림함 판 · 칸 · 아이콘 칩을 다시 꾸며 그 꼴을 따른다 ---------- */

/* ---------- 20-2 빠른 선지 검색 창: 24번(11/2)에 뺌. 작업 K #309(56 · 57번)가 이 창 머리 · 크기 · 결과 카드를 다시 꾸며 그 꼴을 따른다(W는 결과 안 사례 이름 · 정답 칩 줄만) ---------- */

/* ---------- 20-3 학습 과제 › 새 과제 · 과제 고치기 판(작업 F 올라오는 창 안의 엔진 등록 칸) ----------
   기본 고르기 상자 · 굵은 2px 테 칸 · '메뉴 선택 (출제 데이터)' · '과제 저장 / 등록하기' → 칩 · 고르기 띠 · 옅은 테 입력칸.
   엔진이 읽는 고르기 상자(#task-source-mode · #task-mode · #task-target-type)는 그대로 두고 화면에서만 감춘다(값은 칩 · 띠와 맞춤) */
#new-task-content .kwo-tf-l { margin: 16px 0 8px !important; color: var(--ink) !important; font-size: var(--kk-fs-2, .85rem) !important; font-weight: var(--kk-fw-ui, 800) !important; }
#new-task-content > .kwo-tf-l:first-child { margin-top: 4px !important; }
#new-task-content .kwo-tf-s { margin: 0 0 4px !important; color: var(--muted) !important; font-size: var(--kk-fs-1, .75rem) !important; font-weight: 700; }
#new-task-content :is(input[type=text], input[type=number], input[type=date], input[type=time]) { box-sizing: border-box; width: 100%; height: 46px; margin: 0 !important; padding: 0 12px !important; border: 1px solid var(--line-strong) !important; border-radius: var(--kk-r-m, 12px) !important; background: var(--card) !important; color: var(--ink) !important; font-variant-numeric: tabular-nums; }
/* 글자 크기는 엔진 값 그대로(휴대폰에서 글을 치는 칸은 16px로 화면 확대를 막는 규칙, t_400 M) */
#new-task-content :is(input[type=text], input[type=number], input[type=date], input[type=time]):focus { border-color: var(--brand) !important; box-shadow: 0 0 0 3px var(--brand-soft); outline: none; }
#new-task-content select.kwo-tf-hid { position: absolute !important; width: 1px !important; height: 1px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; opacity: 0; pointer-events: none; }
/* 문제 출처: 칩(다섯 갈래, 좁으면 다음 줄로) */
#new-task-content .kwo-tf-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 4px; }
#new-task-content .kwo-tf-chips > button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--kk-r-pill, 999px); background: var(--card); color: var(--ink-2); font: inherit; font-size: var(--kk-fs-2, .85rem); font-weight: var(--kk-fw-ui, 800); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
/* 단원 고르기 칸: 기본 체크 상자 빛깔을 주 색으로 */
#new-task-content :is(.task-ch-cb, #task-drill-container input[type=checkbox]) { accent-color: var(--brand); width: 18px; height: 18px; }
#new-task-content .kwo-tf-chips > button.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink, var(--brand)); }
#new-task-content .kwo-tf-chips > button:focus-visible { outline: 3px solid var(--brand-line); outline-offset: 2px; }
/* 풀이 방식 · 목표 기준: 고르기 띠(KkSeg), 두 칸이면 한 줄씩 */
#new-task-content .kwo-tf-seg { display: flex; width: 100%; box-sizing: border-box; }
#new-task-content .kwo-tf-seg > button { flex: 1 1 0; min-height: 40px; }
#new-task-content .kwo-tf-row { display: grid !important; grid-template-columns: 1fr; gap: 0 !important; margin-bottom: 0 !important; }
#new-task-content .kwo-tf-row > div { flex: none !important; }
/* 목표 수치: 이름과 숫자 칸을 한 줄에(아래 미끄럼 막대 kc-task와 짝, 숫자 칸은 좁게) */
#new-task-content .kwo-tf-row > div:has(> #task-count) { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0 8px; }
#new-task-content .kwo-tf-row > div:has(> #task-count) > .kwo-tf-l { margin: 0 !important; }
#new-task-content .kwo-tf-row #task-count { width: 6.5em !important; flex: none; text-align: right; }
/* 단원 · 유형 목록 칸: 굵은 2px 테 → 옅은 1px 테 */
#new-task-content #task-chapter-container, #new-task-content #task-drill-container { border: 1px solid var(--line) !important; border-radius: var(--kk-r-m, 12px) !important; }
#new-task-content :is(#btn-task-toggle-all, #btn-task-drill-all) { min-height: 36px; padding: 0 12px !important; border-radius: var(--kk-r-pill, 999px) !important; font-size: var(--kk-fs-1, .75rem) !important; }
/* 기간: 시작일 · 마감일 한 줄, 마감 시간은 좁으면 다음 줄 */
#new-task-content .task-date-row { flex-wrap: wrap; gap: 8px !important; margin-bottom: 8px !important; }
#new-task-content .task-date-row > div { flex: 1 1 9em !important; min-width: 0; }
/* 마감 알림: 켜고 끄는 칩 */
#new-task-content #task-notif-btn { display: inline-flex !important; align-items: center; gap: 6px; width: auto !important; min-height: 40px; margin: 4px 0 4px !important; padding: 0 14px !important; border: 1px solid var(--line-strong) !important; border-radius: var(--kk-r-pill, 999px) !important; background: var(--card) !important; color: var(--ink-2) !important; font-size: var(--kk-fs-2, .85rem) !important; font-weight: var(--kk-fw-ui, 800) !important; }
#new-task-content #task-notif-btn[aria-pressed="true"] { border-color: var(--brand) !important; background: var(--brand-soft) !important; color: var(--brand-ink, var(--brand)) !important; }
#new-task-content #task-notif-btn .ic, #new-task-content #task-notif-btn svg { width: 16px; height: 16px; }
#new-task-content #btn-register-task { min-height: 48px; }

/* ---------- 20-5 선지 검색 화면 머리: '← 뒤로' 줄 아래 선 → 여백(17번 ① 도전 과제 머리와 같은 꼴) ---------- */
#screen-search > div:first-child { min-height: var(--kk-tap, 44px); margin: 0 0 var(--kk-sp-2, 8px) !important; padding: 0 !important; border-bottom: 0 !important; }
#screen-search > div:first-child > span[onclick] { display: inline-flex; align-items: center; min-height: var(--kk-tap, 44px); padding: 0 8px 0 0; color: var(--ink-2) !important; font-size: var(--kk-fs-3, .95rem) !important; font-weight: var(--kk-fw-ui, 800) !important; }

/* ===== 21번(사용자 11/1 '훨씬 깔끔해졌네, 한 번만 더'): 선지 검색 사례 구분 · 경험치 창 요약 머리 ===== */
/* ---------- 21-1 선지 검색 정답: 기준별 일곱 줄 → 값 칩 한 줄 + '아님' 한 줄, 기준 이름 표는 '기준별로 보기'로 접음 ---------- */
.rn-a.kwo-a-sum > .kwo-sum { margin: 2px 0 0; }
.rn-a.kwo-a-sum .kwo-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; }
.rn-a.kwo-a-sum .kwo-chip { display: inline-flex; align-items: baseline; flex-wrap: wrap; column-gap: 5px; max-width: 100%; padding: 4px 11px; border: 1px solid var(--line); border-radius: var(--kk-r-pill, 999px); background: var(--card); color: var(--ink); font-size: var(--kk-fs-2, .86rem); font-weight: 700; line-height: 1.45; word-break: keep-all; }
.rn-a.kwo-a-sum .kwo-chip-k { color: var(--muted); font-weight: 600; }
.rn-a.kwo-a-sum .kwo-no { margin: 8px 0 0; color: var(--muted); font-size: var(--kk-fs-2, .86rem); line-height: 1.5; word-break: keep-all; }
.rn-a.kwo-a-sum .kwo-no-h { margin-right: 6px; color: var(--ink-2); font-weight: 800; }
.rn-a.kwo-a-sum > .kwo-kv-tg { display: inline-flex; align-items: center; gap: 3px; min-height: 40px; margin: 0 0 -6px -6px; padding: 0 6px; border: 0; border-radius: 10px; background: none; color: var(--muted); font: inherit; font-size: var(--kk-fs-1, .78rem); font-weight: 700; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.rn-a.kwo-a-sum > .kwo-kv-tg svg { width: 16px; height: 16px; transition: transform .2s ease; }
.rn-a.kwo-a-sum > .kwo-kv-tg[aria-expanded="true"] svg { transform: rotate(180deg); }
.rn-a.kwo-a-sum > .kwo-kv-tg:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.rn-a.kwo-a-sum > .kwo-kv { align-self: stretch; width: 100%; box-sizing: border-box; margin-top: 8px; padding-top: 10px; border-top: 1px dashed var(--line); }
.rn-a.kwo-a-sum > .kwo-kv[hidden] { display: none; }

/* ---------- 움직임 줄이기 ---------- */
@media (prefers-reduced-motion: reduce) {
  #screen-achievements .kwo-ach-sort > button > svg, #modal-notif-archive .kwo-nf-h > button svg, #modal-notif-archive .kwo-nf > label, #new-task-content .kwo-tf-chips > button, .rn-a.kwo-a-sum > .kwo-kv-tg svg { transition: none !important; }
}

