* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font: 14px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
.boot { height: 100vh; display: grid; place-items: center; font-weight: 800; letter-spacing: .08em; color: var(--navy-600); }

/* Shell */
.shell { display: grid; grid-template-columns: var(--side-w) 1fr; height: 100vh; }
.side { background: var(--grad-side); color: #c7d2fe; display: flex; flex-direction: column; align-items: stretch; padding: 12px 8px; gap: 4px; position: relative; overflow: hidden; }
.side::before { content: ''; position: absolute; inset: -80px -40px auto; height: 220px; background: radial-gradient(closest-side, rgba(34,211,238,.25), transparent); pointer-events: none; }
.logo { width: 44px; height: 44px; margin: 2px auto 12px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 900; display: grid; place-items: center; font-size: 13px; box-shadow: 0 6px 18px rgba(6,182,212,.35); }
.nav { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 12px; cursor: pointer; font-size: 11.5px; font-weight: 600; color: #c7d2fe; text-decoration: none; position: relative; transition: background var(--t) var(--ease), color var(--t); user-select: none; }
.nav svg { width: 20px; height: 20px; }
.nav:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav.on { background: linear-gradient(135deg, rgba(37,99,235,.55), rgba(6,182,212,.35)); color: #fff; box-shadow: 0 6px 16px rgba(6,182,212,.18), inset 0 0 0 1px rgba(255,255,255,.12); }
.nav.on::before { content: ''; position: absolute; left: -8px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--cyan-300); box-shadow: 0 0 10px var(--cyan-400); }
.nav .bd { position: absolute; top: 2px; right: 6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: linear-gradient(135deg,#f43f5e,#dc2626); color: #fff; font-size: 10px; line-height: 16px; text-align: center; }
.side .sp { flex: 1; }
.main { display: flex; flex-direction: column; min-width: 0; }
.top { height: var(--top-h); display: flex; align-items: center; gap: 10px; padding: 0 18px; background: rgba(255,255,255,.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.top::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(37,99,235,.35), rgba(6,182,212,.35), transparent); }
.search { flex: 0 1 420px; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); color: var(--mute); }
.search input { border: 0; outline: 0; background: transparent; flex: 1; color: var(--text); }
.top .grow { flex: 1; }
.me { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text-2); }
.av { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 12px; }
.page { flex: 1; min-height: 0; overflow: auto; padding: 18px 22px 24px; }
.page.fill { display: flex; flex-direction: column; overflow: hidden; }

/* Typography & atoms */
.h1 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 0; background: linear-gradient(90deg, var(--navy-600), var(--blue-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { color: var(--mute); font-size: 13px; margin: 2px 0 0; }
.btn { height: 34px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-weight: 600; cursor: pointer; transition: border-color var(--t), box-shadow var(--t), transform 60ms; white-space: nowrap; }
.btn:hover { border-color: #bcd0ff; box-shadow: 0 4px 12px rgba(37,99,235,.10); }
.btn:active { transform: translateY(1px); }
.btn.pri { border: 0; background: var(--grad); color: #fff; box-shadow: 0 6px 16px rgba(37,99,235,.25); }
.btn.sm { height: 28px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; }
.inp { height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; outline: 0; transition: border-color var(--t), box-shadow var(--t); }
.inp:focus { border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(59,130,246,.15); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.chip { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 9px; border-radius: 11px; font-size: 12px; font-weight: 700; white-space: nowrap; background: #eef2ff; color: #3730a3; }
.chip.s-신규 { background: #ecfeff; color: #0e7490; } .chip.s-부재 { background: #f1f5f9; color: #475569; } .chip.s-재통화, .chip.s-2차콜대상 { background: #eff6ff; color: #1d4ed8; }
.chip.s-고민중, .chip.s-고민 { background: #fff7ed; color: #c2410c; } .chip.s-미팅대기, .chip.s-1차미팅, .chip.s-2차미팅 { background: #f5f3ff; color: #6d28d9; }
.chip.s-계약완료, .chip.s-승인 { background: linear-gradient(135deg,#2563eb,#06b6d4); color: #fff; } .chip.s-거절, .chip.s-진행불가 { background: #fef2f2; color: #b91c1c; } .chip.s-장기부재 { background: #f8fafc; color: #64748b; }
.mut { color: var(--mute); }

/* Tabs & status cards */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 14px 0 12px; }
.tab { position: relative; padding: 10px 14px; font-weight: 700; color: var(--mute); cursor: pointer; user-select: none; white-space: nowrap; }
.tab b { margin-left: 6px; font-weight: 700; color: var(--mute-2); font-variant-numeric: tabular-nums; }
.tab.on { color: var(--navy-600); } .tab.on b { color: var(--blue-500); }
.tab.on::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 3px; border-radius: 3px; background: var(--grad); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 12px; }
.kpi { padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); cursor: pointer; transition: border-color var(--t), box-shadow var(--t), transform var(--t); user-select: none; }
.kpi:hover { border-color: #bcd0ff; box-shadow: var(--sh-2); }
.kpi.on { border-color: transparent; background: linear-gradient(#fff,#fff) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: 0 8px 22px rgba(37,99,235,.14); }
.kpi .l { font-size: 12px; color: var(--mute); font-weight: 600; } .kpi .n { font-size: 22px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.filters { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }

/* Virtual table */
.vt { flex: 1; min-height: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; box-shadow: var(--sh-1); }
.vt-h, .vt-r { display: grid; align-items: center; column-gap: 10px; padding: 0 14px; }
.vt-h { height: 40px; background: #f5f7fc; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--mute); }
.vt-h span { cursor: pointer; user-select: none; } .vt-h span.on { color: var(--navy-600); }
.vt-b { flex: 1; overflow-y: auto; position: relative; contain: strict; }
.vt-r { position: absolute; left: 0; right: 0; height: var(--row-h); border-bottom: 1px solid var(--line-2); cursor: pointer; font-size: 13.5px; }
.vt-r > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.vt-r:hover { background: #f3f7ff; box-shadow: inset 3px 0 0 var(--blue-500); }
.vt-r .nm b { font-weight: 700; } .vt-r .nm span { color: var(--mute); margin-left: 6px; }
.vt-r .memo { color: var(--mute); font-size: 12.5px; }
.vt-f { height: 34px; display: flex; align-items: center; padding: 0 14px; font-size: 12px; color: var(--mute); border-top: 1px solid var(--line); background: #fafbfe; }

/* Drawer / modal / toast */
.scrim { position: fixed; inset: 0; background: rgba(11,21,51,.35); z-index: 40; animation: fade 120ms var(--ease); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(980px, 92vw); background: var(--bg); z-index: 41; box-shadow: var(--sh-3); display: flex; flex-direction: column; animation: slide 160ms var(--ease); }
.drawer .dh { padding: 16px 20px; background: linear-gradient(135deg, var(--navy-800), var(--navy-600) 60%, #0e7490); color: #fff; display: flex; align-items: center; gap: 12px; }
.drawer .dh h2 { margin: 0; font-size: 19px; } .drawer .dh .x { margin-left: auto; background: rgba(255,255,255,.14); color: #fff; border: 0; border-radius: 10px; height: 32px; padding: 0 12px; cursor: pointer; }
.drawer .db { flex: 1; overflow: auto; padding: 18px 20px; }
.modal { position: fixed; z-index: 51; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(720px, 92vw); max-height: 86vh; overflow: auto; background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-3); animation: pop 140ms var(--ease); }
.modal::before { content: ''; display: block; height: 4px; background: var(--grad); }
.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 60; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast { background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: 12px; box-shadow: var(--sh-2); font-weight: 600; animation: pop 140ms var(--ease); }
@keyframes fade { from { opacity: 0; } } @keyframes slide { from { transform: translateX(24px); opacity: .6; } } @keyframes pop { from { opacity: 0; transform: translate(-50%, -48%) scale(.98); } }
.toast { animation-name: fade; }

/* Login */
.login { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(1200px 600px at 20% 10%, rgba(34,211,238,.18), transparent), radial-gradient(900px 600px at 90% 90%, rgba(59,79,216,.35), transparent), var(--navy-900); }
.login form { width: 360px; padding: 30px; border-radius: 22px; background: rgba(255,255,255,.96); box-shadow: var(--sh-3); display: flex; flex-direction: column; gap: 12px; }
.login h1 { margin: 0 0 4px; font-size: 24px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.login .err { color: var(--bad); font-size: 13px; min-height: 18px; margin: 0; }
.empty { padding: 60px 20px; text-align: center; color: var(--mute); }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ===== v40 2차: 상단바 복구 ===== */
.top { gap: 8px; }
button.search { cursor: pointer; text-align: left; font-size: 13px; transition: border-color var(--t), box-shadow var(--t), background var(--t); }
button.search svg { width: 16px; height: 16px; flex: none; }
button.search span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
button.search kbd { font: 600 11px/1 var(--font); padding: 4px 6px; border-radius: 6px; background: #fff; border: 1px solid var(--line); color: var(--mute); }
button.search:hover { border-color: #bcd0ff; background: #fff; box-shadow: 0 0 0 3px rgba(59,130,246,.10); }
.tb { position: relative; height: 34px; display: inline-flex; align-items: center; gap: 6px; padding: 0 11px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--text-2); white-space: nowrap; transition: transform 120ms var(--ease), box-shadow var(--t), border-color var(--t), background var(--t); }
.tb svg { width: 16px; height: 16px; }
.tb em { font-style: normal; font-size: 11px; padding: 2px 6px; border-radius: 6px; background: #eef2ff; color: var(--navy-600); }
.tb:hover { transform: translateY(-1px); border-color: #bcd0ff; box-shadow: 0 6px 16px rgba(37,99,235,.14); }
.tb.on { border-color: transparent; background: linear-gradient(135deg, #0f172a, #1e3a8a); color: #fff; } .tb.on em { background: rgba(34,211,238,.25); color: #a5f3fc; }
.tb .tb-n { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; font: 800 10.5px/18px var(--font); font-style: normal; text-align: center; color: #fff; background: linear-gradient(135deg,#f43f5e,#dc2626); box-shadow: 0 2px 6px rgba(220,38,38,.35); }
.tb.live .dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.2); }
.tb.live .dot.off { background: #94a3b8; box-shadow: none; }
.tb.live em { background: #ecfdf5; color: #047857; }
.tb.ai { border: 0; color: #fff; background: var(--grad); box-shadow: 0 6px 16px rgba(37,99,235,.28); }
.tb.ai:hover { box-shadow: 0 10px 24px rgba(6,182,212,.35); }
.me { position: relative; cursor: pointer; padding: 4px 8px 4px 4px; border-radius: 12px; transition: background var(--t); } .me:hover { background: #f1f5ff; }
.um { position: absolute; right: 0; top: calc(100% + 8px); width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-3); padding: 6px; z-index: 30; animation: fade 120ms var(--ease); cursor: default; }
.um-h { display: flex; gap: 10px; align-items: center; padding: 10px; border-bottom: 1px solid var(--line-2); margin-bottom: 4px; } .um-h div { display: flex; flex-direction: column; } .um-h .mut { font-size: 11.5px; font-weight: 500; }
.um a { display: block; padding: 9px 10px; border-radius: 9px; cursor: pointer; font-weight: 600; } .um a:hover { background: #f1f5ff; color: var(--navy-600); } .um a.bad { color: var(--bad); }
/* Ctrl K 팔레트 · 알림 · 계산기 */
.pal { display: flex; flex-direction: column; max-height: 70vh; }
.pal-in { height: 54px; border: 0; border-bottom: 1px solid var(--line); padding: 0 20px; font-size: 16px; outline: 0; }
.pal-l { overflow: auto; padding: 6px; } .pal-f { padding: 8px 14px; font-size: 11.5px; color: var(--mute); border-top: 1px solid var(--line-2); background: #fafbfe; }
.pal-r { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; cursor: pointer; } .pal-r.on { background: linear-gradient(90deg, #eef4ff, #f2fbff); box-shadow: inset 3px 0 0 var(--blue-500); }
.pal-r .mut { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; }
.pal-k { font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 6px; background: #eef2ff; color: var(--navy-600); } .pal-k.c { background: #ecfeff; color: #0e7490; }
.al-l { display: flex; flex-direction: column; gap: 4px; } .al-r { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line-2); cursor: pointer; transition: transform 120ms var(--ease), box-shadow var(--t); }
.al-r:hover { transform: translateX(2px); box-shadow: inset 3px 0 0 var(--blue-500), var(--sh-1); }
.al-r .mut { margin-left: auto; font-size: 12px; } .al-k { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 7px; background: #fff7ed; color: #c2410c; } .al-k.n { background: #ecfeff; color: #0e7490; }
.calc { padding: 22px 24px; } .calc h3 { margin: 0 0 12px; } .calc h4 { margin: 18px 0 8px; font-size: 13px; color: var(--mute); }
.calc-f, .calc-g label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--mute); font-weight: 600; } .calc-f .inp { width: 100%; }
.calc-v { margin-top: 8px; font-size: 26px; font-weight: 800; text-align: right; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc-g { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; } .calc-g .inp { width: 100%; }
.calc-o { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; } .calc-o div { padding: 12px; border-radius: 12px; background: #f5f8ff; display: flex; flex-direction: column; gap: 2px; } .calc-o span { font-size: 11.5px; color: var(--mute); } .calc-o b { font-size: 16px; }

/* ===== 고객 목록: 체크박스 · 상태 칩 버튼 · 일괄 바 · 선택 메뉴 ===== */
.cl-head { display: flex; align-items: flex-end; gap: 10px; } .cl-head .grow { flex: 1; }
.cb { display: inline-block; width: 16px; height: 16px; border-radius: 5px; border: 1.6px solid #b8c4dc; background: #fff; cursor: pointer; vertical-align: middle; position: relative; transition: border-color 100ms, background 100ms, transform 100ms; }
.cb:hover { border-color: var(--blue-500); transform: scale(1.08); }
.cb.on, .cb.part { border-color: transparent; background: var(--grad); }
.cb.on::after { content: ''; position: absolute; left: 4.5px; top: 1.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cb.part::after { content: ''; position: absolute; left: 3px; right: 3px; top: 6px; height: 2px; background: #fff; border-radius: 2px; }
.vt-r > .cbc, .vt-r > .stc, .vt-r > .rac { overflow: visible; display: flex; align-items: center; }
.vt-h span:first-child { display: flex; align-items: center; }
.st-btn { border: 0; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; transition: transform 100ms var(--ease), box-shadow var(--t), filter var(--t); }
.st-btn i { width: 0; height: 0; border-left: 3.5px solid transparent; border-right: 3.5px solid transparent; border-top: 4px solid currentColor; opacity: .55; margin-left: 2px; }
.st-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(37,99,235,.18); filter: saturate(1.25); }
.bulk { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding: 8px 12px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #0f172a, #1e3a8a 60%, #0e7490); box-shadow: 0 10px 24px rgba(15,23,42,.22); animation: fade 120ms var(--ease); }
.bulk b { margin-right: 6px; } .bulk .btn { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.18); } .bulk .btn:hover { background: rgba(255,255,255,.24); } .bulk .ghost { margin-left: auto; background: transparent; }
.mn-scrim { position: fixed; inset: 0; z-index: 70; } .mn { position: fixed; z-index: 71; min-width: 150px; overflow: auto; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh-3); animation: fade 100ms var(--ease); }
.mn-i { display: flex; width: 100%; padding: 4px 6px; border: 0; background: none; border-radius: 8px; cursor: pointer; } .mn-i:hover { background: #f1f5ff; } .mn-i.on { background: #eef4ff; box-shadow: inset 2px 0 0 var(--blue-500); }
.kpis { grid-template-columns: 84px repeat(auto-fit, minmax(112px, 1fr)); }
.kpi.slim { padding: 12px 10px; } .kpi.slim .n { font-size: 17px; }
.ra-btn { width: 28px; height: 28px; border-radius: 8px; border: 1px solid transparent; background: transparent; cursor: pointer; color: var(--mute); font-weight: 900; transition: background var(--t), border-color var(--t), color var(--t); }
.vt-r:hover .ra-btn { border-color: var(--line); background: #fff; color: var(--navy-600); }
.bulk-send { padding: 20px 22px; } .bulk-send h3 { margin: 0 0 10px; }
.chip.s-2차콜대상 { background: #e0f2fe; color: #0369a1; }

/* ===== 호버 포인트 (가벼운 transform/box-shadow 만) ===== */
.vt-r { transition: background 90ms linear, box-shadow 90ms linear; }
.vt-r:hover { background: linear-gradient(90deg, #eef4ff, #f6fbff 60%, #fff); box-shadow: inset 3px 0 0 var(--blue-500); }
.vt-r:hover .nm b { color: var(--navy-600); }
.nav { transition: background var(--t) var(--ease), color var(--t), transform 140ms var(--ease); } .nav:hover { transform: translateX(2px); }
.nav:hover svg { filter: drop-shadow(0 0 6px rgba(34,211,238,.55)); }
.btn { transition: border-color var(--t), box-shadow var(--t), transform 120ms var(--ease), background var(--t); } .btn:hover { transform: translateY(-1px); }
.btn.pri:hover { box-shadow: 0 10px 24px rgba(6,182,212,.32); }
.card, .kpi { transition: transform 140ms var(--ease), box-shadow 160ms var(--ease), border-color var(--t); }
.card:hover { box-shadow: var(--sh-2); } .kpi:hover { transform: translateY(-2px); }
.chip { transition: filter 100ms, transform 100ms var(--ease); }
.tab { transition: color var(--t); } .tab:hover { color: var(--navy-600); }
.tab:not(.on):hover::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; border-radius: 2px; background: rgba(59,130,246,.35); }
.inp:hover { border-color: #c9d6f2; }
.drawer .dh .x:hover { background: rgba(255,255,255,.26); }
.modal { overscroll-behavior: contain; }
@media (max-width: 1280px) { .tb > span:not(.dot) { display: none; } }
@media (prefers-reduced-motion: reduce) { .vt-r:hover, .btn:hover, .kpi:hover, .nav:hover, .tb:hover { transform: none; } }

/* ===== R17: 직책 · 담당 박스 · 글자 크기 · 보조 글씨 ===== */
.ow-box{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:3px 8px 3px 3px;border:1.5px solid #c7d6f5;border-radius:9px;background:linear-gradient(180deg,#f7faff,#eef4ff);box-shadow:0 1px 2px rgba(15,40,90,.06);font-weight:700;color:#1e3a8a;line-height:1.2;min-width:0}
.ow-box.none{border-color:#e5e7eb;background:#f8fafc;color:#94a3b8;border-style:dashed}
.ow-box .ow-av{flex:none;width:22px;height:22px;border-radius:7px;display:grid;place-items:center;font-style:normal;font-size:11.5px;font-weight:800;color:#fff;background:linear-gradient(135deg,#2563eb,#06b6d4)}
.ow-box.none .ow-av{background:#cbd5e1}
.ow-box b{font-size:13px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ow-box em{font-style:normal;font-size:11px;font-weight:800;color:#0e7490;background:#cffafe;border-radius:5px;padding:1px 5px;white-space:nowrap}
.ow-box select.ow-sel{border:0!important;background:transparent!important;box-shadow:none!important;padding:0 14px 0 0!important;height:22px!important;min-width:0;max-width:100%;font-size:13px!important;font-weight:800!important;color:inherit!important;cursor:pointer}
.ow-box select.ow-sel:focus{outline:none}
.ow-box:hover{border-color:#3b82f6}
.ttl-sel{margin-left:6px;height:24px;padding:0 6px;border:1.5px solid #a5f3fc;border-radius:7px;background:#ecfeff;color:#0e7490;font-weight:800;font-size:12px;cursor:pointer}
.adm-tr .nm em.ttl{font-style:normal;margin-left:6px;font-size:11.5px;font-weight:800;color:#0e7490;background:#cffafe;border-radius:6px;padding:2px 6px}
.um-fs{display:flex;align-items:center;gap:4px;padding:8px 12px;border-top:1px solid #eef2f7;flex-wrap:wrap}
.um-fs>span{font-size:12px;font-weight:700;color:#475569;margin-right:4px}
.um-fs button{border:1px solid #dbe3ef;background:#fff;border-radius:7px;padding:3px 8px;font-size:12px;font-weight:700;color:#334155;cursor:pointer}
.um-fs button.on{background:#1d4ed8;border-color:#1d4ed8;color:#fff}
/* 보조 글씨가 너무 흐리고 얇은 것 정리 */
.mut,.muted,.sub,.hint{color:#5b6b82}
.vt .mut,.vt small,.vt .sub{font-weight:500}
/* 글자 크기: 크게 / 아주 크게 (레이아웃 계산은 그대로, 글자만 키움) */
html.fs-l body{font-size:15px}
html.fs-l .vt{font-size:14.5px}
html.fs-l .vt b,html.fs-l .vt strong{font-size:15px}
html.fs-l textarea,html.fs-l .inp,html.fs-l input,html.fs-l select{font-size:14.5px}
html.fs-l .cd-x textarea,html.fs-l .cfov textarea{font-size:16px!important;line-height:1.65!important}
html.fs-l .memo,html.fs-l [class*=memo] p,html.fs-l [class*=memo] .tx{font-size:15.5px}
html.fs-l .jt-tbl td,html.fs-l .jtf-tbl td,html.fs-l .adm-tr{font-size:14.5px}
html.fs-l .h1{font-size:26px}
html.fs-l .btn{font-size:14px}
html.fs-xl body{font-size:16px}
html.fs-xl .vt{font-size:15.5px}
html.fs-xl .vt b,html.fs-xl .vt strong{font-size:16px}
html.fs-xl textarea,html.fs-xl .inp,html.fs-xl input,html.fs-xl select{font-size:15.5px}
html.fs-xl .cd-x textarea,html.fs-xl .cfov textarea{font-size:17px!important;line-height:1.7!important}
html.fs-xl .memo,html.fs-xl [class*=memo] p,html.fs-xl [class*=memo] .tx{font-size:16.5px}
html.fs-xl .jt-tbl td,html.fs-xl .jtf-tbl td,html.fs-xl .adm-tr{font-size:15.5px}
html.fs-xl .h1{font-size:28px}
html.fs-xl .btn{font-size:15px}

/* R18 A3 — 토스트·알림은 화면 위 가운데 */
.toasts { top: 14px !important; bottom: auto !important; z-index: 9000 !important; }
.toast { animation: r18drop 180ms cubic-bezier(.2,.8,.2,1) !important; font-size: 14px; font-weight: 700; padding: 11px 18px; border-radius: 14px; box-shadow: 0 10px 30px rgba(15,23,42,.28); max-width: min(720px, 92vw); }
@keyframes r18drop { from { opacity: 0; transform: translateY(-10px) scale(.98); } to { opacity: 1; transform: none; } }
.tu { display: inline-flex; align-items: center; gap: 12px; }
.tu-b { border: 0; cursor: pointer; padding: 5px 12px; border-radius: 9px; background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #1f2937; font-weight: 800; font-size: 13px; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.tu-b:hover { filter: brightness(1.05); }
/* r49b: 반화면(1140px)에서 매출관리·자금진행 표가 잘리지 않게 가로 스크롤 */
.jt-wrap .jt .j34-box { overflow-x: auto; }

/* r58 UI sweep */
@media (max-width: 1280px) { .tb > span.fun-ic { display: inline !important; } }
.jt-tree .jt-n { white-space: nowrap; word-break: keep-all; overflow: hidden; text-overflow: ellipsis; }
.jt-filter label.jtf-live { flex-direction: row !important; align-items: center; gap: 6px; white-space: normal; word-break: keep-all; align-self: center; }
.jt-filter label.jtf-live input { margin: 0; flex: none; }
.cdh.r38 .cdh-r1 .ow-box.hdr { flex: 0 0 auto !important; width: auto !important; min-width: 148px !important; }
.cdh.r38 .cdh-r1 .ow-box.hdr .ow-sel.hs { width: 122px !important; min-width: 122px !important; max-width: none !important; padding-right: 22px !important; }
.cdh-r2 .rcg input.hs.rc { min-width: 182px !important; width: 182px !important; }
@media (max-width: 1280px) { .cdh-r1 { flex-wrap: wrap; row-gap: 6px; } }
button, .btn, .chip, [class*="pill"], th, label { word-break: keep-all; }

.cdh.r38 .cdh-r1 select.hs.car { width: 74px !important; min-width: 74px !important; flex: 0 0 auto !important; }
.cdh.r38 .cdh-r1 select.hs.st { width: 92px !important; flex: 0 0 auto !important; }

/* r59 UI sweep */
.rep-l button{flex-wrap:wrap;align-items:center;row-gap:2px}
.rep-l button small{white-space:nowrap}
.rep-l button.on small+small{background:rgba(255,255,255,.22);color:#fff}
.d58-ac .fa{flex-wrap:nowrap;gap:4px;white-space:nowrap}
.d58-ac .fa .lk{padding-left:2px;padding-right:2px;font-size:12px}
.hk-c.in{height:auto}


/* r60b — 설정·직원관리·연동발송 1140/1440 점검 */
/* 1) 직원관리 계정 표: 1140에서 이름 칸이 108px로 눌려 「이/남/인」 세로로 깨지고 직함 선택이 아이디 칸을 덮음 */
.adm-tr .nm b{white-space:nowrap}
@media (max-width:1300px){
  .adm-tbl > .adm-tr.adm-tr{grid-template-columns:minmax(190px,1.4fr) minmax(110px,1fr) 96px 110px 140px 76px minmax(170px,1.2fr);gap:8px;padding-left:12px;padding-right:12px}
}
/* 2) 백업·복구 「GitHub에 있는 백업」 표(3칸)가 직원표용 7칸 격자를 물려받아 날짜·내용이 글자 단위로 깨짐 */
.adm-tbl > .adm-tr.adm-tr:has(> :nth-child(3):last-child){grid-template-columns:150px minmax(0,1fr) 150px}
.adm-tbl > .adm-tr.adm-tr:has(> :nth-child(3):last-child) > span{min-width:0;overflow-wrap:anywhere}
/* 3) 연동·발송 상단 탭이 <button>인데 버튼 기본 테두리·회색 바탕이 그대로 보임 */
.m-tabs button.tab{border:0;background:transparent;box-shadow:none;font:inherit;font-weight:700}
.m-tabs button.tab:hover{background:var(--surface-2,#f1f5f9)}
/* 4) 알림톡 템플릿 › 최근 발송: 4번째 칸(누가) 70px라 「자동:배정 김대표」이 두 줄 */
.kkm .kkm-hist > div{grid-template-columns:80px 140px minmax(0,1fr) 130px 56px}
.kkm .kkm-hist > div > span,.kkm .kkm-hist > div > em,.kkm .kkm-hist > div > b{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* 5) 설정 › DB 배분: 선택지(label.btn)가 block이라 제목·설명이 한 줄에 붙고, 선택된 파란 칸에서 설명이 회색이라 안 보임 */
.adm-row > label.btn{display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;height:auto;white-space:normal;text-align:left}
.adm-row > label.btn > small{display:block}
.btn.pri small.mut,.btn.pri .mut{color:rgba(255,255,255,.88)}
/* 6) 설정 › 목표 설정 「직접 입력」 칸: 전역 메뉴 클래스 .mn(position:fixed)과 이름이 겹쳐 입력칸이 설명 글씨 위에 떠 있음 */
.g57-cfg td.lb input.mn{position:static;z-index:auto;animation:none;min-width:0;overflow:visible;box-shadow:none;margin:0 0 4px}

/* r61cust */ .ai-src .k.k-cust{background:#e6f6fb;color:#0b6b86;border-color:#bfe6f2}

/* r62e */
.top .me{white-space:nowrap;flex-shrink:0}.top .me .mut{white-space:nowrap}
.r62e-vaw{position:relative;display:inline-flex}
.tb.r62e-va{white-space:nowrap}
.tb.r62e-va.on{background:#f59e0b;border-color:#f59e0b;color:#fff;font-weight:800}
.tb.r62e-va.on em{background:rgba(255,255,255,.25);color:#fff}
.r62e-vam{position:absolute;top:calc(100% + 6px);right:0;z-index:300;min-width:220px;background:#fff;border:1px solid #dbe3ef;border-radius:12px;box-shadow:0 12px 32px rgba(2,18,90,.18);padding:6px}
.r62e-vah{font-size:12px;font-weight:800;color:#475569;padding:6px 10px}
.r62e-vam>button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:9px 10px;border:0;background:none;border-radius:8px;cursor:pointer;font-size:14px;color:#0f172a;white-space:nowrap}
.r62e-vam>button:hover{background:#eff6ff}.r62e-vam>button span{font-size:12px;color:#64748b}
.r62e-vaf{font-size:11px;color:#94a3b8;padding:6px 10px 4px;border-top:1px solid #eef2f7;margin-top:4px}
.jt-ow .jc.r62e-mine{cursor:default}
.r62e-stc{white-space:nowrap}.r62e-stc>*{vertical-align:middle}
.r62e-sig{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;margin-left:6px;border-radius:50%;background:#e8f5ee;color:#15803d;font-size:12px;vertical-align:middle}

/* r70b */
.shell{grid-template-rows:100vh;overflow:hidden}.shell>.main{min-height:0;height:100vh;overflow:hidden}
.syncinfo{display:inline-flex;align-items:center;gap:5px;margin-left:4px;font-size:11.5px;font-weight:600;color:#94a3b8;white-space:nowrap;cursor:pointer;user-select:none}.syncinfo:hover{color:#334155}.syncinfo .dot{width:6px;height:6px;border-radius:50%;background:#22c55e;display:inline-block}.syncinfo .dot.off{background:#ef4444}
@media(max-width:1280px){.syncinfo{font-size:0}.syncinfo .dot{font-size:0}}
.page:not(.fill)>*{flex-shrink:0}

/* r70h2 */
.chip.s-보류, .chip.s-조건부, .chip.s-승인확률 { background: #fef3c7; color: #b45309; border-color: #fde68a; } /* v40 r85 */
.cdh select.hs.st.s-보류, .cdh select.hs.st.s-조건부, .cdh select.hs.st.s-승인확률 { background: #fef3c7; color: #b45309; }

/* r70d 보안 모드: 민감 정보 전부 가림 */
html.sec-on .cd-head .co, html.sec-on .cd-head .ceo, html.sec-on .cd-head .ph, html.sec-on .cdh .co, html.sec-on .cdh .ceo, html.sec-on .h62-in,
html.sec-on .cd-tl .tx, html.sec-on .lg-t, html.sec-on .cd-pins, html.sec-on .kids, html.sec-on .cd-memoin,
html.sec-on .cd-form textarea, html.sec-on .cd-memo, html.sec-on .f62-txt, html.sec-on .cd-form,
html.sec-on .d58-th, html.sec-on .d58-nm, html.sec-on .d58-mt, html.sec-on .fn, html.sec-on .cd-files, html.sec-on .vw-box, html.sec-on .vw,
html.sec-on .ch-bub, html.sec-on .ch-file, html.sec-on .ch-files, html.sec-on .tf-b, html.sec-on .memo, html.sec-on .sd62m, html.sec-on .acct-val, html.sec-on .mt-body, html.sec-on [data-sec] {
  filter: blur(7px) !important; user-select: none !important; pointer-events: none !important; }
html.sec-on .d58-card, html.sec-on .cd-files { cursor: not-allowed; }
#sec-toast { position: fixed; left: 50%; bottom: 36px; transform: translateX(-50%) translateY(20px); opacity: 0; background: #0b1f4d; color: #fff; padding: 10px 18px; border-radius: 12px; font-weight: 700; z-index: 99999; transition: .2s; pointer-events: none; }
#sec-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* r70d 전체 화면 공지 · 공지 배지 */
.nfull { position: fixed; inset: 0; z-index: 100000; background: radial-gradient(circle at 30% 20%, #16337a, #0b1f4d 70%); display: flex; align-items: center; justify-content: center; padding: 40px; animation: nfIn .35s ease; }
@keyframes nfIn { from { opacity: 0; transform: scale(1.02); } to { opacity: 1; transform: none; } }
.nfull-in { width: min(900px, 100%); max-height: 100%; overflow: auto; color: #fff; text-align: center; }
.nfull-tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(34,211,238,.18); color: #67e8f9; font-weight: 800; margin-bottom: 18px; }
.nfull h1 { font-size: clamp(30px, 4vw, 52px); line-height: 1.25; margin: 0 0 10px; font-weight: 900; word-break: keep-all; color: #fff; }
.nfull-meta { opacity: .7; margin-bottom: 26px; }
.nfull-body { font-size: clamp(17px, 1.6vw, 22px); line-height: 1.75; text-align: left; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 26px 30px; word-break: keep-all; }
.nfull-link { display: inline-block; margin-top: 18px; color: #67e8f9; font-weight: 700; }
.nfull-ok { display: block; margin: 30px auto 0; padding: 16px 44px; font-size: 20px; font-weight: 900; border: 0; border-radius: 14px; background: linear-gradient(90deg, #22d3ee, #3b82f6); color: #fff; cursor: pointer; box-shadow: 0 10px 30px rgba(34,211,238,.35); }
.nl-badge { position: absolute; top: 4px; right: 10px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #ef4444; color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }

/* r70d 자료실 공지·회의실 */
.bd { display: flex; flex-direction: column; gap: 16px; padding-bottom: 30px; }
.bd-sec { display: flex; flex-direction: column; gap: 10px; }
.bd-sh { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bd-sh > b { font-size: 16px; }
.bd-sh .inp { max-width: 260px; }
.bd-accts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.bd-acct { background: #fff; border: 1px solid #dbe4f3; border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 2px 8px rgba(15,40,90,.05); }
.bd-ah { display: flex; align-items: center; gap: 8px; }
.bd-arow { display: flex; align-items: center; gap: 10px; }
.bd-arow .mut { width: 64px; flex: none; }
.acct-val { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 700; letter-spacing: .02em; }
.bd-anote { white-space: pre-wrap; }
.bd-view h2 { margin: 6px 0 10px; }
.bd-vh { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.bd-body { white-space: pre-wrap; line-height: 1.7; padding: 12px 0; word-break: keep-all; }
.bd-acks { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 12px; padding-top: 10px; border-top: 1px solid #e6ecf5; }
.bd-meet { padding: 0; overflow: hidden; }
.bd-mh { display: flex; align-items: center; gap: 10px; padding: 12px 16px; cursor: pointer; }
.bd-mh:hover { background: #f5f8fd; }
.mt-body { padding: 4px 16px 14px; border-top: 1px solid #eef2f8; }
.bd-mb { margin-top: 10px; }
.bd-mb p { white-space: pre-wrap; margin: 4px 0 0; line-height: 1.7; word-break: keep-all; }
.bd-form textarea { min-height: 80px; }

/* r70d 보안 모드 추가 가림 */
html.sec-on .cdh-r1 .ph, html.sec-on .cdh-r1 .co, html.sec-on .cdh-r1 .ceo, html.sec-on .s3-cust, html.sec-on .s3-say, html.sec-on .cl-det, html.sec-on .rcp-memo { filter: blur(7px) !important; user-select: none !important; }

/* r76m mobile */
@media (max-width: 768px) {
  html, body { overflow-x: hidden; -webkit-text-size-adjust: 100%; }
  .shell { grid-template-columns: 1fr !important; grid-template-rows: 1fr !important; height: 100dvh !important; }
  .main { height: calc(100dvh - 64px - env(safe-area-inset-bottom, 0px)) !important; }
  nav.side { position: fixed !important; left: 0; right: 0; bottom: 0; top: auto; z-index: 60; height: calc(64px + env(safe-area-inset-bottom, 0px)); flex-direction: row !important; align-items: stretch !important; gap: 2px !important; padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)) !important; overflow-x: auto !important; overflow-y: hidden !important; scroll-snap-type: x proximity; box-shadow: 0 -6px 20px rgba(11,21,51,.18); -webkit-overflow-scrolling: touch; }
  nav.side .logo, nav.side .sp { display: none !important; }
  nav.side a.nav { flex: 0 0 66px !important; min-width: 66px; height: 52px !important; min-height: 44px; padding: 4px 2px !important; margin: 0 !important; display: flex !important; flex-direction: column !important; align-items: center; justify-content: center; gap: 2px; border-radius: 12px; scroll-snap-align: start; }
  nav.side a.nav svg { width: 20px !important; height: 20px !important; }
  nav.side a.nav span { font-size: 10.5px !important; line-height: 1.15; white-space: nowrap; }
  nav.side a.nav .bd { top: 2px !important; right: 10px !important; }
  header.top { padding: 0 8px !important; gap: 6px !important; height: 52px !important; }
  header.top .search { flex: 1 1 auto !important; min-width: 0; height: 38px; padding: 0 10px !important; }
  header.top .search kbd, header.top .search .kbd { display: none !important; }
  header.top .r62e-vaw, header.top .fun-wrap, header.top .syncinfo { display: none !important; }
  header.top .tb:not(.bell):not(.ai) { display: none !important; }
  header.top .tb { padding: 0 9px !important; height: 38px; min-width: 40px; }
  header.top .tb.ai { font-size: 0 !important; }
  header.top .tb.ai::before { content: '✦'; font-size: 16px; }
  header.top .me { font-size: 0 !important; gap: 0 !important; padding: 0 2px !important; }
  header.top .me > :not(.av) { display: none !important; }
  header.top .me .av { width: 34px !important; height: 34px !important; }
  .page { padding: 12px 10px 16px !important; }
  .page h1, .page .h1 { font-size: 20px !important; }
  /* 고객 목록: 이름 · 번호 · 상태만 한 줄 */
  .vt { min-width: 0 !important; border-radius: 12px !important; }
  .vt-h, .vt-r { grid-template-columns: minmax(0, 1fr) 118px 84px !important; min-width: 0 !important; width: 100% !important; }
  .vt-h > :first-child, .vt-r > :first-child, .vt-h > :nth-child(n+5), .vt-r > :nth-child(n+5) { display: none !important; }
  .vt-r .ph { font-variant-numeric: tabular-nums; display: flex !important; flex-wrap: nowrap !important; align-items: center; gap: 4px; white-space: nowrap; overflow: hidden; }
  .vt-r .ph > * { flex: 0 0 auto; margin: 0 !important; }
  .vt-r .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cl-wrap { min-width: 0 !important; }

  .page.fill { overflow-y: auto !important; overflow-x: hidden !important; display: block !important; }
  .page.fill > .vt, .page.fill .cl-wrap, .page.fill .vt { min-height: 62vh; }
  .cl-head { flex-wrap: wrap !important; gap: 8px !important; }
  .cl-head .un-warn { flex: 1 1 auto; white-space: nowrap; }
  .kpis.cl-kpis { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto !important; gap: 8px !important; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .kpis.cl-kpis > .kpi { flex: 0 0 auto !important; min-width: 78px !important; writing-mode: horizontal-tb !important; }
  .kpis.cl-kpis > .kpi * { white-space: nowrap !important; word-break: keep-all !important; }
  .ai-fab { bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important; right: 12px !important; transform: scale(.88); transform-origin: bottom right; }

  /* 고객 창: 전체 화면 */
  .cfov, .cfov.m-half, .cfov.m-mini, .cfov.m-full { inset: 0 !important; width: 100% !important; height: 100dvh !important; border-radius: 0 !important; box-shadow: none !important; max-width: 100% !important; margin: 0 !important; }
  .cfov .cfov-h, .cfov .cfov-h2 { position: sticky; top: 0; z-index: 3; flex-wrap: wrap; row-gap: 6px; padding: 8px 10px !important; }
  .cfov .cfov-b { padding: 8px !important; }

  .cfov .cfov-h2 { display: flex !important; flex-wrap: wrap !important; align-items: center; gap: 6px !important; }
  .cfov .cfov-h2 > .cfov-nav { order: 1; }
  .cfov .cfov-h2 > .cfov-om { display: none !important; }
  .cfov .cfov-h2 > .fov-x { order: 2; margin-left: auto !important; width: 40px; height: 40px; }
  .cfov .cfov-h2 > .cdh { order: 3; flex: 1 1 100% !important; width: 100% !important; min-width: 0 !important; max-width: 100% !important; }
  .cdh .cdh-r1 { flex-wrap: wrap !important; row-gap: 6px; gap: 6px; }
  .cdh .cdh-r1 b.co { font-size: 18px !important; max-width: 100%; }
  .cdh .cdh-r1 a.ph { display: inline-flex !important; width: auto !important; height: 34px; align-items: center; padding: 0 12px; border-radius: 999px; background: #22c55e; color: #fff !important; font-weight: 800; text-decoration: none; overflow: visible !important; }
  .cdh .cdh-r1 a.ph::before { content: '📞 '; }
  .cdh .cdh-r1 .ai-r1, .cdh .cdh-r1 .h62-pen, .cdh .cdh-r1 .cpy { display: none !important; }
  .cdh .cdh-r2 { flex-wrap: wrap !important; gap: 6px; }
  .cdh .cdh-r2 .acts, .cdh .t38-tools, .cdh .cd-strip { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto !important; max-width: 100% !important; width: 100% !important; gap: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .cdh .cdh-r2 .acts > *, .cdh .t38-tools > * { flex: 0 0 auto !important; }
  .cdh .cd-strip { height: auto !important; }
  .cd-main, .cd-lower { grid-template-columns: minmax(0, 1fr) !important; }
  .cd-tabs, .cd-third.cd-tabs nav, .cfov [class*=tabs] { overflow-x: auto; flex-wrap: nowrap !important; -webkit-overflow-scrolling: touch; }
  .cfov textarea { font-size: 16px !important; }
  #s3dock, #s3tab, .s3-tab, .s3-toggle { display: none !important; }
  body.s3-docked .cfov { left: 0 !important; }

  .m2-two, .hk-g { grid-template-columns: minmax(0, 1fr) !important; }
  .m2-two > *, .m2-news, .m2-news > * { min-width: 0 !important; max-width: 100% !important; }
  .m2-news .m2-nr { overflow: hidden; text-overflow: ellipsis; }
  .m2-hero { flex-wrap: wrap !important; }
  .jt-wrap { flex-direction: column !important; gap: 10px !important; }
  .jt-wrap > * { width: 100% !important; max-width: 100% !important; min-width: 0 !important; flex: 0 0 auto !important; }
  .jt-wrap > :first-child { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; overflow-x: auto !important; gap: 6px; }
  .j34-bars, .j34-bar { max-width: 100% !important; min-width: 0 !important; overflow: hidden; }
  .j34-lg { flex-wrap: wrap !important; }
  .j34-tabs { flex-wrap: wrap !important; row-gap: 6px; }
  .j34-tabs input { max-width: 100% !important; flex: 1 1 100% !important; }
  .j34-box { overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
  .ch-head { flex-wrap: wrap !important; row-gap: 6px; }
  .j34-card { flex-direction: column !important; align-items: stretch !important; gap: 10px !important; }
  .j34-card > * { width: 100% !important; max-width: 100% !important; min-width: 0 !important; }
  .ch-ph { flex-wrap: wrap !important; gap: 8px !important; }
  .ch-ph .ch-cfg { flex: 1 1 100% !important; }
  .ai-fab { display: none !important; }
  .fd-tabs { overflow-x: auto !important; flex-wrap: nowrap !important; }
  /* 대화창·다이얼로그 */
  [role=dialog] > * { max-width: calc(100vw - 16px) !important; }
  #ai-root > * { max-width: 100vw; }
  input, select, textarea { font-size: 16px; }
  button, .chip, a.nav { min-height: 34px; }
}

/* r78 · 목록 알림톡 칸 */
.a78w{display:inline-flex;gap:3px;align-items:center;white-space:nowrap}
.a78{display:inline-flex;align-items:center;gap:1px;font-size:11px;font-weight:800;padding:1px 5px;border-radius:6px;line-height:16px;cursor:default}
.a78.ok{background:#dcfce7;color:#15803d}.a78.bad{background:#fee2e2;color:#b91c1c}.a78.wait{background:#fef3c7;color:#b45309}.a78.no{background:#f1f5f9;color:#94a3b8}
@media (max-width: 768px) {
  .vt-h:has(.al78h), .vt-r:has(> .al78) { grid-template-columns: minmax(0, 1fr) 104px 46px 80px !important; }
  .vt-h:has(.al78h) > :nth-child(5), .vt-r:has(> .al78) > :nth-child(5) { display: flex !important; }
  .vt-h:has(.al78h) > :nth-child(n+6), .vt-r:has(> .al78) > :nth-child(n+6) { display: none !important; }
  .vt-r > .al78 .a78:not(:first-child) { display: none; }
}

/* v40 r82u: 고객 창 머리줄이 넘쳐서 담당·창 버튼(☐ ⧉ ✕)·AI 비서 위로 겹치던 것 → 줄바꿈 + 오른쪽 버튼 자리 확보 */
.cfov-h .cdh{min-width:0!important;flex:1 1 auto!important}
.cfov-h .cdh-r1{flex-wrap:wrap!important;row-gap:6px;min-width:0}
.cfov-h .cdh-r1>*{flex-shrink:0;max-width:100%}
.cfov-h .cd-strip.hd{flex-wrap:wrap!important;row-gap:6px;min-width:0}
.cfov-h>.cfov-om,.cfov-h>.fov-x{flex:none!important;position:relative;z-index:6;align-self:flex-start}

.cdh.r38 .cdh-r1 select.hs.st.s-승인확률, .cdh select.hs.st.s-승인확률 { width: 126px !important; min-width: 126px !important; } /* v40 r85b: 「승인확률 낮음」 글자 안 잘리게 */

/* v40 r86: 오른쪽 아래 떠 있던 AI 버튼 없앰(열기 연결용으로 DOM만 남김) · 위쪽 「AI 비서」 버튼을 그 디자인(남색 알약 + 흰 K 로고)으로 */
.ai-fab{display:none!important}
header.top .tb.ai,.tb.ai{height:34px;padding:0 15px 0 11px;gap:7px;border:0;border-radius:999px;background:linear-gradient(135deg,#02125A,#1e3a8a 60%,#0e7490);color:#fff;font-size:13px;font-weight:800;letter-spacing:.2px;box-shadow:0 8px 20px rgba(2,18,90,.30)}
.tb.ai .tb-ai-lg{width:18px;height:18px;object-fit:contain;flex:none}
.tb.ai:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(2,18,90,.40)}
.ai-r1{display:inline-flex!important;align-items:center;gap:5px;background:linear-gradient(135deg,#02125A,#1e3a8a 60%,#0e7490)!important;color:#fff!important;border:1px solid rgba(255,255,255,.28)!important;box-shadow:0 4px 12px rgba(2,6,23,.35);font-size:12.5px!important;padding:4px 12px 4px 9px!important}
.ai-r1 img{width:14px;height:14px;object-fit:contain;flex:none}
.ai-r1:hover{filter:brightness(1.15)}
@media (max-width: 768px){
  header.top .tb.ai{font-size:0!important;padding:0 10px!important;min-width:40px}
  header.top .tb.ai::before{content:none!important}
  header.top .tb.ai .tb-ai-lg{width:20px;height:20px}
  .cdh .cdh-r1 .ai-r1{display:none!important}
}


/* r96b mobile clean-up (≤768px only · desktop unchanged) */
#m96-fbtn{display:none}
@media (max-width: 768px) {
  nav.side { scrollbar-width: none; }
  nav.side::-webkit-scrollbar { display: none; }
  .main { overflow-x: hidden !important; }
  .main > .page, .main .page { min-width: 0 !important; max-width: 100vw; }
  .hub-tabs { padding: 8px 10px 0 !important; flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; }
  .hub-tabs::-webkit-scrollbar { display: none; }
  .hub-tabs .ht { flex: 0 0 auto; min-height: 40px; }
  .page .tabs { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .page .tabs::-webkit-scrollbar { display: none; }
  .page .tabs .tab { flex: 0 0 auto; white-space: nowrap; }
  button.btn, .seg2 button, .fd-t { min-height: 40px; }

  /* 오늘: 히어로 세로로 · 부가 카드는 「더 보기」 */
  .m2-hero { flex-direction: column !important; align-items: stretch !important; gap: 14px !important; padding: 20px !important; }
  .m2-hero .l, .m2-hero .r { width: auto !important; max-width: none !important; flex: none !important; }
  .m2-hero h1 { font-size: 22px !important; line-height: 1.3 !important; word-break: keep-all; }
  .m2-hero .r { display: flex !important; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: flex-start !important; }
  body:not(.m96-all) .page.m2:has(> .m2-hero) > :nth-child(n+4):not(.m96-more) { display: none !important; }
  .m96-more { display: block; width: 100%; min-height: 48px; margin: 4px 0 16px; border: 1px dashed #b6c4dc; background: #fff; border-radius: 14px; color: #1f2d4d; font-weight: 800; font-size: 14px; cursor: pointer; }
  .gh-team .gh-r { grid-template-columns: 70px 1fr 1fr !important; }

  /* 자금진행: 한 줄로 · 기관 트리는 가로 칩 · 표는 카드 */
  .funds .fd-head { flex-wrap: wrap; gap: 8px !important; }
  .funds .fd-head .mut.sm { display: none; }
  .funds .jt-wrap { display: block !important; grid-template-columns: minmax(0, 1fr) !important; }
  .funds .jt-tree { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; overflow-x: auto !important; width: auto !important; height: auto !important; max-height: none !important; gap: 6px !important; padding: 4px 0 8px !important; margin: 0 0 8px !important; border: 0 !important; background: transparent !important; box-shadow: none !important; scrollbar-width: none; position: static !important; }
  .funds .jt-tree::-webkit-scrollbar { display: none; }
  .funds .jt-tree .jt-n { flex: 0 0 auto !important; width: auto !important; height: auto !important; min-height: 38px; writing-mode: horizontal-tb !important; white-space: nowrap !important; padding: 7px 12px !important; border-radius: 999px !important; border: 1px solid #dbe3f0 !important; background: #fff; margin: 0 !important; gap: 6px; }
  .funds .jt-tree .jt-n.on { background: #02125A !important; color: #fff !important; border-color: #02125A !important; }
  .funds .jt-tree .jt-n.on em { color: #a5d8ff !important; }
  .funds .jt-tree .jt-n.sub { font-size: 12.5px; }
  .funds .jt-main { width: auto !important; min-width: 0 !important; }
  .funds .jt-ow { flex-direction: row !important; flex-wrap: nowrap !important; overflow-x: auto; gap: 6px !important; scrollbar-width: none; padding-bottom: 4px; }
  .funds .jt-ow::-webkit-scrollbar { display: none; }
  .funds .jt-ow .jc { flex: 0 0 auto; white-space: nowrap; }
  .funds .jt-filter { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px !important; align-items: end; }
  .funds .jt-filter > * { min-width: 0 !important; width: auto !important; }
  .funds .jt-filter > input.inp, .funds .jt-filter > select { grid-column: span 1; min-height: 42px; }
  body:not(.m96-fon) .funds .jt-filter > label, body:not(.m96-fon) .funds .jt-filter > .jt-box, body:not(.m96-fon) .funds .jt-filter > button { display: none !important; }
  body.m96-fon .funds .jt-filter > label.jtf-live { grid-column: 1 / -1; }
  #m96-fbtn { display: block; position: fixed; right: 14px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); z-index: 58; border: 0; background: #02125A; color: #fff; font-weight: 800; font-size: 14px; border-radius: 999px; padding: 12px 18px; box-shadow: 0 8px 22px rgba(2,18,90,.3); }
  .funds .jt-tbl.jtf-tbl { overflow: visible !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
  .funds .jt-tbl.jtf-tbl table, .funds .jt-tbl.jtf-tbl tbody { display: block !important; width: 100% !important; min-width: 0 !important; }
  .funds .jt-tbl.jtf-tbl thead { display: none !important; }
  .funds .jt-tbl.jtf-tbl tr { display: flex !important; flex-wrap: wrap; align-items: center; gap: 6px 12px; background: #fff; border: 1px solid #e3e9f3; border-radius: 14px; padding: 12px 14px; margin: 0 0 10px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
  .funds .jt-tbl.jtf-tbl td { display: block !important; border: 0 !important; padding: 0 !important; width: auto !important; min-width: 0 !important; max-width: 100%; height: auto !important; font-size: 13px; position: static !important; background: transparent !important; }
  .funds .jt-tbl.jtf-tbl td.jt-chk, .funds .jt-tbl.jtf-tbl td.jt-no, .funds .jt-tbl.jtf-tbl td.m96-e { display: none !important; }
  .funds .jt-tbl.jtf-tbl td.jt-nm { flex: 1 1 100%; font-size: 15px; }
  .funds .jt-tbl.jtf-tbl td.jt-nm a { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
  .funds .jt-tbl.jtf-tbl td[data-l]:not(.jt-nm):not(.jt-stcell):not(.owc)::before { content: attr(data-l); color: #94a3b8; font-size: 11px; font-weight: 700; margin-right: 4px; }
  .funds .jt-tbl:not(.jtf-tbl), .adt-box, .pf-box, .tbl-wrap { overflow-x: auto !important; -webkit-overflow-scrolling: touch; }

  /* 성과·광고 */
  .pf-head { flex-wrap: wrap; }
  .pf-range { gap: 6px !important; }
  .adt-cards { grid-template-columns: 1fr 1fr !important; }

  /* 설정: 왼쪽 메뉴 → 위쪽 가로 칩 */
  .adm-set { grid-template-columns: minmax(0, 1fr) !important; gap: 10px !important; }
  .adm-set > nav.card { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; overflow-x: auto !important; gap: 6px !important; padding: 8px !important; position: sticky; top: 0; z-index: 5; scrollbar-width: none; max-height: none !important; }
  .adm-set > nav.card::-webkit-scrollbar { display: none; }
  .adm-set > nav.card a { flex: 0 0 auto !important; white-space: nowrap; padding: 8px 14px !important; border-radius: 999px !important; margin: 0 !important; min-height: 38px; display: flex; align-items: center; }
  .adm-set > nav.card small { display: none !important; }
  .adm-set > section { min-width: 0 !important; overflow-x: auto; }
  .adm-set .adm-row { flex-wrap: wrap; }

  /* 일정 */
  .page.m2-sched.sc-split { flex-direction: column !important; overflow-x: hidden !important; }
  .page.m2-sched.sc-split > * { min-width: 0 !important; max-width: 100% !important; width: auto !important; flex-basis: auto !important; }
  .wk-nm, .wk-ph { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
}

/* v40 r172a — 모바일 버그 수정 (기능 변경 없음)
   · 팝업(계약·입금 등)이 아래 메뉴바(z60)에 가려 저장 버튼이 안 눌리고, 아이폰 주소창 때문에 100vh보다 커서 위아래가 잘리던 것
   · 팝업 안에서 끝까지 스크롤하면 뒤 화면이 같이 움직이던 것(overscroll)
   · 고객 창 맨 아래 내용이 메뉴바 뒤에 숨던 것 · 메모 작성자 이름이 한 글자씩 줄바꿈되던 것 */
@media (max-width:760px){
  .modal{ top: calc(10px + env(safe-area-inset-top)) !important; transform: translateX(-50%) !important;
    max-height: calc(100vh - 92px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
    max-height: calc(100dvh - 92px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
    overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .cfov .ctb-body{ padding-bottom: calc(76px + env(safe-area-inset-bottom)); overscroll-behavior: contain; }
  .cd-tl .it .meta > b{ white-space: nowrap; flex: none; }
}


/* v40 r173a — 폰 고도화 (760px 이하만 · 데스크톱 그대로 · 없앤 기능 없음: 접힌 머리는 위로 스크롤·머리 탭하면 다시 펼쳐짐) */
@media (max-width:760px){
 section.cfov{height:var(--vvh,100dvh)!important;top:var(--vvt,0px)!important}
 html.m173-mini section.cfov header.cfov-h .cdh-r2,
 html.m173-mini section.cfov header.cfov-h .cd-strip,
 html.m173-mini section.cfov header.cfov-h .cdh-src151,
 html.m173-mini section.cfov header.cfov-h .cfov-nav,
 html.m173-mini section.cfov header.cfov-h .nw137,
 html.m173-mini section.cfov header.cfov-h .hs.car,
 html.m173-mini section.cfov header.cfov-h .ow-box{display:none!important}
 html.m173-mini section.cfov header.cfov-h{padding-top:4px!important;padding-bottom:4px!important;cursor:pointer}
 html.m173-mini section.cfov header.cfov-h .cdh{margin-top:0!important;padding-top:0!important;padding-bottom:0!important;padding-right:48px!important}
 html.m173-mini section.cfov header.cfov-h .cdh-r1{flex-wrap:nowrap!important;gap:6px!important;row-gap:0!important;align-items:center!important}
 html.m173-mini section.cfov header.cfov-h .cdh-r1 .co{font-size:16px!important;max-width:30vw}
 html.m173-mini section.cfov header.cfov-h .cdh-r1 .ph{font-size:13px!important;padding:4px 10px!important;min-height:34px}
 html.m173-mini section.cfov header.cfov-h .fov-x{top:6px!important}
 html.m173-mini section.cfov header.cfov-h::after{content:'▾ 펼치기';position:absolute;right:56px;bottom:2px;font-size:10px;color:rgba(255,255,255,.55)}
 /* 손가락으로 누르기 쉽게 (40px) */
 section.cfov .ctb-b{min-height:40px}
 section.cfov .cd-strip .ts, section.cfov .cdh .hb, section.cfov .cdh .hs{min-height:38px}
 section.cfov .cd-strip .t38-tools{-webkit-overflow-scrolling:touch;scrollbar-width:none}
 /* 새 버전 알림: 폰에서는 아래 메뉴바 위로 작게 (전화·닫기 버튼을 가리지 않게) */
 #v40-upd{top:auto!important;bottom:calc(72px + env(safe-area-inset-bottom,0px))!important;padding:7px 12px!important;font-size:12px!important;max-width:calc(100vw - 24px)}
 /* 키보드가 올라와 있을 땐 아래 메뉴바 숨김 (입력칸이 메뉴바 뒤로 안 가게) */
 html.kb173 nav.bn, html.kb173 .bnav, html.kb173 .m-nav{display:none!important}
}
@media (max-width:760px){
 html.m173-mini body section.cfov header.cfov-h div.cdh div.cd-strip.hd,
 html.m173-mini body section.cfov header.cfov-h div.cdh div.cdh-r2{display:none!important}
 html.m173-mini body section.cfov header.cfov-h button.fov-x{position:absolute!important;right:8px!important;top:50%!important;transform:translateY(-50%);margin:0!important;width:38px;height:38px}
 html.m173-mini body section.cfov header.cfov-h{position:sticky;min-height:0!important}
}
@media (max-width:760px){
 html.m173-mini body section.cfov header.cfov-h div.cdh{padding-right:50px!important;box-sizing:border-box;width:100%!important}
 html.m173-mini body section.cfov header.cfov-h div.cdh-r1{overflow:hidden!important;flex-wrap:nowrap!important}
 html.m173-mini body section.cfov header.cfov-h div.cdh-r1 > *{flex-shrink:1;min-width:0}
 html.m173-mini body section.cfov header.cfov-h select.hs.st{max-width:84px!important;min-width:0!important;flex:0 0 auto}
 html.m173-mini body section.cfov header.cfov-h a.ph{flex:0 1 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 html.m173-mini body section.cfov header.cfov-h span.r84-dw{display:none!important}
}
@media (max-width:760px){
 html.m173-mini body section.cfov header.cfov-h div.cdh-r1 button.st137{display:none!important}
 html.m173-mini body section.cfov header.cfov-h div.cdh-r1 b.co{flex:0 0 auto!important;max-width:34vw!important;font-size:16px!important}
 html.m173-mini body section.cfov header.cfov-h div.cdh-r1 a.ph{flex:1 1 auto!important;min-width:0!important;font-size:12.5px!important;padding:4px 8px!important;gap:4px}
}


/* v40 r173d — 폰 2차 (760px 이하만 · 데스크톱 그대로 · 없앤 것 없음) */
@media (max-width:760px){
 /* 고객 목록: 두 줄 카드 (1줄 이름·상태·⋯ / 2줄 번호·재통화·담당) */
 .vt-r:has(> .rcol):has(> .owc){height:64px!important;grid-template-columns:minmax(0,1fr) auto auto 34px!important;grid-template-rows:30px 28px!important;grid-template-areas:"nm nm st ra" "ph rc ow ow"!important;column-gap:8px!important;row-gap:0!important;align-content:center!important;padding:2px 10px!important}
 .vt-r:has(> .rcol):has(> .owc) > *{display:none!important}
 .vt-r:has(> .rcol):has(> .owc) > .nm{display:flex!important;grid-area:nm;align-items:center;font-size:15px;font-weight:700}
 .vt-r:has(> .rcol):has(> .owc) > .stc{display:flex!important;grid-area:st;justify-self:end}
 .vt-r:has(> .rcol):has(> .owc) > .rac{display:flex!important;grid-area:ra;justify-content:center}
 .vt-r:has(> .rcol):has(> .owc) > .ph{display:flex!important;grid-area:ph;font-size:13px;color:#475569}
 .vt-r:has(> .rcol):has(> .owc) > .rcol{display:flex!important;grid-area:rc;align-items:center;font-size:12.5px}
 .vt-r:has(> .rcol):has(> .owc) > .owc{display:flex!important;grid-area:ow;justify-content:flex-end;align-items:center}
 .vt-r:has(> .rcol):has(> .owc) > .owc select{max-width:104px;font-size:12.5px;min-height:28px}
 .vt-r:has(> .rcol):has(> .owc) > .rcol .rc-btn{min-height:28px;padding:2px 4px}
 .vt-b:has(.vt-r > .rcol) > .vt-g170{height:64px!important}
 /* 표 머리: 대표/상호 · 재통화(예약순 토글) · 상태만 */
 .vt-h:has(> .vth-rcol){display:flex!important;align-items:center;gap:10px;padding:0 12px!important}
 .vt-h:has(> .vth-rcol) > *{display:none!important}
 .vt-h:has(> .vth-rcol) > .vth-nm{display:inline-flex!important;flex:1 1 auto}
 .vt-h:has(> .vth-rcol) > .vth-rcol{display:inline-flex!important;align-items:center;min-height:32px;padding:0 10px;border:1px solid #cbd5e1;border-radius:16px;background:#fff}
 .vt-h:has(> .vth-rcol) > .vth-rcol.on{border-color:#2563eb;background:#eff6ff}
 .vt-h:has(> .vth-rcol) > .vth-stc{display:inline-flex!important}
 /* 목록이 화면을 꽉 채우게 (위 칸을 지나 내리면 표가 거의 한 화면) */
 .page.fill > .vt, .page.fill .cl-wrap .vt{height:calc(var(--vvh,100dvh) - 150px)!important;min-height:420px!important}

 /* 업무일정 줄: 칸이 넘쳐 「고객 열기 ↗」가 잘리던 것 → 세 줄 */
 .wk-r{grid-template-columns:22px 46px minmax(0,1fr) auto 32px!important;grid-template-areas:"ck tm nm nm x" "ck k why why why" "ck . ph ow ow"!important;row-gap:3px!important;height:auto!important;padding-top:8px!important;padding-bottom:8px!important;align-items:center}
 .wk-r > .wk-ck{grid-area:ck;align-self:start}
 .wk-r > .wk-tm{grid-area:tm}
 .wk-r > .wk-k{grid-area:k;font-size:11px}
 .wk-r > .wk-nm{grid-area:nm;white-space:normal!important;overflow:visible!important;line-height:1.35}
 .wk-r > .wk-nm .go171{display:inline-block;margin-left:6px;padding:3px 8px;border-radius:12px;background:#eff6ff;white-space:nowrap}
 .wk-r > .wk-why{grid-area:why;white-space:normal!important;font-size:12px}
 .wk-r > .wk-ph{grid-area:ph;font-size:13px}
 .wk-r > .wk-ow{grid-area:ow;justify-self:end;font-size:12px}
 .wk-r > .wk-x{grid-area:x;min-width:32px;min-height:32px}

 /* 키보드 올라오면 아래 메뉴바 숨김 (실제 메뉴바는 nav.side) */
 html.kb173 nav.side{display:none!important}
 html.kb173 .main{height:var(--vvh,100dvh)!important}
 /* 접힌 머리 「▾ 펼치기」 잘 보이게 */
 html.m173-mini section.cfov header.cfov-h::after{font-size:11.5px!important;color:#fff!important;background:rgba(255,255,255,.16);padding:1px 7px;border-radius:9px;bottom:4px!important}
 /* 날짜·시간 칸 (계약일 등) 누르기 쉽게 */
 .modal input[type=date], .modal input[type=time], .modal input[type=datetime-local], section.cfov input[type=date], section.cfov input[type=time], section.cfov input[type=datetime-local]{min-height:40px;font-size:16px;min-width:0;max-width:100%}
}

@media (max-width:760px){ /* r173d 보정: 번호가 잘리지 않게 · 담당 칸 좁게 */
 .vt-r:has(> .rcol):has(> .owc){grid-template-columns:auto minmax(0,1fr) auto 34px!important}
 .vt-r:has(> .rcol):has(> .owc) > .ph{overflow:visible!important}
 .vt-r:has(> .rcol):has(> .owc) > .rcol{overflow:hidden!important;line-height:1.15;flex-direction:column;align-items:flex-start!important;justify-content:center}
 .vt-r:has(> .rcol):has(> .owc) > .rcol *{font-size:11.5px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
 .vt-r:has(> .rcol):has(> .owc) > .owc{max-width:118px;overflow:hidden!important}
 .vt-r:has(> .rcol):has(> .owc) > .owc > *{max-width:118px;min-width:0}
}

@media (max-width:760px){ /* r173d 보정2: 1줄 이름·재통화·상태·⋯ / 2줄 번호·담당 */
 .vt-r:has(> .rcol):has(> .owc){grid-template-columns:minmax(0,1fr) auto auto 34px!important;grid-template-areas:"nm rc st ra" "ph ph ow ow"!important;grid-template-rows:32px 28px!important}
 .vt-r:has(> .rcol):has(> .owc) > .rcol{justify-self:end;text-align:right;align-items:flex-end!important}
 .vt-r:has(> .rcol):has(> .owc) > .owc{max-width:150px;justify-self:end}
 .vt-r:has(> .rcol):has(> .owc) > .owc > *{max-width:150px}
}

/* v40 r220b — 폰: ① 직원 화면(담당 칸 없음) 고객 목록도 두 줄 카드 · ② 「더보기」 메뉴 여백·화면 안에 맞추기 */
@media (max-width:760px){
 .vt-r:has(> .rcol):not(:has(> .owc)){height:64px!important;grid-template-columns:minmax(0,1fr) auto auto 34px!important;grid-template-rows:32px 28px!important;grid-template-areas:"nm rc st ra" "ph ph ph ph"!important;column-gap:8px!important;row-gap:0!important;align-content:center!important;padding:2px 10px!important}
 .vt-r:has(> .rcol):not(:has(> .owc)) > *{display:none!important}
 .vt-r:has(> .rcol):not(:has(> .owc)) > .nm{display:flex!important;grid-area:nm;align-items:center;font-size:15px;font-weight:700}
 .vt-r:has(> .rcol):not(:has(> .owc)) > .stc{display:flex!important;grid-area:st;justify-self:end}
 .vt-r:has(> .rcol):not(:has(> .owc)) > .rac{display:flex!important;grid-area:ra;justify-content:center}
 .vt-r:has(> .rcol):not(:has(> .owc)) > .ph{display:flex!important;grid-area:ph;font-size:13px;color:#475569;overflow:visible!important;align-items:center}
 .vt-r:has(> .rcol):not(:has(> .owc)) > .rcol{display:flex!important;grid-area:rc;justify-self:end;text-align:right;flex-direction:column;align-items:flex-end!important;justify-content:center;overflow:hidden!important;line-height:1.15}
 .vt-r:has(> .rcol):not(:has(> .owc)) > .rcol *{font-size:11.5px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
 .vt-b > .vt-g170{box-sizing:border-box;overflow:hidden;white-space:nowrap}
 .modal:has(> .mr102){width:calc(100vw - 24px)!important;max-width:520px!important;max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch}
}
.mr102{padding:18px 16px calc(16px + env(safe-area-inset-bottom,0px));box-sizing:border-box}
.mr102 .ls button{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
