/* R377 (Claude): 15-5·16번(진행 단계)·C36 화면 CSS 묶음 — 적용된 번호만(apply_r377.py 가 만듦). 화면에만(인쇄 X). */
@layer r377{@media screen{
/* R377-16-1 list/list377.css */
/* R377-16-1 (Claude): 고객목록 '진행 단계' 칸 — 고객·사건 다음 칸, 고르는 칸(네모) 색은 단계 묶음별. 칸이 하나 늘어 칸 너비를 다시 나눔. */
#crmPage.stg377on .crm-grid{grid-template-columns:92px minmax(220px,1.25fr) 116px minmax(150px,.85fr) 100px 112px minmax(200px,1.05fr) 76px 76px 90px 22px!important;min-width:0!important}
@media(max-width:1499px){#crmPage.stg377on .crm-grid{grid-template-columns:84px minmax(180px,1.2fr) 104px minmax(120px,.8fr) 102px 104px minmax(150px,1fr) 72px 72px 84px 20px!important}}
@media(max-width:1100px){#crmPage.stg377on .crm-grid{grid-template-columns:72px minmax(150px,1.2fr) 100px minmax(110px,.8fr) 86px 90px minmax(120px,1fr) 56px 56px 72px 16px!important}}
#crmPage.stg377on .crm-head .stg377h{text-align:center!important}
#crmPage .stg377c{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:center!important;gap:2px!important;min-width:0!important;padding:0 6px!important}
#crmPage select.stg377{display:block!important;width:100%!important;min-width:0!important;height:32px!important;margin:0!important;padding:0 4px 0 6px!important;border:1px solid transparent!important;border-radius:0!important;box-shadow:none!important;font-size:14px!important;font-weight:700!important;line-height:normal!important;cursor:pointer!important}
#crmPage select.stg377:focus{outline:2px solid #1a6cf0!important;outline-offset:-2px!important}
#crmPage select.stg377:disabled{opacity:.6!important;cursor:default!important}
#crmPage select.stg377.ga{background:#eef2f7!important;color:#2f4560!important}
#crmPage select.stg377.gb{background:#efe8fb!important;color:#5b3a9a!important}
#crmPage select.stg377.gc{background:#fff1d6!important;color:#7a4b06!important}
#crmPage select.stg377.gd{background:#e3f3df!important;color:#2f6a26!important}
#crmPage select.stg377.gm{background:#e6e9ee!important;color:#4f5d6e!important}
#crmPage select.stg377.gn{background:#fff!important;border:1px dashed #b9c4d0!important;color:#7a8797!important;font-weight:500!important}
#crmPage select.stg377 option,#crmPage select.stg377 optgroup{background:#fff!important;color:#16202b!important;font-weight:500!important}
#crmPage .stg377n{display:block!important;font-size:11.5px!important;line-height:1.2!important;color:#7a8797!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-align:center!important}
/* 칸이 하나 늘어 '최근 변경'이 10번째가 됨 — 원래 9번째(최근 변경) 글자 모양을 따라감 */
#crmPage.stg377on .crm-row>span:nth-child(10){font-size:13px!important;white-space:nowrap!important;padding:6px!important}
/* R377-16-2 ws/ws377.css */
/* R377-16-2 (Claude): 고객 화면 오른쪽 '진행 단계' — 9단계 + 사건 종결(철회·보류·종결) 표시. 단추는 네모. */
.stg377card .stages{gap:0!important}
.stg377card .stg{padding:5px 6px!important}
.stg377card .mk377{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:4px 8px!important;margin:0 0 8px!important;padding:8px 10px!important;border:1px solid #d5dbe3!important;background:#f3f5f8!important;font-size:13px!important;color:#3a4659!important}
.stg377card .mk377 b{color:#4f5d6e!important;font-weight:800!important}
.stg377card .mk377 button{margin-left:auto!important;height:28px!important;padding:0 10px!important;border:1px solid #9fb0c4!important;border-radius:0!important;background:#fff!important;color:#0b2b62!important;font-size:12.5px!important;font-weight:700!important;cursor:pointer!important}
.stg377card .mk377 button:hover{border-color:#0b2b62!important}
.stg377card.m377 .stg.now{color:#5d6b7c!important;background:#eef1f5!important}
.stg377card.m377 .stg.now i{border-color:#8a96a6!important;box-shadow:none!important}
.stg377card.m377 .stg.now i::after{background:#8a96a6!important}
.stg377card .end377{display:flex!important;align-items:center!important;gap:6px!important;margin:10px 0 0!important;padding:8px 0 0!important;border-top:1px solid #e6ebf2!important;font-size:12.5px!important;color:#5b6b7c!important}
.stg377card .end377>span{margin-right:auto!important;font-weight:600!important}
.stg377card .end377 button{height:26px!important;padding:0 9px!important;border:1px solid #c9d2de!important;border-radius:0!important;background:#fff!important;color:#3a4659!important;font-size:12px!important;font-weight:600!important;cursor:pointer!important}
.stg377card .end377 button:hover{border-color:#5d6b7c!important}
.stg377card .end377 button[aria-pressed="true"]{border-color:#5d6b7c!important;background:#5d6b7c!important;color:#fff!important}
.stg377card .old377{margin:8px 0 0!important;font-size:12px!important;line-height:1.5!important;color:#7a5200!important}
}}
@media screen{
/* R377-C36 c36/settle.free.css */
/* R377-C36 (Claude): 채권자목록 — 처음 그릴 때 한순간 깨진 모양(원래 도구줄 PDF·CSV·Excel 겹침, 검은 아래 띠)이 보이지 않게,
   자료(body.data-ready)와 도구줄 모양이 다 된 뒤 한 번에 보임(settle.js 가 html.settled377 을 붙임).
   층 밖 보통 규칙(!important 없음) — 안전장치: 스크립트가 못 붙여도 3초 뒤엔 CSS 애니메이션으로 무조건 보임. */
html[data-design303="debts"]:not(.settled377) body{opacity:0;animation:settle377 .01s linear 3s forwards}
@keyframes settle377{to{opacity:1}}
}
