/* SUB/table_total — 표 (2026-10-28)
   변수: --tb-fs/--tb-fw 내용 · --tb-thfs/--tb-thfw 제목칸 · --tb-py 칸 위아래 여백 · --tb-mo 모바일 비율(0.5~1)
   샘플: tb_pre_line(굵은 윗선+회색 제목) · tb_pre_box(칸 테두리) · tb_pre_dark(진한 제목줄) · tb_pre_simple(가로줄만) */
.table_total { width: 100%; float: left; }
.table_total .wg_side { width: 100%; float: left; position: relative; }
.table_total .sub_stit_box { width: 100%; float: left; margin-bottom: clamp(12px, calc(0.938vw + 9px), 24px); }
/* ★ 제목 줄 = [제목 | 설명 문구(오른쪽)] · 설명 문구 = 출처 등 짧은 글 (제목 오른쪽 / 표 아래 왼쪽 / 표 아래 오른쪽) */
.table_total .tb_head { width: 100%; float: left; display: flex; align-items: flex-end; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; }
.table_total .tb_head .sub_stit_box { flex: 1 1 auto; width: auto; min-width: 0; }
.table_total .tb_nslot_t { flex: 0 1 auto; margin-left: auto; margin-bottom: clamp(12px, calc(0.938vw + 9px), 24px); text-align: right; }
.table_total .tb_nslot_t:empty { display: none; }
.table_total .tb_nslot_b { width: 100%; float: left; display: flex; justify-content: flex-start; margin-top: 10px; }
.table_total .tb_nslot_b.tb_nslot_r { justify-content: flex-end; text-align: right; }
.table_total .tb_nslot_b:empty { display: none; }
.table_total .tb_note { font-size: 14px; line-height: 1.5; color: #666; word-break: keep-all; }
.table_total .tb_note.tb_note_off { display: none; }
.table_total .admin_div .tb_note.tb_note_off,
.table_total.admin_div .tb_note.tb_note_off { display: block; min-width: 120px; min-height: 1.5em; color: #94a3b8; outline: 1px dashed #cbd5e1; outline-offset: 2px; }
.table_total.admin_div .tb_note.tb_note_off:empty::before { content: '설명 문구 (비어 있음)'; font-size: 12px; }
@media screen and (max-width: 768px) {
  .table_total .tb_note { font-size: 13px; }
  .table_total .tb_nslot_t { margin-bottom: 8px; }
}
.table_total .tb_wrap { width: 100%; float: left; --tb-line: #e5e7eb; --tb-hbg: #f8f9fb; --tb-hc: #111; --tb-c: #333; }
.table_total .tb_scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table_total .tb_table { width: 100%; border-collapse: collapse; border-spacing: 0; table-layout: auto; }
.table_total .tb_table th,
.table_total .tb_table td { padding: var(--tb-py) clamp(8px, calc(0.625vw + 6px), 16px); vertical-align: middle; word-break: keep-all; line-height: 1.5; }
.table_total .tb_table td { font-size: var(--tb-fs); font-weight: var(--tb-fw); color: var(--tb-c); }
.table_total .tb_table th { font-size: var(--tb-thfs); font-weight: var(--tb-thfw); color: var(--tb-hc); background: var(--tb-hbg); }
/* ★1126 열 강조 (마우스 올림) — JS 가 같은 열 칸에 .tb_hlc (맨 위 _t · 맨 아래 _b)
   zoom = 칸마다 살짝 커짐(열 전체가 커져 보임) + 양옆·위아래 테두리 + 그림자 · tint = 크기 그대로 테두리 + 연한 배경
   배경 = 칸에 따로 넣은 색(인라인)은 그대로, 없으면 흰색 (커진 칸이 옆 칸 글자를 덮도록) */
.table_total .tb_wrap[data-hl="zoom"] .tb_table th,
.table_total .tb_wrap[data-hl="zoom"] .tb_table td,
.table_total .tb_wrap[data-hl="tint"] .tb_table th,
.table_total .tb_wrap[data-hl="tint"] .tb_table td { transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, background-color .3s ease; }
/* 위치 — 고정(sticky) 칸은 그대로 두고 나머지만 relative (z-index 가 먹게) */
.table_total .tb_wrap[data-hl] .tb_table .tb_hlc { z-index: 3; --tb-hlb: var(--tb-hlc, #111111); --tb-hls: 0 0 0 transparent, 0 0 0 transparent;
  box-shadow: inset 1.5px 0 0 var(--tb-hlb), inset -1.5px 0 0 var(--tb-hlb), var(--tb-hls); }
.table_total .tb_wrap[data-hl] .tb_table .tb_hlc:not(.tb_stt):not(.tb_stl) { position: relative; }
/* ★1126 칸 자체엔 맨 위·아래 가로 테두리를 안 그림 — 확대 카드는 위아래 띠(::before/::after)가 그림 */
/* 확대 카드 = 살짝 커짐 + 흰 바탕 + 양옆 그림자 */
.table_total .tb_wrap[data-hl="zoom"] .tb_table .tb_hlc { transform: scale(1.045);
  --tb-hls: -10px 0 16px -12px rgba(15, 23, 42, .35), 10px 0 16px -12px rgba(15, 23, 42, .35); }
.table_total .tb_wrap[data-hl="zoom"] .tb_table td.tb_hlc { background-color: #fff; }   /* 제목칸(th)은 샘플 제목 색 그대로 (진한 제목줄 글자가 안 사라지게) */
/* ★1126 확대 카드 — 칸 사이 가로 선: 표 선(공유 선)은 커진 칸 바탕에 덮이므로 칸 안쪽 "위"에 다시 그림
   (아래에 그리면 바로 아래 칸이 커지며 그 1px 를 덮어 안 보임 · 위는 뒤에 그려지는 자기 칸이라 안 덮임)
   내용 첫 줄 위 = 제목↔내용 선 색 · 나머지 = 표 선 색 */
.table_total .tb_wrap[data-hl="zoom"] .tb_table .tb_hlc:not(.tb_hlc_t) { --tb-hls: inset 0 1px 0 var(--tb-line, #e5e7eb), -10px 0 16px -12px rgba(15, 23, 42, .35), 10px 0 16px -12px rgba(15, 23, 42, .35); }
.table_total .tb_wrap[data-hl="zoom"] .tb_table thead + tbody > tr:first-child > .tb_hlc:not(.tb_hlc_t) { --tb-hls: inset 0 1px 0 var(--tb-lh, var(--tb-line, #999)), -10px 0 16px -12px rgba(15, 23, 42, .35), 10px 0 16px -12px rgba(15, 23, 42, .35); }
/* ★1126 확대 카드 — 위아래로도 튀어나옴: 맨 위 칸 위 · 맨 아래 칸 아래에 같은 바탕의 띠(--tb-hlx) + 테두리 (위·아래 테두리는 띠가 그림) */
.table_total .tb_wrap[data-hl="zoom"] { --tb-hlx: 14px; }
.table_total .tb_wrap[data-hl="zoom"] .tb_table .tb_hlc.tb_hlc_t { box-shadow: inset 1.5px 0 0 var(--tb-hlb), inset -1.5px 0 0 var(--tb-hlb), var(--tb-hls); }
.table_total .tb_wrap[data-hl="zoom"] .tb_table .tb_hlc.tb_hlc_b { box-shadow: inset 1.5px 0 0 var(--tb-hlb), inset -1.5px 0 0 var(--tb-hlb), var(--tb-hls); }
.table_total .tb_wrap[data-hl="zoom"] .tb_table .tb_hlc.tb_hlc_t.tb_hlc_b { box-shadow: inset 1.5px 0 0 var(--tb-hlb), inset -1.5px 0 0 var(--tb-hlb), var(--tb-hls); }
.table_total .tb_wrap[data-hl="zoom"] .tb_table .tb_hlc.tb_hlc_t::before,
.table_total .tb_wrap[data-hl="zoom"] .tb_table .tb_hlc.tb_hlc_b::after { content: ""; position: absolute; left: 0; right: 0; height: calc(var(--tb-hlx) + 3px); background: inherit; pointer-events: none; }
/* ★1126 띠를 칸 안쪽으로 3px 더 내려(올려) 겹침 → 표 맨 윗선·맨 아랫선이 카드 안에서는 안 보임 (카드가 표 위에 뜬 느낌) */
.table_total .tb_wrap[data-hl="zoom"] .tb_table td.tb_hlc.tb_hlc_t::before,
.table_total .tb_wrap[data-hl="zoom"] .tb_table td.tb_hlc.tb_hlc_b::after { background-color: #fff; }
.table_total .tb_wrap[data-hl="zoom"] .tb_table .tb_hlc.tb_hlc_t::before { bottom: calc(100% - 3px); border-radius: 10px 10px 0 0;
  box-shadow: inset 1.5px 0 0 var(--tb-hlb), inset -1.5px 0 0 var(--tb-hlb), inset 0 1.5px 0 var(--tb-hlb), 0 -8px 16px -12px rgba(15, 23, 42, .35); }
.table_total .tb_wrap[data-hl="zoom"] .tb_table .tb_hlc.tb_hlc_b::after { top: calc(100% - 3px); border-radius: 0 0 10px 10px;
  box-shadow: inset 1.5px 0 0 var(--tb-hlb), inset -1.5px 0 0 var(--tb-hlb), inset 0 -1.5px 0 var(--tb-hlb), 0 8px 16px -12px rgba(15, 23, 42, .35); }
/* 튀어나온 띠·양옆이 가로 스크롤 상자에 잘리지 않게 여유 (자리는 그대로 · 고정표 제외) */
@media (hover: hover) and (min-width: 769px) {   /* 마우스 있는 PC 만 (모바일 화면 가로 넘침 방지) */
  .table_total .tb_wrap[data-hl="zoom"]:not(.tb_fix) .tb_scroll { padding: calc(var(--tb-hlx) + 4px) 14px; margin: calc(-1 * (var(--tb-hlx) + 4px)) -14px; width: calc(100% + 28px); box-sizing: border-box; }
}
/* ★1126 테두리 · 배경만 = 표 위에 뜬 상자 하나(.tb_hlbox, JS 가 .tb_scroll 안에 만듦)가 마우스를 따라 옆 열로 미끄러짐
   표 내용·선보다 위층(z-index) · 클릭은 아래 칸이 받음 · 사방 테두리 + 아주 연한 바탕 + 그림자 (표 위에 뜬 느낌) */
.table_total .tb_wrap[data-hl="tint"] .tb_scroll { position: relative; }
.table_total .tb_hlbox { position: absolute; left: 0; top: 0; z-index: 8; width: 0; height: 0; box-sizing: border-box; pointer-events: none; opacity: 0;
  border: 2px solid var(--tb-hlc, #111111); border-radius: 6px; background: rgba(15, 23, 42, .035); box-shadow: 0 8px 22px -10px rgba(15, 23, 42, .28);
  transition: transform .42s cubic-bezier(.2, .8, .2, 1), width .42s cubic-bezier(.2, .8, .2, 1), height .42s cubic-bezier(.2, .8, .2, 1), opacity .25s ease; will-change: transform; }
.table_total .tb_hlbox.on { opacity: 1; }
.table_total .tb_hlbox.noanim { transition: opacity .25s ease; }
.table_total .tb_wrap:not([data-hl="tint"]) .tb_hlbox { display: none; }
@media (prefers-reduced-motion: reduce) { .table_total .tb_hlbox { transition: opacity .2s ease; } }
/* ★1126 모바일(768 이하) = 열 강조 없음 (확대·테두리·띠·상자 모두 끔 · JS 도 이 폭에선 안 켬) */
@media screen and (max-width: 768px) {
  .table_total .tb_wrap[data-hl] .tb_table .tb_hlc { transform: none !important; box-shadow: none !important; }
  .table_total .tb_wrap[data-hl] .tb_table .tb_hlc::before, .table_total .tb_wrap[data-hl] .tb_table .tb_hlc::after { display: none !important; }
  .table_total .tb_hlbox { display: none !important; }
}
@media (prefers-reduced-motion: reduce) { .table_total .tb_wrap[data-hl] .tb_table th, .table_total .tb_wrap[data-hl] .tb_table td { transition: none; } }
.table_total .tb_al_left .tb_table th, .table_total .tb_al_left .tb_table td { text-align: left; }
.table_total .tb_al_center .tb_table th, .table_total .tb_al_center .tb_table td { text-align: center; }
.table_total .tb_al_right .tb_table th, .table_total .tb_al_right .tb_table td { text-align: right; }
.table_total .tb_c { min-height: 1.5em; }
/* ★ 칸 안 글(.tb_c.wg_txtN)에 사이트 공통 글자 크기·두께가 걸려 표 설정을 덮던 문제 — 칸(td/th) 값을 그대로 따르게 */
.table_total .tb_wrap .tb_table td { font-size: var(--tb-fs) !important; font-weight: var(--tb-fw) !important; }
.table_total .tb_wrap .tb_table th { font-size: var(--tb-thfs) !important; font-weight: var(--tb-thfw) !important; }
.table_total .tb_wrap .tb_table .tb_c { font-size: inherit !important; font-weight: inherit !important; line-height: inherit; color: inherit; letter-spacing: inherit; }
.table_total .tb_c:empty::before { content: '\00a0'; }
/* 세로형 — 왼쪽 제목칸 폭 기본 25% (열 폭 설정이 있으면 그 값) */
.table_total .tb_type_v .tb_table tbody th { width: 25%; }

/* 샘플 1 — 굵은 윗선 + 회색 제목 + 연한 칸선 (기본) */
.table_total .tb_pre_line .tb_table { border-top: 2px solid var(--tb-lt, #333); }
.table_total .tb_pre_line .tb_table th,
.table_total .tb_pre_line .tb_table td { border: 1px solid var(--tb-line); }
.table_total .tb_pre_line .tb_table tr > :first-child { border-left: 0; }
.table_total .tb_pre_line .tb_table tr > :last-child { border-right: 0; }
.table_total .tb_pre_line .tb_table thead th { border-top: 0; }
/* ★ (2026-11-09) 병합 칸이 첫 열·마지막 열까지 닿을 때 — 덮인 칸이 줄 끝에 숨어 있어 :last-child 로는 못 잡음 */
.table_total .tb_pre_line .tb_table .tb_start { border-left: 0; }
.table_total .tb_pre_line .tb_table .tb_end { border-right: 0; }
.table_total .tb_pre_line.tb_type_v .tb_table tbody tr:first-child > * { border-top: 0; }

/* 샘플 2 — 칸마다 테두리 + 둥근 바깥 */
.table_total .tb_pre_box .tb_table { border: 1px solid var(--tb-lt, var(--tb-ll, #d1d5db)); border-radius: 10px; border-collapse: separate; overflow: hidden; }
.table_total .tb_pre_box .tb_table th,
.table_total .tb_pre_box .tb_table td { border-right: 1px solid var(--tb-ll, #d1d5db); border-bottom: 1px solid var(--tb-ll, #d1d5db); }
.table_total .tb_pre_box .tb_table tr > :last-child { border-right: 0; }
.table_total .tb_pre_box .tb_table tbody tr:last-child > * { border-bottom: 0; }
.table_total .tb_pre_box .tb_table .tb_end { border-right: 0; }
.table_total .tb_pre_box .tb_table tbody .tb_bot { border-bottom: 0; }
.table_total .tb_pre_box { --tb-hbg: #f1f5f9; }

/* 샘플 3 — 진한 제목줄 (메인컬러) + 줄무늬 */
.table_total .tb_pre_dark { --tb-hbg: var(--primary, #334155); --tb-hc: #fff; }
.table_total .tb_pre_dark .tb_table th,
.table_total .tb_pre_dark .tb_table td { border-bottom: 1px solid var(--tb-line); }
.table_total .tb_pre_dark .tb_table tbody tr:nth-child(even) td { background: #fafafa; }

/* 샘플 4 — 가로줄만 (배경 없음) */
.table_total .tb_pre_simple { --tb-hbg: transparent; }
.table_total .tb_pre_simple .tb_table th,
.table_total .tb_pre_simple .tb_table td { border-bottom: 1px solid var(--tb-line); }
.table_total .tb_pre_simple .tb_table thead th { border-bottom: 2px solid var(--tb-lh, #111); }
.table_total .tb_pre_simple.tb_type_v .tb_table tbody th { border-right: 2px solid var(--tb-lh, #111); }

/* ★ 가로 스크롤 화살표 — 밀 수 있는 쪽에만 반투명으로 (글씨를 가리지 않게 작고 흐리게, 누르면 그쪽으로 이동) */
.table_total .tb_sbox { position: relative; width: 100%; }
.table_total .tb_arr { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(15,23,42,.32); color: #fff; font-size: 22px; line-height: 1; display: none; align-items: center; justify-content: center; padding: 0; cursor: pointer; opacity: .8; -webkit-tap-highlight-color: transparent; backdrop-filter: blur(2px); }
.table_total .tb_arr:active { background: rgba(15,23,42,.55); }
.table_total .tb_arr_l { left: 4px; } .table_total .tb_arr_r { right: 4px; }
.table_total .tb_sbox.can-l .tb_arr_l, .table_total .tb_sbox.can-r .tb_arr_r { display: flex; }
.table_total .tb_scroll { scrollbar-width: thin; }

/* ★모바일 — 글자·여백을 비율로 줄이고, 표 폭(--tb-mw)이 100% 보다 크면 가로 스크롤 */
@media screen and (max-width: 768px) {
  .table_total .tb_table { min-width: var(--tb-mw, 100%); }
  .table_total .tb_table th,
  .table_total .tb_table td { padding: calc(var(--tb-py) * var(--tb-mo)) calc(10px * var(--tb-mo)); }
  .table_total .tb_wrap .tb_table td { font-size: calc(var(--tb-fs) * var(--tb-mo)) !important; }
  .table_total .tb_wrap .tb_table th { font-size: calc(var(--tb-thfs) * var(--tb-mo)) !important; }
}

/* ── 관리자 [표 설정] 버튼 + 설정창 ── */
.table_total .tb_set_bar { width: 100%; float: left; display: flex; justify-content: flex-end; margin-bottom: 6px; position: relative; z-index: 30; }
.table_total .tb_set_btn { position: relative; z-index: 30; height: 30px; padding: 0 12px; border: 0; border-radius: 6px; background: #0f766e; color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; box-shadow: 0 2px 6px rgba(15,118,110,.35); }
.table_total .tb_set_btn:hover { background: #115e59; }
.table_total .tb_set_bar { gap: 6px; }
.table_total .tb_mg_btn { position: relative; z-index: 30; height: 30px; padding: 0 12px; border: 1px solid #0f766e; border-radius: 6px; background: #fff; color: #0f766e; font-size: 12px; font-weight: 700; cursor: pointer; }
.table_total .tb_mg_btn:hover, .table_total .tb_mg_btn.on { background: #0f766e; color: #fff; }

/* ★ 웹접근성 버전 (2026-10-29) — tb_a11y
   글자 대비 4.5:1 이상(본문 #222·제목 #111 / 진한 제목줄 #1e293b 바탕 + 흰 글) · 글자 최소 15px(모바일 14px) · 줄 간격 1.6
   표 제목 caption(숨김이면 화면낭독기만) · 가로 스크롤 영역 키보드 포커스 표시 · 화살표 버튼 진하게 */
.table_total .tb_sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.table_total .tb_cap { caption-side: top; text-align: left; padding: 0 0 10px; font-size: 16px; font-weight: 700; color: #111; }
.table_total .tb_a11y { --tb-c: #222; --tb-hc: #111; --tb-line: #c4c8cf; }
.table_total .tb_a11y.tb_pre_line, .table_total .tb_a11y.tb_pre_box { --tb-hbg: #f1f3f5; }
.table_total .tb_a11y.tb_pre_dark { --tb-hbg: #1e293b; --tb-hc: #fff; }
.table_total .tb_a11y .tb_table th, .table_total .tb_a11y .tb_table td { line-height: 1.6; }
.table_total .tb_wrap.tb_a11y .tb_table td { font-size: max(15px, var(--tb-fs)) !important; }
.table_total .tb_wrap.tb_a11y .tb_table th { font-size: max(15px, var(--tb-thfs)) !important; }
.table_total .tb_a11y .tb_scroll:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 2px; }
.table_total .tb_a11y .tb_arr { background: rgba(15,23,42,.72); opacity: 1; }
.table_total .tb_a11y .tb_arr:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 2px; }
.table_total .tb_a11y ~ .tb_nslot .tb_note, .table_total .tb_a11y .tb_note { color: #4b5563; }
@media screen and (max-width: 768px) {
  .table_total .tb_wrap.tb_a11y .tb_table td { font-size: max(14px, calc(var(--tb-fs) * var(--tb-mo))) !important; }
  .table_total .tb_wrap.tb_a11y .tb_table th { font-size: max(14px, calc(var(--tb-thfs) * var(--tb-mo))) !important; }
}
/* 설정창 — 접근성 묶음 */
.tbset-a11y { padding: 10px 12px; border: 1px solid #bfdbfe; border-radius: 8px; background: #eff6ff; }
.tbset-a11y-go { height: 34px; padding: 0 14px; border: 0; border-radius: 7px; background: #1d4ed8; color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }
.tbset-a11y-go:hover { background: #1e40af; }
.tbset-a11y ul { margin: 6px 0 0; padding-left: 18px; font-size: 11px; color: #475569; line-height: 1.6; }
.tbset-a11y li.ok { color: #15803d; }

/* ★ 칸 병합 (2026-10-29) — 덮인 칸 숨김 · 병합 모드 선택 표시 · 떠 있는 병합 도구 */
.table_total .tb_table .tb_mg_x { display: none !important; }
.table_total .tb_mgmode .tb_table th, .table_total .tb_mgmode .tb_table td { cursor: cell; user-select: none; }
.table_total .tb_mgmode .tb_table th:hover, .table_total .tb_mgmode .tb_table td:hover { box-shadow: inset 0 0 0 2px #5eead4; }
.table_total .tb_table .tb_mg_sel { background-color: rgba(13,148,136,.16) !important; box-shadow: inset 0 0 0 2px #0d9488 !important; }
.table_total .tb_mgmode .tb_table { outline: 2px dashed #0d9488; outline-offset: 3px; }
.tbmg-bar { position: absolute; z-index: 10000005; display: flex; align-items: center; gap: 6px; padding: 6px 8px; background: #fff; border: 1px solid #99f6e4; border-radius: 10px; box-shadow: 0 8px 24px rgba(15,23,42,.18); font-size: 12px; color: #334155; white-space: nowrap; }
.tbmg-bar .tbmg-info { padding: 0 4px; font-weight: 600; color: #0f766e; }
.tbmg-bar .tbmg-msg { color: #0f766e; }
.tbmg-bar .tbmg-msg:empty { display: none; }
.tbmg-bar button { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 10px; border: 1px solid #cbd5e1; border-radius: 6px; background: #fff; color: #334155; font-size: 12px; font-weight: 600; cursor: pointer; }
.tbmg-bar button[data-mg="merge"] { background: #0f766e; border-color: #0f766e; color: #fff; }
.tbmg-bar button:disabled { opacity: .4; cursor: default; }
.tbmg-bar .tbmg-close { background: #e2e8f0; border-color: #e2e8f0; }
.tbset { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10000010; width: 640px; max-width: 96vw; max-height: 90vh; background: #fff; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.3); display: flex; flex-direction: column; overflow: hidden; font-size: 13px; color: #1e293b; }
.tbset-head { display: flex; align-items: center; gap: 8px; padding: 13px 16px; background: linear-gradient(135deg, #0f766e, #0d9488); color: #fff; cursor: move; user-select: none; }
.tbset-head b { font-size: 15px; }
.tbset-head small { opacity: .8; }
.tbset-x { margin-left: auto; width: 30px; height: 30px; border: 0; border-radius: 6px; background: rgba(255,255,255,.2); color: #fff; font-size: 20px; cursor: pointer; }
.tbset-body { flex: 1; overflow-y: auto; padding: 14px 16px; }
.tbset-sec { margin-bottom: 14px; }
.tbset-sec > label, .tbset-lb { display: block; font-size: 12px; font-weight: 700; color: #475569; margin-bottom: 6px; }
.tbset-pre { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tbset-pre button { padding: 8px 6px; border: 2px solid #e2e8f0; border-radius: 8px; background: #fff; cursor: pointer; font-size: 12px; font-weight: 600; color: #334155; }
.tbset-pre button.on { border-color: #0f766e; background: #f0fdfa; color: #0f766e; }
.tbset-pre i { display: block; height: 30px; margin-bottom: 6px; border-radius: 4px; }
.tbset-pre [data-v="line"] i { background: linear-gradient(#333 0 2px, #f8f9fb 2px 12px, #e5e7eb 12px 13px, #fff 13px 21px, #e5e7eb 21px 22px, #fff 22px); }
.tbset-pre [data-v="box"] i { border: 1px solid #94a3b8; background: linear-gradient(#f1f5f9 0 10px, #94a3b8 10px 11px, #fff 11px 20px, #94a3b8 20px 21px, #fff 21px); }
.tbset-pre [data-v="dark"] i { background: linear-gradient(#334155 0 10px, #fff 10px 19px, #fafafa 19px 28px, #fff 28px); }
.tbset-pre [data-v="simple"] i { background: linear-gradient(#fff 0 9px, #111 9px 11px, #fff 11px 19px, #e5e7eb 19px 20px, #fff 20px); }
.tbset-seg { display: inline-flex; border: 1px solid #cbd5e1; border-radius: 7px; overflow: hidden; }
.tbset-seg button { padding: 6px 12px; border: 0; border-right: 1px solid #cbd5e1; background: #fff; cursor: pointer; font-size: 12px; color: #334155; }
.tbset-seg button:last-child { border-right: 0; }
.tbset-seg button.on { background: #0f766e; color: #fff; }
.tbset-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tbset-row + .tbset-row { margin-top: 8px; }
.tbset-row > span { min-width: 64px; font-size: 12px; color: #475569; }
/* 사이트 공통 input/select 폭(100%)을 이기도록 .tbset 로 한 번 더 감쌈 */
.tbset .tbset-num { width: 70px !important; flex: 0 0 70px; height: 30px; padding: 0 6px; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 13px; box-sizing: border-box; margin: 0; }
.tbset .tbset-sel { width: auto !important; flex: 0 0 auto; height: 30px; padding: 0 6px; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 12px; margin: 0; }
.tbset .tbset-row { flex-wrap: nowrap; }
.tbset .tbset-row > span { flex: 0 0 auto; }
.tbset .tbset-col select { width: auto !important; }
.tbset .tbset-col input { width: 52px !important; margin: 0; }
.tbset .tbset-range { width: 140px !important; flex: 0 0 140px; margin: 0; }
.tbset-foot .tbset-json { height: 34px; padding: 0 12px; border: 1px solid #99f6e4; border-radius: 7px; background: #f0fdfa; color: #0f766e; font-size: 12px; font-weight: 600; cursor: pointer; }
.tbset-foot .tbset-json:hover { background: #ccfbf1; }
.tbset-range { width: 140px; accent-color: #0f766e; }
.tbset-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px; }
.tbset-col { display: flex; align-items: center; gap: 4px; padding: 6px 8px; border: 1px solid #e2e8f0; border-radius: 7px; background: #f8fafc; font-size: 12px; }
.tbset-col b { min-width: 30px; color: #0f766e; }
.tbset-col select { flex: 1 1 auto; min-width: 0; height: 28px; border: 1px solid #cbd5e1; border-radius: 5px; font-size: 12px; }
.tbset-col input { flex: 0 0 52px; width: 52px; height: 28px; padding: 0 6px; border: 1px solid #cbd5e1; border-radius: 5px; font-size: 13px; text-align: right; -moz-appearance: textfield; }
.tbset-col input::-webkit-outer-spin-button, .tbset-col input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.table_total .tb_table .tb_new { outline: 1px dashed #5eead4; outline-offset: -3px; }
.tbset-hint { font-size: 11px; color: #94a3b8; margin-top: 4px; line-height: 1.5; }
.tbset-foot { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid #e2e8f0; background: #f8fafc; }
.tbset-foot .msg { margin-right: auto; font-size: 12px; color: #0f766e; }
.tbset-foot button { height: 34px; padding: 0 18px; border: 0; border-radius: 7px; cursor: pointer; font-size: 13px; font-weight: 600; }
.tbset-cancel { background: #e2e8f0; color: #334155; }
.tbset-save { background: #0f766e; color: #fff; }
@media (max-width: 640px) { .tbset-pre { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ★ 열 색 · 칸 배경 (2026-11-09) — 설정창 열마다 배경/글자 색 · 표에서 Ctrl+클릭 칸 배경 팔레트 */
.tbset-col { flex-wrap: wrap; }
.tbset-col .tbset-clrs { flex: 1 0 100%; display: flex; gap: 10px; align-items: center; padding-top: 4px; color: #64748b; font-size: 11px; }
.tbset-clr { display: inline-flex; align-items: center; gap: 3px; }
.tbset .tbset-col .tbset-clr input[type="color"] { flex: 0 0 26px; width: 26px !important; height: 22px; padding: 0; border: 1px solid #cbd5e1; border-radius: 4px; background: #fff; cursor: pointer; }
.tbset-clr.is-empty input[type="color"] { opacity: .35; }
.tbset-cx { width: 16px; height: 16px; padding: 0; border: 0; background: none; color: #94a3b8; font-size: 14px; line-height: 1; cursor: pointer; }
.tbset-cx:hover { color: #ef4444; }
.tbset-clr.is-empty .tbset-cx { visibility: hidden; }
.tbset-cbinfo { color: #0f766e; font-weight: 600; }
.tbset-cbclear { margin-left: 6px; height: 22px; padding: 0 8px; border: 1px solid #fca5a5; border-radius: 5px; background: #fff; color: #dc2626; font-size: 11px; cursor: pointer; }

.table_total .tb_table .tb_cb_on { box-shadow: inset 0 0 0 2px #f59e0b !important; }
.tbcb-pop { position: absolute; z-index: 10000006; width: 260px; padding: 10px; background: #fff; border: 1px solid #fcd34d; border-radius: 10px; box-shadow: 0 8px 24px rgba(15,23,42,.18); font-size: 12px; color: #334155; }
.tbcb-head { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.tbcb-head span { color: #94a3b8; font-size: 11px; }
.tbcb-x { margin-left: auto; width: 22px; height: 22px; padding: 0; border: 0; background: none; font-size: 18px; line-height: 1; color: #94a3b8; cursor: pointer; }
.tbcb-sws { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 8px; }
.tbcb-sw { height: 26px; padding: 0; border: 1px solid rgba(0,0,0,.12); border-radius: 6px; cursor: pointer; }
.tbcb-sw:hover { transform: scale(1.06); }
.tbcb-sw.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0f766e; }
.tbcb-row { display: flex; align-items: center; gap: 8px; }
.tbcb-row label { display: inline-flex; align-items: center; gap: 4px; }
.tbcb-pick { width: 32px; height: 24px; padding: 0; border: 1px solid #cbd5e1; border-radius: 4px; background: #fff; cursor: pointer; }
.tbcb-clear { height: 26px; padding: 0 10px; border: 1px solid #cbd5e1; border-radius: 6px; background: #fff; color: #334155; font-size: 12px; cursor: pointer; }
.tbcb-msg { color: #0f766e; font-size: 11px; }
.tbcb-tip { margin-top: 6px; color: #94a3b8; font-size: 11px; }


/* ★ 선 색 · 합계 줄 (2026-11-09) — --tb-lt 맨 윗선 · --tb-lh 제목↔내용 사이 · --tb-ll(=--tb-line) 나머지 · --tb-ftbg 합계 배경
   값을 안 정하면 샘플 색 그대로 */
.table_total .tb_pre_line .tb_table thead tr:last-child > th,
.table_total .tb_pre_box .tb_table thead tr:last-child > th,
.table_total .tb_pre_dark .tb_table thead tr:last-child > th { border-bottom-color: var(--tb-lh, var(--tb-line)); }
.table_total .tb_pre_box .tb_table thead tr:last-child > th { border-bottom-color: var(--tb-lh, var(--tb-ll, #d1d5db)); }
.table_total .tb_pre_line.tb_type_v .tb_table tbody th[data-col="1"],
.table_total .tb_pre_line.tb_type_x .tb_table tbody th { border-right-color: var(--tb-lh, var(--tb-line)); }
.table_total .tb_pre_simple.tb_type_x .tb_table tbody th { border-right: 2px solid var(--tb-lh, #111); }
.table_total .tb_pre_dark .tb_table, .table_total .tb_pre_simple .tb_table { border-top: var(--tb-ltw, 0) solid var(--tb-lt, transparent); }
/* 합계 줄 (tfoot) — 위 굵은 선 + 배경 + 굵은 글씨 */
.table_total .tb_table tfoot th,
.table_total .tb_table tfoot td { background: var(--tb-ftbg, #f8fafc); }
.table_total .tb_wrap .tb_table tfoot td { font-weight: 700 !important; color: var(--tb-ftc, #111); }
/* ★ (2026-11-10) 합계 줄 글자색 = 제목칸 글자색(--tb-hc)과 분리 — 진한 제목줄(흰 글씨)이면 밝은 합계 줄 배경에 글씨가 안 보이던 것 */
.table_total .tb_wrap .tb_table tfoot th { color: var(--tb-ftc, #111); }
.table_total .tb_table tfoot tr:first-child > * { border-top: 2px solid var(--tb-lt, #555) !important; }
.table_total .tb_pre_dark .tb_table tfoot tr:first-child > * { border-top-color: var(--tb-lt, var(--primary, #334155)) !important; }
.table_total .tb_pre_box .tb_table tbody tr:last-child > * { border-bottom: 0; }
.table_total .tb_pre_box .tb_table tfoot tr:last-child > * { border-bottom: 0; }

/* ★ 고정표 세트 SUB/table_fix (2026-11-09) — 위 N 줄·왼쪽 N 칸 고정 (position: sticky, top/left 는 JS 가 칸 크기를 재서 넣음)
   표 높이(--tb-sh PC · --tb-shm 모바일)를 정하면 그 안에서 세로 스크롤 · PC 최소 폭(--tb-pw)·모바일 표 폭이 넘치면 가로 스크롤 */
.table_total .tb_fix .tb_scroll { overflow: auto; }
.table_total .tb_fix_t .tb_scroll { max-height: var(--tb-sh, 70vh); }   /* 위 고정인데 높이 0 이면 화면 높이 70% (세로 스크롤이 있어야 붙음) */
@media screen and (min-width: 769px) { .table_total .tb_fix .tb_table { min-width: var(--tb-pw, 100%); } }
@media screen and (max-width: 768px) { .table_total .tb_fix_t .tb_scroll { max-height: var(--tb-shm, 60vh); } }   /* 모바일 높이 0 이면 화면 60% */
.table_total .tb_fix .tb_table { border-collapse: separate; border-spacing: 0; }
.table_total .tb_fix .tb_table .tb_stt,
.table_total .tb_fix .tb_table .tb_stl { position: sticky; background-clip: padding-box; }
.table_total .tb_fix .tb_table .tb_stt { z-index: 3; }
.table_total .tb_fix .tb_table .tb_stl { z-index: 2; }
.table_total .tb_fix .tb_table .tb_stt.tb_stl { z-index: 4; }
.table_total .tb_fix .tb_table td.tb_stl { background-color: #fff; }
.table_total .tb_fix .tb_table tfoot td.tb_stl { background-color: var(--tb-ftbg, #f8fafc); }
.table_total .tb_fix .tb_table .tb_stt_last { box-shadow: inset 0 -1px 0 var(--tb-lh, var(--tb-line)), 0 4px 6px -4px rgba(15,23,42,.18); }
.table_total .tb_fix .tb_table .tb_stl_last { box-shadow: inset -1px 0 0 var(--tb-lh, var(--tb-line)), 4px 0 6px -4px rgba(15,23,42,.18); }
.table_total .tb_fix .tb_table .tb_stt_last.tb_stl_last { box-shadow: inset -1px -1px 0 var(--tb-lh, var(--tb-line)); }
.table_total .tb_fix.tb_pre_simple { --tb-hbg: #fff; }
/* 칸을 따로 그리는 표(separate)라 겹선이 안 생기게 — 샘플별 선 다시 그림 */
.table_total .tb_fix.tb_pre_line .tb_table { border-top: 0; }
.table_total .tb_fix.tb_pre_line .tb_table th,
.table_total .tb_fix.tb_pre_line .tb_table td { border-width: 0 1px 1px 0; border-style: solid; border-color: var(--tb-line); }
.table_total .tb_fix.tb_pre_line .tb_table .tb_end { border-right-width: 0; }
.table_total .tb_fix.tb_pre_line .tb_table .tb_top { border-top: 2px solid var(--tb-lt, #333); }
.table_total .tb_fix.tb_pre_line .tb_table thead tr:last-child > th { border-bottom-color: var(--tb-lh, var(--tb-line)); }
.table_total .tb_fix.tb_pre_box .tb_table { border: 0; border-radius: 0; overflow: visible; }
.table_total .tb_fix.tb_pre_box .tb_scroll { border: 1px solid var(--tb-lt, var(--tb-ll, #d1d5db)); border-radius: 10px; }
.table_total .tb_fix .tb_scroll:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 2px; }
.table_total.table_fix .tb_scroll { scrollbar-width: thin; }
/* 합친 선(collapse) 표는 제목줄 아랫선과 첫 내용 줄 윗선이 겹침 → 양쪽 다 제목 사이 선 색 */
.table_total .tb_pre_line .tb_table thead + tbody > tr:first-child > *,
.table_total .tb_pre_dark .tb_table thead + tbody > tr:first-child > * { border-top-color: var(--tb-lh, var(--tb-line)); }
/* 고정표 PC — 스크롤바가 보이므로 좌우 화살표(고정 칸을 가림) 숨김 · 모바일은 그대로 */
@media screen and (min-width: 769px) { .table_total .tb_fix .tb_arr { display: none !important; } }
/* 설정창 [전체 붙여넣기] — 내용까지 바뀌는 버튼이라 주황 테두리로 구분 */
.tbset .tbset-json.tbset-json-full { border-color: #fdba74; color: #c2410c; background: #fff7ed; }

/* ★ (2026-11-23) 양옆 선 — 넣기(1)는 스크롤 틀 양옆에 선(테두리 샘플은 원래 있음) · 빼기(0)는 테두리 샘플의 양옆 선을 뺌 */
.table_total .tb_side_1:not(.tb_pre_box) .tb_scroll { border-left: 1px solid var(--tb-line, #e5e7eb); border-right: 1px solid var(--tb-line, #e5e7eb); }
.table_total .tb_side_0.tb_pre_box .tb_table { border-left: 0; border-right: 0; border-radius: 0; }
.table_total .tb_side_0.tb_fix.tb_pre_box .tb_scroll { border-left: 0; border-right: 0; border-radius: 0; }
/* 표 위 제목 빈 자리 (편집 권한자만 · Shift+클릭 입력) */
.table_total .tb_head .tb_tph { display: block; margin-bottom: 6px; padding: 6px 10px; border: 1px dashed #cbd5e1; border-radius: 6px; color: #94a3b8; font-size: 13px; font-weight: 400; cursor: pointer; }

/* 설정창 구역 — 구역 사이 가로선 · 구역 제목 크게 */
.tbset { width: 720px; }
.tbset .tbset-sec { margin-bottom: 0; padding: 16px 0; }
.tbset .tbset-sec + .tbset-sec { border-top: 1px solid #e2e8f0; }
.tbset .tbset-sec:first-child { padding-top: 2px; }
.tbset .tbset-lb { font-size: 15px; font-weight: 700; color: #0f172a; margin-bottom: 12px; }
/* 설정창 아래 버튼 — 디자인 | 전체 | 구버전 묶음 사이 세로선 · 넘치면 [취소][저장] 은 다음 줄 오른쪽 */
.tbset .tbset-foot { flex-wrap: wrap; }
.tbset .tbset-foot .tbset-json { padding: 0 10px; }
.tbset .tbset-foot .tbset-cancel { margin-left: auto; }
.tbset .tbset-fg { display: inline-flex; gap: 6px; }
.tbset .tbset-fsep { display: inline-block; width: 1px; height: 22px; background: #cbd5e1; }
.tbset .tbset-json.tbset-json-old { border-color: #c7c9e0; color: #3b3d72; background: #f4f4fa; }
.tbset .tbset-json.tbset-json-old:hover { background: #e8e8f3; }
/* 설정창 — 표 위 제목 자리 켜기 버튼 */
.tbset .tbset-tts { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.tbset .tbset-tt { padding: 6px 12px; border: 1px solid #cbd5e1; border-radius: 6px; background: #fff; color: #334155; font-size: 12px; cursor: pointer; }
.tbset .tbset-tt.on { border-color: #0f766e; background: #0f766e; color: #fff; }

/* 설정창 위 탭 — [표 설정] · [엑셀 · 구버전 가져오기] */
.tbset-tabs { display: flex; padding: 0 16px; border-bottom: 1px solid #e2e8f0; background: #fff; flex-shrink: 0; }
.tbset-tab { padding: 12px 14px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; font-size: 14px; font-weight: 600; color: #64748b; cursor: pointer; }
.tbset-tab:hover { color: #0f172a; }
.tbset-tab.on { color: #0f766e; border-bottom-color: #0f766e; }
.tbset-imp { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.tbold.tbold-in { position: static; transform: none; width: auto; max-width: none; max-height: none; flex: 1; min-height: 0; border-radius: 0; box-shadow: none; }
.tbold.tbold-in .tbold-head { display: none; }
.tbold.tbold-in .tbold-body { flex: 1; min-height: 0; }
.tbold.tbold-in .tbold-ta { height: 220px; }

/* 줄 추가·삭제 [+][−] — 관리자가 줄에 마우스를 올리면 표 오른쪽 끝 */
.tb_rowop { position: fixed; z-index: 2147483000; display: flex; gap: 4px; }
.tb_rowop button { width: 26px; height: 26px; padding: 0; border: 1px solid #cbd5e1; border-radius: 50%; background: #fff; color: #3b3d72; font-size: 16px; font-weight: 700; line-height: 1; cursor: pointer; box-shadow: 0 2px 6px rgba(15,23,42,.12); }
.tb_rowop button:hover { background: #3b3d72; border-color: #3b3d72; color: #fff; }
.tb_rowop button[data-op="del"]:hover { background: #b91c1c; border-color: #b91c1c; }

/* 줄 추가·삭제 — 저장 전 새 줄 표시 · 아래 저장 막대 */
.table_total .tb_table tr.tb_row_new > * { background-color: #f4f4fa !important; box-shadow: inset 0 0 0 1px #c7c9e0; }
.tb_pend { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 2147483000; display: flex; align-items: center; gap: 8px; padding: 10px 12px 10px 18px; border-radius: 12px; background: #1e293b; color: #fff; font-size: 13px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.tb_pend_t { margin-right: 6px; }
.tb_pend button { height: 32px; padding: 0 14px; border: 0; border-radius: 7px; font-size: 13px; font-weight: 600; cursor: pointer; }
.tb_pend_undo { background: #475569; color: #fff; }
.tb_pend_save { background: #3b3d72; color: #fff; }
.tb_pend_save:disabled { opacity: .6; cursor: default; }

/* [구버전 표 넣기] 창 — 설정창 위에 뜸 · 헤더 끌어 옮기기 · 딤 없음 */
.tbold { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10000020; width: 600px; max-width: 94vw; max-height: 86vh; background: #fff; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.35); display: flex; flex-direction: column; overflow: hidden; font-size: 13px; color: #1e293b; }
.tbold-head { display: flex; align-items: center; gap: 8px; padding: 13px 16px; background: #3b3d72; color: #fff; cursor: move; user-select: none; }
.tbold-head b { font-size: 15px; }
.tbold-head small { opacity: .8; }
.tbold-x { margin-left: auto; width: 28px; height: 28px; border: 0; border-radius: 6px; background: rgba(255,255,255,.15); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.tbold-body { padding: 14px 16px; overflow: auto; display: flex; flex-direction: column; gap: 10px; }
.tbold-hint { font-size: 12px; line-height: 1.6; color: #64748b; }
.tbold-ta { width: 100%; height: 150px; padding: 10px; border: 1px solid #cbd5e1; border-radius: 8px; font: 12px/1.5 Consolas, monospace; resize: vertical; box-sizing: border-box; }
.tbold-ta:focus { outline: 2px solid #3b3d72; outline-offset: 0; border-color: #3b3d72; }
.tbold-pick { display: flex; align-items: center; gap: 8px; }
.tbold-pick span { font-weight: 600; }
.tbold-sel { flex: 1; min-width: 0; height: 32px; padding: 0 8px; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 13px; }
.tbold-pv dl { display: grid; grid-template-columns: 70px 1fr; gap: 4px 10px; margin: 0 0 8px; }
.tbold-pv dt { color: #64748b; }
.tbold-pv dd { margin: 0; font-weight: 600; }
.tbold-tw { overflow: auto; border: 1px solid #e2e8f0; border-radius: 6px; }
.tbold-tw table { width: 100%; border-collapse: collapse; font-size: 12px; }
.tbold-tw th, .tbold-tw td { padding: 5px 8px; border: 1px solid #e2e8f0; text-align: center; vertical-align: middle; }
.tbold-tw th { background: #f1f5f9; font-weight: 600; }
.tbold-more { margin: 4px 0 0; font-size: 12px; color: #94a3b8; }
.tbold-err { margin: 0; padding: 8px 10px; border-radius: 6px; background: #fef2f2; color: #b91c1c; font-size: 12px; }
.tbold-tit { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border: 1px solid #e2e8f0; border-radius: 6px; background: #f8fafc; cursor: pointer; }
.tbold-tit small { color: #94a3b8; }
.tbold-foot { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid #e2e8f0; background: #f8fafc; }
.tbold-warn { margin-right: auto; font-size: 12px; color: #b45309; }
.tbold-foot button { height: 34px; padding: 0 16px; border: 0; border-radius: 7px; font-size: 13px; font-weight: 600; cursor: pointer; }
.tbold-cancel { background: #e2e8f0; color: #334155; }
.tbold-go { background: #3b3d72; color: #fff; }
.tbold-go:disabled { background: #cbd5e1; cursor: default; }

/* ★ (2026-11-26) 범례 — 표 바로 아래 · 색 상자 + 이름 (@tb_lg · 자리 @tb_lgp: 왼쪽 기본 / tb_lgslot_r 오른쪽) */
.table_total .tb_lgslot { width: 100%; float: left; display: flex; justify-content: flex-start; margin-top: 18px; }
.table_total .tb_lgslot.tb_lgslot_r { justify-content: flex-end; }
.table_total .tb_lgslot.tb_lg_off { display: none; }
.table_total .tb_lgd { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin: 0; padding: 0; list-style: none; color: #6b7280; font-size: 14px; line-height: 1.4; }
.table_total .tb_lgd li { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.table_total .tb_lgd i { display: inline-block; width: 34px; height: 22px; border: 1px solid rgba(0, 0, 0, .06); flex: 0 0 auto; }
.table_total .tb_lgslot + .tb_nslot_b { margin-top: 10px; }
@media (max-width: 767px) {
  .table_total .tb_lgd { gap: 6px 18px; font-size: 13px; }
  .table_total .tb_lgd i { width: 26px; height: 17px; }
}
/* 설정 창 범례 줄 */
.tbset .tbset-lgrow { gap: 8px; }
.tbset .tbset-lgc { width: 38px; height: 30px; padding: 0; border: 1px solid #cbd5e1; border-radius: 6px; background: #fff; cursor: pointer; flex: 0 0 auto; }
.tbset .tbset-lgdel { width: 30px; height: 30px; border: 1px solid #e5e7eb; border-radius: 6px; background: #fff; color: #6b7280; font-size: 16px; cursor: pointer; flex: 0 0 auto; }
.tbset .tbset-lgadd { height: 30px; padding: 0 12px; border: 1px dashed #94a3b8; border-radius: 6px; background: #fff; color: #334155; font-size: 12.5px; cursor: pointer; margin-right: 10px; }
