/* [묻고 답하기 2026-11-11] 교사 «묻고 답하기» 화면 — js/qna-view.js · 도움 서랍 아래 줄(.hd-qna · js/help-drawer.js)
   틀 = 카드 한 장: 탭 줄(+ 문의 작성) · 왼쪽 분류 목록 | 오른쪽 목록·상세 (사용자 확정 시안 2026-11-11)
   마디아 법칙(R242): 글자 12·13·14·18·24 · 읽는 글 15 · 단추·입력 40(줄 안 36) · 강조 색은 주 단추와 고른 상태에만 ·
   줄은 상자가 아니라 가는 선과 여백으로 나눈다. 색은 토큰만 쓴다(css/common.css). */
.qna {
  --text-xs: 12px; --text-sm: 13px;           /* 이 화면 글자 단계(R242 ③ · R255 와 같은 방식) */
  --qna-title-fs: 18px; --qna-sub-fs: 20px; --qna-h-fs: 24px;   /* 목록 제목 · 작성 머리 · 상세 제목 */
  padding: 24px 32px 48px;
}
.qna-sp { flex: 1; }

/* 카드 · 탭 줄 */
.qna-head { display: flex; align-items: center; gap: 16px; padding: 0 24px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.qna-tabs { display: flex; gap: 28px; flex: 1; min-width: 0; }
.qna-tabs [role="tab"] { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 56px; padding: 0; border: 0;
  background: none; font: inherit; font-size: var(--text-md); font-weight: 600; color: var(--text-muted); white-space: nowrap; cursor: pointer; }
.qna-tabs [role="tab"]:hover { color: var(--text); }
.qna-tabs [role="tab"][aria-selected="true"] { color: var(--text); font-weight: 700; }
.qna-tabs [role="tab"][aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--text); }
.qna-tabs [role="tab"]:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.qna-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--danger); flex: 0 0 auto; }
.qna-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: 560px; background: var(--surface);
  border: 1px solid var(--border); border-top: 0; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.qna-body.is-wide { grid-template-columns: minmax(0, 1fr); }

/* 단추 */
.qna-btn { height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 16px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); font: inherit;
  font-size: var(--text-base); font-weight: 600; color: var(--text-body); white-space: nowrap; cursor: pointer; }
.qna-btn:hover { border-color: var(--primary); color: var(--primary); }
.qna-btn.is-pri { background: var(--primary-fill); border-color: var(--primary-fill); color: var(--text-on-primary); }
.qna-btn.is-pri:hover { background: var(--primary-fill-hover); border-color: var(--primary-fill-hover); color: var(--text-on-primary); }
.qna-btn:disabled { opacity: .5; cursor: default; }
.qna-link { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0; border: 0; background: none; font: inherit;
  font-size: var(--text-base); font-weight: 600; color: var(--text-muted); text-decoration: none; cursor: pointer; }
.qna-link:hover { color: var(--primary); }
.qna-link.is-pri { color: var(--primary-dark); }

/* 왼쪽 분류 목록 */
.qna-rail { padding: 20px 12px; border-right: 1px solid var(--border); }
.qna-rail ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.qna-rail button { width: 100%; height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 12px;
  border: 0; border-radius: var(--radius-sm); background: none; font: inherit; font-size: var(--text-base); color: var(--text-body); text-align: left; cursor: pointer; }
.qna-rail button:hover { background: var(--surface-hover); }
.qna-rail button small { font-size: var(--text-sm); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.qna-rail button[aria-current="true"] { background: var(--primary-light); color: var(--primary-dark); font-weight: 700; }
.qna-rail button[aria-current="true"] small { color: var(--primary-dark); }

/* 오른쪽 */
.qna-pane { min-width: 0; padding: 20px 24px 24px; display: flex; flex-direction: column; }
.qna-bar { display: flex; align-items: center; gap: 12px; min-height: 40px; margin-bottom: 12px; }
.qna-bar h2 { flex: 1; margin: 0; font-size: var(--qna-title-fs); font-weight: 700; color: var(--text); }
.qna-search { position: relative; width: 240px; max-width: 100%; }
.qna-search svg { position: absolute; left: 12px; top: 12px; color: var(--text-muted); pointer-events: none; }
.qna-search input { width: 100%; height: 40px; padding: 0 12px 0 36px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--surface); font: inherit; font-size: var(--text-base); color: var(--text); }
.qna-search input:focus { outline: none; border-color: var(--primary); box-shadow: var(--shadow-focus); }
.qna-empty { margin: 0; padding: 72px 16px; display: grid; gap: 8px; justify-items: center; text-align: center; color: var(--text-muted); }
.qna-empty b { color: var(--text); font-size: var(--text-md); }
.qna-muted { color: var(--text-muted); }

/* 목록 줄 (공개 질문 · 내 문의) */
.qna-rows, .qna-faq { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.qna-rows > li, .qna-faq > li { border-bottom: 1px solid var(--border); }
.qna-row { width: 100%; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; padding: 18px 12px;
  border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.qna-row:hover { background: var(--surface-hover); }
.qna-row:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.qna-no { align-self: start; padding-top: 3px; text-align: center; font-size: var(--text-sm); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.qna-tt { min-width: 0; display: grid; gap: 6px; }
.qna-tt b { font-size: var(--qna-title-fs); font-weight: 600; line-height: 1.35; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qna-tt b .qna-dot { margin-left: 8px; vertical-align: 4px; }
.qna-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: var(--text-sm); color: var(--text-muted); }
.qna-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--text-faint); }
.qna-cat { font-weight: 600; color: var(--primary-dark); }
.qna-rr { display: flex; align-items: center; gap: 16px; }
.qna-cnt { display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px; min-width: 40px; font-size: var(--text-sm); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.qna-pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: var(--text-xs); font-weight: 700; white-space: nowrap; }
.qna-pill.is-done { background: var(--success-light); color: var(--success-dark); }
.qna-pill.is-wait { background: var(--warning-light); color: var(--warning-dark); }
.qna-pill.is-closed { background: var(--bg-subtle); color: var(--text-muted); }

/* 자주 묻는 질문 */
.qna-faq summary { list-style: none; display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; align-items: center; gap: 16px; padding: 18px 12px; cursor: pointer; }
.qna-faq summary::-webkit-details-marker { display: none; }
.qna-faq summary:hover { background: var(--surface-hover); }
.qna-faq summary:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.qna-q { text-align: center; font-size: var(--text-md); font-weight: 700; color: var(--primary); }
.qna-faq .qna-tt b { white-space: normal; }
.qna-chev { color: var(--text-muted); transition: transform .15s; }
.qna-faq details[open] .qna-chev { transform: rotate(180deg); }
.qna-faq details[open] summary { padding-bottom: 8px; }
.qna-a { display: grid; gap: 14px; padding: 4px 12px 22px 68px; }
.qna-a p { margin: 0; font-size: var(--text-md); line-height: 1.75; color: var(--text-body); }
.qna-a p b, .qna-a li b { font-weight: 700; color: var(--text); }
.qna-a > p:first-child { font-weight: 600; color: var(--text); }   /* 첫 문단 = 한 줄 답 */
.qna-a-h { margin: 10px 0 -4px; font-size: var(--text-md); font-weight: 700; line-height: 1.5; color: var(--text); }
.qna-a-steps, .qna-a-dots { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px;
  font-size: var(--text-md); line-height: 1.7; color: var(--text-body); }
.qna-a-steps li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; }
.qna-a-n { width: 24px; height: 24px; margin-top: 2px; display: grid; place-items: center; border-radius: 50%;
  background: var(--primary); color: var(--text-on-primary); font-size: var(--text-sm); font-weight: 700; font-variant-numeric: tabular-nums; }
.qna-a-dots li { position: relative; padding-left: 18px; }
.qna-a-dots li::before { content: ''; position: absolute; left: 4px; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); }
.qna-a-fig { margin: 0; }
.qna-a-fig img { display: block; width: 100%; max-width: 880px; height: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: zoom-in; }
.qna-a-fig img:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.qna-a p.qna-a-note { font-size: var(--text-xs); line-height: 1.5; color: var(--text-muted); }   /* ※ 주석 */
.qna-a-fig + .qna-a-note { margin-top: -8px; }   /* 그림 바로 아래에 붙인다 */
.qna-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.qna-help { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-sm); color: var(--text-muted); }
.qna-help button { height: 32px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface);
  font: inherit; font-size: var(--text-sm); color: var(--text-body); cursor: pointer; }
.qna-help button:hover { border-color: var(--primary); color: var(--primary); }

/* 쪽 넘김 — 공용 .alc-pager(css/main-dashboard.css)를 이 화면 눈금(36)에 맞춘다 */
.qna .alc-pager { margin-top: auto; padding-top: 24px; }
.qna .alc-pager-btn { min-width: 36px; height: 36px; }

/* 상세 */
.qna-det { display: grid; gap: 24px; max-width: 760px; }
.qna-back { justify-self: start; margin-left: -4px; }
.qna-det header { display: grid; gap: 10px; }
.qna-det h2, .qna-done h2 { margin: 0; font-size: var(--qna-h-fs); line-height: 1.35; font-weight: 700; color: var(--text); text-wrap: balance; }
.qna-body-text { margin: 0; font-size: var(--text-md); line-height: 1.8; color: var(--text-body); }
.qna-sec { display: grid; gap: 10px; padding-top: 24px; border-top: 1px solid var(--border); }
.qna-sec h3 { display: flex; align-items: baseline; gap: 8px; margin: 0; font-size: var(--text-base); font-weight: 700; color: var(--text); }
.qna-sec h3 span { font-size: var(--text-sm); font-weight: 500; color: var(--text-muted); }
.qna-sec p { margin: 0; font-size: var(--text-md); line-height: 1.8; }
.qna-curious { justify-self: start; height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px;
  border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface); font: inherit; font-weight: 600; color: var(--text-body); cursor: pointer; }
.qna-curious b { color: var(--primary-dark); font-variant-numeric: tabular-nums; }
.qna-curious:hover { border-color: var(--primary); }
.qna-curious[aria-pressed="true"] { background: var(--primary-light); border-color: var(--primary-tint); color: var(--primary-dark); }
.qna-who { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 8px 16px; border-radius: var(--radius); background: var(--bg-subtle);
  font-size: var(--text-sm); color: var(--text-body); }
.qna-who b { font-size: var(--text-base); color: var(--text); }
.qna-who svg { color: var(--text-muted); }
.qna-thread { display: grid; gap: 14px; }
.qna-msg { max-width: 82%; display: grid; gap: 6px; }
.qna-msg small { font-size: var(--text-xs); color: var(--text-muted); }
.qna-msg.is-me { justify-self: end; justify-items: end; }
.qna-msg.is-op { justify-self: start; }
.qna-bub { padding: 12px 16px; border-radius: 16px; font-size: var(--text-md); line-height: 1.7; }
.qna-msg.is-me .qna-bub { background: var(--primary-light); color: var(--text); border-bottom-right-radius: 6px; }
.qna-msg.is-op .qna-bub { background: var(--bg-subtle); color: var(--text-body); border-bottom-left-radius: 6px; }
.qna-file { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: var(--text-sm); color: var(--text-body); text-decoration: none; }
.qna-file:hover { border-color: var(--primary); color: var(--primary); }
/* 이어서 묻기 = 문의 작성과 같은 글 상자(.qna-paper) — 붙여넣기·끌어 놓기·그림 미리보기 */
.qna-reply { display: grid; gap: 8px; }
.qna-paper.is-reply textarea { min-height: 64px; padding-top: 12px; }
.qna-paper.is-reply .qna-count { margin-left: auto; }
.qna-paper.is-reply .qna-btn { height: 36px; }
.qna-msg-img { display: block; max-width: min(320px, 100%); max-height: 240px; border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: zoom-in; }
.qna-msg-img:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* 작성 · 공개 설정 변경 (사용자 확정 시안 A) — 속성 줄 · 글 상자 하나 · 보내기 줄 */
.qna-form { display: grid; gap: 16px; }
.qna-whead { display: flex; align-items: center; gap: 4px; margin-left: -8px; }
.qna-whead h2 { margin: 0; font-size: var(--qna-sub-fs); font-weight: 700; color: var(--text); }
.qna-iconbtn { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: var(--radius-sm); background: none; color: var(--text-muted); cursor: pointer; }
.qna-iconbtn:hover { background: var(--surface-hover); color: var(--text); }
.qna-restored { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 8px 8px 8px 14px;
  border-radius: var(--radius-sm); background: var(--primary-light); font-size: var(--text-sm); color: var(--primary-dark); }
.qna-btn.is-sm { height: 32px; padding: 0 12px; font-size: var(--text-sm); }
.qna-btn.is-ghost { border-color: transparent; background: none; }
.qna-props { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.qna-prop { display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 52px; padding: 6px 0; }
.qna-prop + .qna-prop { border-top: 1px solid var(--border); }
.qna-prop > span { font-size: var(--text-base); font-weight: 600; color: var(--text-muted); }
.qna-pchips { display: flex; flex-wrap: wrap; gap: 8px; }
.qna-pchip { height: 36px; display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: 999px;
  background: var(--surface); font: inherit; font-size: var(--text-base); color: var(--text-body); white-space: nowrap; cursor: pointer; }
.qna-pchip svg { color: var(--text-muted); }
.qna-pchip:hover:not(:disabled) { border-color: var(--primary-tint); }
.qna-pchip[aria-checked="true"] { border-color: var(--primary); background: var(--primary-light); color: var(--primary-dark); font-weight: 700; }
.qna-pchip[aria-checked="true"] svg { color: var(--primary); }
.qna-pchip:disabled { opacity: .5; cursor: not-allowed; }
.qna-pchip:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.qna-paper { border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.qna-paper:focus-within { border-color: var(--primary); box-shadow: var(--shadow-focus); }
.qna-paper.is-drop { border-color: var(--primary); border-style: dashed; background: var(--primary-light); }
.qna-paper input[type="text"], .qna-paper textarea { display: block; width: 100%; border: 0; outline: none; background: none; font: inherit; color: var(--text); }
.qna-paper input[type="text"] { padding: 14px 16px 6px; font-size: var(--qna-title-fs); font-weight: 600; }
.qna-paper textarea { min-height: 150px; padding: 4px 16px 12px; font-size: var(--text-md); line-height: 1.75; resize: vertical; }
.qna-paper input[type="text"]::placeholder, .qna-paper textarea::placeholder { color: var(--text-muted); font-weight: 400; }
.qna-figs { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 16px 14px; }
.qna-fig { position: relative; margin: 0; }
.qna-fig img { display: block; max-width: 100%; max-height: 220px; border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: zoom-in; }
.qna-fig img:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.qna-fig figcaption { position: absolute; left: 8px; bottom: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(15, 23, 42, .72);
  font-size: var(--text-xs); font-weight: 600; color: #fff; }   /* [design-ok] 그림 위 꼬리표 — 그림 색과 상관없이 어두운 막 위 흰 글자(테마 무관) */
.qna-fig-x { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 50%;
  background: rgba(15, 23, 42, .72); font: inherit; font-size: var(--text-md); color: #fff; cursor: pointer; }   /* [design-ok] 그림 위 빼기 단추 — 위와 같은 이유 */
.qna-fig-x:hover { background: var(--danger); }
.qna-paper-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 6px 8px; border-top: 1px solid var(--border); background: var(--bg-subtle); }
.qna-attach { height: 36px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border: 0; border-radius: var(--radius-sm); background: none;
  font: inherit; font-size: var(--text-base); font-weight: 600; color: var(--text-muted); cursor: pointer; }
.qna-attach:hover:not(:disabled) { background: var(--surface); color: var(--primary-dark); }
.qna-attach:disabled { opacity: .5; cursor: default; }
.qna-saved { margin-left: auto; font-size: var(--text-xs); color: var(--text-muted); }
.qna-saved:empty { display: none; }
.qna-count { font-size: var(--text-xs); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.qna-saved:empty + .qna-count { margin-left: auto; }
.qna-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: -8px; font-size: var(--text-sm); color: var(--text-muted); }
.qna-suggest[hidden] { display: none; }
.qna-suggest .qna-link { min-height: 28px; font-size: var(--text-sm); }
.qna-atts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.qna-atts li { min-height: 44px; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto 32px; align-items: center; gap: 10px; padding: 0 6px 0 8px;
  border: 1px solid var(--border); border-radius: var(--radius-sm); }
.qna-att-th { width: 32px; height: 32px; display: grid; place-items: center; object-fit: cover; border: 1px solid var(--border); border-radius: var(--radius-xs);
  background: var(--bg-subtle); color: var(--text-muted); }
.qna-att-nm { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: var(--text-sm); color: var(--text); }
.qna-att-sz { font-size: var(--text-xs); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.qna-att-x { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: var(--radius-sm); background: none;
  font: inherit; font-size: var(--text-md); color: var(--text-muted); cursor: pointer; }
.qna-att-x:hover { background: var(--danger-light); color: var(--danger); }
.qna-err { margin: -4px 0 0; font-size: var(--text-sm); color: var(--danger); }
.qna-err:empty { display: none; }
.qna-send { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.qna-send-who { flex: 1; min-width: 0; display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-sm); color: var(--text-muted); }
.qna-send-who b { font-weight: 600; color: var(--text); }
.qna-zoom { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 24px; background: rgba(15, 23, 42, .8); cursor: zoom-out; }
.qna-zoom img { max-width: 100%; max-height: 100%; border-radius: var(--radius-sm); }
.qna-ic { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; }
.qna-done { margin: auto; padding: 64px 16px; display: grid; justify-items: center; gap: 10px; text-align: center; }
.qna-done .qna-ic { width: 56px; height: 56px; background: var(--success-light); color: var(--success-dark); }
.qna-done p { margin: 0 0 10px; color: var(--text-muted); }

/* 도움 서랍 아래 줄 — 묻고 답하기 두 단추 (js/help-drawer.js) */
.hd-qna { display: flex; gap: 8px; width: 100%; padding-top: 10px; margin-top: 4px; border-top: 1px dashed var(--border); }
.hd-qna[hidden] { display: none; }
.hd-qbtn {
  flex: 1; min-height: 40px; border: 1px solid var(--primary); border-radius: var(--radius-sm); background: var(--surface);
  color: var(--primary); font: inherit; font-size: var(--text-sm); font-weight: 700; cursor: pointer;
}
.hd-qbtn:hover { background: var(--primary-soft); }

/* 좁은 폭 — 분류는 옆으로 미는 버튼 줄, 「문의 작성」은 + 단추 */
@media (max-width: 960px) {
  .qna { padding: 12px 16px 40px; }
  .qna-head { padding: 0 16px; gap: 12px; }
  .qna-tabs { gap: 18px; overflow-x: auto; scrollbar-width: none; }
  .qna-tabs::-webkit-scrollbar { display: none; }
  .qna-write span { display: none; }
  .qna-write { width: 40px; padding: 0; }
  .qna-body, .qna-body.is-wide { grid-template-columns: minmax(0, 1fr); }
  .qna-rail { padding: 12px 16px 0; border-right: 0; overflow-x: auto; scrollbar-width: none; }
  .qna-rail::-webkit-scrollbar { display: none; }
  .qna-rail ul { display: flex; gap: 6px; }
  .qna-rail button { height: 36px; border: 1px solid var(--border-strong); border-radius: 999px; white-space: nowrap; }
  .qna-rail button[aria-current="true"] { border-color: var(--primary-tint); }
  .qna-pane { padding: 16px; }
  .qna-bar { flex-wrap: wrap; }
  .qna-search { width: 100%; }
  .qna-row { grid-template-columns: minmax(0, 1fr) auto; padding: 16px 4px; }
  .qna-no, .qna-cnt { display: none; }
  .qna-tt b { white-space: normal; font-size: var(--text-md); }
  .qna-faq summary { grid-template-columns: 24px minmax(0, 1fr) 20px; gap: 10px; padding: 16px 4px; }
  .qna-a { padding: 4px 4px 20px 38px; }
  .qna-prop { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 10px 0; }
  .qna-send-who { flex-basis: 100%; }
  .qna-msg { max-width: 92%; }
}
@media (prefers-reduced-motion: reduce) { .qna-chev { transition: none; } }
