/* 모듈 1 · 고객 상세 / 오늘 할 일 / 행 빠른 작업 */
.sm { font-size: 12.5px; } .bad { color: var(--bad); } .wide { width: 100%; margin-top: 6px; }
.inp.sm { height: 30px; padding: 0 9px; font-size: 13px; border-radius: 8px; }
.lk { border: 0; background: none; color: var(--blue-500); font-size: 12px; cursor: pointer; padding: 0 4px; }
.tag { display: inline-block; padding: 0 6px; height: 18px; line-height: 18px; border-radius: 6px; background: #eef2ff; color: #3730a3; font-size: 11px; font-weight: 700; }
.av.sm { width: 22px; height: 22px; font-size: 11px; }
.cd { display: flex; flex-direction: column; gap: 12px; }
.cd-head { padding: 14px 16px 12px; }
.cd-head .l1 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .cd-head .co { font-size: 18px; letter-spacing: -.02em; }
.cd-head .star { height: 24px; padding: 0 9px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 12px; font-weight: 700; color: var(--mute); cursor: pointer; }
.cd-head .star.on { background: #fef9c3; border-color: #fde047; color: #a16207; } .cd-head .star.warn.on { background: #fee2e2; border-color: #fca5a5; color: #b91c1c; }
.cd-head .l2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.cd-head .l2 label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--mute); white-space: nowrap; }
.cd-head .info { flex: 1 1 200px; min-width: 0; }
.cd-head .acts { display: flex; gap: 6px; margin-left: auto; } .cd-head .acts .btn { text-decoration: none; display: inline-flex; align-items: center; color: inherit; }
.stages { display: flex; align-items: center; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.stages .sg { display: flex; align-items: center; gap: 6px; padding: 5px 12px 5px 6px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; color: var(--mute); }
.stages .sg i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; background: #e2e8f0; color: #475569; }
.stages .sg.ok { color: var(--navy-600); border-color: #c7d7fe; background: #eff6ff; } .stages .sg.ok i { background: var(--grad); color: #fff; }
.stages .sg.cur { box-shadow: 0 0 0 3px rgba(37,99,235,.14); }
.cd-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.cd-tools .tl { height: 30px; padding: 0 11px; border-radius: 9px; border: 1px solid var(--line); background: #fff; font-size: 12.5px; font-weight: 600; color: var(--text-2); cursor: pointer; transition: border-color var(--t), box-shadow var(--t); }
.cd-tools .tl:hover { border-color: #bcd0ff; color: var(--navy-600); box-shadow: 0 4px 10px rgba(37,99,235,.10); }
.cd-main { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.cd-left { padding: 12px 14px 14px; min-width: 0; } .cd-right { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cd-bottom { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; align-items: start; }
.cd-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.cd-tabs .tb { border: 0; background: none; padding: 8px 12px; font-weight: 700; color: var(--mute); cursor: pointer; position: relative; white-space: nowrap; }
.cd-tabs .tb.on { color: var(--navy-600); } .cd-tabs .tb.on::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 3px; border-radius: 3px; background: var(--grad); }
.cd-seg { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.cd-seg .seg { height: 28px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 12.5px; font-weight: 600; color: var(--mute); cursor: pointer; white-space: nowrap; }
.cd-seg .seg.on { background: var(--grad); color: #fff; border-color: transparent; }
.cd-seg.sm { margin: 0; } .cd-seg.sm .seg { height: 24px; padding: 0 8px; font-size: 12px; }
.cd-memo { width: 100%; box-sizing: border-box; min-height: 440px; height: auto; padding: 12px 14px; font: 14px/1.75 var(--font); resize: vertical; white-space: pre-wrap; }
.cd-cols .row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 8px; align-items: center; padding: 4px 0; border-bottom: 1px solid var(--line-2); }
.cd-cols .lb, .cd-card2 .lb, .cd-check .lb { font-size: 12.5px; font-weight: 700; color: var(--text-2); word-break: keep-all; }
.cd-cols .inp { height: 32px; width: 100%; box-sizing: border-box; }
.cd-card2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cd-card2 .fc { padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; } .cd-card2 .fc.empty { background: #fffbeb; border-color: #fde68a; }
.cd-card2 textarea { width: 100%; box-sizing: border-box; height: auto; padding: 6px 8px; margin-top: 4px; resize: vertical; font: 13px/1.5 var(--font); }
.cd-wiz { padding: 4px 2px; } .cd-wiz .bar { height: 6px; border-radius: 3px; background: #e2e8f0; overflow: hidden; } .cd-wiz .bar i { display: block; height: 100%; background: var(--grad); }
.cd-wiz .dots { display: flex; gap: 5px; flex-wrap: wrap; margin: 10px 0; } .cd-wiz .dots span { width: 12px; height: 12px; border-radius: 50%; background: #e2e8f0; cursor: pointer; } .cd-wiz .dots span.ok { background: #93c5fd; } .cd-wiz .dots span.on { outline: 2px solid var(--blue-500); outline-offset: 1px; }
.cd-wiz h3 { margin: 6px 0 8px; font-size: 16px; } .cd-wiz textarea { width: 100%; box-sizing: border-box; height: auto; padding: 10px 12px; font: 14px/1.6 var(--font); }
.cd-wiz .nav { display: flex; justify-content: space-between; margin-top: 10px; }
.cd-check .ck { display: grid; grid-template-columns: 18px 170px minmax(0, 1fr); gap: 8px; align-items: center; padding: 7px 4px; border-bottom: 1px solid var(--line-2); }
.cd-check .mk { width: 16px; height: 16px; border-radius: 5px; border: 2px solid #cbd5e1; } .cd-check .ok .mk { background: var(--grad); border-color: transparent; }
.cd-check .v { cursor: text; color: var(--text); word-break: break-word; } .cd-check .ck:not(.ok) .v { color: var(--mute-2); }
.cd-check .inp { height: 30px; }
.cd-scen .sc { padding: 12px 14px; border-radius: 12px; background: #eff6ff; border: 1px solid #c7d7fe; line-height: 1.7; margin: 6px 0 10px; }
.cd-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: 12px 14px; min-width: 0; }
.cd-h { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; } .cd-h b { font-size: 14px; }
.cd-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.cd-memoin { width: 100%; box-sizing: border-box; height: auto; padding: 8px 10px; font: 13.5px/1.5 var(--font); resize: vertical; }
.cd-pins .pin { margin-top: 8px; padding: 6px 10px; border-radius: 8px; background: #fef9c3; font-size: 12.5px; }
.cd-tl { margin-top: 10px; max-height: 520px; overflow: auto; contain: content; }
.cd-tl .it { padding: 9px 2px; border-top: 1px solid var(--line-2); }
.cd-tl .meta { display: flex; align-items: center; gap: 6px; font-size: 12px; } .cd-tl .meta .acts { margin-left: auto; opacity: 0; transition: opacity var(--t); } .cd-tl .it:hover .acts { opacity: 1; }
.cd-tl .tx { margin-top: 4px; font-size: 13.5px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.cd-tl .mention { font-style: normal; color: var(--blue-500); font-weight: 700; } .pad { padding: 14px 4px; }
.cd-docs { display: flex; flex-wrap: wrap; gap: 6px; }
.cd-docs .doc { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-size: 12.5px; cursor: pointer; white-space: nowrap; color: var(--text-2); }
.cd-docs .doc i { width: 10px; height: 10px; border-radius: 50%; background: #fca5a5; } .cd-docs .doc.ok i { background: #10b981; } .cd-docs .doc.ok { border-color: #a7f3d0; background: #ecfdf5; }
.cd-docs .doc em { font-style: normal; font-size: 10.5px; color: #0e7490; font-weight: 700; }
.cd-files { margin-top: 10px; display: flex; flex-direction: column; gap: 4px; } .cd-files .fl { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.cd-mx { display: flex; flex-direction: column; gap: 8px; }
.cd-mx .mr { display: grid; grid-template-columns: 1fr auto; gap: 6px 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.cd-mx .nm { font-size: 13.5px; } .cd-mx .steps { grid-column: 1 / -1; display: flex; gap: 3px; flex-wrap: wrap; }
.cd-mx .st { height: 24px; padding: 0 8px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 12px; font-weight: 600; color: var(--mute); cursor: pointer; }
.cd-mx .st.ok { background: #eff6ff; border-color: #c7d7fe; color: var(--navy-600); } .cd-mx .st.cur { background: var(--grad); color: #fff; border-color: transparent; }
.cd-mx .st.bad.cur { background: #dc2626; } .cd-mx .inp { grid-column: 1; width: 100%; box-sizing: border-box; }
.cd-log { margin-top: 10px; display: flex; flex-direction: column; } .cd-log .lg { display: grid; grid-template-columns: 44px 48px 1fr; gap: 6px; padding: 6px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; align-items: center; }
.cd-log .d { color: var(--mute); font-variant-numeric: tabular-nums; } .cd-log .k { text-align: center; border-radius: 6px; font-size: 11.5px; font-weight: 800; padding: 2px 0; background: #e0f2fe; color: #0369a1; }
.cd-log .k-계약 { background: #ede9fe; color: #6d28d9; } .cd-log .k-입금 { background: #d1fae5; color: #047857; } .cd-log .k-환불 { background: #fee2e2; color: #b91c1c; } .cd-log .k-접수 { background: #dbeafe; color: #1d4ed8; } .cd-log .k-승인 { background: #cffafe; color: #0e7490; }
.cd-mod { margin-top: 10px; padding: 10px 12px; border: 1px solid #c7d7fe; border-radius: 12px; background: #f8fbff; display: flex; flex-direction: column; gap: 6px; }
.cd-mod label { display: flex; flex-direction: column; gap: 3px; font-size: 12px; font-weight: 700; color: var(--mute); } .cd-mod .inp { height: 32px; }
.cd-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.cd-chips .cc { height: 26px; padding: 0 10px; border-radius: 13px; border: 1px solid var(--line); background: #fff; font-size: 12px; cursor: pointer; color: var(--text-2); white-space: nowrap; }
.cd-chips .cc.on { background: var(--grad); color: #fff; border-color: transparent; }
.cd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cd-grid .f { display: flex; flex-direction: column; gap: 3px; font-size: 11.5px; font-weight: 700; color: var(--mute); min-width: 0; } .cd-grid .inp { width: 100%; box-sizing: border-box; }
/* 오늘 할 일 */
.todo-btn { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.todo-btn .badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: linear-gradient(135deg, #ef4444, #f97316); color: #fff; font-size: 11.5px; display: inline-grid; place-items: center; }
.todo-g { margin-bottom: 14px; } .todo-g h4 { margin: 0 0 6px; font-size: 13px; color: var(--navy-600); } .todo-g h4 em { font-style: normal; margin-left: 6px; color: var(--blue-500); }
.todo-r { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; margin-bottom: 4px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; text-align: left; font-size: 13.5px; }
.todo-r:hover { border-color: #bcd0ff; box-shadow: var(--sh-2); }
/* 행 빠른 작업 */
.ra-btn { width: 30px; height: 26px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--mute); font-weight: 900; }
.ra-btn:hover { border-color: #bcd0ff; color: var(--navy-600); }
.ra-scrim { position: fixed; inset: 0; z-index: 60; }
.ra-pop { position: fixed; z-index: 61; width: 320px; padding: 12px; background: #fff; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--sh-3); display: flex; flex-direction: column; gap: 8px; animation: pop 120ms var(--ease); }
.ra-pop textarea { width: 100%; box-sizing: border-box; height: auto; padding: 8px 10px; font: 13.5px/1.5 var(--font); }
.ra-h { display: flex; gap: 8px; align-items: baseline; } .ra-row { display: flex; gap: 6px; align-items: flex-end; flex-wrap: wrap; }
.ra-row label { display: flex; flex-direction: column; gap: 2px; font-size: 11.5px; font-weight: 700; color: var(--mute); } .ra-row .btn { text-decoration: none; color: inherit; display: inline-flex; align-items: center; }
@media (max-width: 900px) { .cd-main { grid-template-columns: 1fr; } .cd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cd-card2 { grid-template-columns: 1fr; } }

/* ===== 2차 (2026-10-10) ===== */
/* 레이아웃: 1280~1920 에서 안 깨지게 */
.cd { min-width: 0; } .cd > * { min-width: 0; }
.cd-main { grid-template-columns: minmax(0, 1.15fr) minmax(320px, 1fr); }
@media (max-width: 1100px) { .cd-main { grid-template-columns: 1fr; } }
.cd-head .l2 { row-gap: 8px; } .cd-head .l2 .inp.sm { max-width: 170px; } .cd-head .info { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cd-tools .tl.pri { background: linear-gradient(135deg, #eff6ff, #ecfeff); border-color: #bcd0ff; color: var(--navy-600); }
.cd-tools .tl:hover, .btn:hover, .lk:hover { transform: translateY(-1px); } .cd-tools .tl:active { transform: none; }
.cd-card { transition: box-shadow var(--t, 150ms), border-color var(--t, 150ms); } .cd-card:hover { box-shadow: 0 8px 22px rgba(30,58,138,.08); }
.btn.xs { height: 24px; padding: 0 8px; font-size: 11.5px; border-radius: 8px; }
/* 업체 로그 (오른쪽 위, 짧게) */
.cd-logcard .cd-h { flex-wrap: wrap; } .cd-logcard .lgb { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
.cd-logcard .cd-log { margin-top: 6px; } .cd-logcard .cd-log .lg { padding: 5px 0; } .cd-log .lg .t { min-width: 0; overflow-wrap: anywhere; }
.cd-mod { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 8px; margin-top: 8px; padding: 10px; border-radius: 12px; background: #f8fafc; border: 1px solid var(--line-2); }
.cd-mod > b { grid-column: 1 / -1; font-size: 13px; } .cd-mod label { display: flex; flex-direction: column; gap: 3px; font-size: 11.5px; color: var(--mute); } .cd-mod .cd-row { grid-column: 1 / -1; }
/* 메모 댓글·대댓글 */
.cd-tl .it { transition: background var(--t, 150ms); border-radius: 10px; } .cd-tl .it:hover { background: #f8fbff; }
.cd-tl .it.rp { margin: 6px 0 0 14px; padding: 6px 0 2px 10px; border-left: 2px solid #dbe5ff; } .cd-tl .it.rp.d2 { margin-left: 10px; border-left-color: #e0f2fe; }
.cd-tl .it .meta .acts { margin-left: auto; display: flex; gap: 2px; opacity: .55; transition: opacity var(--t, 150ms); } .cd-tl .it:hover > .meta .acts { opacity: 1; }
.cd-tl .rp-in { display: flex; gap: 6px; align-items: flex-end; margin: 6px 0 4px 14px; } .cd-tl .rp-in .inp { flex: 1; min-height: 52px; resize: vertical; }
.cd-tl .lk.thr { margin: 4px 0 0 14px; font-weight: 700; } .lk.mut { color: var(--mute); }
.cd-tl .tx { white-space: pre-wrap; overflow-wrap: anywhere; }
/* 서류함 자유 업로드 */
.cd-drop { margin-top: 8px; border: 1.5px dashed #c7d7fe; border-radius: 12px; padding: 14px; text-align: center; font-size: 12.5px; color: var(--mute); cursor: pointer; background: #fbfdff; transition: background var(--t, 150ms), border-color var(--t, 150ms); }
.cd-drop:hover, .cd-drop.over { border-color: var(--blue-500, #2563eb); background: #eff6ff; color: var(--navy-600); }
.cd-files { margin-top: 8px; display: flex; flex-direction: column; } .cd-files .fl { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 6px 4px; border-bottom: 1px solid var(--line-2); font-size: 13px; border-radius: 8px; }
.cd-files .fl:hover { background: #f8fbff; } .cd-files .fl a { color: var(--text-1, #0f172a); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cd-files .fl a:hover { color: var(--blue-500, #2563eb); text-decoration: underline; }
.cd-files .tag.ht { background: #ecfeff; color: #0e7490; }
/* 자금진행 (기관별) */
.fx .fx-pick { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.fx-i { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px 0 10px; border-radius: 16px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 700; color: var(--text-2); cursor: pointer; transition: all var(--t, 150ms); }
.fx-i i { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid #cbd5e1; background: #fff; } .fx-i:hover { border-color: #bcd0ff; box-shadow: 0 4px 12px rgba(37,99,235,.12); }
.fx-i.on { background: var(--grad, linear-gradient(135deg, #1e3a8a, #0891b2)); color: #fff; border-color: transparent; } .fx-i.on i { border-color: #fff; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%231e3a8a' stroke-width='2.2'/%3E%3C/svg%3E") center/12px no-repeat; }
.fx-i em { font-style: normal; font-size: 11px; background: rgba(255,255,255,.25); border-radius: 8px; padding: 0 6px; }
.fx-inst { border: 1px solid var(--line-2); border-radius: 14px; padding: 10px 12px; margin-top: 8px; background: linear-gradient(180deg, #fbfdff, #fff); }
.fx-ih { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; } .fx-ih b { font-size: 14px; color: var(--navy-700, #1e3a8a); } .fx-ih .inp { margin-left: auto; width: auto; }
.fx-row { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 6px 10px; align-items: center; padding: 8px 0; border-top: 1px dashed var(--line-2); } .fx-row:first-of-type { border-top: 0; }
.fx-nm b { font-size: 13px; } .fx-nm .inp { width: 100%; box-sizing: border-box; }
.fx-track { display: flex; gap: 0; min-width: 0; }
.fx-s { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 5px 2px; border: 1px solid var(--line); border-left-width: 0; background: #fff; cursor: pointer; transition: background var(--t, 150ms); }
.fx-s:first-child { border-left-width: 1px; border-radius: 10px 0 0 10px; } .fx-s:last-child { border-radius: 0 10px 10px 0; }
.fx-s span { font-size: 12.5px; font-weight: 700; color: var(--mute); white-space: nowrap; } .fx-s small { font-size: 10.5px; color: #94a3b8; min-height: 13px; font-variant-numeric: tabular-nums; }
.fx-s:hover { background: #f1f6ff; } .fx-s.ok { background: #eff6ff; } .fx-s.ok span { color: var(--navy-600); }
.fx-s.cur { background: var(--grad, linear-gradient(135deg, #1e3a8a, #0891b2)); border-color: transparent; } .fx-s.cur span, .fx-s.cur small { color: #fff; }
.fx-s.bad.cur { background: #dc2626; } .fx-s.bad span { color: #dc2626; }
.fx-meta { grid-column: 2; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .fx-meta label { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--mute); white-space: nowrap; }
.fx-meta .inp.sm { width: 132px; } .fx-meta .grow { flex: 1 1 200px; width: auto !important; }
@media (max-width: 1100px) { .fx-row { grid-template-columns: 1fr; } .fx-meta { grid-column: 1; } }
/* 자금진행 탭 보드 */
.fb { display: flex; flex-direction: column; gap: 12px; }
.fb-tabs { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; } .fb-tabs .seg { height: 30px; padding: 0 12px; border-radius: 15px; border: 1px solid var(--line); background: #fff; font-size: 12.5px; font-weight: 700; cursor: pointer; color: var(--text-2); }
.fb-tabs .seg em { font-style: normal; color: var(--blue-500, #2563eb); margin-left: 2px; } .fb-tabs .seg.on { background: var(--grad); color: #fff; border-color: transparent; } .fb-tabs .seg.on em { color: #fff; } .fb-tabs .seg:disabled { opacity: .45; cursor: default; }
.fb-inst { border: 1px solid var(--line-2); border-radius: 16px; padding: 12px; background: #fff; } .fb-inst h4 { margin: 0 0 8px; font-size: 15px; color: var(--navy-700, #1e3a8a); }
.fb-cols { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.fb-col { background: #f8fafc; border-radius: 12px; padding: 6px; min-height: 60px; display: flex; flex-direction: column; gap: 4px; min-width: 0; } .fb-col.bad { background: #fff5f5; }
.fb-ch { display: flex; justify-content: space-between; font-size: 12px; font-weight: 800; color: var(--text-2); padding: 2px 4px 4px; } .fb-ch em { font-style: normal; color: var(--mute); }
.fb-it { text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 5px 7px; cursor: pointer; display: flex; flex-direction: column; min-width: 0; transition: all var(--t, 150ms); }
.fb-it:hover { border-color: #93b4ff; box-shadow: 0 4px 12px rgba(37,99,235,.14); transform: translateY(-1px); }
.fb-it b { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .fb-it span { font-size: 11px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1280px) { .fb-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* 가능 상품 카드 */
.cd-judge .jg { margin-top: 6px; }

.cd-skel{height:120px;margin-bottom:12px;background:linear-gradient(90deg,rgba(148,163,184,.08),rgba(148,163,184,.18),rgba(148,163,184,.08));background-size:200% 100%;animation:cdsk 1.1s linear infinite}.cd-skel.tall{height:280px}@keyframes cdsk{to{background-position:-200% 0}}

/* ===== 자금진행 v40 r3: 시작 시트 · 보드 ===== */
.fx-i { cursor: default; } .fx-i.on { background: linear-gradient(135deg, var(--ic, #1e3a8a), #0891b2); }
.fx-start { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 12px 14px; margin: 4px 0 10px; border-radius: 14px; background: linear-gradient(120deg, #eef4ff, #e6fbff); border: 1px solid #c7dbff; }
.fx-start b { color: #1e3a8a; } .fx-start span { font-size: 12.5px; color: var(--text-2); flex: 1 1 200px; }
.fx-nm small { display: block; font-size: 11px; color: var(--mute); }
.fx-hint { font-size: 12px; color: var(--text-2); background: #f1f5f9; border-radius: 8px; padding: 3px 8px; white-space: nowrap; } .fx-hint.warn { background: #fff1f2; color: #be123c; font-weight: 700; }
.fx-meta .inp.sm.sh { width: 84px; }
.fx-inst { border-left: 3px solid var(--ic, #2563eb); }
.modal:has(> .fs), .modal:has(.fs) { width: min(1000px, 95vw) !important; max-width: none !important; padding: 0 !important; overflow: hidden !important; }
.fs { width: 100%; max-height: 88vh; display: flex; flex-direction: column; box-sizing: border-box; }
.fs-hd { padding: 18px 22px 14px; background: linear-gradient(120deg, #0b1d4f, #1e3a8a 55%, #0e7490); color: #fff; border-radius: 16px 16px 0 0; }
.fs-hd small { font-size: 11.5px; letter-spacing: .06em; opacity: .8; } .fs-hd h3 { margin: 4px 0 4px; font-size: 18px; } .fs-hd p { margin: 0; font-size: 12.5px; opacity: .85; }
.fs-insts { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.fs-i { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px 8px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: transform .12s, box-shadow .12s, border-color .12s; }
.fs-i i { width: 16px; height: 16px; border-radius: 5px; border: 2px solid #cbd5e1; } .fs-i b { font-size: 12.5px; white-space: nowrap; }
.fs-i:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(30,58,138,.14); border-color: var(--ic); }
.fs-i.on { border-color: var(--ic); background: linear-gradient(180deg, #fff, #f3f7ff); box-shadow: 0 0 0 2px color-mix(in srgb, var(--ic) 25%, transparent); }
.fs-i.on i { background: var(--ic); border-color: var(--ic); box-shadow: inset 0 0 0 2px #fff; }
.fs-i em { position: absolute; top: 4px; right: 6px; font-style: normal; font-size: 10.5px; color: #fff; background: var(--ic); border-radius: 8px; padding: 0 5px; }
.fs-i .rec { font-size: 10px; color: #0e7490; background: #e0f7fb; border-radius: 6px; padding: 0 5px; }
.fs-body { overflow: auto; padding: 8px 18px 12px; flex: 1 1 auto; }
.fs-sec { border: 1px solid var(--line-2); border-left: 3px solid var(--ic); border-radius: 12px; padding: 8px 12px; margin-top: 10px; }
.fs-sec h4 { display: flex; align-items: center; gap: 8px; margin: 2px 0 6px; font-size: 14px; color: var(--ic); } .fs-sec h4 .lk { margin-left: auto; }
.fs-row { display: grid; grid-template-columns: minmax(160px, 1.2fr) minmax(120px, 1fr) 96px 136px 100px; gap: 8px; align-items: center; padding: 6px 4px; border-top: 1px dashed var(--line); opacity: .62; }
.fs-row.on { opacity: 1; } .fs-row:hover { background: #f8fbff; }
.fs-ck { display: flex; align-items: center; gap: 6px; min-width: 0; } .fs-ck b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fs-v { font-size: 10.5px; border-radius: 6px; padding: 1px 6px; white-space: nowrap; } .fs-v.ok { background: #dcfce7; color: #15803d; } .fs-v.ask { background: #fef3c7; color: #b45309; }
.fs-why { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs-f { display: flex; flex-direction: column; gap: 2px; font-size: 10.5px; color: var(--mute); } .fs-f .inp { width: 100%; box-sizing: border-box; }
.fs-row .inp.sm { min-width: 0; }
.fs-ft { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--line); background: #f8fafc; border-radius: 0 0 16px 16px; } .fs-ft .grow { flex: 1; }
.fs-menu { position: fixed; z-index: 9999; display: flex; flex-direction: column; min-width: 120px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 34px rgba(15,23,42,.2); }
.fs-menu button { text-align: left; border: 0; background: none; padding: 7px 10px; border-radius: 8px; font-size: 13px; cursor: pointer; } .fs-menu button:hover { background: #eef4ff; } .fs-menu button.on { background: var(--grad, #1e3a8a); color: #fff; } .fs-menu button.bad { color: #dc2626; }
.fv-sw { display: flex; align-items: center; gap: 4px; margin: 4px 0 10px; } .fv-sw button { height: 32px; padding: 0 14px; border-radius: 16px; border: 1px solid var(--line); background: #fff; font-weight: 700; cursor: pointer; } .fv-sw button.on { background: var(--grad, linear-gradient(135deg, #1e3a8a, #0891b2)); color: #fff; border-color: transparent; } .fv-sw span { margin-left: 8px; }
.fb2 { display: flex; flex-direction: column; gap: 10px; min-height: 0; flex: 1 1 auto; }
.fb-kpi { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.fb-kpi > div { border-radius: 14px; padding: 10px 14px; background: linear-gradient(140deg, #0b1d4f, #1e3a8a); color: #fff; display: flex; flex-direction: column; transition: transform .12s, box-shadow .12s; }
.fb-kpi > div:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(30,58,138,.25); }
.fb-kpi > div.g { background: linear-gradient(140deg, #065f46, #0e7490); } .fb-kpi > div.w { background: linear-gradient(140deg, #9f1239, #e11d48); }
.fb-kpi small { font-size: 11.5px; opacity: .8; } .fb-kpi b { font-size: 22px; line-height: 1.25; } .fb-kpi span { font-size: 11.5px; opacity: .8; }
.fb-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.seg2 { display: inline-flex; background: #eef2f8; border-radius: 12px; padding: 3px; } .seg2 button { border: 0; background: none; height: 28px; padding: 0 12px; border-radius: 9px; font-weight: 700; font-size: 12.5px; color: var(--text-2); cursor: pointer; } .seg2 button.on { background: #fff; color: #1e3a8a; box-shadow: 0 1px 4px rgba(15,23,42,.12); } .seg2.sm button { height: 24px; font-size: 12px; }
.fb-insts { display: flex; flex-wrap: wrap; gap: 4px; } .fb-insts .ic { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-size: 12.5px; cursor: pointer; }
.fb-insts .ic i { width: 8px; height: 8px; border-radius: 50%; background: var(--ic, #1e3a8a); } .fb-insts .ic em { font-style: normal; color: var(--mute); } .fb-insts .ic:hover:not(:disabled) { border-color: var(--ic, #2563eb); }
.fb-insts .ic.on { background: var(--ic, #1e3a8a); color: #fff; border-color: transparent; } .fb-insts .ic.on i { background: #fff; } .fb-insts .ic.on em { color: rgba(255,255,255,.8); } .fb-insts .ic:disabled { opacity: .4; cursor: default; }
.fb-f { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .fb-f label { display: inline-flex; align-items: center; gap: 4px; }
.fb-mx { flex: 1 1 auto; min-height: 360px; height: calc(100vh - 430px); display: flex; flex-direction: column; }
.fb-th { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; color: var(--ic); white-space: nowrap; } .fb-th::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ic); }
.fb-cell { display: flex; align-items: center; gap: 4px; min-width: 0; } .fb-none { color: #cbd5e1; } .fb-cell .more { font-style: normal; font-size: 11px; color: var(--mute); }
.fb-c { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; max-width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 2px 7px; background: #fff; cursor: pointer; line-height: 1.25; transition: border-color .12s, box-shadow .12s; }
.fb-c b { font-size: 11.5px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .fb-c span { font-size: 10.5px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.fb-c:hover { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.12); } .fb-c.w { border-color: #fda4af; }
.fb-c.st-승인, .fb-c.st-실행 { background: #ecfdf5; border-color: #86efac; } .fb-c.st-반려 { background: #fff1f2; } .fb-c.st-접수, .fb-c.st-실사 { background: #eff6ff; }
.fb-kb { display: flex; flex-direction: column; gap: 10px; } .fb-inst { border-left: 3px solid var(--ic, #2563eb); } .fb-inst h4 { display: flex; align-items: center; gap: 6px; color: var(--ic); } .fb-inst h4 i { width: 8px; height: 8px; border-radius: 50%; background: var(--ic); }
.fb2 .fb-it { position: relative; text-align: left; } .fb2 .fb-it small { font-size: 10.5px; color: var(--mute); } .fb2 .fb-it.w { border-color: #fda4af; } .fb2 .fb-it.w small { color: #be123c; font-weight: 700; }
.fb2 .fb-it .mv { position: absolute; top: 4px; right: 4px; border: 0; background: #eef2f8; border-radius: 6px; font-size: 10.5px; padding: 1px 5px; cursor: pointer; opacity: 0; } .fb2 .fb-it:hover .mv { opacity: 1; }
.fb-ls { display: flex; flex-direction: column; gap: 10px; } .fb-sum { border: 1px solid var(--line-2); border-radius: 14px; padding: 10px 12px; background: #fff; }
.fb-sh { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.fb-sum table { width: 100%; border-collapse: collapse; font-size: 12.5px; } .fb-sum th { text-align: right; color: var(--mute); font-weight: 600; padding: 5px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; } .fb-sum th:first-child, .fb-sum td:first-child { text-align: left; }
.fb-sum td { text-align: right; padding: 5px 8px; border-bottom: 1px dashed var(--line); } .fb-sum tr:hover td { background: #f6f9ff; } .fb-sum td.g { color: #15803d; font-weight: 700; } .fb-sum td.r { color: #dc2626; }
.fb-st { cursor: pointer; }
@media (max-width: 1300px) { .fs-insts { grid-template-columns: repeat(4, minmax(0, 1fr)); } .fs-row { grid-template-columns: 1fr 1fr; } .fb-kpi { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ROUND3 자금진행: 현재 상태 1개 선택 · 외부연동 방식(기관 트리) · 환불액 입력 */
.fx-one { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.fx-one button { height: 30px; padding: 0 12px; border-radius: 15px; border: 1px solid var(--line); background: #fff; font-size: 12.5px; font-weight: 700; color: var(--mute); cursor: pointer; white-space: nowrap; }
.fx-one.sm button { height: 24px; padding: 0 8px; font-size: 11.5px; border-radius: 12px; }
.fx-one button:hover { border-color: #93c5fd; color: #1e3a8a; }
.fx-one button.on { color: #fff; border-color: transparent; }
.fx-one button.st-접수대기.on { background: #64748b; } .fx-one button.st-접수완료.on { background: #2563eb; } .fx-one button.st-실사중.on { background: #7c3aed; }
.fx-one button.st-승인.on { background: #059669; } .fx-one button.st-반려.on { background: #dc2626; } .fx-one button.st-반려 { color: #dc2626; }
.fx-row .fx-meta { grid-column: 1 / -1; }
.fb-c.st-접수완료, .fb-c.st-실사중 { background: #eff6ff; } .fs-menu button.st-반려 { color: #dc2626; }
.fb-st.st-승인, .chip.st-승인 { background: #ecfdf5; color: #047857; } .fb-st.st-반려 { background: #fff1f2; color: #dc2626; } .fb-st.st-실사중 { background: #f5f3ff; color: #6d28d9; } .fb-st.st-접수완료 { background: #eff6ff; color: #1d4ed8; }
.jt { display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: 12px; min-height: 0; flex: 1 1 auto; }
.jt-tree { display: flex; flex-direction: column; gap: 1px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: auto; max-height: calc(100vh - 330px); }
.jt-n { display: flex; align-items: center; gap: 6px; width: 100%; text-align: left; border: 0; background: none; padding: 7px 8px; border-radius: 9px; font-size: 13px; font-weight: 700; color: var(--text); cursor: pointer; }
.jt-n i { width: 8px; height: 8px; border-radius: 50%; background: var(--ic, #64748b); flex: none; }
.jt-n em { margin-left: auto; font-style: normal; font-size: 11.5px; color: var(--mute); font-weight: 600; }
.jt-n.top { border-bottom: 1px solid var(--line-2, #eef2f7); border-radius: 9px 9px 0 0; margin-bottom: 4px; }
.jt-n.sub { padding-left: 22px; font-weight: 500; font-size: 12.5px; color: var(--text-2, #334155); }
.jt-n:hover:not(:disabled) { background: #f1f6ff; } .jt-n.on { background: #e8f0ff; color: #1d4ed8; } .jt-n:disabled { opacity: .4; cursor: default; }
.jt-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; min-height: 0; }
.jt-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.jc { height: 30px; padding: 0 12px; border-radius: 15px; border: 1px solid var(--line); background: #fff; font-size: 12.5px; font-weight: 600; cursor: pointer; color: var(--text-2, #334155); }
.jc b { margin-left: 4px; color: #1d4ed8; } .jc.on { background: #1e3a8a; border-color: #1e3a8a; color: #fff; } .jc.on b { color: #fff; }
.jc.st-반려 b { color: #dc2626; } .jc.st-승인 b { color: #059669; } .jc.on.st-반려 { background: #dc2626; border-color: #dc2626; } .jc.on.st-승인 { background: #059669; border-color: #059669; }
.jt-sep { width: 1px; height: 20px; background: var(--line); margin: 0 4px; }
.jt-tbl .fx-pc { overflow: visible; }
.rf-ask { display: flex; flex-direction: column; gap: 10px; min-width: 340px; padding: 4px; } .rf-ask h3 { margin: 0; } .rf-ask label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--text-2, #334155); }
.rf-ft { display: flex; justify-content: flex-end; gap: 6px; margin-top: 4px; }

/* ===== ROUND3 D (2026-10-09 밤): 심플 머리 · 큰 양식/메모 · 서류 미리보기 ===== */
.cd { gap: 14px; }
.cd-head { padding: 16px 18px 14px; }
.cd-head .l1 { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cd-head .co { font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: var(--text, #0f172a); }
.cd-head .ceo { font-size: 15px; color: var(--text-2, #334155); font-weight: 600; }
.cd-head .ph { font-size: 15px; font-weight: 700; color: var(--navy-600, #1e40af); text-decoration: none; font-variant-numeric: tabular-nums; }
.cd-head .ph:hover { text-decoration: underline; }
.cd-head .flags { margin-left: auto; display: flex; gap: 4px; }
.cd-head .flags .fl { height: 24px; padding: 0 9px; border-radius: 12px; border: 1px solid transparent; background: none; color: var(--mute-2, #94a3b8); font-size: 12px; font-weight: 700; cursor: pointer; }
.cd-head .flags .fl:hover { border-color: var(--line); color: var(--text-2); }
.cd-head .flags .fl.on { background: #fef9c3; border-color: #fde047; color: #a16207; } .cd-head .flags .fl.warn.on { background: #fee2e2; border-color: #fecaca; color: #b91c1c; }
.cd-head .l2 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.cd-head .l2 select.st { height: 34px; padding: 0 30px 0 12px; border-radius: 10px; font-size: 14px; font-weight: 800; max-width: none; border: 1.5px solid #c7d7fe; background-color: #eff6ff; color: var(--navy-600, #1e40af); }
.cd-head .l2 select.st.s-계약완료, .cd-head .l2 select.st.s-승인 { background-color: #ecfdf5; border-color: #a7f3d0; color: #047857; }
.cd-head .l2 select.st[class*="s-중단"], .cd-head .l2 select.st.s-거절, .cd-head .l2 select.st.s-진행불가 { background-color: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.cd-head .l2 select.ow { height: 34px; max-width: 150px; }
.cd-head .l2 .rc { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--mute); }
.cd-head .l2 .rc .inp { height: 34px; max-width: 190px; }
.cd-head .l2 .acts { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.cd-head .l2 .acts .btn { height: 34px; padding: 0 14px; font-weight: 700; display: inline-flex; align-items: center; text-decoration: none; }
.cd-head .sit { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-2, #eef2f7); font-size: 13.5px; }
.cd-head .sit .p { padding: 4px 10px; border-radius: 8px; background: #f1f5f9; color: var(--text-2, #334155); font-weight: 600; white-space: nowrap; }
.cd-head .sit .p.ok { background: #ecfdf5; color: #047857; } .cd-head .sit .p.warn { background: #fff7ed; color: #c2410c; } .cd-head .sit .p.bad { background: #fef2f2; color: #b91c1c; }
.cd-head .sit .p.fund { background: #eef2ff; color: #3730a3; } .cd-head .sit .p.mut { background: none; color: var(--mute); font-weight: 500; padding-left: 2px; }
.cd-head .sit .p.click { cursor: pointer; } .cd-head .sit .p.click:hover { filter: brightness(.96); }
.cd-head .sit .nx { margin-left: auto; font-weight: 800; color: var(--navy-600, #1e40af); }
.cd-inl { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 10px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #f8fbff; border: 1px solid #c7d7fe; }
.cd-inl.bad { background: #fff5f5; border-color: #fecaca; } .cd-inl.scen { align-items: center; line-height: 1.6; font-size: 13.5px; }
.cd-inl > b { width: 100%; font-size: 13px; } .cd-inl.scen > b { width: auto; }
.cd-inl label { display: flex; flex-direction: column; gap: 3px; font-size: 11.5px; font-weight: 700; color: var(--mute); } .cd-inl label.w { flex: 1 1 200px; } .cd-inl .inp { height: 32px; }
.cd-inl .acts { margin-left: auto; display: flex; gap: 6px; }
.cd-tm { position: relative; }
.cd-tmenu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; width: 520px; max-width: 80vw; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 44px rgba(15, 23, 42, .18); }
.cd-tmenu .tg { display: flex; flex-direction: column; gap: 2px; } .cd-tmenu .tg b { font-size: 11.5px; color: var(--mute); margin: 0 0 4px 8px; letter-spacing: .02em; }
.cd-tmenu .tg button { text-align: left; border: 0; background: none; padding: 7px 8px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--text, #0f172a); cursor: pointer; }
.cd-tmenu .tg button:hover { background: #eff6ff; color: var(--navy-600); }
.btn.on { background: #eff6ff; border-color: #bcd0ff; color: var(--navy-600); }
/* 본문: 양식 | 메모 크게 */
.cd-main { grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr); gap: 14px; }
.cd-left { padding: 14px 16px 16px; }
.cd-right { position: sticky; top: 0; align-self: start; }
.cd-lower { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
@media (max-width: 1100px) { .cd-main, .cd-lower { grid-template-columns: minmax(0, 1fr); } .cd-right { position: static; } }
/* 양식 */
.cd-form .fbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.cd-form .fsel { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--mute); }
.cd-form .fsel .inp { height: 30px; font-size: 13px; font-weight: 600; color: var(--text); }
.cd-form .fcnt { font-size: 13px; font-weight: 800; color: var(--navy-600); } .cd-form .fcnt i { font-style: normal; color: var(--mute); font-weight: 600; }
.cd-form .sp { flex: 1; } .cd-form .lk.sm { font-size: 12px; }
.cd-form .fhint { margin: 0 0 8px; }
.cd-memo { resize: none !important; field-sizing: content; min-height: 560px; height: auto; overflow: hidden; padding: 14px 16px; font: 15px/1.85 var(--font); color: var(--text, #0f172a); border-radius: 12px; }
.cd-form.pop .cd-memo { min-height: calc(100vh - 150px); font-size: 16px; }
.cd-cols .row.sub { padding-left: 18px; } .cd-cols .row.sub .lb { color: var(--mute); font-weight: 600; }
.cd-check .ck.sub { padding-left: 22px; }
.cd-card2 textarea, .cd-wiz textarea { resize: none; field-sizing: content; }
.cd-paste { margin-bottom: 10px; padding: 10px; border-radius: 12px; border: 1px dashed #93c5fd; background: #f8fbff; }
.cd-paste textarea { width: 100%; box-sizing: border-box; resize: none; field-sizing: content; min-height: 84px; max-height: 260px; padding: 8px 10px; font: 13.5px/1.6 var(--font); }
.cd-paste .pf { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.cd-paste .pc { display: inline-flex; gap: 6px; align-items: center; padding: 4px 9px; border-radius: 8px; background: #fff; border: 1px solid #c7d7fe; font-size: 12.5px; font-weight: 600; } .cd-paste .pc i { font-style: normal; color: var(--mute); font-size: 11.5px; }
/* 메모 (크고 읽기 쉽게) */
.cd-memo-card.big { padding: 14px 16px; display: flex; flex-direction: column; max-height: calc(100vh - 96px); }
.cd-memo-card .cd-h b { font-size: 16px; } .cd-memo-card .cd-h .cnt, .cd-docs-card .cd-h .cnt { min-width: 22px; height: 20px; padding: 0 6px; border-radius: 10px; background: #eef2ff; color: #3730a3; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.cd-memonew { display: flex; gap: 8px; align-items: stretch; }
.cd-memonew .cd-memoin { flex: 1; resize: none; field-sizing: content; min-height: 76px; max-height: 220px; font: 14.5px/1.6 var(--font); padding: 10px 12px; border-radius: 12px; }
.cd-memonew .btn { align-self: flex-end; height: 36px; padding: 0 16px; }
.cd-memo-card.big .cd-tl { flex: 1; max-height: none; min-height: 120px; overflow: auto; margin-top: 12px; }
.cd-memo-card.big .cd-tl .it { padding: 12px 6px; }
.cd-memo-card.big .cd-tl .meta { font-size: 12.5px; gap: 8px; } .cd-memo-card.big .cd-tl .meta b { font-size: 13.5px; color: var(--text, #0f172a); }
.cd-memo-card.big .cd-tl .tx { margin-top: 6px; font-size: 15px; line-height: 1.75; color: var(--text, #0f172a); }
.cd-memo-card.big .cd-tl .it.rp .tx { font-size: 14px; }
.cd-tl .tag.pin { background: #fef9c3; color: #a16207; }
.cd-pins .pin { font-size: 13.5px; line-height: 1.55; } .cd-pins .pin b { color: #a16207; margin-right: 4px; }
/* 서류함 */
.cd-docs-card .cd-files .fl { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 7px 6px; border-radius: 8px; }
.cd-files .fn { border: 0; background: none; padding: 0; text-align: left; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--text, #0f172a); cursor: zoom-in; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cd-files .fn:hover { color: var(--navy-600); text-decoration: underline; } .cd-files .fn.dis { cursor: default; color: var(--mute); font-weight: 500; }
.cd-files .fa { display: flex; gap: 8px; } .cd-files .fa .lk { font-size: 12px; text-decoration: none; }
.cd-files .tag.img { background: #fdf4ff; color: #a21caf; } .cd-files .tag.pdf { background: #fef2f2; color: #b91c1c; } .cd-files .tag.html { background: #eef2ff; color: #3730a3; }
.cd-dl { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line-2, #eef2f7); }
.cd-dl .dlh { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; } .cd-dl .dlh b { font-size: 14px; color: var(--text); } .cd-dl .dlh i { margin-left: auto; font-style: normal; font-size: 12px; }
.cd-dl .dl > b { display: none; } .cd-dl .dl { margin-top: 6px; } .cd-dl .dl-r { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 8px; padding: 5px 4px; font-size: 13px; border-bottom: 1px solid var(--line-2, #f1f5f9); } .cd-dl .dl-r span { color: var(--mute); font-variant-numeric: tabular-nums; }
/* 미리보기 · 확대 */
.vw { position: fixed; inset: 0; z-index: 10000; background: rgba(15, 23, 42, .88); display: grid; grid-template-rows: auto minmax(0, 1fr); grid-template-columns: 56px minmax(0, 1fr) 56px; }
.vw-top { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding: 10px 16px; color: #fff; }
.vw-top b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46vw; } .vw-top .mut { color: #cbd5e1; font-size: 12.5px; }
.vw-top .zz { margin-left: auto; display: inline-flex; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.25); }
.vw-top .zz button { height: 32px; min-width: 36px; border: 0; background: rgba(255,255,255,.08); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; } .vw-top .zz .pct { font-size: 12.5px; min-width: 58px; } .vw-top .zz button:hover { background: rgba(255,255,255,.2); }
.vw-top .btn { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); text-decoration: none; display: inline-flex; align-items: center; }
.vw-nav { align-self: center; justify-self: center; width: 44px; height: 64px; border: 0; border-radius: 12px; background: rgba(255,255,255,.1); color: #fff; font-size: 32px; cursor: pointer; } .vw-nav:disabled { opacity: .2; cursor: default; } .vw-nav:not(:disabled):hover { background: rgba(255,255,255,.22); }
.vw-box { overflow: auto; background: #1e293b; border-radius: 12px; margin-bottom: 16px; display: flex; align-items: flex-start; justify-content: center; }
.vw-box.k-img { cursor: grab; } .vw-box.k-img:active { cursor: grabbing; } .vw-box img { display: block; margin: auto; user-select: none; }
.vw-box iframe { border: 0; width: 100%; height: 100%; background: #fff; } .vw-box.k-html { background: #fff; display: block; } .vw-box iframe.sc { transform-origin: 0 0; }
.vw-box pre { margin: 0; padding: 20px; width: 100%; color: #e2e8f0; white-space: pre-wrap; word-break: break-word; }
.vw-msg { margin: auto; color: #e2e8f0; text-align: center; line-height: 1.8; font-size: 14px; }
/* 양식 새 창 */
.fw-body { background: var(--bg, #f4f7fb); margin: 0; }
.fw { padding: 14px 18px; }
.fw-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; } .fw-h b { font-size: 19px; } .fw-h .chip { padding: 3px 10px; border-radius: 10px; background: #eff6ff; color: var(--navy-600); font-weight: 700; font-size: 12.5px; }
.fw-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, 1fr); gap: 14px; align-items: start; }
.fw-form { padding: 14px 16px; } .fw-memo { position: sticky; top: 10px; }
@media (max-width: 900px) { .fw-grid { grid-template-columns: minmax(0, 1fr); } }
.fw-msg { padding: 60px; text-align: center; color: var(--mute); font-size: 15px; }

.cd-docs-card .cd-files .fl { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; row-gap: 1px; }
.cd-docs-card .cd-files .fl > .tag { grid-row: 1 / 3; align-self: center; } .cd-docs-card .cd-files .fl > .fn { grid-column: 2; grid-row: 1; } .cd-docs-card .cd-files .fl > .mut.sm { grid-column: 2; grid-row: 2; font-size: 11.5px; } .cd-docs-card .cd-files .fl > .fa { grid-column: 3; grid-row: 1 / 3; }

.cd-inl .btn { color: var(--text, #0f172a); } .cd-inl .btn.pri { color: #fff; }
.cd-form .fbar { row-gap: 6px; } .cd-form .fbar .fsel select { max-width: 190px; }
.vw-top { background: rgba(15, 23, 42, .55); }

/* ==== 고객 상세 = 전체화면 겹 (솔버 CRM처럼 지금 화면 위에 띄움 · Overlay.js Layer o.cust) ==== */
.scrim.cfov-scrim { background: rgba(11,21,51,.42); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: fade 110ms var(--ease); }
.cfov { position: fixed; inset: 3vh 2vw; display: flex; flex-direction: column; background: var(--bg, #f6f8fc); border-radius: 18px; box-shadow: 0 30px 80px rgba(11,21,51,.35), 0 0 0 1px rgba(255,255,255,.5) inset; overflow: hidden; animation: cfovIn 130ms var(--ease) both; }
@keyframes cfovIn { from { opacity: 0; transform: translateY(10px) scale(.988); } }
.cfov-h { flex: none; display: flex; align-items: center; gap: 12px; padding: 11px 18px; color: #fff; background: radial-gradient(120% 200% at 90% -40%, rgba(34,211,238,.35), transparent 55%), linear-gradient(120deg, var(--navy-800, #0b1533), var(--navy-600, #1e3a8a)); }
.cfov-h > b { font-size: 17px; font-weight: 800; letter-spacing: -.3px; max-width: 34vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cfov-h .chip { box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.cfov-h .fov-k { margin-left: auto; font-size: 12px; opacity: .7; }
.cfov-nav { display: inline-flex; align-items: center; gap: 2px; margin-left: 6px; padding: 2px; border-radius: 10px; background: rgba(255,255,255,.1); }
.cfov-nav button { width: 30px; height: 28px; border: 0; border-radius: 8px; background: none; color: #fff; font-size: 19px; line-height: 1; cursor: pointer; }
.cfov-nav button:hover:not(:disabled) { background: rgba(255,255,255,.22); }
.cfov-nav button:disabled { opacity: .3; cursor: default; }
.cfov-nav em { font-style: normal; font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; opacity: .92; padding: 0 4px; white-space: nowrap; }
.cfov-b { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 16px 20px 22px; }
/* 상세 칸: 양식 | 메모 | (서류함·자금진행·판정·고객정보). 좁으면 셋째 칸이 아래로 내려가 2열 */
.cd-third { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; min-width: 0; }
.cd-third > * { min-width: 0; } .cd-third .ct-wide { grid-column: 1 / -1; }
@media (max-width: 1100px) { .cd-third { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1400px) {
  .cfov .cd-main { grid-template-columns: minmax(0, 1.05fr) minmax(360px, 1fr) minmax(330px, .9fr); }
  .cfov .cd-third { grid-column: auto; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 0; max-height: calc(94vh - 96px); overflow: auto; overscroll-behavior: contain; padding-right: 2px; }
  .cfov .cd-right { max-height: calc(94vh - 96px); overflow: auto; overscroll-behavior: contain; }
}
/* 고객 전체화면 겹이 열려 있으면 AI 비서 떠있는 버튼 숨김 (셋째 칸 가림 방지) */
body:has(.cfov) .ai-fab{display:none!important}

/* ===== 고객 상세 r4: 한 줄 머리(남색 바 안) · 상황줄·고객정보 제거 · 양식/메모 화면 높이 꽉 ===== */
.cfov-h.cfov-h2 { gap: 10px; padding: 8px 12px 8px 12px; min-height: 0; }
.cfov-h2 .cfov-nav { margin-left: 0; flex: none; }
.cdh { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
.cdh .co { font-size: 16.5px; font-weight: 800; letter-spacing: -.3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 22vw; color: #fff; }
.cdh .co .ceo { font-size: 13px; font-weight: 600; opacity: .75; margin-left: 6px; }
.cdh .ph { font-size: 14px; font-weight: 700; color: #bfe3ff; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cdh .ph:hover { text-decoration: underline; }
.cdh .hs { height: 32px; border-radius: 9px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.12); color: #fff; font: 600 13px var(--font); padding: 0 8px; outline: none; min-width: 0; }
.cdh .hs:focus { border-color: #7dd3fc; background: rgba(255,255,255,.2); }
.cdh .hs::placeholder { color: rgba(255,255,255,.55); }
.cdh select.hs option { color: #0f172a; background: #fff; }
.cdh select.hs.st { font-weight: 800; background: #fff; color: var(--navy-600, #1e40af); border-color: #fff; padding-right: 4px; }
.cdh select.hs.st.s-계약완료, .cdh select.hs.st.s-승인 { color: #047857; }
.cdh select.hs.st[class*="s-중단"], .cdh select.hs.st.s-거절, .cdh select.hs.st.s-진행불가 { color: #b91c1c; }
.cdh select.hs.ow { max-width: 110px; }
.cdh .rcg { display: inline-flex; align-items: center; gap: 4px; min-width: 0; flex: 1 1 280px; }
.cdh .rcg i { font-style: normal; font-size: 12px; font-weight: 700; opacity: .75; white-space: nowrap; }
.cdh .rcg .rc { width: 178px; flex: none; color-scheme: dark; }
.cdh .rcg .why { flex: 1; min-width: 90px; }
.cdh .acts { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; flex: none; }
.cdh .hb, .cdh .hb-tool .btn { height: 32px; padding: 0 11px; border-radius: 9px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff; font: 700 13px var(--font); display: inline-flex; align-items: center; text-decoration: none; cursor: pointer; }
.cdh .hb:hover, .cdh .hb-tool .btn:hover { background: rgba(255,255,255,.22); }
.cdh .hi { width: 28px; height: 28px; border-radius: 8px; border: 0; background: none; color: rgba(255,255,255,.45); font-size: 15px; font-weight: 900; cursor: pointer; }
.cdh .hi.on { background: #fde047; color: #713f12; } .cdh .hi.warn.on { background: #fecaca; color: #991b1b; }
.cfov-h2 .fov-x { flex: none; }
/* 본문: 화면 높이 꽉 · 칸마다 자기 스크롤 */
.cfov .cfov-b { padding: 10px 12px 12px; overflow: hidden; display: flex; flex-direction: column; }
.cfov .cd.cd-x { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; }
.cfov .cd-x > .cd-inl, .cfov .cd-x > .cd-inlw { flex: none; }
.cfov .cd-x .cd-main { flex: 1; min-height: 0; align-items: stretch; gap: 10px; }
.cfov .cd-x .cd-left { display: flex; flex-direction: column; min-height: 0; padding: 10px 12px; overflow: hidden; }
.cfov .cd-x .cd-left > * { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.cfov .cd-x .cd-form { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.cfov .cd-x .cd-form .fbar { flex: none; flex-wrap: nowrap; gap: 6px; margin-bottom: 8px; overflow: hidden; }
.cfov .cd-x .cd-form .fbar .fsel select { max-width: 150px; }
.cfov .cd-x .cd-form .fbar .btn { flex: none; white-space: nowrap; }
.cfov .cd-x .cd-form > :not(.fbar):not(.cd-paste):not(.fhint) { flex: 1; min-height: 0; overflow: auto; }
.cfov .cd-x .cd-memo { field-sizing: fixed; flex: 1; min-height: 0 !important; height: 100% !important; overflow: auto; padding: 10px 12px; font: 14.5px/1.55 var(--font); }
.cfov .cd-x .cd-right, .cfov .cd-x .cd-third { max-height: none; height: 100%; min-height: 0; overflow: auto; position: static; }
.cfov .cd-x .cd-right > * { min-height: 100%; }
.cfov .cd-x .cd-memo-card.big { max-height: none; height: 100%; box-sizing: border-box; }
@media (max-width: 1399px) { .cfov .cd-x .cd-main { grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr); } .cfov .cd-x .cd-third { grid-column: 1 / -1; height: auto; } .cfov .cfov-b { overflow: auto; } .cfov .cd-x .cd-main { flex: none; height: calc(100% - 4px); grid-template-rows: 100% auto; } .cdh .rcg { flex-basis: 200px; } .cdh .ph { display: none; } }
.cfov-h2 { position: relative; z-index: 5; }
.rcc { display: inline-flex; flex-direction: column; line-height: 1.2; } .rcc .rcw { font-size: 11px; color: var(--mute, #64748b); max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cfov .cd-x .cd-form .fbar .fsel > span { display: none; } .cfov .cd-x .cd-form .fbar .fsel select { max-width: 132px; } .cfov .cd-x .cd-form .fbar .fcnt { flex: none; }
/* 도구 한 줄 (전부 노출) + AI 바로가기 */
.cd-strip { flex: none; display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; overflow: hidden; height: 32px; }
.cd-strip .ts { flex: none; height: 28px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--line, #e2e8f0); background: #fff; color: var(--text-2, #334155); font: 600 12px var(--font); white-space: nowrap; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.cd-strip .ts:hover { border-color: #93c5fd; color: var(--navy-600, #1e40af); background: #f5f9ff; }
.cd-strip .ts.pri { border-color: #c7d7fe; color: var(--navy-600, #1e40af); background: #eff6ff; }
.cd-strip .ts.on { background: var(--navy-600, #1e40af); color: #fff; border-color: transparent; }
.cd-strip .tsep { flex: 1 1 4px; min-width: 4px; }
.cd-strip .ts.ai { border-color: #ddd6fe; background: linear-gradient(135deg, #f5f3ff, #eef2ff); color: #5b21b6; }
.cd-strip .ts.ai.run { background: #ede9fe; } .cd-strip .ts.ai em { font-style: normal; font-size: 11px; font-weight: 800; color: #7c3aed; }
.cd-strip .ts.kp { background: linear-gradient(135deg, #2563eb, #0ea5e9); color: #fff; border-color: transparent; font-weight: 800; }
@media (max-width: 1500px) { .cd-strip .ts { padding: 0 6px; font-size: 11.5px; } .cd-strip { gap: 3px; } }
body:has(.cfov) .ai-panel { z-index: 10050 !important; }
@media (max-width: 1500px) { .cd-strip { gap: 2px; } .cd-strip .ts { padding: 0 5px; font-size: 11px; letter-spacing: -.3px; } }

/* r4 자금 자격 체크 */
.cd-judge.fc .fc-sec { margin-top: 10px; }
.cd-judge.fc h5 { margin: 0 0 6px; font-size: 12.5px; font-weight: 800; color: #334155; display: flex; gap: 6px; align-items: center; }
.cd-judge.fc h5 em { font-style: normal; font-size: 11px; padding: 0 7px; border-radius: 999px; background: var(--line-2, #eef2f8); color: #475569; }
.cd-judge.fc .fc-row { display: grid; grid-template-columns: auto auto 1fr; gap: 2px 8px; align-items: center; padding: 7px 9px; border-radius: 10px; border: 1px solid var(--line, #e3e8f2); margin-bottom: 5px; font-size: 13px; }
.cd-judge.fc .fc-row small { grid-column: 1 / -1; color: #64748b; font-size: 11.5px; line-height: 1.45; }
.cd-judge.fc .fc-row b { font-weight: 700; color: #0f172a; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cd-judge.fc .fc-row .org { font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 999px; background: #e8efff; color: #1d4ed8; }
.cd-judge.fc .fc-row.ok { background: #f0fdf4; border-color: #bbf7d0; }
.cd-judge.fc .fc-row.ask { background: #fffbeb; border-color: #fde68a; grid-template-columns: auto 1fr; }
.cd-judge.fc .fc-row.ask .q { width: 18px; height: 18px; border-radius: 50%; background: #f59e0b; color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.cd-judge.fc .fc-row.no { background: #fef2f2; border-color: #fecaca; }
.cd-judge.fc .fc-row.no .org { background: #fee2e2; color: #b91c1c; }
.cd-judge.fc .fc-row input { margin: 0; }

/* r4b 자금 자격 체크 제목 한 줄 */
.cd-judge .cd-h { flex-wrap: wrap; }
.cd-judge .cd-h > b { white-space: nowrap; flex-shrink: 0; }

/* r5 · 고객 여는 방식 스위치 + 반화면 */
.cfov-om { flex: none; display: inline-flex; gap: 2px; padding: 2px; border-radius: 10px; background: rgba(255,255,255,.1); }
.cfov-om button { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 8px; border: 0; border-radius: 8px; background: none; color: rgba(255,255,255,.8); font: 600 11.5px var(--font); cursor: pointer; white-space: nowrap; }
.cfov-om button:hover { background: rgba(255,255,255,.16); color: #fff; } .cfov-om button.on { background: #fff; color: var(--navy-700, #1e2a78); }
.cfov.m-half, .cfov.m-mini { inset: 8px 8px 8px auto; width: 60vw; border-radius: 16px; box-shadow: -18px 0 50px rgba(11,21,51,.28); animation: cfovSide 140ms var(--ease); }
.cfov.m-mini { width: 66vw; }
@keyframes cfovSide { from { opacity: 0; transform: translateX(24px); } }
body.cfov-open-mini .main { margin-right: calc(66vw + 8px); transition: margin-right 140ms var(--ease); }
body.cfov-open-mini .main .h1 + .sub { display: none; }
.cfov.m-half .cfov-h2, .cfov.m-mini .cfov-h2 { flex-wrap: wrap; row-gap: 6px; }
.cfov.m-half .cfov-b, .cfov.m-mini .cfov-b { overflow: auto !important; }
.cfov.m-half .cd-x .cd-main, .cfov.m-mini .cd-x .cd-main { flex: none !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
.cfov.m-half .cd-x .cd-left, .cfov.m-half .cd-x .cd-right, .cfov.m-mini .cd-x .cd-left, .cfov.m-mini .cd-x .cd-right { height: calc(100vh - 168px) !important; }
.cfov.m-half .cd-x .cd-third, .cfov.m-mini .cd-x .cd-third { grid-column: 1 / -1; height: auto !important; overflow: visible; }
.cfov.m-half .cd-strip, .cfov.m-mini .cd-strip { flex-wrap: wrap; row-gap: 4px; }
/* r5 · 양식 보기: 칸형 2열 · 하이브리드 · 표형 */
.cd-cols2 .row { grid-template-columns: 132px minmax(0, 1fr); padding: 2px 0; gap: 6px; }
.cd-cols2 .inp { height: 30px; font-size: 14px; }
.cd-cols2 .row.fblank .inp { background: #fffdf3; border-color: #fde68a; }
.cd-cols2 .row:focus-within .lb { color: var(--navy-600, #2563eb); }
.cd-hyb { display: grid; grid-template-columns: minmax(0, 1fr) 142px; gap: 8px; min-height: 0; }
.cd-hyb .hyb-t { min-height: 0 !important; height: 100% !important; field-sizing: fixed; overflow: auto; }
.hyb-s { display: flex; flex-direction: column; gap: 3px; overflow: auto; min-height: 0; padding: 2px; }
.hyb-p { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 4px; padding: 6px 8px; border-radius: 10px; background: #eef2ff; margin-bottom: 4px; }
.hyb-p b { font-size: 18px; color: var(--navy-600, #2563eb); } .hyb-p i { font-style: normal; font-size: 11.5px; color: var(--mute); }
.hyb-p span { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: #dbe3f4; overflow: hidden; } .hyb-p em { display: block; height: 100%; background: var(--grad); }
.hyb-c { display: flex; align-items: center; gap: 6px; padding: 4px 7px; border: 1px solid #fde68a; border-radius: 8px; background: #fffbeb; font: 600 11.5px var(--font); color: #92400e; text-align: left; cursor: pointer; }
.hyb-c i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #f59e0b; } .hyb-c span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hyb-c.ok { border-color: #c7d2fe; background: #fff; color: var(--text-2); } .hyb-c.ok i { background: #22c55e; }
.hyb-c.sub { margin-left: 10px; }
.cd-tbl { border: 1.5px solid #334155; border-radius: 6px; overflow: auto; background: #fff; }
.cd-tbl .tbl-h { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 10px; background: #f1f5f9; border-bottom: 1.5px solid #334155; } .cd-tbl .tbl-h b { font-size: 13.5px; letter-spacing: 2px; } .cd-tbl .tbl-h span { font-size: 12px; color: var(--mute); }
.cd-tbl table { width: 100%; border-collapse: collapse; }
.cd-tbl th { width: 34%; padding: 0 8px; background: #f8fafc; border: 1px solid #cbd5e1; font-size: 12.5px; font-weight: 700; color: var(--text-2); text-align: left; word-break: keep-all; }
.cd-tbl td { padding: 0; border: 1px solid #cbd5e1; } .cd-tbl td .inp { width: 100%; height: 30px; border: 0; border-radius: 0; background: transparent; box-sizing: border-box; font-size: 14px; }
.cd-tbl td .inp:focus { background: #eff6ff; box-shadow: inset 0 0 0 2px #93c5fd; }
.cd-tbl tr.sub th { padding-left: 20px; font-weight: 600; color: var(--mute); } .cd-tbl tr.fblank td { background: #fffdf3; }
/* r5 · 일정 두 탭 + 업무 일정 */
.sc-tabs { display: flex; gap: 8px; margin: 4px 0 14px; }
.sc-tabs button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; font-family: var(--font); }
.sc-tabs button b { font-size: 15px; color: var(--text-2); } .sc-tabs button small { font-size: 11.5px; color: var(--mute); }
.sc-tabs button.on { background: var(--grad); border-color: transparent; box-shadow: 0 8px 22px rgba(37,99,235,.25); } .sc-tabs button.on b, .sc-tabs button.on small { color: #fff; }
.sc-split .m2-sched.page { padding: 0; }
.wk .wk-who { width: 140px; height: 32px; }
.wk-prog { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mute); } .wk-prog b { color: var(--navy-600, #2563eb); font-size: 15px; }
.wk-prog i { width: 120px; height: 6px; border-radius: 3px; background: #e2e8f0; overflow: hidden; } .wk-prog em { display: block; height: 100%; background: var(--grad); }
.wk-day { padding: 6px 12px; margin-bottom: 10px; } .wk-day header { display: flex; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line-2); }
.wk-r { display: grid; grid-template-columns: 22px 92px 72px minmax(160px, 1.2fr) minmax(0, 1.4fr) 128px auto auto; gap: 10px; align-items: center; padding: 9px 4px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.wk-r:last-child { border-bottom: 0; } .wk-r:hover { background: #f8faff; }
.wk-tm { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--text); }
.wk-k { justify-self: start; padding: 2px 8px; border-radius: 8px; font-size: 12px; font-weight: 700; background: #eef2ff; color: #3730a3; }
.wk-k.late { background: #fee2e2; color: #b91c1c; } .wk-k.mt { background: #dcfce7; color: #166534; } .wk-k.fc { background: #fef3c7; color: #92400e; }
.wk-nm { cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .wk-nm:hover b { color: var(--navy-600, #2563eb); text-decoration: underline; }
.wk-why { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .wk-ph { color: var(--navy-600, #2563eb); font-variant-numeric: tabular-nums; text-decoration: none; }
.wk-r.done { opacity: .45; } .wk-r.done .wk-nm b { text-decoration: line-through; }
.wk-empty { padding: 18px 4px; }

/* r5 · 겹 너비 고정(내용이 넓어도 창 밖으로 안 나가게) */
.cfov { max-width: 96vw; } .cfov.m-half { max-width: 60vw; } .cfov.m-mini { max-width: 66vw; }
.cfov > *, .cfov .cd-x { min-width: 0; }
.cfov-h2 .hs.why { flex: 1 1 140px; min-width: 90px; width: auto !important; max-width: 300px; }
.cfov-h2 > b { min-width: 0; }
.cfov .cd-strip { min-width: 0; overflow-x: auto; scrollbar-width: none; } .cfov .cd-strip::-webkit-scrollbar { display: none; }
.wk-day .wk-empty { padding: 6px 4px; margin: 0; font-size: 12.5px; }

.cd-cols2 .row { padding: 2px 0; border-bottom: 0; } .cd-cols2 .row.sub { padding-left: 14px; } .cd-cols2 { display: flex; flex-direction: column; gap: 2px; }

/* r5 · 반화면 머리: 2줄로 (이름·전화·상태·담당 / 재통화·사유·버튼) */
.cfov.m-half .cfov-h2, .cfov.m-mini .cfov-h2 { flex-wrap: nowrap; align-items: flex-start; }
.cfov.m-half .cdh, .cfov.m-mini .cdh { flex: 1 1 auto; min-width: 0; flex-wrap: wrap; row-gap: 6px; }
.cfov.m-half .cdh .rcg, .cfov.m-mini .cdh .rcg { flex: 1 1 260px; min-width: 0; display: flex; }
.cfov.m-half .cdh .rcg .why, .cfov.m-mini .cdh .rcg .why { flex: 1; max-width: none; }
.cfov.m-half .cdh .co, .cfov.m-mini .cdh .co { max-width: 180px; }
.cfov.m-half .cfov-om button, .cfov.m-mini .cfov-om button { padding: 0 6px; font-size: 0; gap: 0; } .cfov.m-half .cfov-om svg, .cfov.m-mini .cfov-om svg { width: 15px; height: 15px; }
.cfov.m-half .cd-x .cd-form .fbar, .cfov.m-mini .cd-x .cd-form .fbar { flex-wrap: wrap; overflow: visible; }
.cfov.m-half .cdh, .cfov.m-mini .cdh { overflow: hidden; } .cfov.m-half .cdh .rcg .rc, .cfov.m-mini .cdh .rcg .rc { width: 150px; min-width: 0; flex: none; }

/* r5b 업무 일정 촘촘하게: 빈 날은 한 줄, 행 40px */
.wk-none { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; margin-bottom: 4px; border-radius: 8px; background: #f8fafc; border: 1px dashed var(--line-2, #e2e8f0); font-size: 12.5px; color: var(--mute); }
.wk-none b { color: var(--text-2); font-weight: 700; } .wk-none.today { border-color: #93c5fd; background: #eff6ff; }
.wk-none .chip { padding: 0 6px; font-size: 11px; }
.wk-day { padding: 2px 12px 2px; margin-bottom: 6px; }
.wk-day header { padding: 4px 0; font-size: 13px; min-height: 28px; }
.wk-r { padding: 0 4px; min-height: 40px; height: 40px; gap: 8px; }
.wk-day .wk-empty { padding: 6px 4px; }
.wk .card.wk-day { padding: 2px 14px 4px; margin-bottom: 6px; } .wk .card.wk-day > header { padding: 6px 0 4px; }

/* r7 D: 메모 수정 · 콜 시나리오 */
.cd-memo-card .ed-tag{font-size:11px;margin-left:4px}
.cd-memo-card .ed-in{display:flex;gap:6px;align-items:flex-start;margin:4px 0 6px}
.cd-memo-card .ed-in textarea{flex:1;min-height:64px;font-size:inherit;line-height:1.55}
.cd-memo-card .ed-in .ed-b{display:flex;flex-direction:column;gap:4px}
.cs-pre{padding:18px 20px;line-height:1.7;font-size:14px}
.cs-pre b{display:block;margin:10px 0 4px;color:#1e3a8a}
.cs-pre ol{margin:0 0 8px 18px}

/* ===== ROUND7 F: 자금진행 메뉴 (진행 중 / 승인 / 매출 / 계약 고객 / 진행중단) · 스크롤 없이 한 화면 ===== */
.funds { padding-top: 12px; gap: 8px; }
.fd-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; flex: none; }
.fd-head .h1 { margin: 0; }
.fd-tabs { display: inline-flex; gap: 4px; background: #eef2f8; padding: 4px; border-radius: 12px; }
.fd-t { border: 0; background: none; padding: 7px 14px; border-radius: 9px; font-size: 13.5px; font-weight: 700; color: var(--mute); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.fd-t b { font-size: 11.5px; color: var(--mute); font-weight: 700; }
.fd-t.on { background: #fff; color: #1d4ed8; box-shadow: 0 2px 8px rgba(30,58,138,.12); }
.fd-body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.fd-body > .page { padding: 0; }
.funds .fb2 { gap: 6px; }
.fb-sum { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding: 6px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: 12.5px; color: var(--mute); flex: none; }
.fb-sum b { color: var(--text); font-size: 13.5px; }
.fb-sum .g { color: #047857; font-weight: 700; } .fb-sum .w { color: #be123c; font-weight: 700; }
.funds .fb-bar, .funds .fb-f { flex: none; }
.funds .jt { flex: 1 1 auto; min-height: 0; }
.funds .jt-tree { max-height: none; height: 100%; }
.funds .jt-main { height: 100%; }
.funds .fb-mx { height: auto; min-height: 0; flex: 1 1 auto; }
.funds .jt-chips { flex: none; }
select.fx-sel { height: 28px; padding: 0 22px 0 8px; border-radius: 8px; font-size: 12.5px; font-weight: 700; width: auto; min-width: 88px; }
select.fx-sel.sm { height: 26px; font-size: 12px; }
select.fx-sel.st-접수대기 { color: #475569; } select.fx-sel.st-접수완료 { color: #1d4ed8; border-color: #bfdbfe; }
select.fx-sel.st-실사중 { color: #6d28d9; border-color: #ddd6fe; } select.fx-sel.st-승인 { color: #047857; border-color: #a7f3d0; background: #ecfdf5; }
select.fx-sel.st-반려 { color: #be123c; border-color: #fecdd3; background: #fff1f2; }
.ap-bg { position: fixed; inset: 0; background: rgba(15,23,42,.35); z-index: 9000; display: grid; place-items: center; }
.ap-dlg { background: #fff; border-radius: 16px; padding: 18px 20px; width: 360px; box-shadow: 0 24px 60px rgba(15,23,42,.3); display: flex; flex-direction: column; gap: 10px; }
.ap-dlg h3 { margin: 0 0 4px; font-size: 16px; }
.ap-dlg label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--text-2, #334155); }
.ap-dlg label small { font-weight: 500; }
.ap-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.sv { display: flex; flex-direction: column; gap: 8px; min-height: 0; flex: 1 1 auto; }
.sv-top { display: flex; gap: 12px; align-items: stretch; flex: none; flex-wrap: wrap; }
.sv-k { border-radius: 14px; padding: 10px 16px; background: linear-gradient(140deg, #065f46, #0e7490); color: #fff; display: flex; flex-direction: column; min-width: 240px; }
.sv-k small, .sv-k span { font-size: 12px; opacity: .85; } .sv-k b { font-size: 24px; line-height: 1.3; }
.sv-m, .sv-ow { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; align-content: center; }
.sv-ow { flex: none; } .sv-ow small { color: var(--mute); margin-left: 3px; font-size: 11px; }
.sv-tbl { flex: 1 1 auto; min-height: 0; overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.sv-tbl table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sv-tbl th { position: sticky; top: 0; background: #f6f8fc; text-align: left; padding: 8px 10px; font-size: 12px; color: var(--mute); border-bottom: 1px solid var(--line); }
.sv-tbl td { padding: 8px 10px; border-bottom: 1px solid #f1f4f9; }
.sv-tbl .r { text-align: right; } .sv-tbl td.g { color: #047857; font-weight: 800; } .sv-tbl td.w { color: #be123c; font-weight: 700; }
.sv-tbl td.nm { cursor: pointer; } .sv-tbl td.nm:hover b { color: #1d4ed8; text-decoration: underline; }
.tabs .tab-go { margin-left: auto; color: #1d4ed8; font-size: 13px; }

.funds .jt { grid-template-rows: minmax(0, 1fr); }
.funds .jt-tree { height: auto; min-height: 0; max-height: 100%; }
.funds .jt-main { height: auto; min-height: 0; }
.page.fill.funds { height: calc(100vh - 56px); max-height: calc(100vh - 56px); }

/* r8 자금 누락 체크 */
.fg-chip{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:999px;background:#fee2e2;color:#b91c1c;font-weight:700;font-size:12.5px;border:1px solid #fecaca;cursor:pointer;white-space:nowrap}
.fg-chip.ok{background:#ecfdf5;color:#047857;border-color:#a7f3d0;cursor:default}
.fg-panel{margin:8px 0 10px;border:1px solid #fecaca;background:#fff;border-radius:12px;padding:10px 12px;max-height:46vh;display:flex;flex-direction:column}
.fg-h{display:flex;align-items:center;gap:10px;margin-bottom:6px}.fg-h .btn{margin-left:auto}
.fg-rules{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:6px}.fg-rules button{border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 10px;font-size:12px;cursor:pointer}.fg-rules button.on{background:#1d4ed8;color:#fff;border-color:#1d4ed8}
.fg-list{overflow:auto}
.fg-row{display:grid;grid-template-columns:92px 150px 1fr auto auto auto;gap:10px;align-items:center;padding:6px 4px;border-bottom:1px solid #f1f5f9;font-size:13px}
.fg-row.s3 .fg-tag{background:#fee2e2;color:#b91c1c}.fg-row.s2 .fg-tag{background:#fff7ed;color:#c2410c}.fg-row.s1 .fg-tag{background:#f1f5f9;color:#475569}
.fg-tag{border-radius:6px;padding:2px 6px;font-size:11.5px;font-weight:700;text-align:center;white-space:nowrap}
.fg-co{font-weight:700;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fg-card header{display:flex;align-items:center;gap:8px}.fg-card header .btn{margin-left:auto}.fg-sum{margin-top:4px}
.fg-row .fg-co{border:0;background:none;padding:0;color:#1e3a8a;cursor:pointer}.fg-row .fg-co:hover{text-decoration:underline}

/* r8 고객별 묶음 · 회차 */
.fg-grp{display:flex;flex-direction:column;min-height:0;height:100%}
.fg-bar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:4px 0 8px}.fg-bar .inp{max-width:200px}.fg-tot{margin-left:auto}
.fd-chip{border:1px solid #e5e7eb;background:#fff;border-radius:999px;padding:4px 11px;font-size:12.5px;cursor:pointer}.fd-chip.on{background:#1d4ed8;color:#fff;border-color:#1d4ed8}.fd-chip.red:not(.on){color:#b91c1c;border-color:#fecaca;background:#fef2f2}
.fg-gl{overflow:auto;flex:1;border:1px solid #e5e7eb;border-radius:12px;background:#fff}
.fg-g{border-bottom:1px solid #f1f5f9}.fg-g.op{background:#f8fafc}
.fg-gh{display:grid;grid-template-columns:12px 170px 1fr auto 14px;gap:10px;align-items:center;padding:8px 12px;cursor:pointer}.fg-gh:hover{background:#f8fafc}
.fg-dot{width:8px;height:8px;border-radius:50%;background:transparent}.fg-dot.on{background:#ef4444;box-shadow:0 0 0 3px #fee2e2}
.fg-who b{display:block;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fg-who small{color:#64748b;font-size:11.5px}
.fg-pills{display:flex;flex-wrap:wrap;gap:5px;align-items:center}
.fg-pill{display:inline-flex;align-items:center;gap:5px;border:1px solid #e5e7eb;border-left:3px solid var(--ic);border-radius:7px;padding:2px 7px;font-size:12px;background:#fff;white-space:nowrap}
.fg-pill i{font-style:normal;color:var(--ic);font-weight:700}.fg-pill b{color:var(--sc);font-weight:700}.fg-pill em{font-style:normal;color:#059669;font-weight:700}.fg-pill em.m{color:#64748b;font-weight:500}
.fg-rn{font-size:11px;font-weight:800;color:#1e3a8a;background:#e0e7ff;border-radius:5px;padding:1px 6px}
.fg-sm{font-size:12px;color:#334155;white-space:nowrap}.fg-cv{color:#94a3b8}
.fg-det{padding:4px 14px 12px 34px}.fg-rnd{margin-top:6px}.fg-rh{display:flex;gap:10px;align-items:center;border-top:2px solid #c7d2fe;padding-top:6px;margin-bottom:4px}.fg-rh b{color:#1e3a8a}
.fg-tb{width:100%;border-collapse:collapse;font-size:12.5px;background:#fff}.fg-tb th{text-align:left;color:#64748b;font-weight:600;padding:5px 6px;border-bottom:1px solid #e5e7eb}.fg-tb td{padding:5px 6px;border-bottom:1px solid #f1f5f9}.fg-tb td.miss{color:#dc2626;font-weight:700}
.fg-i{color:var(--ic);font-weight:700}.fg-dact{display:flex;gap:6px;margin-top:8px}
.fx-round{margin-bottom:8px}.fx-rh{display:flex;align-items:center;gap:10px;padding:6px 0 4px;border-bottom:2px solid #c7d2fe;margin-bottom:6px}.fx-rh b{color:#1e3a8a}.fx-rh label{margin-left:auto;display:flex;gap:6px;align-items:center}.fx-rsel{width:64px}

/* v40 svclog — 컨설팅 수행 기록 */
.svc-card .cd-h{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.svc-card .cd-h .tbtn{margin-left:auto}
.svc-chips{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0}
.svc-chip{--c:#94a3b8;border:1px solid color-mix(in srgb,var(--c) 35%,transparent);background:color-mix(in srgb,var(--c) 10%,#fff);color:var(--c);border-radius:999px;padding:3px 9px;font-size:12px;font-weight:600;cursor:pointer;display:inline-flex;gap:5px;align-items:center}
.svc-chip b{font-weight:800}.svc-chip.off{opacity:.45;border-style:dashed}.svc-chip.on{background:var(--c);color:#fff}
.svc-last>div{font-size:12.5px;padding:3px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.svc-last small{color:#64748b;margin-right:4px}
.svc-dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:5px;vertical-align:middle}
.svc-ack,.svc-op{font-style:normal;font-size:11px;border-radius:6px;padding:1px 6px;margin-left:4px}.svc-ack{background:#dcfce7;color:#15803d}.svc-op{background:#e0f2fe;color:#0369a1}
.svc-full{padding:4px 2px}.svc-sum{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:6px}.svc-sum>div{background:linear-gradient(135deg,#0b1f4d,#1d4ed8);color:#fff;border-radius:12px;padding:10px 14px;display:flex;flex-direction:column}.svc-sum small{opacity:.8;font-size:11.5px}.svc-sum b{font-size:18px}
.svc-bar{display:flex;gap:8px;margin:6px 0}.svc-bar .inp{flex:1}
.svc-t{width:100%;border-collapse:collapse;font-size:12.5px}.svc-t th{background:#eff6ff;color:#1e3a8a;text-align:left;padding:6px 8px;position:sticky;top:0}.svc-t td{padding:6px 8px;border-bottom:1px solid #eef2f7;vertical-align:top}.svc-t .nw{white-space:nowrap}
.svc-tag{--c:#64748b;color:var(--c);background:color-mix(in srgb,var(--c) 12%,#fff);border-radius:6px;padding:1px 7px;font-weight:700;font-size:11.5px;white-space:nowrap}
.svc-card{padding:12px 14px}.svc-card .cd-h b{font-size:14px}

/* v40 review · 고객 목록 담당 드롭다운 · 상태 카드 (전체 칸만 작게) */
.kpis.cl-kpis { display: flex; gap: 10px; }
.kpis.cl-kpis .kpi { flex: 1 1 0; min-width: 0; }
.kpis.cl-kpis .kpi.slim { flex: 0 0 84px; }
.chip.s-체크대기 { background: #fff4d6; color: #a15c00; }
.ow-sel { width: 100%; height: 26px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; font-size: 12.5px; padding: 0 4px; cursor: pointer; color: inherit; }
.ow-sel:hover { border-color: #bcd0ff; }
.ow-sel.none { color: var(--mute); }
.rv-req { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #7a4b00; }
.rv-req b.chip { font-size: 11px; padding: 1px 6px; margin-right: 4px; }
.rv-req small { color: var(--mute); }
.rv-acts { display: inline-flex; gap: 4px; flex-wrap: nowrap; }
.btn.xs { height: 24px; padding: 0 8px; font-size: 11.5px; border-radius: 7px; }
.rv-bulk { display: inline-flex; gap: 6px; align-items: center; margin-left: 6px; padding-left: 10px; border-left: 1px solid var(--line); font-weight: 600; color: #a15c00; }
.rv-opts { display: flex; gap: 14px; margin: 10px 0 12px; }
.rv-opts label { display: flex; gap: 6px; align-items: center; cursor: pointer; }
.rv-ask textarea { width: 100%; resize: vertical; min-height: 70px; }
.rv-card { cursor: pointer; border-color: #f6d58a !important; background: #fffbeb; }
.rv-card .n { color: #a15c00; }

/* ---- r10 자금진행 단순화 · 승인·매출(고객 한 줄) · 계약금/수수료 · 부가세 ---- */
.fd-rv{margin-left:4px}
.dc{display:inline-flex}.dc-in{width:118px;padding:2px 6px;height:26px;font-size:12px}
.dc-b{border:1px dashed #cbd5e1;background:#f8fafc;color:#64748b;border-radius:7px;padding:2px 9px;font-size:12px;cursor:pointer;white-space:nowrap}
.dc-b.w{border:1px solid #fecaca;background:#fef2f2;color:#b91c1c;font-weight:700}
.ac-in{width:86px;height:26px;padding:2px 6px;font-size:12.5px;text-align:right}
.vs{height:26px;padding:1px 4px;font-size:12px;max-width:128px}
.as{display:flex;flex-direction:column;gap:8px;height:100%;min-height:0}
.as-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.as-m{display:flex;gap:5px;flex-wrap:wrap}
.as-vd{margin-left:auto;display:inline-flex;align-items:center;gap:6px}
.as-k{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.as-k>div{border:1px solid var(--line,#e5e7eb);background:#fff;border-radius:12px;padding:8px 14px;display:flex;flex-direction:column}
.as-k small{font-size:12px;color:#64748b}.as-k b{font-size:20px;font-weight:800;color:#0f172a}.as-k span{font-size:12px;color:#64748b}
.as-k .sum{background:linear-gradient(140deg,#065f46,#0e7490);border:0}.as-k .sum small,.as-k .sum span{color:#d1fae5}.as-k .sum b{color:#fff}
.as-ow{display:flex;gap:5px;flex-wrap:wrap}.as-ow small{font-size:11px;opacity:.75;margin-left:4px}
.as-f{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.as-f .inp{width:180px}
.as-tbl{flex:1 1 auto;min-height:0;overflow:auto;background:#fff;border:1px solid var(--line,#e5e7eb);border-radius:12px}
.as-tbl>table{width:100%;border-collapse:collapse;font-size:13px}
.as-tbl>table>thead th{position:sticky;top:0;z-index:1;background:#f6f8fb;text-align:left;font-weight:700;color:#475569;padding:8px 10px;border-bottom:1px solid #e5e7eb;white-space:nowrap}
.as-tbl td{padding:6px 10px;border-bottom:1px solid #f1f5f9;vertical-align:middle}
.as-tbl .r{text-align:right}
.as-r{cursor:pointer}.as-r:hover td{background:#f8fafc}.as-r.op td{background:#eff6ff}
.as-r .nm b{display:block}.as-r .nm small{color:#94a3b8;font-size:11.5px}
.as-r .chw{display:flex;flex-wrap:wrap;gap:4px}
.as-chip{display:inline-flex;align-items:center;gap:4px;border:1px solid #e5e7eb;border-left:3px solid var(--ic);border-radius:7px;padding:1px 7px;font-size:12px;background:#fff;white-space:nowrap}
.as-chip i{font-style:normal;color:var(--ic);font-weight:700}.as-chip em{font-style:normal;color:#047857;font-weight:700}
.as-amt{font-weight:700;margin-right:6px}.as-amt.w{color:#b91c1c}
.as-pay{font-size:11.5px;border-radius:999px;padding:1px 7px;background:#fef2f2;color:#b91c1c;white-space:nowrap}.as-pay.ok{background:#ecfdf5;color:#047857}
.as-det>td{background:#f8fafc;padding:8px 12px 12px}
.as-d{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:10px 12px}
.as-dh{display:flex;align-items:center;gap:10px;margin-bottom:6px}.as-dh .grow{flex:1}.as-dh label{display:inline-flex;align-items:center;gap:6px;color:#475569}
.as-dt{width:100%;border-collapse:collapse;font-size:12.5px}.as-dt th{font-weight:700;color:#64748b;text-align:left;padding:5px 6px;border-bottom:1px solid #e5e7eb;white-space:nowrap}
.as-dt td{padding:4px 6px;border-bottom:1px solid #f1f5f9}.as-dt .r{text-align:right}
@media (max-width:1300px){.as-k{grid-template-columns:repeat(2,minmax(0,1fr))}}
.as-tbl td{white-space:nowrap}.as-tbl td .chw{white-space:normal;min-width:180px}.as-tbl td .dc-in{margin-left:2px}

/* v40 excel · 재통화 바로 예약 */
.rcol { overflow: visible; } .rc-btn { border: 0; background: none; padding: 2px 4px; margin: -2px -4px; border-radius: 8px; cursor: pointer; font: inherit; color: inherit; text-align: left; max-width: 100%; } .rc-btn:hover { background: #eef4ff; } .rc-btn.none { color: #94a3b8; font-size: 12px; opacity: 0; } .vt-r:hover .rc-btn.none, .rc-btn.none:focus { opacity: 1; }
.rcp-w { padding: 0; overflow: visible; } .rcp { display: flex; flex-direction: column; gap: 8px; padding: 12px; } .rcp-h { display: flex; align-items: baseline; gap: 8px; } .rcp-h .mut { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rcp-q { display: flex; flex-wrap: wrap; gap: 5px; } .rcp-c { border: 1px solid var(--line, #e2e8f0); background: #f8fafc; border-radius: 999px; padding: 4px 9px; font-size: 12px; cursor: pointer; } .rcp-c:hover { background: #eef4ff; } .rcp-c.on { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
.rcp .inp { width: 100%; box-sizing: border-box; } .rcp-st { font-size: 12px; display: flex; gap: 6px; align-items: center; color: #475569; } .rcp-ft { display: flex; justify-content: space-between; }
.xl-imp { display: flex; flex-direction: column; gap: 10px; min-width: 640px; max-width: 860px; padding: 18px 22px; box-sizing: border-box; } .xl-imp h3 { margin: 0; } .xl-sec { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 13px; } .xl-sec > b { min-width: 92px; }
.xl-map { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px 10px; width: 100%; } .xl-map label { display: flex; flex-direction: column; gap: 3px; font-size: 12px; font-weight: 600; }
.xl-prev { width: 100%; overflow: auto; max-height: 170px; border: 1px solid var(--line, #e2e8f0); border-radius: 10px; } .xl-prev table { width: 100%; border-collapse: collapse; font-size: 12px; } .xl-prev th, .xl-prev td { padding: 5px 8px; border-bottom: 1px solid #eef2f7; text-align: left; white-space: nowrap; max-width: 180px; overflow: hidden; text-overflow: ellipsis; } .xl-prev th { background: #f1f5ff; position: sticky; top: 0; }
.xl-ev { display: flex; flex-wrap: wrap; gap: 6px 12px; width: 100%; } .xl-chk { padding: 9px 12px; border-radius: 10px; background: #eef4ff; font-size: 13px; } .xl-dups { max-height: 300px; overflow: auto; font-size: 13px; display: flex; flex-direction: column; gap: 4px; }

/* r11 D3 진행 예정 기관 칩 줄 (양식 위) */
.cd-pinst{position:relative;display:flex;flex:0 0 auto;flex-direction:row;justify-content:flex-start;flex-wrap:wrap;align-items:center;gap:4px;padding:6px 10px 6px;border-bottom:1px solid var(--line,#e5e9f2);font-size:12px}
.cd-pinst .pl-l{font-weight:700;color:#334155;margin-right:2px;white-space:nowrap}
.cd-pinst .pl-c{border:1px solid color-mix(in srgb,var(--ic) 35%,#e2e8f0);background:#fff;color:#475569;border-radius:999px;padding:2px 9px;font-size:12px;line-height:18px;cursor:pointer;white-space:nowrap}
.cd-pinst .pl-c:hover{border-color:var(--ic)}
.cd-pinst .pl-c.on{background:var(--ic);border-color:var(--ic);color:#fff;font-weight:600}
.cd-pinst .pl-c.lk{cursor:default;background:color-mix(in srgb,var(--ic) 12%,#fff);border-color:var(--ic);color:var(--ic)}
.cd-pinst .pl-c.lk b{font-weight:700}
.cd-pinst .pl-menu{position:absolute;left:60px;top:100%;z-index:30;background:#fff;border:1px solid #dbe3f0;border-radius:10px;box-shadow:0 10px 30px rgba(15,23,42,.15);padding:8px 10px;display:grid;grid-template-columns:1fr 1fr;gap:4px 14px;min-width:280px}
.cd-pinst .pl-o{display:flex;align-items:center;gap:6px;font-size:12.5px;cursor:pointer;padding:2px 0}
.cd-pinst .pl-o.on{color:#1d4ed8;font-weight:600}
.cd-pinst .pl-menu .lk{grid-column:1/-1;justify-self:end}
.cfov .cd-x .cd-left > .cd-pinst,.cd-left > .cd-pinst{flex:0 0 auto;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;min-height:0}
.cd-left > .cd-pinst{gap:3px;padding:5px 8px}.cd-pinst .pl-c{padding:1px 7px;font-size:11.5px}.cd-pinst .pl-l{font-size:11.5px}


/* r11 L: 고객 리스트 — 대표 메인/상호 서브, 지역·업종 분리, DB 등록 시간·출처, 목록+양식 보기 */
.vt-r .dbc .dbt { display: flex; flex-direction: column; line-height: 1.2; }
.vt-r .dbc .dbt b { font-weight: 600; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.vt-r .dbc .dbt small { color: var(--mute); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-r .rgc, .vt-r .indc { color: #334155; font-size: 13px; }
.vt-r.sel { background: #e8f0ff; box-shadow: inset 3px 0 0 var(--blue-500); }
.cl-wrap { display: flex; flex: 1; min-height: 0; gap: 12px; }
.cl-wrap > .vt { flex: 1 1 auto; min-width: 0; }
.cl-wrap.split > .vt { flex: 0 0 52%; }
.cl-pv { flex: 1 1 48%; min-width: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); overflow: hidden; }
.cl-pv > .empty { margin: auto; padding: 24px; text-align: center; color: var(--mute); }
.cl-pv-sk { flex: 1; margin: 14px; border-radius: 12px; background: linear-gradient(90deg,#f1f5f9,#e2e8f0,#f1f5f9); background-size: 200% 100%; animation: clpvsk 1.2s infinite; }
.cl-pv-h { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: linear-gradient(135deg,#0b1f4d,#1e3a8a); color: #fff; }
.cl-pv-h .cdh { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cl-pv-h .cdh .acts { display: none; }
.cl-pv-h .btn { flex: none; }
.cl-pv-b { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px; overflow: hidden; }
.cl-pv-b > .card { min-height: 0; overflow: auto; padding: 10px; margin: 0; }
@media (max-width: 1500px) { .cl-pv-b { grid-template-columns: 1fr; overflow: auto; } .cl-pv-b > .card { overflow: visible; } }
.cl-lv { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #fff; }
.cl-lv button { border: 0; background: none; padding: 6px 11px; font-size: 12.5px; color: var(--mute); cursor: pointer; }
.cl-lv button.on { background: var(--navy-600, #1e3a8a); color: #fff; font-weight: 700; }
.cfov-h .ceo, .cdh .co .ceo { font-weight: 500; opacity: .75; margin-left: 6px; font-size: .86em; }
@keyframes clpvsk { 0% { background-position: 200% 0 } 100% { background-position: -200% 0 } }

.cl-pv { contain: size layout; }
.cl-pv-b { overflow: auto; }
.cl-pv-h .btn { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.cl-pv-h .btn:hover { background: rgba(255,255,255,.24); }
.cl-pv-h .cdh .rcg i { color: rgba(255,255,255,.8); }

@media (max-width: 1500px) { .cl-pv-b { display: flex; flex-direction: column; } .cl-pv-b > .card { flex: none; overflow: visible; } .cl-pv-b > .cl-pv-tl { min-height: 320px; } }

/* r11 승인매출관리 (외부연동 구조: 금액 + 부가세 10% 체크 + 날짜) */
.as.sm2 .as-top{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.sm-per{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.sm-per .inp{width:140px}
.as.sm2 .as-k{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.sm-k{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:10px 14px;display:flex;flex-direction:column;gap:2px}
.sm-k small{color:#64748b;font-size:12px}.sm-k b{font-size:22px;color:#0f172a}.sm-k span{font-size:12px;color:#64748b}
.sm-k.on{border-color:#2563eb;box-shadow:0 0 0 2px rgba(37,99,235,.15)}.sm-k.sum{background:linear-gradient(135deg,#0f766e,#0e7490);border:0}.sm-k.sum small,.sm-k.sum b,.sm-k.sum span{color:#fff}
.sm-l .as-dt td{vertical-align:middle}.sm-l .as-dt tr.out{opacity:.45}
.sm-vat{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;font-size:12px}
.sm-rate{display:inline-flex;align-items:center;gap:2px}.sm-rate .inp{width:54px}
.sm-l .ac-in{width:84px;text-align:right}
.ap-vat{display:flex!important;flex-direction:row!important;align-items:center;gap:6px}

/* v40 list: 계약서 칸 · DB 삭제 */
.ecc{justify-content:flex-start}
.ec{display:inline-flex;flex-direction:column;align-items:flex-start;gap:0;border:0;border-radius:7px;padding:3px 8px;font-size:11.5px;font-weight:700;line-height:1.25;cursor:pointer;white-space:nowrap;font-family:inherit}
.ec small{font-size:10.5px;font-weight:500;opacity:.85}
.ec-none{background:transparent;color:var(--mut,#94a3b8);font-weight:500;cursor:default;padding-left:0}
.ec-sent{background:#eff6ff;color:#1d4ed8}
.ec-done{background:#dcfce7;color:#15803d}
.ec-exp{background:#f1f5f9;color:#64748b}
.btn.danger{color:#dc2626;border-color:#fecaca;background:#fff}
.btn.danger:hover{background:#fef2f2}
.ra-del{border-top:1px dashed var(--line,#e2e8f0);padding-top:8px;margin-top:4px}

/* r11t 기관진행 표 · 셋째 칸 탭 · 2칸 배치 · 재통화 빠른 버튼 */
.cd-third.cd-tabs { display: flex !important; flex-direction: column; gap: 0; min-height: 0; }
.cd-tabs .ctb { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; padding: 4px; background: #f1f5fb; border: 1px solid #e3e9f3; border-radius: 10px; margin-bottom: 8px; position: sticky; top: 0; z-index: 2; }
.cd-tabs .ctb-b { border: 0; background: transparent; padding: 6px 10px; border-radius: 7px; font-size: 12.5px; font-weight: 600; color: #475569; cursor: pointer; white-space: nowrap; }
.cd-tabs .ctb-b:hover { background: #e6edf8; }
.cd-tabs .ctb-b.on { background: #fff; color: #1d4ed8; box-shadow: 0 1px 3px rgba(15,23,42,.12); }
.cd-tabs .ctb-sp { flex: 1; }
.cd-tabs .ctb-lay { border: 1px dashed #cbd5e1; background: #fff; color: #64748b; font-size: 11px; padding: 4px 8px; border-radius: 7px; cursor: pointer; white-space: nowrap; }
.cd-tabs .ctb-body { min-height: 0; flex: 1; overflow: auto; display: flex; flex-direction: column; gap: 12px; }
.cd-tabs .ctb-body > * { min-width: 0; }
.cd-tabs .ct-fundmore { padding: 2px 4px; }
.cd-main.lay2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) !important; }
.cfov .cd-x .cd-main.lay2 .cd-third { grid-column: auto !important; height: 100%; overflow: hidden; }
.cfov .cd-x .cd-main:not(.lay2) .cd-third.cd-tabs { height: 100%; overflow: hidden; }
.ij { padding: 10px 12px; }
.ij .ij-h { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.ij .ij-h b { font-size: 14px; }
.ij .ij-sum { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; padding: 7px 8px; background: #f8fafc; border: 1px solid #e8edf5; border-radius: 8px; margin-bottom: 8px; }
.ij .ij-chip { font-size: 11.5px; font-weight: 600; color: var(--ic); background: color-mix(in srgb, var(--ic) 10%, #fff); border: 1px solid color-mix(in srgb, var(--ic) 30%, #fff); padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.ij .ij-n { margin-left: auto; }
.ij .ij-t { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.ij .ij-t th { text-align: left; font-weight: 600; color: #64748b; font-size: 11.5px; padding: 5px 6px; border-bottom: 1px solid #e5eaf2; background: #fafcff; position: sticky; top: 0; }
.ij .ij-t td { padding: 4px 6px; border-bottom: 1px solid #f0f3f8; vertical-align: middle; height: 32px; }
.ij .ij-t .c { text-align: center; width: 38px; } .ij .ij-t .r { text-align: right; }
.ij .ij-t tr.on td { background: #f7faff; }
.ij .ij-i { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: #1f2937; white-space: nowrap; }
.ij .ij-i::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ic); }
.ij .ij-t tr:not(.on) .ij-i { color: #94a3b8; font-weight: 500; }
.ij .inp.xs { height: 26px; padding: 0 6px; font-size: 12px; border-radius: 6px; }
.ij .ij-off { color: #a0aec0; background: #f8fafc; }
.ij .ij-amt { width: 78px; }
.ij .ij-plan { font-size: 11.5px; color: #2563eb; background: #eef4ff; padding: 3px 8px; border-radius: 6px; font-weight: 600; }
.ij .ij-st.st-승인 { color: #15803d; font-weight: 700; } .ij .ij-st.st-반려 { color: #b91c1c; } .ij .ij-st.st-실사중 { color: #7c3aed; } .ij .ij-st.st-접수완료 { color: #0369a1; }
.ij .ij-more { margin-top: 6px; }
.cdh .rcq { display: inline-flex; gap: 3px; margin-left: 4px; }
.cdh .rcq .rq { border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); color: #fff; font-size: 11px; padding: 3px 7px; border-radius: 6px; cursor: pointer; white-space: nowrap; }
.cdh .rcq .rq:hover { background: rgba(255,255,255,.25); }
.cd:not(.cfov *) .cdh .rcq .rq { color: #1e3a8a; border-color: #c7d2fe; background: #eef2ff; }

.cfov .cd-x .cd-main.lay2, .cd-x .cd-main.lay2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) !important; }
.cfov .cd-x .cd-main.lay2 > .cd-third { grid-column: 2 / 3 !important; width: auto; }
.ij .ij-t th { white-space: nowrap; }
.cd-tabs .ctb { align-self: stretch; }

/* r12 외부연동 매출관리 */
.jt-wrap{display:flex;gap:12px;height:100%;min-height:0}
.jt-side{width:150px;flex:none;display:flex;flex-direction:column;gap:2px;padding:8px;background:#fff;border:1px solid var(--line,#e5e9f2);border-radius:12px;align-self:flex-start}
.jt-side .jt-st{font-weight:700;font-size:13px;padding:6px 8px 8px}
.jt-side .jt-n{text-align:left;padding:7px 10px;border-radius:8px;font-size:13px;background:none;border:0;cursor:pointer;color:#334}
.jt-side .jt-n.on{background:#eef4ff;color:#1d4ed8;font-weight:700;box-shadow:inset 3px 0 0 #2563eb}
.jt-main{flex:1;min-width:0;display:flex;flex-direction:column;min-height:0}
.jt{display:flex;flex-direction:column;gap:8px;min-height:0;height:100%}
.jt-ow{display:flex;gap:6px;flex-wrap:wrap}
.jt-filter{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;background:#fff;border:1px solid var(--line,#e5e9f2);border-radius:12px;padding:8px 10px}
.jt-filter label{display:flex;flex-direction:column;font-size:11px;color:#667;gap:3px}
.jt-note{align-self:center}
.jt-box{border:1px solid #dbe4f3;border-radius:10px;padding:4px 10px;min-width:96px;background:#f8fbff}
.jt-box small{display:block;font-size:11px;color:#667}.jt-box b{font-size:15px}
.jt-box.sum{background:#eef4ff;border-color:#bfd2fb}.jt-box.sum b{color:#1d4ed8}
.jt-box.red b{color:#dc2626}
.jt-two{display:grid;grid-template-columns:1fr 1.25fr;gap:10px;flex:1;min-height:0}
.jt-tbl{background:#fff;border:1px solid var(--line,#e5e9f2);border-radius:12px;overflow:auto;flex:1;min-height:0;position:relative}
.jt-cap{position:sticky;left:0;font-weight:700;font-size:13px;padding:8px 12px}
.jt-tbl table{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-size:12.5px}
.jt-tbl th{position:sticky;top:0;background:#f6f8fc;z-index:2;font-weight:600;color:#556;text-align:left;padding:8px;border-bottom:1px solid #e5e9f2;white-space:nowrap}
.jt-tbl td{padding:5px 8px;border-bottom:1px solid #f0f2f7;white-space:nowrap;vertical-align:middle}
.jt-tbl .r{text-align:right}.jt-tbl .b{font-weight:700}
.jt-tbl .jt-chk,.jt-tbl .jt-no,.jt-tbl .jt-nm{position:sticky;background:#fff;z-index:1}
.jt-tbl th.jt-chk,.jt-tbl th.jt-no,.jt-tbl th.jt-nm{z-index:3;background:#f6f8fc}
.jt-tbl .jt-chk{left:0;width:30px}.jt-tbl .jt-no{left:30px;width:36px;color:#889}.jt-tbl .jt-nm{left:66px;min-width:130px;box-shadow:1px 0 0 #e5e9f2}
.jt-two .jt-tbl .jt-no{left:0}.jt-two .jt-tbl .jt-nm{left:36px}
.jt-nm a{cursor:pointer;color:#1d4ed8}.jt-nm small{margin-left:5px;color:#889;font-weight:400}
.jt-tbl tfoot td{position:sticky;bottom:0;background:#f6f8fc;font-weight:700;border-top:1px solid #dbe2ee}
.jt-pill{display:inline-block;padding:2px 9px;border-radius:999px;font-size:11.5px;border:1px solid #dbe2ee;background:#f7f9fc}
.jt-pill.c{color:#1d4ed8;border-color:#bfd2fb;background:#eef4ff}.jt-pill.s{color:#0f766e;background:#ecfdf8;border-color:#a7eedd}
.jt-pill.e.ok{color:#15803d;background:#ecfdf3;border-color:#a7e8bf}.jt-pill.e.w{color:#c2410c;background:#fff4ec;border-color:#fcd2b4}.jt-pill.e.x{color:#667}
.jt-paid{font-weight:700;border-radius:999px!important;padding:2px 8px!important}
.jt-paid.ok{color:#15803d;background:#ecfdf3;border-color:#a7e8bf}.jt-paid.no{color:#dc2626;background:#fef2f2;border-color:#fecaca}
.jt-vat{display:inline-flex;gap:3px;align-items:center;font-size:12px;cursor:pointer}
.jt-split{width:110px}
.jt-cust td{background:#fbfcfe}
.jt-subr td{background:#fff}
.jt-inst{display:inline-block;padding:1px 8px;border-radius:6px;font-size:12px;border-left:3px solid var(--ic,#2563eb);background:#f6f8fc}
.jt-tbl .ac-in{width:80px;text-align:right}

.jt-tbl select.inp{min-width:72px;height:26px;padding:0 22px 0 8px;font-size:12px;color:#223;background-color:#fff;appearance:auto;-webkit-appearance:auto}
.jt-tbl select.jt-paid.ok{color:#15803d;background-color:#ecfdf3}.jt-tbl select.jt-paid.no{color:#dc2626;background-color:#fef2f2}

/* r13 자금진행관리 (외부연동 구조 · CRM 기준) */
.jtf.jt-wrap { display: grid; grid-template-columns: 196px minmax(0,1fr); gap: 12px; height: 100%; min-height: 0; }
.jtf .jt-main { min-height: 0; overflow: hidden; }
.jtf .jt-ow { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.jtf-sep { width: 1px; height: 20px; background: var(--line); margin: 0 4px; }
.jtf .jc.st-접수대기 b { color: #64748b; } .jtf .jc.st-접수완료 b { color: #2563eb; } .jtf .jc.st-실사중 b { color: #7c3aed; } .jtf .jc.st-승인 b { color: #15803d; } .jtf .jc.st-반려 b { color: #dc2626; }
.jtf-live { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.jtf-tbl { flex: 1; min-height: 0; overflow: auto; }
.jtf-tbl table { min-width: max-content; }
.jtf-tbl thead th { position: sticky; top: 0; z-index: 2; }
.jtf-tbl tfoot td { position: sticky; bottom: 0; z-index: 2; background: #f1f6ff; font-weight: 700; }
.jtf-tbl .jt-chk, .jtf-tbl .jt-no, .jtf-tbl .jt-nm { position: sticky; z-index: 1; background: #fff; }
.jtf-tbl .jt-chk { left: 0; width: 34px; min-width: 34px; } .jtf-tbl .jt-no { left: 34px; width: 40px; min-width: 40px; } .jtf-tbl .jt-nm { left: 74px; min-width: 150px; max-width: 190px; box-shadow: 1px 0 0 var(--line); }
.jtf-tbl thead .jt-chk, .jtf-tbl thead .jt-no, .jtf-tbl thead .jt-nm { z-index: 3; }
.jtf-tbl tfoot td:first-child { left: 0; position: sticky; z-index: 3; }
.jtf-row:hover td { background: #f8fbff; }
.jtf-ih { border-bottom: 2px solid var(--ic, #94a3b8) !important; white-space: nowrap; }
.jtf-ic { min-width: 92px; } .jtf-ic .jtf-st + .jtf-st { margin-top: 3px; }
.jtf-st { display: block; width: max-content; font-size: 11.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: #f1f5f9; color: #475569; }
.jtf-st.st-접수완료 { background: #e8f0ff; color: #1d4ed8; } .jtf-st.st-실사중 { background: #f3e8ff; color: #6d28d9; } .jtf-st.st-승인 { background: #dcfce7; color: #15803d; } .jtf-st.st-반려 { background: #fee2e2; color: #b91c1c; }
.jtf-busy { opacity: .5; pointer-events: none; }
.jtf-empty { padding: 30px; text-align: center; }

/* r13 반화면: 양식 | 탭(메모·기관진행·서류함…) — 탭은 메모 옆, 아래로 내려가지 않음 */
.cfov.m-half .cd-x .cd-main.lay2.half2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
.cfov.m-half .cd-x .cd-main.lay2.half2 > .cd-third { grid-column: 2 / 3 !important; height: calc(100vh - 168px) !important; overflow: hidden !important; display: flex !important; flex-direction: column; }
.cfov.m-half .cd-x .cd-main.lay2.half2 > .cd-third .ctb { flex-wrap: wrap; row-gap: 2px; }
.cfov.m-half .cd-x .cd-main.lay2.half2 > .cd-third .ctb-body { flex: 1; min-height: 0; overflow: auto; }
.ij-ok { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: 7px; background: #dcfce7; color: #15803d; font-weight: 700; font-size: 12px; white-space: nowrap; }

/* R14 — 승인 내역 · 기관별 요약 */
.jt-isum{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 10px}
.jt-isum .jt-ic{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:2px 8px;min-width:150px;padding:8px 12px;border:1px solid #e5e9f2;border-left:3px solid var(--ic,#64748b);border-radius:10px;background:#fff}
.jt-isum .jt-ic i{width:8px;height:8px;border-radius:50%;background:var(--ic,#64748b)}
.jt-isum .jt-ic b{font-size:13px}.jt-isum .jt-ic span{font-size:12px;color:#64748b;text-align:right}
.jt-isum .jt-ic em{grid-column:1/-1;font-style:normal;font-weight:700;font-size:14px;color:#0f172a}
.jt-isum .jt-ic small{grid-column:1/-1;font-size:11.5px;color:#059669}
.jt-ok td.miss{color:#dc2626}
.pf-inst .jt-isum{margin:4px 0 0}

/* r14b 매출관리 고정 칸 너비 정리 · 승인 내역 */
.jt-tbl:not(.jtf-tbl) .jt-chk{width:30px;min-width:30px;max-width:30px;box-sizing:border-box;left:0}
.jt-tbl:not(.jtf-tbl) .jt-no{width:42px;min-width:42px;max-width:42px;box-sizing:border-box;left:30px}
.jt-tbl:not(.jtf-tbl) .jt-nm{left:72px;max-width:220px;overflow:hidden;text-overflow:ellipsis}
.jt-two .jt-tbl:not(.jtf-tbl) .jt-no,.jt-nochk .jt-tbl:not(.jtf-tbl) .jt-no{left:0}
.jt-two .jt-tbl:not(.jtf-tbl) .jt-nm,.jt-nochk .jt-tbl:not(.jtf-tbl) .jt-nm{left:42px}
.jt-nod{display:inline-block;padding:1px 8px;border-radius:10px;background:#fff7ed;color:#c2410c;border:1px solid #fed7aa;font-size:11px;cursor:pointer}
span.jt-nod{cursor:default}
.jt-tbl td.jt-ed{cursor:pointer}.jt-tbl td.jt-ed:hover{background:#eef4ff}

/* R15 — 자금진행관리·매출관리 표가 화면 폭을 꽉 채우게 (빈 오른쪽 없음) · 글씨 13.5px · 줄 높이 44px */
.jt-tbl table, .jtf-tbl table { width: 100%; min-width: max-content; font-size: 13.5px; }
.jt-tbl th { padding: 9px 12px; font-size: 12.5px; }
.jt-tbl td { padding: 6px 12px; height: 44px; box-sizing: border-box; }
.jt-tbl tfoot td { height: 40px; }
.jtf-tbl th.jt-nm, .jtf-tbl td.jt-nm { min-width: 200px; max-width: none; }
.jt-tbl:not(.jtf-tbl) th.jt-nm, .jt-tbl:not(.jtf-tbl) td.jt-nm { min-width: 180px; max-width: 300px; }
.jt-nm a b { font-size: 14px; } .jt-nm small { font-size: 12px; }
.jtf-tbl select.inp, .jt-tbl select.inp { min-width: 120px; height: 30px; font-size: 13px; }
.jtf-tbl .jt-inst { font-size: 13px; }
.jtf-tbl .jtf-ic { min-width: 110px; }
.jtf-tbl .jtf-st { font-size: 12.5px; }
.jt-tbl .jt-ed input.inp, .jt-tbl input.inp.sm { height: 30px; font-size: 13px; }

/* R15 — 고객 창 폭 꽉 채우기 (fr 단위) · 기관진행 표 넓게 · 계약완료 게이트 창 */
.cfov .cd.cd-x { align-items: stretch; width: 100%; }
.cfov .cd-x .cd-main { width: 100%; box-sizing: border-box; }
.cfov .cd-x .cd-main > * { justify-self: stretch; min-width: 0; max-width: none !important; }
.cfov .cd-x .cd-main > .cd-third { width: auto !important; }
@media (min-width: 1400px) { .cfov.m-full .cd-x .cd-main:not(.lay2) { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr) !important; } }
.cfov.m-full .cd-x .cd-main.lay2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
.cd-tabs .ctb-body > * { width: 100%; max-width: none; box-sizing: border-box; }
.cd-tabs .ctb { width: 100%; box-sizing: border-box; }
.ij { width: 100%; box-sizing: border-box; }
.ij .ij-t { table-layout: auto; width: 100%; }
.ij .ij-t td:nth-child(2) { width: 46%; }
.ij .ij-t select.ij-st, .ij .ij-t select.ij-off { width: 100%; min-width: 120px; max-width: 220px; }
.ij .ij-t .r .lk { font-weight: 700; }
.ij .ij-t .r .ij-ap { border: 0; background: none; color: #2563eb; cursor: pointer; font-size: 12px; padding: 2px 4px; border-radius: 6px; }
.ij .ij-t .r .ij-ap:hover { background: #eef4ff; }
.cg-ask { width: min(560px, 92vw); }
.cg-ask .cg-grid { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.cg-ask .cg-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.cg-ask .cg-grid .cg-vat { flex-direction: row; align-items: center; gap: 6px; padding-bottom: 8px; }
.cg-ask .cg-rows { display: flex; flex-direction: column; gap: 6px; max-height: 340px; overflow: auto; margin: 10px 0; }
.cg-ask .cg-row { display: grid; grid-template-columns: minmax(0, 1fr) 170px auto auto; gap: 8px; align-items: center; padding: 8px 10px; border: 1px solid #e5eaf2; border-radius: 10px; background: #fafcff; }
.cg-ask .cg-row .cg-nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cg-ask .cg-amt { display: flex; align-items: center; gap: 4px; } .cg-ask .cg-amt .inp { width: 120px; }
.cg-ask .cg-none { display: flex; align-items: center; gap: 4px; font-size: 12.5px; white-space: nowrap; }
.cg-ask { padding: 18px 22px; box-sizing: border-box; } .cg-ask h3 { margin: 0 0 4px; } .cg-ask .cg-row { grid-template-columns: minmax(0,1fr) 150px auto auto; }


/* R15b · 탭 칸 본문이 칸 폭을 다 쓰게 (반화면·전체 공통) — .cd-third 가 align-items:start 라 본문이 내용 폭으로 줄던 문제 */
.cd-tabs > .ctb-body, .cfov .cd-x .cd-third > .ctb-body { align-self: stretch !important; width: 100% !important; box-sizing: border-box; }
.cd-tabs > .ctb-body > *, .cfov .cd-x .cd-third > .ctb-body > * { align-self: stretch; width: 100%; max-width: none; box-sizing: border-box; }
.cd-tabs .ij-t { width: 100%; }
.cfov .cd-x .cd-main > .cd-left, .cfov .cd-x .cd-main > .cd-third, .cfov .cd-x .cd-main > .cd-memo { align-self: stretch; }


/* ===== R16 디자인: 진행상태 색 · 고객상태 칩 · 머리 크게 · 계약 팝업 · 승인 내역 카드 · 굵은 글씨 ===== */
:root { --st-wait: #2563eb; --st-wait-bg: #e3edff; --st-rev: #c2410c; --st-rev-bg: #ffedd5; --st-rej: #dc2626; --st-rej-bg: #fee2e2; --st-ok: #15803d; --st-ok-bg: #dcfce7; }
/* 1. 자금 진행상태 (외부연동처럼 색 채움) */
select.fx-sel { font-weight: 700 !important; border-radius: 8px !important; border-width: 1.5px !important; }
select.fx-sel.st-접수대기 { background-color: var(--st-wait-bg) !important; color: var(--st-wait) !important; border-color: #93b4f8 !important; }
select.fx-sel.st-심사중 { background-color: var(--st-rev-bg) !important; color: var(--st-rev) !important; border-color: #fdba74 !important; }
select.fx-sel.st-반려 { background-color: var(--st-rej-bg) !important; color: var(--st-rej) !important; border-color: #fca5a5 !important; }
select.fx-sel.st-승인 { background-color: var(--st-ok-bg) !important; color: var(--st-ok) !important; border-color: #86efac !important; }
select.fx-sel option { background: #fff; color: #0f172a; font-weight: 600; }
.ij .ij-off, select.ij-off { background: #f1f5f9 !important; color: #94a3b8 !important; border-color: #e2e8f0 !important; font-weight: 600; }
.jtf-st, .fb-st { font-weight: 700 !important; border-radius: 7px; }
.jtf-st.st-접수대기, .chip.fb-st.st-접수대기, .fb-c.st-접수대기 { background: var(--st-wait-bg) !important; color: var(--st-wait) !important; border-color: #93b4f8 !important; }
.jtf-st.st-심사중, .chip.fb-st.st-심사중, .fb-c.st-심사중 { background: var(--st-rev-bg) !important; color: var(--st-rev) !important; border-color: #fdba74 !important; }
.jtf-st.st-반려, .chip.fb-st.st-반려, .fb-c.st-반려 { background: var(--st-rej-bg) !important; color: var(--st-rej) !important; border-color: #fca5a5 !important; }
.jtf-st.st-승인, .chip.fb-st.st-승인, .fb-c.st-승인 { background: var(--st-ok-bg) !important; color: var(--st-ok) !important; border-color: #86efac !important; }
.jc.st-접수대기 { color: var(--st-wait); border-color: #bcd0fb; } .jc.st-심사중 { color: var(--st-rev); border-color: #fed7aa; } .jc.st-반려 { color: var(--st-rej); border-color: #fecaca; } .jc.st-승인 { color: var(--st-ok); border-color: #bbf7d0; }
.jc.st-접수대기.on { background: var(--st-wait); color: #fff; border-color: var(--st-wait); } .jc.st-심사중.on { background: #ea580c; color: #fff; border-color: #ea580c; } .jc.st-반려.on { background: var(--st-rej); color: #fff; border-color: var(--st-rej); } .jc.st-승인.on { background: #16a34a; color: #fff; border-color: #16a34a; }
.jc.on b { color: inherit; }
.ij .ij-ok { color: var(--st-ok); background: var(--st-ok-bg); padding: 3px 9px; border-radius: 7px; font-weight: 800; }
.ij .ij-plan { font-weight: 700; }
/* 2. 고객 상태 칩: 굵고 또렷하게 */
.chip { height: 24px; padding: 0 10px; font-size: 12.5px; font-weight: 800; letter-spacing: -.1px; border: 1px solid transparent; }
.chip.s-신규 { background: #cffafe; color: #0e7490; border-color: #a5f3fc; }
.chip.s-부재 { background: #e2e8f0; color: #334155; border-color: #cbd5e1; }
.chip.s-재통화 { background: #dbeafe; color: #1d4ed8; border-color: #bfdbfe; }
.chip.s-2차콜대상 { background: #e0f2fe; color: #0369a1; border-color: #bae6fd; }
.chip.s-고민중, .chip.s-고민 { background: #ffedd5; color: #c2410c; border-color: #fed7aa; }
.chip.s-미팅대기 { background: #ede9fe; color: #6d28d9; border-color: #ddd6fe; }
.chip.s-계약대기 { background: #fef3c7; color: #a16207; border-color: #fde68a; }
.chip.s-계약완료 { background: linear-gradient(135deg, #1d4ed8, #06b6d4); color: #fff; border-color: transparent; box-shadow: 0 3px 10px rgba(37,99,235,.28); }
.chip.s-승인 { background: linear-gradient(135deg, #059669, #22c55e); color: #fff; border-color: transparent; box-shadow: 0 3px 10px rgba(5,150,105,.3); }
.chip.s-계약종료 { background: #334155; color: #fff; }
.chip[class*="s-중단"] { background: #ffe4e6; color: #be123c; border-color: #fecdd3; }
.chip.s-거절, .chip.s-진행불가 { background: #fee2e2; color: #b91c1c; border-color: #fecaca; }
.chip.s-장기부재 { background: #f1f5f9; color: #64748b; border-color: #e2e8f0; }
.cdh select.hs.st { font-weight: 800 !important; }
.cdh select.hs.st.s-신규 { background: #cffafe; color: #0e7490; } .cdh select.hs.st.s-부재 { background: #e2e8f0; color: #334155; } .cdh select.hs.st.s-재통화 { background: #dbeafe; color: #1d4ed8; } .cdh select.hs.st.s-2차콜대상 { background: #e0f2fe; color: #0369a1; }
.cdh select.hs.st.s-고민중 { background: #ffedd5; color: #c2410c; } .cdh select.hs.st.s-미팅대기 { background: #ede9fe; color: #6d28d9; } .cdh select.hs.st.s-계약대기 { background: #fef3c7; color: #a16207; }
.cdh select.hs.st.s-계약완료 { background: #2563eb; color: #fff; border-color: #93c5fd; } .cdh select.hs.st.s-승인 { background: #16a34a; color: #fff; border-color: #86efac; }
.cdh select.hs.st[class*="s-중단"], .cdh select.hs.st.s-거절, .cdh select.hs.st.s-진행불가 { background: #fee2e2; color: #b91c1c; }
/* 3. 고객 창 머리 크게 + 돈 칩 */
.cdh { gap: 10px; }
.cdh .co { font-size: 19px !important; font-weight: 800; }
.cdh .ph { font-size: 15px; }
.cdh .hs { height: 34px !important; font-size: 13.5px !important; border-radius: 10px; }
.cdh .hb { height: 34px !important; padding: 0 14px !important; font-size: 13.5px !important; }
.cdh .rcq .rq { font-size: 11.5px; padding: 5px 8px; font-weight: 700; }
.cd-tools .tl { height: 30px; font-size: 13px; font-weight: 700; }
.cdh .mny { display: inline-flex; gap: 5px; flex: none; }
.cdh .mc { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px; border-radius: 8px; font-size: 12px; font-weight: 600; color: #dbeafe; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); white-space: nowrap; }
.cdh .mc b { color: #fff; font-weight: 800; font-variant-numeric: tabular-nums; }
.cdh .mc.k { background: rgba(6,182,212,.22); border-color: rgba(103,232,249,.5); }
.cdh .mc.f { background: rgba(37,99,235,.28); border-color: rgba(147,197,253,.5); }
.cdh .mc.f.miss { background: rgba(239,68,68,.3); border-color: rgba(252,165,165,.6); }
.cdh .mc.a { background: rgba(34,197,94,.28); border-color: rgba(134,239,172,.55); }
.cfov.m-half .cdh .mny { order: 5; }
/* 4. 계약완료 팝업 */
.cg2 { min-width: min(560px, 92vw); padding: 2px; }
.cg2-h { display: flex; gap: 12px; align-items: flex-start; margin: -4px -4px 14px; padding: 16px 18px; border-radius: 14px; background: linear-gradient(135deg, #0b1f4d, #1d4ed8 60%, #06b6d4); color: #fff; }
.cg2-h h3 { margin: 0 0 4px; font-size: 18px; font-weight: 800; color: #fff; }
.cg2-h p { margin: 0; font-size: 12.5px; line-height: 1.5; color: #dbeafe; } .cg2-h p b { color: #fff; }
.cg2-ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: rgba(255,255,255,.18); }
.cg2-top { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.cg2-f { display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: 700; color: #475569; }
.cg2-big { height: 44px !important; font-size: 17px !important; font-weight: 800 !important; border-radius: 11px !important; font-variant-numeric: tabular-nums; }
.cg2-in { position: relative; display: inline-flex; } .cg2-in .inp { width: 190px; padding-right: 46px; text-align: right; } .cg2-in em { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 700; color: #64748b; font-size: 13px; }
.cg2-rows { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.cg2-row { padding: 12px; border: 1px solid #dbe4f3; border-radius: 12px; background: #f8fbff; display: flex; flex-direction: column; gap: 8px; }
.cg2-amt { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.cg2-pre { display: flex; gap: 5px; flex-wrap: wrap; padding-bottom: 6px; }
.cg2-p { height: 32px; padding: 0 12px; border-radius: 9px; border: 1.5px solid #c7d7f5; background: #fff; color: #1e40af; font-weight: 800; font-size: 13px; cursor: pointer; font-variant-numeric: tabular-nums; }
.cg2-p:hover { border-color: #2563eb; } .cg2-p.on { background: linear-gradient(135deg, #2563eb, #06b6d4); color: #fff; border-color: transparent; }
.cg2-sw { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; font-weight: 700; color: #334155; user-select: none; padding-bottom: 10px; }
.cg2-sw input { display: none; }
.cg2-sw i { width: 38px; height: 22px; border-radius: 11px; background: #cbd5e1; position: relative; transition: background .15s; flex: none; }
.cg2-sw i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: left .15s; }
.cg2-sw.on i { background: #2563eb; } .cg2-sw.on i::after { left: 19px; } .cg2-sw.sm { padding-bottom: 8px; }
.cg2-sum { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; margin-bottom: 12px; }
.cg2-sum div { border: 1px solid #e2e8f0; border-radius: 11px; padding: 8px 12px; background: #fff; } .cg2-sum small { display: block; font-size: 11.5px; font-weight: 700; color: #64748b; }
.cg2-sum b { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; color: #0f172a; }
.cg2-sum .t { background: linear-gradient(135deg, #eff6ff, #ecfeff); border-color: #bcd0ff; } .cg2-sum .t b { color: #1d4ed8; font-size: 19px; }
.cg2-go { height: 42px !important; padding: 0 20px !important; font-size: 14.5px !important; font-weight: 800 !important; border: 0 !important; color: #fff !important; background: linear-gradient(135deg, #1d4ed8, #06b6d4) !important; box-shadow: 0 6px 18px rgba(37,99,235,.35); border-radius: 11px !important; }
.cg2-ft { margin-top: 14px; }
/* 5. 승인 내역 · 매출관리 글씨 + 기관 카드 필터 */
.jt-tbl table { font-size: 14px !important; font-weight: 500; color: #1e293b; }
.jt-tbl th { font-weight: 800 !important; color: #334155 !important; font-size: 12.5px !important; }
.jt-tbl td.r, .jt-tbl .r { font-variant-numeric: tabular-nums; font-weight: 600; }
.jt-tbl .b, .jt-tbl tfoot td { font-weight: 800 !important; }
.jt-nm a b { font-weight: 800; font-size: 14px; }
.jt-box b { font-size: 17px !important; font-weight: 800 !important; font-variant-numeric: tabular-nums; } .jt-box small { font-weight: 700; }
.jt-isum { display: flex; gap: 10px; flex-wrap: wrap; }
button.jt-ic { cursor: pointer; text-align: left; font: inherit; min-width: 170px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid #e2e8f0; border-left: 5px solid var(--ic, #1d4ed8); background: #fff; display: grid; grid-template-columns: auto 1fr auto; column-gap: 6px; row-gap: 3px; align-items: center; transition: transform .1s, box-shadow .15s, border-color .15s; }
button.jt-ic:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(15,23,42,.08); }
button.jt-ic i { width: 9px; height: 9px; border-radius: 50%; background: var(--ic, #1d4ed8); }
button.jt-ic b { font-size: 14.5px; font-weight: 800; color: #0f172a; } button.jt-ic span { font-size: 12px; font-weight: 700; color: #64748b; }
button.jt-ic em { grid-column: 1 / -1; font-style: normal; font-size: 18px; font-weight: 800; color: #0f172a; font-variant-numeric: tabular-nums; }
button.jt-ic small { grid-column: 1 / -1; font-size: 12px; font-weight: 700; color: #15803d; }
button.jt-ic.on { border-color: var(--ic, #1d4ed8); background: color-mix(in srgb, var(--ic, #1d4ed8) 9%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ic, #1d4ed8) 22%, transparent); }
button.jt-ic.all { --ic: #0b1f4d; background: linear-gradient(135deg, #f8fbff, #eef4ff); }
button.jt-ic.all.on { background: linear-gradient(135deg, #0b1f4d, #1d4ed8); } button.jt-ic.all.on b, button.jt-ic.all.on em, button.jt-ic.all.on span, button.jt-ic.all.on small { color: #fff; }
.jc { font-weight: 700; }
/* 7. 전반 글씨 굵기 */
.vt-r { font-weight: 500; color: #1e293b; } .vt-h { font-weight: 800; color: #475569; }
.jt-tree .jt-n, .jt-side .jt-n { font-weight: 700; } .jt-n.sub { font-weight: 600 !important; }
.ij .ij-t { font-size: 13.5px; } .ij .ij-t th { font-weight: 800; color: #475569; } .ij .ij-i { font-weight: 700; }
.mut { font-weight: 500; }

.chip.jt-stc { height: 24px; font-size: 12px; }

/* R16b: 머리 넘침 방지 — 좁으면 두 줄로 */
.cfov-h2 .cdh { flex-wrap: wrap; row-gap: 6px; }
.cfov-h2 .cdh .co { max-width: 18vw; }
.cdh .mc { height: 26px; font-size: 11.5px; padding: 0 8px; }
.cdh .mc b { font-size: 12.5px; }
.cdh .rcg { flex: 1 1 300px; min-width: 260px; }
.cdh .rcg .rc { width: 168px; }
.cdh .acts { margin-left: auto; }
@media (max-width: 1700px) { .cdh .rcq .rq { padding: 4px 6px; font-size: 11px; } }

.cg2 { width: 100%; box-sizing: border-box; } .cg2-h { margin: -4px 0 14px; }
.cg2-rows, .cg2-sum { width: 100%; }
.ij .ij-t td.r, .ij .ij-t td:last-child { white-space: nowrap; }

/* ===== R17 진행 체크리스트 · 거래처 칩 ===== */
.cd-tasks{margin:14px 2px 2px;padding-top:12px;border-top:2px dashed #cbd5e1}
.cd-tasks .tk-h{display:flex;align-items:center;gap:10px;margin:0 0 8px}
.cd-tasks .tk-h b{font-size:15px;font-weight:800;color:#0f1f4b;letter-spacing:-.2px}
.cd-tasks .tk-n{font-size:13px;font-weight:700;color:#64748b}.cd-tasks .tk-n em{font-style:normal;color:#1d4ed8;font-size:15px}
.cd-tasks .tk-bar{flex:1;max-width:220px;height:7px;border-radius:9px;background:#e8eef7;overflow:hidden}.cd-tasks .tk-bar i{display:block;height:100%;background:linear-gradient(90deg,#2563eb,#06b6d4);border-radius:9px;transition:width .25s}
.cd-tasks .tk-pre{margin-left:auto;font-size:12px;font-weight:700;color:#94a3b8;background:#f1f5f9;border-radius:6px;padding:2px 8px}
.cd-tasks .tk-l{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:6px}
.cd-tasks .tk-i{display:flex;align-items:center;gap:9px;text-align:left;min-height:40px;padding:7px 10px;border:1.5px solid #e2e8f0;border-radius:10px;background:#fff;cursor:pointer;font:inherit;transition:border-color .12s,background .12s}
.cd-tasks .tk-i:hover{border-color:#93c5fd;background:#f8fbff}
.cd-tasks .tk-b{flex:0 0 22px;width:22px;height:22px;border-radius:6px;border:2px solid #94a3b8;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:900;color:#fff;background:#fff}
.cd-tasks .tk-t{flex:1;min-width:0;font-size:14px;font-weight:600;color:#1e293b;line-height:1.35}
.cd-tasks .tk-t small{display:block;font-size:11.5px;font-weight:500;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cd-tasks .tk-m{flex:0 0 auto;font-size:11.5px;font-weight:600;color:#64748b;white-space:nowrap}
.cd-tasks .tk-i.on{border-color:#86efac;background:#f0fdf4}.cd-tasks .tk-i.on .tk-b{background:#16a34a;border-color:#16a34a}
.cd-tasks .tk-i.on .tk-t{color:#166534;text-decoration:line-through;text-decoration-color:rgba(22,101,52,.35)}
.cd-tasks .tk-i.au .tk-b{background:#0ea5e9;border-color:#0ea5e9}.cd-tasks .tk-i.au{border-color:#bae6fd;background:#f0f9ff}.cd-tasks .tk-i.au .tk-t{color:#075985;text-decoration:none}.cd-tasks .tk-i.au .tk-m{color:#0284c7}
.cd-tasks.pre .tk-i{opacity:.55;cursor:not-allowed}.cd-tasks.pre .tk-i:hover{border-color:#e2e8f0;background:#fff}
.cust-chips{display:inline-flex;align-items:center;gap:5px;flex-wrap:wrap}
.cust-c{height:28px;padding:0 12px;border-radius:999px;border:1.5px solid #cbd5e1;background:#fff;font:inherit;font-size:13px;font-weight:700;color:#475569;cursor:pointer}
.cust-c:hover{border-color:#60a5fa;color:#1d4ed8}.cust-c.on{background:linear-gradient(135deg,#1d4ed8,#0891b2);border-color:transparent;color:#fff;box-shadow:0 2px 6px rgba(29,78,216,.25)}
.cust-v{font-style:normal;font-size:12px;color:#64748b;margin-left:4px}
.hyb-c.hyb-cust{display:flex;align-items:center;gap:6px;flex-wrap:wrap;cursor:default}.hyb-c.hyb-cust .cust-c{height:24px;padding:0 9px;font-size:12px}
.tkcfg-l{display:flex;flex-direction:column;gap:6px;margin:10px 0}
.tkcfg-r{display:grid;grid-template-columns:26px minmax(160px,1fr) minmax(160px,1.4fr) 40px auto auto auto;gap:6px;align-items:center}
.tkcfg-no{font-weight:800;color:#64748b;text-align:center}.tkcfg-au{font-size:11px;font-weight:800;color:#0284c7;background:#e0f2fe;border-radius:6px;padding:2px 6px;text-align:center}.tkcfg-au.off{background:none}

/* R17b: 양식은 내용 높이만큼 (안쪽 스크롤 없음) → 아래 진행 체크리스트 · 왼쪽 칸 전체가 스크롤 */
.cd-x .cd-left.card{overflow-y:auto !important}
.cd-x .cd-left.card > .cd-form{flex:0 0 auto !important;min-height:0}
.cd-x .cd-left.card .cd-form > .cd-memo, .cd-x .cd-left.card .cd-hyb .hyb-t{flex:none !important;field-sizing:content !important;height:auto;min-height:420px !important;max-height:none !important;overflow:hidden !important}
.cd-x .cd-left.card .cd-hyb{flex:none !important;align-items:flex-start}
.cd-x .cd-left.card .cd-form > :not(.fbar){flex:none !important}
.cd-x .cd-left.card > .cd-tasks{flex:none !important}
.cd-form .fbar{flex-wrap:wrap;row-gap:6px}.cd-form .fbar .lk.sm{white-space:nowrap}
.cd-x .cd-left .cd-form .fbar{flex-wrap:wrap !important;overflow:visible !important}

/* ===== R17b: 머리 겹침 방지 · 담당 박스(머리) · 빠른 예약 드롭다운 · 표 담당 칩 ===== */
.cdh { flex-wrap: wrap; row-gap: 6px; }
.cdh .rcg { flex: 0 1 auto; min-width: 0; display: inline-flex; align-items: center; gap: 6px; flex-wrap: nowrap; }
.cdh .rcg .why { width: 190px; min-width: 110px; flex: 1 1 150px; }
.cdh .rqs { display: none; width: auto; min-width: 104px; padding-right: 22px !important; font-weight: 700; }
@media (max-width: 1800px) { .cdh .rcq { display: none; } .cdh .rqs { display: inline-block; } }
.cfov.m-half .cdh .rcq { display: none; } .cfov.m-half .cdh .rqs { display: inline-block; }
.cdh .acts { margin-left: auto; flex: none; display: inline-flex; gap: 6px; align-items: center; }
.cdh .ow-box.hdr { padding: 2px 4px 2px 3px; gap: 5px; height: 34px; box-sizing: border-box; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.14); color: #fff; box-shadow: none; }
.cdh .ow-box.hdr.none { border-style: dashed; color: #e2e8f0; }
.cdh .ow-box.hdr .ow-av { width: 24px; height: 24px; }
.cdh .ow-box.hdr select.hs.ow { height: 28px !important; border: 0 !important; background: transparent !important; color: #fff !important; font-weight: 800; padding: 0 20px 0 2px !important; box-shadow: none !important; min-width: 96px; }
.cdh .ow-box.hdr select.hs.ow option { color: #0f172a; }
.cd:not(.cfov *) .cdh .ow-box.hdr { border-color: #c7d6f5; background: linear-gradient(180deg,#f7faff,#eef4ff); color: #1e3a8a; }
.cd:not(.cfov *) .cdh .ow-box.hdr select.hs.ow { color: #1e3a8a !important; }
td.owc { padding-top: 4px; padding-bottom: 4px; }
td.owc .ow-box { font-size: 12.5px; }

td.owc { white-space: nowrap; min-width: 132px; }
td.owc .ow-box { max-width: none; }
.jt-tbl th:last-child, .jtf-tbl th:last-child { min-width: 132px; }

.jtf-tbl th, .jtf-tbl td, .jt-tbl th, .jt-tbl td { padding-left: 8px !important; padding-right: 8px !important; }

/* R18-B 양식 편집 · 체크리스트 */
.ftcfg-top{flex-wrap:wrap;gap:8px}.ftcfg-top select{min-width:240px}.ftcfg-chk{display:flex;align-items:center;gap:6px;font-weight:600;font-size:13px}
.ftcfg-l{display:flex;flex-direction:column;gap:4px;margin:10px 0;max-height:60vh;overflow:auto;padding-right:4px}
.ftcfg-r{display:grid;grid-template-columns:28px 92px 1fr auto auto auto auto auto;gap:6px;align-items:center}
.ftcfg-r.raw{grid-template-columns:28px 1fr auto auto auto}
.ftcfg-r.ftsub{padding-left:22px}.ftcfg-r.ftsub .ftcfg-no{color:#94a3b8}
.ftcfg-no{font-weight:800;color:#475569;text-align:right;font-variant-numeric:tabular-nums}
.ftcfg-m{font-weight:700}
.ftcfg-raw{font-family:inherit;font-size:14px;line-height:1.6;width:100%}
.ftcfg-pv pre{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:12px;font-size:13px;line-height:1.6;white-space:pre-wrap}

/* ===== R18 A (상태 흐름·머리) ===== */
/* A1 계약완료 팝업 — 잘림 없이 부드럽게 */
.modal:has(.cg2) { width: min(640px, 94vw); max-height: calc(100vh - 48px); padding: 0; overflow: auto; animation: r18pop 200ms cubic-bezier(.2,.8,.2,1); border-radius: 18px; }
.modal:has(.cg2)::before { display: none; }
@keyframes r18pop { from { opacity: 0; transform: translate(-50%, -46%) scale(.97); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.cg2 { padding: 0 20px 18px !important; min-width: 0 !important; }
.cg2-h { margin: 0 -20px 16px !important; border-radius: 0 !important; padding: 18px 22px !important; }
.cg2-p { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; height: 40px !important; line-height: 1.05; min-width: 58px; }
.cg2-p small { font-size: 9.5px; font-weight: 700; opacity: .75; }
.cg2-ft { position: sticky; bottom: -18px; background: #fff; padding: 12px 0 4px; margin-top: 10px !important; }
@media (max-height: 760px) { .cg2-h { padding: 12px 18px !important; } .cg2-sum { margin-bottom: 8px; } }
/* A4 계약 고객 머리: 계약금·수수료 크게 + 자료연동 */
.cdh .mny2 { display: inline-flex; gap: 6px; align-items: stretch; }
.cdh .mny2 .mc { display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 12px; border-radius: 11px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); color: #fff; }
.cdh .mny2 .mc i { font-style: normal; font-size: 11.5px; font-weight: 700; opacity: .8; }
.cdh .mny2 .mc b { font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: -.2px; }
.cdh .mny2 .mc small { font-size: 10px; font-weight: 800; padding: 1px 5px; border-radius: 6px; background: rgba(255,255,255,.2); }
.cdh .mny2 .mc.k { background: linear-gradient(135deg, rgba(37,99,235,.55), rgba(6,182,212,.45)); border-color: rgba(147,197,253,.6); }
.cdh .mny2 .mc.f { background: linear-gradient(135deg, rgba(16,185,129,.5), rgba(5,150,105,.45)); border-color: rgba(110,231,183,.6); }
.cdh .mny2 .mc.f.miss { background: rgba(239,68,68,.45); border-color: rgba(252,165,165,.7); }
.cdh .mny2 .mc.a { background: rgba(250,204,21,.22); border-color: rgba(253,224,71,.55); }
.cdh .htc { height: 32px; padding: 0 12px; border-radius: 10px; font-size: 13px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.cdh .htc.ok { background: rgba(16,185,129,.22); color: #d1fae5; border: 1px solid rgba(110,231,183,.6); }
.cdh .htc.ok small { font-weight: 700; opacity: .85; font-size: 11px; }
.cdh .htc.no { background: rgba(255,255,255,.1); color: #fff; border: 1px dashed rgba(255,255,255,.55); }
.cdh .htc:hover { filter: brightness(1.12); }
/* A6 ↶ 되돌리기 */
.cdh .udw { position: relative; display: inline-flex; }
.cdh .hb.ud { min-width: 34px; font-size: 16px; font-weight: 900; position: relative; }
.cdh .hb.ud em { position: absolute; top: -5px; right: -5px; min-width: 16px; height: 16px; border-radius: 8px; background: #f59e0b; color: #1f2937; font-size: 10px; font-style: normal; font-weight: 900; display: grid; place-items: center; padding: 0 3px; }
.ud-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 80; width: 340px; background: #fff; color: #0f172a; border-radius: 14px; box-shadow: 0 16px 40px rgba(15,23,42,.3); border: 1px solid #e2e8f0; padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.ud-t { font-size: 12px; font-weight: 800; color: #475569; padding: 4px 8px; }
.ud-it { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; text-align: left; gap: 2px 10px; padding: 8px 10px; border-radius: 10px; border: 1px solid #eef2f7; background: #f8fafc; cursor: pointer; }
.ud-it span { font-size: 13px; font-weight: 700; color: #0f172a; }
.ud-it small { font-size: 11px; color: #64748b; font-weight: 600; grid-column: 1; }
.ud-it i { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-weight: 900; color: #b45309; font-size: 16px; }
.ud-it:hover { background: #fff7ed; border-color: #fed7aa; }
.ud-empty { padding: 12px; font-size: 12.5px; color: #64748b; text-align: center; line-height: 1.6; }
.ud-ask { padding: 0 20px 16px; }
.ud-h { display: flex; gap: 12px; align-items: center; margin: 0 -20px 12px; padding: 16px 20px; background: linear-gradient(135deg, #78350f, #d97706); color: #fff; }
.ud-h h3 { margin: 0; color: #fff; font-size: 17px; font-weight: 800; } .ud-h p { margin: 2px 0 0; color: #fef3c7; font-size: 13px; font-weight: 600; }
.ud-ic { width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: 20px; font-weight: 900; }
.modal:has(.ud-ask)::before { display: none; }

.ud-pop { position: fixed !important; right: auto !important; z-index: 9500 !important; }


/* ===== R19 매출 대시보드 · 기관 추가 ===== */
.jd{margin:0 0 12px;border-radius:16px;padding:14px 16px 16px;background:linear-gradient(135deg,#0b1f4d 0%,#1d3a8a 55%,#0e7490 100%);color:#fff;box-shadow:0 10px 30px -12px rgba(15,40,110,.55)}
.jd-h{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.jd-t{display:flex;align-items:center;gap:10px}
.jd-ic{width:38px;height:38px;border-radius:12px;background:rgba(255,255,255,.14);display:grid;place-items:center;font-size:20px}
.jd-t b{display:block;font-size:17px;font-weight:800;letter-spacing:-.2px}
.jd-t small{display:block;font-size:12px;opacity:.75;font-weight:500;margin-top:1px}
.jd-p{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.jd-pc{border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.08);color:#fff;border-radius:999px;padding:5px 12px;font-size:13px;font-weight:700;cursor:pointer}
.jd-pc:hover{background:rgba(255,255,255,.16)}
.jd-pc.on{background:#fff;color:#0b1f4d;border-color:#fff}
.jd-p .inp.sm{height:30px;background:#fff;color:#0f172a;border-radius:8px}
.jd-til{opacity:.8}
.jd-vt{display:inline-flex;margin-left:6px;border:1px solid rgba(255,255,255,.3);border-radius:999px;overflow:hidden}
.jd-vt button{background:transparent;border:0;color:#dbeafe;padding:5px 11px;font-size:12px;font-weight:700;cursor:pointer}
.jd-vt button.on{background:#22d3ee;color:#062033}
.jd-g{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.jd-c{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);border-radius:14px;padding:12px 14px 10px;min-width:0}
.jd-c small{display:block;font-size:12.5px;font-weight:700;opacity:.85}
.jd-c b{display:block;font-size:26px;font-weight:900;letter-spacing:-.5px;margin:4px 0 6px;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jd-c.t{background:linear-gradient(135deg,#fde68a,#facc15);color:#3b2a00;border-color:transparent;box-shadow:0 8px 22px -10px rgba(250,204,21,.8)}
.jd-c.t b{font-size:30px}
.jd-c.k b{color:#a5f3fc}.jd-c.f b{color:#bbf7d0}
.jd-f{display:flex;align-items:center;gap:6px;font-size:12px;min-width:0}
.jd-s{opacity:.75;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jd-d{font-weight:800;padding:1px 7px;border-radius:999px;background:rgba(255,255,255,.16);white-space:nowrap}
.jd-d.up{background:#16a34a;color:#fff}.jd-d.dn{background:#dc2626;color:#fff}
.jd-c.t .jd-d{background:rgba(0,0,0,.12);color:#3b2a00}.jd-c.t .jd-d.up{background:#15803d;color:#fff}.jd-c.t .jd-d.dn{background:#b91c1c;color:#fff}
@media (max-width:1300px){.jd-g{grid-template-columns:repeat(3,minmax(0,1fr))}.jd-c.t{grid-column:span 1}}
.jt-addb{margin-left:8px;border:1px dashed #2563eb;color:#1d4ed8;background:#eff6ff;font-weight:800;border-radius:8px;padding:2px 10px;font-size:12px;cursor:pointer}
.jt-addb:hover{background:#dbeafe}
.jt-delb{margin-left:6px;border:0;background:transparent;color:#94a3b8;font-weight:800;cursor:pointer;border-radius:6px;padding:2px 6px}
.jt-delb:hover{background:#fee2e2;color:#dc2626}
.mn.jt-addm{width:290px;padding:8px;overflow:auto;display:block}
.jt-addh{font-weight:800;font-size:14px;color:#0f172a;padding:4px 6px 8px;border-bottom:1px solid #eef2f7;margin-bottom:6px}
.jt-addh small{display:block;font-weight:500;color:#64748b;font-size:11.5px;margin-top:2px}
.jt-addg{padding:4px 6px 6px;border-left:3px solid var(--ic);margin:4px 0 6px;background:#f8fafc;border-radius:8px}
.jt-addg>b{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:800;color:#0f172a;margin:2px 0 4px}
.jt-addg>b i,.jt-add1 i{width:8px;height:8px;border-radius:50%;background:var(--ic);display:inline-block}
.jt-addg>div{display:flex;flex-wrap:wrap;gap:4px}
.jt-addg button{border:1px solid #dbe4f3;background:#fff;border-radius:999px;padding:3px 10px;font-size:12.5px;font-weight:700;cursor:pointer;color:#1e293b}
.jt-addg button:hover{border-color:var(--ic);color:var(--ic)}
.jt-add1{display:flex;align-items:center;gap:8px;width:100%;text-align:left;border:0;background:transparent;padding:7px 8px;border-radius:8px;font-size:13.5px;font-weight:800;color:#0f172a;cursor:pointer;border-left:3px solid var(--ic);margin:3px 0}
.jt-add1:hover{background:#f1f5f9}


/* ===== R21: 고객 창 머리 겹침 완전 방지 (모든 폭 1280~2560) ===== */
.cdh{flex-wrap:wrap !important;column-gap:8px;row-gap:6px;overflow:visible !important;align-content:center}
.cdh>*{flex-shrink:0}
.cdh .co{flex-shrink:1;min-width:60px}
.cdh .rcg{flex:0 0 auto !important;min-width:0 !important;width:auto !important;max-width:100%;display:inline-flex !important;flex-wrap:nowrap !important;gap:6px}
.cdh .rcg .rc{flex:0 0 auto !important;width:168px !important}
.cdh .rcg .why{flex:0 0 160px !important;width:160px !important;min-width:0 !important;max-width:160px !important}
.cdh .rcg .rqs,.cdh .rcg .rcq{flex:0 0 auto !important;position:static !important}
.cdh .acts{flex:0 0 auto !important;margin-left:auto;display:inline-flex !important;gap:6px;position:static !important}
.cdh .acts>*{flex:0 0 auto;position:relative}
.cfov.m-half .cdh,.cfov.m-mini .cdh{overflow:visible !important}
.cfov.m-half .cdh .rcg .rc{width:150px !important}
.cfov.m-half .cdh .rcg .why{flex-basis:120px !important;width:120px !important;max-width:120px !important}
.cfov-h.cfov-h2{height:auto !important;min-height:64px;align-items:flex-start;padding-top:10px;padding-bottom:10px}
@media (min-width:1800px){.cfov:not(.m-half) .cdh .rcq{display:inline-flex !important}.cfov:not(.m-half) .cdh .rqs{display:none !important}}
.cdh .mny2 .mc{height:auto !important;min-height:30px;padding:4px 12px !important;align-items:center !important;line-height:1.15}
.cdh .mny2{flex:0 0 auto}

/* ===== R20 멘션 · 활동 기록 ===== */
.mn-wrap{display:block;position:relative;flex:1;min-width:0;width:100%}
.mn-wrap>textarea,.mn-wrap>input{width:100%;box-sizing:border-box}
.mn-pop{position:fixed;z-index:10050;min-width:220px;max-width:280px;background:#fff;border:1px solid #d6deeb;border-radius:12px;box-shadow:0 12px 32px rgba(15,32,72,.22);padding:6px;max-height:280px;overflow:auto}
.mn-it{display:flex;align-items:center;gap:8px;padding:7px 9px;border-radius:9px;cursor:pointer;font-size:14px;color:#1b2b45}
.mn-it.on{background:#e8f0ff}
.mn-it b{font-weight:700}
.mn-av{width:24px;height:24px;border-radius:50%;background:linear-gradient(135deg,#1d4ed8,#06b6d4);color:#fff;font-weight:800;font-size:12px;display:inline-flex;align-items:center;justify-content:center;flex:none}
.mn-sub{margin-left:auto;font-size:12px;color:#64748b}
em.mention{font-style:normal;font-weight:700;color:#1d4ed8;background:#e8f0ff;border-radius:6px;padding:0 4px}
.cd-seg .seg.seg-log{color:#64748b}
.cd-seg .seg.seg-log.on{color:#0f172a}
.lg-l{display:flex;flex-direction:column;gap:2px;padding:4px 2px}
.lg-r{display:grid;grid-template-columns:22px auto 1fr auto;align-items:center;gap:8px;padding:6px 8px;border-radius:8px;font-size:13px;color:#334155;border-bottom:1px solid #f1f4f9}
.lg-r:hover{background:#f6f8fc}
.lg-i{text-align:center}
.lg-k{font-weight:700;font-size:12px;color:#1e3a8a;background:#eef3ff;border-radius:6px;padding:1px 7px;white-space:nowrap}
.lg-t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}
.lg-d{font-size:12px;color:#64748b;white-space:nowrap;font-variant-numeric:tabular-nums}
.al-mn{border-bottom:1px solid #e6ebf3;margin-bottom:8px;padding-bottom:6px}
.al-mh{display:flex;align-items:center;gap:8px;padding:4px 6px 6px}
.al-mh b{font-weight:800;color:#1e3a8a}
.al-mu{background:#ef4444;color:#fff;border-radius:999px;font-size:11px;font-weight:800;padding:1px 7px}
.al-mh .lk{margin-left:auto}
.al-mr.rd{opacity:.6}
.al-k.mn{background:#e8f0ff;color:#1d4ed8;font-weight:800}
.al-t{margin-left:auto;font-size:12px;color:#64748b;white-space:nowrap}
.tb-n.mn{background:#2563eb}

/* R23 제휴 상품 (자격 체크) */
.cd-judge .pj h5 small{font-weight:500;font-size:11px}
.pj-it{border:1px solid #e3e8f2;border-radius:10px;margin:6px 0;background:#fff}
.pj-it summary{display:flex;align-items:center;gap:8px;padding:8px 10px;cursor:pointer;list-style:none}
.pj-it summary::-webkit-details-marker{display:none}
.pj-it summary b{font-weight:800;font-size:13.5px;color:#0f1d3a}
.pj-it summary small{color:#5b6b82;font-weight:500;font-size:12px}
.pj-v{font-size:11.5px;font-weight:800;padding:2px 8px;border-radius:999px;white-space:nowrap}
.pj-v.ok{background:#e3f7ec;color:#0a7a3e}.pj-v.ask{background:#fff3e0;color:#b45a00}.pj-v.no{background:#fde8e8;color:#b42318}
.pj-it.ok{border-color:#a8e2c1}
.pj-l{padding:2px 12px 6px;font-size:12.5px;line-height:1.55;font-weight:500}
.pj-l.no{color:#b42318}.pj-l.ask{color:#7a4b00}.pj-l.hint{color:#1d4ed8}
.pj-k{display:flex;flex-wrap:wrap;gap:4px;padding:2px 10px 10px}
.pj-k span{font-size:11.5px;background:#f2f5fa;color:#3a4a63;border-radius:6px;padding:2px 7px;font-weight:600}

/* R30 바로가기 (크레딧포유 · 홈택스) */
.cd-strip a.ts.go { text-decoration: none; border-color: #bbf7d0; background: #f0fdf4; color: #047857; }
.cd-strip a.ts.go:hover { border-color: #34d399; background: #dcfce7; color: #065f46; }
.cdh a.htc.go { display: inline-flex; align-items: center; text-decoration: none; margin-left: 6px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; font-weight: 700; }
.cdh a.htc.go:hover { background: rgba(255,255,255,.18); }
.ln-c4 > span.mut { display: block; font-size: 12px; margin-bottom: 6px; }
.ln-c4 a.tbtn { text-decoration: none; display: inline-flex; align-items: center; }
.cd-tasks .tk-go { color: #1d4ed8; text-decoration: underline; cursor: pointer; }
.cd-tasks .tk-go:hover { color: #1e3a8a; }

/* r34 w3: 도구 줄을 파란 머리 안 둘째 줄로 (자료연동 포함, 3묶음) */
.cdh > .cd-strip.hd { flex: 1 1 100% !important; order: 99; width: 100%; height: auto !important; min-height: 0; display: flex; flex-wrap: wrap !important; align-items: center; gap: 6px 8px; overflow: visible !important; margin: 2px 0 0; padding: 7px 0 1px; border-top: 1px solid rgba(255,255,255,.16); }
.cdh > .cd-strip.hd .tg3 { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.cdh > .cd-strip.hd .tg3 + .tg3 { padding-left: 9px; border-left: 1px solid rgba(255,255,255,.22); }
.cdh > .cd-strip.hd .tsep { flex: 1 1 8px; min-width: 8px; }
.cdh > .cd-strip.hd .tg3.g-ai { border-left: 0; padding-left: 0; }
.cdh > .cd-strip.hd .ts { flex: none; height: 31px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.26); background: rgba(255,255,255,.1); color: #fff; font: 700 14px var(--font); letter-spacing: -.2px; white-space: nowrap; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.cdh > .cd-strip.hd .ts:hover { background: rgba(34,211,238,.22); border-color: #67e8f9; color: #fff; }
.cdh > .cd-strip.hd .ts.on { background: #22d3ee; color: #0b1f4d; border-color: #22d3ee; }
.cdh > .cd-strip.hd .ts.ht.ok { background: rgba(16,185,129,.24); border-color: rgba(110,231,183,.65); color: #d1fae5; }
.cdh > .cd-strip.hd .ts.ht.ok small { font-size: 11.5px; font-weight: 700; opacity: .85; }
.cdh > .cd-strip.hd .ts.ht.no { border-style: dashed; border-color: rgba(255,255,255,.55); }
.cdh > .cd-strip.hd a.ts.go { background: rgba(16,185,129,.14); border-color: rgba(110,231,183,.5); color: #a7f3d0; }
.cdh > .cd-strip.hd a.ts.go:hover { background: rgba(16,185,129,.3); color: #ecfdf5; }
.cdh > .cd-strip.hd .ts.ai { background: rgba(167,139,250,.2); border-color: rgba(196,181,253,.55); color: #ede9fe; }
.cdh > .cd-strip.hd .ts.ai em { color: #fde68a; font-style: normal; font-size: 12px; font-weight: 800; }
.cdh > .cd-strip.hd .ts.ai.kp { background: linear-gradient(135deg, #2563eb, #0ea5e9); border-color: transparent; color: #fff; font-weight: 800; }
@media (max-width: 1500px) { .cdh > .cd-strip.hd .ts { padding: 0 10px; font-size: 14px; } .cdh > .cd-strip.hd { gap: 5px 6px; } }
.cfov.m-half .cdh > .cd-strip.hd .tsep, .cfov.m-mini .cdh > .cd-strip.hd .tsep { display: none; }
.cfov.m-half .cdh > .cd-strip.hd .tg3 + .tg3, .cfov.m-mini .cdh > .cd-strip.hd .tg3 + .tg3 { padding-left: 6px; }
.cl-pv-h { align-items: flex-start; } .cl-pv-h .cdh > .cd-strip.hd .tg3.g-ai { display: none; }
.cd:not(.cfov *) .cdh > .cd-strip.hd { border-top-color: #e2e8f0; }
.cd:not(.cfov *) .cdh > .cd-strip.hd .ts { background: #fff; color: #1e3a8a; border-color: #c7d6f5; }

.cfov.m-half .cdh > .cd-strip.hd, .cfov.m-mini .cdh > .cd-strip.hd { gap: 5px 5px; }
.cfov.m-half .cdh > .cd-strip.hd .tg3, .cfov.m-mini .cdh > .cd-strip.hd .tg3 { display: contents; }
.cfov.m-half .cdh > .cd-strip.hd .ts, .cfov.m-mini .cdh > .cd-strip.hd .ts { height: 29px; padding: 0 10px; }
.cfov.m-half .cdh > .cd-strip.hd .g-doc > :first-child, .cfov.m-half .cdh > .cd-strip.hd .g-go > :first-child, .cfov.m-half .cdh > .cd-strip.hd .g-ai > :first-child { margin-left: 8px; }

/* v40 r35 통신사 칩 · 번호 복사 */
.cdh .hi.cpy { color: rgba(255,255,255,.7); font-size: 14px; width: 26px; padding: 0; margin-left: -4px; }
.cdh .hi.cpy:hover { color: #fff; background: rgba(255,255,255,.14); }
.cdh select.hs.car { width: auto; max-width: 104px; font-weight: 800 !important; padding: 0 4px 0 8px; color: rgba(255,255,255,.75); border-style: dashed; }
.cdh select.hs.car.on { color: #0f172a; background: #e0f2fe; border: 1px solid #7dd3fc; border-style: solid; }
.cd:not(.cfov *) .cdh select.hs.car:not(.on) { color: #1e3a8a; border-color: #94a3b8; }


/* ===== R38 작은 모니터 정리 (고객 창 너비 기준) ===== */
.cfov-h2 .cdh.r38 { flex: 1 1 auto; min-width: 0; display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 6px !important; flex-wrap: nowrap !important; overflow: visible !important; }
.cdh.r38 > .cdh-r1, .cdh.r38 > .cdh-r2 { display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: nowrap; }
.cdh.r38 > .cdh-r1 > * { flex: none; }
.cdh.r38 > .cdh-r1 > .co { flex: 0 1 auto; min-width: 60px; max-width: none !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cdh.r38 > .cdh-r1 > .co .ceo { white-space: nowrap; }
.cdh.r38 > .cdh-r1 > .ow-box { flex: 0 1 auto; min-width: 0; }
.cdh.r38 > .cdh-r1 > .ow-box .ow-sel { max-width: 130px; min-width: 70px; }
.cdh.r38 > .cdh-r1 > .mny2 { flex: 0 1 auto; min-width: 0; overflow: hidden; }
.cdh.r38 > .cdh-r2 > .rcg { flex: 1 1 auto !important; min-width: 0 !important; display: flex !important; flex-wrap: nowrap; }
.cdh.r38 > .cdh-r2 > .rcg .rc { width: 172px !important; flex: none; }
.cdh.r38 > .cdh-r2 > .rcg .why { flex: 1 1 120px !important; min-width: 70px !important; max-width: 320px !important; }
.cdh.r38 > .cdh-r2 > .acts { flex: none; margin-left: auto; }
.cdh.r38 > .cdh-r2 .rcq { display: none !important; }
.cdh.r38 > .cdh-r2 .rqs { flex: none; width: auto; }
/* 도구 한 줄 + 더보기 */
.cdh.r38 .cd-strip.r38, .cfov.m-half .cdh.r38 .cd-strip.r38, .cfov.m-mini .cdh.r38 .cd-strip.r38 { display: flex !important; flex-wrap: nowrap !important; align-items: center; gap: 8px; height: auto !important; overflow: visible !important; min-width: 0; width: 100%; }
.cd-strip.r38 .t38-tools { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; row-gap: 4px; overflow: visible; } /* r49b: 반화면(1140px)에서 도구가 잘리지 않게 줄바꿈 */
.cd-strip.r38 .t38-pin { flex: none; display: inline-flex; align-items: center; gap: 4px; }
.cd-strip.r38 .ts { flex: none !important; white-space: nowrap; font-size: 13px !important; font-weight: 700 !important; padding: 0 10px !important; height: 30px !important; letter-spacing: -.2px !important; }
.cd-strip.r38 .t38-sep { flex: none; width: 1px; height: 18px; margin: 0 3px; background: rgba(255,255,255,.28); }
.cd-strip.r38 .t38-more { border-style: dashed !important; }
.cd-strip.r38 .t38-more em { font-style: normal; font-size: 11px; font-weight: 800; margin-left: 3px; padding: 0 5px; border-radius: 8px; background: rgba(255,255,255,.22); }
.t38-menu { position: fixed; z-index: 10070; min-width: 210px; padding: 6px; border-radius: 12px; background: #fff; box-shadow: 0 16px 40px rgba(11,21,51,.28), 0 0 0 1px rgba(15,23,42,.08); display: flex; flex-direction: column; gap: 2px; }
.t38-menu .t38-mi { display: flex; align-items: center; gap: 6px; width: 100%; height: 36px; padding: 0 12px; border: 0; border-radius: 8px; background: none; color: #0f172a; font: 700 14px var(--font); text-align: left; cursor: pointer; white-space: nowrap; }
.t38-menu .t38-mi:hover { background: #eff6ff; color: #1e40af; }
.t38-menu .t38-mi.kp { color: #1d4ed8; } .t38-menu .t38-mi.ai { color: #5b21b6; } .t38-menu .t38-mi.ht.ok { color: #047857; }
/* 몸통: 머리 높이와 상관없이 창 아래까지 꽉 채움 */
.cfov .cfov-b:has(.cd-main.r38fill) { overflow: hidden !important; display: flex !important; flex-direction: column !important; }
.cfov .cd-x .cd-main.r38fill { flex: 1 1 0 !important; min-height: 0 !important; grid-template-rows: minmax(0, 1fr) !important; align-items: stretch !important; }
.cfov .cd-x .cd-main.r38fill > .cd-left, .cfov .cd-x .cd-main.r38fill > .cd-right, .cfov .cd-x .cd-main.r38fill > .cd-third { height: auto !important; max-height: none !important; min-height: 0 !important; grid-row: 1 !important; }
.cfov .cd-x .cd-main.r38fill.lay2 > .cd-third { grid-column: 2 / 3 !important; display: flex !important; flex-direction: column; overflow: hidden !important; }
.cfov .cd-x .cd-main.r38fill > .cd-third .ctb-body { flex: 1 1 auto; min-height: 0; overflow: auto; }
.cfov .cd-x .cd-main.r38fill > .cd-third .ctb { flex: none; flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; }
.cfov .cd-x .cd-main.r38fill > .cd-third .ctb::-webkit-scrollbar { display: none; }
.cfov .cd-x .cd-main.r38fill > .cd-third .ctb .ctb-b { flex: none; white-space: nowrap; }
/* 1칸 (좁은 창): 양식도 탭 */
.cfov .cd-x .cd-main.r38fill.lay1 { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; }
.cfov .cd-x .cd-main.lay1 > .cd-third { grid-column: 1 / -1 !important; display: flex !important; flex-direction: column; overflow: hidden !important; }
.cfov .cd-x .cd-main.lay1 .ctb-body.fm { overflow: hidden !important; display: flex; flex-direction: column; }
.cfov .cd-x .cd-main.lay1 .ctb-body.fm > .cd-left { flex: 1 1 auto; min-height: 0; height: auto !important; display: flex; flex-direction: column; padding: 10px 12px; overflow: hidden; }
.cfov .cd-x .cd-main.lay1 .ctb-body.fm > .cd-left > * { flex: 1; min-height: 0; display: flex; flex-direction: column; }
/* 좁은 2칸: 여백·글씨 살짝 줄여서 두 칸 모두 읽기 편하게 */
.cfov .cd-x.w38-s .cd-main.r38fill { gap: 8px !important; }
.cfov .cd-x.w38-s .cd-left { padding: 8px 10px !important; }
.cfov .cd-x.w38-s .ctb .ctb-b { padding-left: 9px; padding-right: 9px; }
/* 파일 끌어다 놓기 (카톡 PC) */
.fl[draggable="true"], .ac38-file[draggable="true"] { cursor: grab; }
.fl[draggable="true"]:active, .ac38-file[draggable="true"]:active { cursor: grabbing; }
.dl38-hint { display: block; margin: 4px 0 2px; font-size: 12px; color: #0e7490; font-weight: 700; }
.ac38-files { display: flex; flex-direction: column; gap: 6px; margin: 8px 0; }
.ac38-file { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; border: 1px dashed #93c5fd; background: #f5f9ff; color: #0f172a; font: 700 14px var(--font); text-decoration: none; user-select: none; }
.ac38-file:hover { background: #eaf2ff; border-color: #3b82f6; }
.ac38-file i { font-style: normal; font-size: 12px; font-weight: 600; color: #64748b; margin-left: auto; }

.cdh.r38 > .cdh-r2 > .mny2 { flex: 0 1 auto; min-width: 0; overflow: hidden; display: inline-flex; }
.cdh.r38 > .cdh-r2 { flex-wrap: wrap; row-gap: 6px; }
.cdh.r38 > .cdh-r2 > .rcg { flex: 1 1 330px !important; overflow: hidden; }
.cdh.r38 > .cdh-r2 > .rcg .rc { width: 156px !important; }
.cdh.r38 > .cdh-r2 > .acts { order: 2; }
.cdh.r38 > .cdh-r2 > .mny2 { order: 3; flex: 1 1 100%; }

/* R40 고객 창 머리: CRM비서 1줄 오른쪽 · 통화 후 요약은 채널카톡 옆 · 도구 줄 한 줄(계약 전 도구 고정) */
.cdh.r38 > .cdh-r1 > .ai-r1 { margin-left: auto; flex: none; padding: 4px 12px; border-radius: 999px; font-weight: 800; font-size: 13px; background: rgba(34,211,238,.16); color: #e0f7ff; border: 1px solid rgba(103,232,249,.55); cursor: pointer; white-space: nowrap; }
.cdh.r38 > .cdh-r1 > .ai-r1:hover { background: #22d3ee; color: #082f49; }
.cdh .acts .fu40 { display: inline-flex; align-items: center; }
.cdh .acts .fu40:empty { display: none; }
.cd-strip.r40 { gap: 6px; }
.cd-strip.r40 .t38-tools { gap: 5px; }
.cd-strip.r40 .ts { padding: 4px 11px; font-size: 13.5px; font-weight: 800; white-space: nowrap; flex: none; }
.cd-strip.r40 .ts.pay { background: rgba(250,204,21,.18); border-color: rgba(250,204,21,.6); color: #fef3c7; }
.cd-strip.r40 .ts.post { opacity: .92; border-style: dashed; }
.cd-strip.r40 .t40-post { flex: none; border-style: dashed; color: #bae6fd; }
@media (max-width: 1000px) { .cd-strip.r40 .ts { padding: 4px 9px; font-size: 13px; } }

/* r62a */
.cdh .h62-pen{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin:0 2px 0 4px;padding:0;border:1px solid rgba(255,255,255,.28);border-radius:7px;background:rgba(255,255,255,.08);color:#e2e8f0;font-size:13px;line-height:1;cursor:pointer;opacity:.7;vertical-align:middle}
.cdh .h62-pen:hover{opacity:1;background:rgba(255,255,255,.18)}
.cdh .h62-edit{display:inline-flex;align-items:center;gap:6px;flex-wrap:nowrap}
.cdh .h62-in{height:30px;border:1px solid #93c5fd;border-radius:8px;padding:0 9px;font-size:14px;font-weight:700;line-height:28px;background:#fff;color:#0f172a;box-sizing:border-box}
.cdh .h62-in.nm{width:104px}.cdh .h62-in.co{width:150px}.cdh .h62-in.ph{width:132px}
.cdh .h62-ok,.cdh .h62-x{height:30px;padding:0 11px;border-radius:8px;font-size:13px;font-weight:800;cursor:pointer;white-space:nowrap;border:1px solid transparent}
.cdh .h62-ok{background:#22d3ee;color:#0b1f5c}.cdh .h62-x{background:transparent;color:#e2e8f0;border-color:rgba(255,255,255,.35)}
.f62-sw{display:inline-flex;margin-left:8px;border:1px solid #cbd5e1;border-radius:8px;overflow:hidden;flex:none}
.f62-sw button{border:0;background:#fff;padding:5px 11px;font-size:12px;font-weight:700;line-height:1;color:#475569;cursor:pointer;white-space:nowrap}
.f62-sw button.on{background:#0b1f5c;color:#fff}
.f62{container-type:inline-size;display:flex;flex-direction:column;border:1px solid #e2e8f0;border-radius:12px;background:#fff;overflow:hidden}
.f62 .f62-row{display:grid;grid-template-columns:28px 150px minmax(0,1fr);align-items:start;column-gap:10px;padding:8px 12px;border-top:1px solid #f1f5f9}
.f62>.f62-row:first-child{border-top:0}
.f62 .f62-row.f62-sub{background:#fbfdff;padding-left:12px;margin:0}
.f62-row.f62-sub .f62-lb{padding-left:10px;color:#64748b;font-weight:600}
.f62-no{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin-top:4px;border-radius:999px;background:#e0f2fe;color:#0369a1;font-size:13px;font-weight:800;line-height:1}
.f62-no.dot{background:transparent;color:#94a3b8;font-weight:700}
.f62-lb{padding-top:7px;font-size:13.5px;font-weight:700;line-height:1.35;color:#1e293b;word-break:keep-all;overflow-wrap:anywhere}
.f62-v{display:block;width:100%;min-height:34px;box-sizing:border-box;margin:0;border:1px solid transparent;border-radius:8px;padding:6px 9px;font-family:inherit;font-size:14px;font-weight:500;line-height:1.6;color:#0f172a;background:#f8fafc;resize:none;overflow:hidden;white-space:pre-wrap;word-break:keep-all;overflow-wrap:anywhere;field-sizing:content}
.f62-v:hover{border-color:#e2e8f0}
.f62-v:focus{outline:0;border-color:#38bdf8;background:#fff;box-shadow:0 0 0 3px rgba(56,189,248,.18)}
.f62-row.f62-empty .f62-v{background:#fff;border:1px dashed #e2e8f0}
.f62-row.f62-txt{grid-template-columns:28px minmax(0,1fr)}
.f62-row.f62-txt .f62-v{color:#475569}
.f62-sep{height:0;margin:6px 0 0;border-top:2px solid #e2e8f0}
.f62-sec{padding:9px 14px;background:#0b1f5c;color:#fff;font-size:13.5px;font-weight:800;line-height:1.2;letter-spacing:.2px}
.f62-gap{height:2px}
.f62-one{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.f62-c{height:34px;box-sizing:border-box;border:1px solid #e2e8f0;border-radius:8px;padding:0 10px;font-family:inherit;font-size:14px;font-weight:600;line-height:32px;background:#f8fafc;color:#0f172a}
.f62-c:focus{outline:0;border-color:#38bdf8;background:#fff;box-shadow:0 0 0 3px rgba(56,189,248,.18)}
.f62-c.nm{width:104px}.f62-c.rr{width:168px}.f62-c.cr{width:116px;padding-right:4px}.f62-c.rs{flex:1 1 120px;min-width:0}
.f62-c.msk{text-align:left;cursor:pointer;color:#334155;letter-spacing:.3px}
@container (max-width:560px){.f62-row{grid-template-columns:24px minmax(0,1fr);row-gap:3px}.f62-row .f62-lb{grid-column:2;padding-top:3px}.f62-row .f62-v,.f62-row .f62-one{grid-column:2}.f62-row.f62-sub .f62-lb{padding-left:0}}
.cd-memo-card .cd-tl .it{border:0;border-bottom:1px solid #eef2f7;border-radius:0;background:transparent;box-shadow:none;padding:10px 4px 11px;margin:0}
.cd-memo-card .cd-tl .it .meta{gap:6px;font-size:12px;color:#94a3b8;align-items:center}
.cd-memo-card .cd-tl .it .meta b{font-size:12.5px;font-weight:700;color:#475569}
.cd-memo-card .cd-tl .it .meta .av.sm{width:20px;height:20px;font-size:10.5px}
.cd-memo-card .cd-tl .it .meta .tag{font-size:10.5px;padding:1px 6px}
.cd-memo-card .cd-tl .it .tx{margin-top:4px;font-size:14px;line-height:1.65;color:#0f172a}
.cd-memo-card .cd-tl .it .meta .acts{opacity:0;transition:opacity .15s}
.cd-memo-card .cd-tl .it:hover>.meta .acts,.cd-memo-card .cd-tl .it:focus-within>.meta .acts{opacity:1}
@media (hover:none){.cd-memo-card .cd-tl .it .meta .acts{opacity:1}}
.cd-memo-card .cd-tl .kids{margin:6px 0 0 10px;padding-left:12px;border-left:2px solid #e2e8f0}
.cd-memo-card .cd-tl .it.rp{border-bottom:0;padding:6px 0 4px}
.cd-memo-card .cd-tl .it.rp .tx{font-size:13.5px}
.cd-memo-card .cd-tl .thr{font-size:12px;margin-top:4px}

/* r64c */
.cdh .mny2 .mc small{color:rgba(255,255,255,.92);display:inline-block;font-size:10px;line-height:1.4}

/* 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; }
/* v40 r140a · 메모 목록: 마지막 메모가 칸 아래에 붙어 잘리지 않게 여유 · 폰은 아래 탭바만큼 */
.cd-memo-card.big .cd-tl{padding-bottom:28px;scroll-padding-bottom:28px;box-sizing:border-box}
.cfov .cd-x .cd-memo-card.big{min-height:0}
@media (max-width:760px){.cd-memo-card.big .cd-tl{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}.cfov .ctb-body{padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))}}

/* v40 r171b: 모바일 메모 — 타임라인 머리줄이 안 접혀서 글자가 세로로 쌓이고 메모 목록 높이가 0이 되던 것 */
@media (max-width:760px){
.cd-memo-card .cd-h{flex-wrap:wrap!important;height:auto!important;row-gap:6px;align-items:center}
.cd-memo-card .cd-h>b{white-space:nowrap;writing-mode:horizontal-tb}
.cd-memo-card .cd-h>.mut{flex:1 1 100%;order:9;white-space:normal;word-break:keep-all;font-size:11px}
.cd-memo-card.big,.cd-memo-card{height:auto!important;min-height:0!important;max-height:none!important;flex:none!important;overflow:visible!important}
.cd-memo-card *{writing-mode:horizontal-tb}
.ctb-body{overflow-y:auto!important;-webkit-overflow-scrolling:touch}
}
@media (max-width:760px){.cd-memo-card .cd-tl .tl-by,.cd-memo-card .cd-tl .by{white-space:nowrap}}
