/* ⓘ 용어 풀이 아이콘과 전역 말풍선(#gtip) — 모두의알바 패턴 이식, 강한 토큰 색 */
/* 긴 용어는 줄바꿈 허용(모바일 가로 넘침 방지) */
.term{white-space:normal}
.tip{position:relative;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin-left:4px;border-radius:50%;background:#EEF3FB;border:1px solid #BCC7D8;color:#3D4552;font-size:12px;line-height:1;cursor:pointer;vertical-align:middle;font-weight:400;transition:background .12s,color .12s,border-color .12s;-webkit-tap-highlight-color:transparent}
.tip::after{content:"";position:absolute;inset:-13px}
.tip:hover,.tip:focus-visible{background:#1D4ED8;border-color:#1D4ED8;color:#fff;outline:none}
#gtip{position:fixed;left:0;top:0;z-index:1000;max-width:min(280px,calc(100vw - 24px));background:#16223D;color:#fff;padding:9px 12px;border-radius:9px;font-size:13px;font-weight:400;line-height:1.55;box-shadow:0 8px 24px rgba(15,23,42,.28);display:none;pointer-events:none;white-space:normal;word-break:keep-all;text-align:left}
#gtip.on{display:block}
@media print{#gtip,.tip{display:none!important}}
/* 쉬운 용어 사전 말풍선(R64) — 링크 누를 수 있게, 닫기 버튼, 화면 안 */
#gtip.rich{pointer-events:auto;max-width:min(340px,calc(100vw - 24px));max-height:min(70vh,420px);overflow:auto;padding:12px 34px 12px 14px}
#gtip.rich p{margin:6px 0 0}#gtip .gtip-t{display:block;font-size:14px}#gtip .gtip-k{display:inline-block;font-size:11.5px;font-weight:700;color:#C9D6EE;margin-right:2px}
#gtip.rich a{color:#fff;text-decoration:underline;word-break:keep-all}#gtip .gtip-m{color:#FFE2B8}
#gtip .gtip-x{position:absolute;top:4px;right:4px;width:30px;height:30px;border:0;border-radius:8px;background:transparent;color:#fff;font-size:20px;line-height:1;cursor:pointer}
#gtip .gtip-x:hover,#gtip .gtip-x:focus-visible{background:rgba(255,255,255,.16);outline:none}
/* 금액 한글 읽기·혼동 경고(kfield.js) */
.kf-read{display:block;margin:4px 0 0;font-size:13px;color:#3D4552;min-height:0}.kf-read:empty{display:none}
.kf-warn{display:block;margin:4px 0 0;padding:6px 10px;border-radius:8px;background:#FFF4E5;color:#8A4B00;font-size:13px}.kf-warn:empty{display:none}
.kf-trades{display:block;margin:8px 0 0;font-size:13.5px;color:#3D4552}.kf-trades ul{list-style:none;margin:6px 0;padding:0}
.kf-trades li{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;padding:6px 0;border-bottom:1px dotted #C7CFDC}.kf-trades li span{flex:1 1 200px;min-width:0}.kf-trades li b{white-space:nowrap}
.kf-trades .kf-tr-pick{font:inherit;font-size:13px;min-height:36px;padding:4px 10px;border:1px solid #1F3A68;border-radius:8px;background:#fff;color:#1F3A68;cursor:pointer;white-space:nowrap}
.kf-trades .kf-tr-h,.kf-trades .kf-tr-n{margin:4px 0}.kf-trades .kf-tr-n{font-size:12.5px;color:#5A6472}
.kf-trades .kf-tr-k{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0}.kf-trades .kf-tr-kind{font:inherit;font-size:13px;min-height:36px;padding:4px 12px;border:1px solid #C7CFDC;border-radius:999px;background:#fff;color:#3D4552;cursor:pointer}.kf-trades .kf-tr-kind[aria-pressed=true]{border-color:#1F3A68;background:#1F3A68;color:#fff}
