/* 현금영수증 PoC 보조 스타일 (2026-11-05)
   화면 요소는 굿티처 디자인 시스템 클래스(assets/list.css)를 그대로 쓰고,
   여기에는 저장 CSS에 없는 배치용 규칙만 둠 */

/* DialogFooter fill : 버튼 같은 너비 ([&>*]:flex-1) */
.cr-fill > *{flex:1}
/* 청구서 상세 3단 (청구서 메모 / 청구 내역 / 금액·결제·현금영수증) */
.cr-detail{display:grid!important;grid-template-columns:240px 1fr 340px;align-items:start;gap:16px!important}
/* select-trigger 모양의 기본 select */
.cr-select{appearance:none;-webkit-appearance:none;padding-right:34px!important;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%23555' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:16px}
.cr-select[aria-invalid=true]{border-color:var(--color-ds-danger,#e53e3e)}
/* 토스트 (sonner 기본) */
.cr-toast{position:fixed;left:50%;bottom:32px;transform:translateX(-50%);z-index:2147483000;background:#fff;color:#111;border:1px solid #ededed;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.1);font-size:13px;font-weight:500;padding:16px;min-width:280px;opacity:0;transition:opacity .2s;pointer-events:none;font-family:'Pretendard Variable',Pretendard,sans-serif}
.cr-toast.on{opacity:1}
/* 시연 버튼 */
.cr-demo{position:fixed;right:16px;bottom:16px;z-index:900}
/* 저장 CSS에 없는 유틸리티 3개 보충 */
.translate-y-px{transform:translateY(1px)}
.min-h-\[120px\]{min-height:120px}
.transition-\[background-color\,border-color\]{transition:background-color .15s,border-color .15s}
/* dialog-body 스크롤바 숨김 (실서비스 radix scroll-area와 같게) */
.cr-noscroll{scrollbar-width:none}
.cr-noscroll::-webkit-scrollbar{display:none}
.transition-\[color\,border-color\,background-color\]{transition:color .15s,border-color .15s,background-color .15s}
/* 11/05 발행 번호 관리 : 레벨 테스트 조회의 학생명 검색 드롭다운과 같은 모양 */
.cr-stu-anchor{position:relative}
.cr-stu-clear{flex-shrink:0;width:20px;height:20px;border:0;border-radius:999px;background:#e2e5ea;color:#555;font-size:13px;line-height:1;cursor:pointer}
.cr-stu-clear[hidden]{display:none}
.cr-stu-pop{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:20;max-height:260px;overflow-y:auto;margin:0;padding:6px;list-style:none;border:1px solid #e2e5ea;border-radius:10px;background:#fff;box-shadow:0 8px 24px #0000001f}
.cr-stu-pop[hidden]{display:none}
.cr-stu-pop li{display:flex;align-items:baseline;gap:6px;padding:9px 10px;border-radius:6px;font-size:13px;cursor:pointer}
.cr-stu-pop li:hover{background:#f6f5ff}
.cr-stu-pop li b{font-weight:600;color:#111}
.cr-stu-pop li small{font-size:11px;color:#919191}
.cr-stu-pop li.is-empty{color:#919191;cursor:default}
.cr-book-list{flex:1;min-height:0}
/* 11/05 발행 번호 관리 필터 박스 : 레벨 테스트 조회 필터(lt-period)와 같은 모양 */
.cr-bk-filter{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:14px 18px;border:1px solid #e2e5ea;border-radius:14px;background:#fff}
.cr-bk-cls{display:inline-flex;align-items:center;gap:10px}
.cr-bk-cls>span{font-size:14px;font-weight:600;color:#555}
.cr-bk-actions{display:flex;gap:6px;margin-left:auto}
.cr-bk-actions button{height:36px;padding:0 16px;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer}
.cr-btn-reset{border:1px solid #cdd2da;background:#fff;color:#555}
.cr-btn-reset:hover{background:#f7f8fa}
.cr-btn-search{border:1px solid transparent;background:#735df1;color:#fff}
.cr-btn-search:hover{background:#6450e0}
/* 11/06 레벨 테스트 조회 드롭다운 (select-trigger + 목록) */
.cr-sel{position:relative}
.cr-sortwrap{display:flex;flex:0 0 auto;align-items:center;gap:8px;margin-left:auto}
.cr-sortbox{flex:0 0 auto;width:132px}
.cr-sortbox .cr-sel-pop{left:auto;right:0;min-width:100%;width:max-content}
.cr-sel-pop li.is-on{color:#735df1;font-weight:600;background:#f6f5ff}
.cr-sel-pop li{color:#222;font-weight:500}
/* 11/06 발행 번호 관리 표 카드 : 남은 높이를 채우고 표만 스크롤 */
.cr-book-card{flex:1;min-height:0}
.cr-book-card .cr-book-list{flex:1;min-height:0;overflow-y:auto}
/* 11/06 발행할 번호 : 입력 + 보호자 번호 목록 */
.cr-combo{position:relative}
.cr-combo-btn{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;margin-right:-4px;border:0;border-radius:6px;background:transparent;cursor:pointer}
.cr-combo-btn:hover{background:#f2f3f5}
.cr-combo-btn svg{width:14px;height:14px}
.cr-combo ul li.is-empty{font-size:11.5px;line-height:1.45;border-top:1px solid #eef0f3;margin-top:4px;padding-top:9px;border-radius:0}
/* 11/06 발행할 번호 드롭다운 : 학생 정보 보호자 표기 (보호자 n / 관계 배지 + 번호) */
.cr-g{display:flex;flex-direction:column;gap:3px}
.cr-g-lbl{font-size:11px;font-weight:500;color:#919191;line-height:1.2}
.cr-g-row{display:inline-flex;align-items:center;gap:6px;min-width:0}
.cr-g-row b{font-size:13px;font-weight:600;color:#161616;letter-spacing:-.1px}
.cr-g-rel{flex-shrink:0;display:inline-flex;align-items:center;height:20px;padding:0 7px;border-radius:999px;background:#FFF1E8;color:#EC6A30;font-size:11px;font-weight:600}
.cr-g-pop li{flex-direction:column;align-items:flex-start;gap:2px}
.cr-g-pop li .cr-g-direct{font-size:13px;font-weight:600;color:#161616}
.cr-g-pop li small{font-size:11px;color:#919191}
.cr-g-pop li[data-gmode="direct"]{border-top:1px solid #eef0f3;margin-top:4px;border-radius:0 0 6px 6px}
.cr-g-pop li.is-on .cr-g-direct{color:#735df1}
/* 선택 전/보호자 번호 : 드롭다운이 칸 전체, 직접 입력 : 드롭다운 200px + 입력칸 */
.cr-gsel-box{flex:1 1 auto;min-width:0}
[data-gsel][data-mode="direct"] .cr-gsel-box{flex:0 0 200px}
.cr-g-ph{font-size:12px;font-weight:500}
/* 11/06 (사용자) 발행할 번호 선택 : 회색 네모 관계 배지(모/부) + 번호, 굵지 않게 */
.cr-g-rel{height:20px;min-width:20px;padding:0 5px;justify-content:center;border-radius:4px;background:#F1F2F4;color:#6B6F76;font-size:11px;font-weight:500}
.cr-g-row{gap:8px}
.cr-g-row b{font-size:13px;font-weight:500;color:#161616;letter-spacing:0}
/* 직접 발행 : 학생/가맹점 목록이 길면 스크롤 */
.cr-sel .cr-sel-pop{max-height:260px;overflow-y:auto}
[data-dnum] button:disabled{cursor:not-allowed;background:#F7F8FA}
[data-dnum] .cr-sel-pop{max-height:340px}
/* 11/06 설정·번호 관리 : 왼쪽 이력 / 오른쪽 학생 패널 (발행할 번호 + 학생 이력) */
.cr-split{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;align-items:stretch}
.cr-side{display:flex;flex-direction:column;min-height:0;border:1px solid #e2e5ea;border-radius:12px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.04);overflow:hidden}
.cr-side-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:24px;text-align:center;color:#919191}
.cr-side-empty svg{width:34px;height:34px;color:#c9ccd2;margin-bottom:4px}
.cr-side-empty b{font-size:14px;font-weight:600;color:#555}
.cr-side-empty span{font-size:12px;line-height:1.55}
.cr-side-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:14px 16px 12px;border-bottom:1px solid #eef0f3}
.cr-side-head b{font-size:15px;font-weight:700;color:#161616}
.cr-side-head small{font-size:11px;color:#919191}
.cr-side-head p{margin-top:2px;font-size:12px;color:#6b6f76}
.cr-side-x{width:24px;height:24px;border:0;border-radius:6px;background:transparent;color:#919191;font-size:16px;cursor:pointer}
.cr-side-x:hover{background:#f2f3f5}
.cr-side-sec{padding:12px 16px;border-bottom:1px solid #eef0f3}
.cr-side-sec h4{display:flex;align-items:center;gap:6px;margin-bottom:8px;font-size:13px;font-weight:600;color:#161616}
.cr-side-sec h4 span{font-size:12px;font-weight:500;color:#919191}
.cr-side-hint{margin-top:6px;font-size:11px;font-weight:500;color:#919191}
.cr-side [data-gsel]{flex-direction:column;align-items:stretch;padding:0}
.cr-side [data-gsel] .cr-gsel-box,.cr-side [data-gsel][data-mode="direct"] .cr-gsel-box{flex:0 0 auto;width:100%}
.cr-side .cr-g-ph{font-size:12px}
.cr-side-list{flex:1;min-height:0;display:flex;flex-direction:column;border-bottom:0}
.cr-side-sum{display:flex;gap:10px;padding:8px 10px;margin-bottom:8px;border-radius:8px;background:#f7f8fa;font-size:11.5px;color:#6b6f76}
.cr-side-sum b{color:#161616;font-weight:600}
.cr-side-items{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:6px;margin:0 -4px;padding:0 4px}
.cr-side-item{display:flex;flex-direction:column;gap:3px;width:100%;padding:9px 10px;border:1px solid #eef0f3;border-radius:8px;background:#fff;text-align:left;cursor:pointer}
.cr-side-item:hover{border-color:#cfd3da;background:#fafbfc}
.cr-side-item-top{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#919191}
.cr-side-item-mid{display:flex;align-items:center;justify-content:space-between;gap:8px}
.cr-side-item-mid b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;font-weight:500;color:#161616}
.cr-side-item-mid em{flex-shrink:0;font-style:normal;font-size:12.5px;font-weight:600;color:#161616}
.cr-side-item-sub{font-size:11px;color:#919191;line-height:1.4}
.cr-side-none{padding:20px 0;text-align:center;font-size:12px;color:#919191}
.cr-row-focus{background:#f6f5ff!important}
/* 학생 패널은 왼쪽 높이에 맞추고 안에서 스크롤 (패널 내용 때문에 Modal이 커지지 않게) */
.cr-side{position:relative}
.cr-side-in{position:absolute;inset:0;display:flex;flex-direction:column;min-height:0}
/* 11/06 학생 기반 화면 : 왼쪽 학생 목록 / 오른쪽 상세보기 (교재 관리 dp-col 모양) */
.cr-split2{flex:1;min-height:0;display:grid;grid-template-columns:380px minmax(0,1fr);gap:16px}
.cr-col{position:relative;display:flex;flex-direction:column;min-height:0;border:1px solid #e2e5ea;border-radius:12px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.04);overflow:hidden}
.cr-col-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #eef0f3}
.cr-col-head h3{font-size:15px;font-weight:700;color:#161616}
.cr-col-head h3 span{margin-left:4px;font-size:12px;font-weight:500;color:#919191}
.cr-col-filter{display:flex;gap:8px;padding:12px 16px;border-bottom:1px solid #eef0f3}
.cr-col-list{flex:1;min-height:0;overflow-y:auto}
.cr-list-empty{padding:40px 16px;text-align:center;font-size:13px;color:#919191}
.cr-lrow{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:11px 16px;border:0;border-bottom:1px solid #f1f2f4;background:#fff;text-align:left;cursor:pointer}
.cr-lrow:hover{background:#fafbfc}
.cr-lrow.is-on{background:#f6f5ff;box-shadow:inset 3px 0 0 #735df1}
.cr-lrow-main{display:flex;flex-direction:column;gap:3px;min-width:0}
.cr-lrow-name{display:flex;align-items:center;gap:5px;min-width:0}
.cr-lrow-name b{font-size:13.5px;font-weight:600;color:#161616;white-space:nowrap}
.cr-lrow.is-on .cr-lrow-name b{color:#735df1}
.cr-lrow-name small{font-size:11px;color:#919191}
.cr-lrow-cls{font-size:11.5px;color:#6b6f76;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cr-lrow-no{flex-shrink:0}
.cr-no-self{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:999px;background:#f1f2f4;color:#6b6f76;font-size:11px;font-weight:500}
.cr-detail-body{flex:1;min-height:0;overflow-y:auto}
.cr-d-stu{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-bottom:1px solid #eef0f3}
.cr-d-stu b{font-size:16px;font-weight:700;color:#161616}
.cr-d-stu small{font-size:12px;color:#919191}
.cr-d-stu p{margin-top:2px;font-size:12px;color:#6b6f76}
.cr-d-sum{display:flex;gap:14px;padding:8px 12px;border-radius:8px;background:#f7f8fa;font-size:12px;color:#6b6f76}
.cr-d-sum b{color:#161616;font-weight:600}
.cr-d-sec{padding:14px 20px;border-bottom:1px solid #eef0f3}
.cr-d-sec:last-child{border-bottom:0}
.cr-d-sec h4{font-size:13.5px;font-weight:600;color:#161616;margin-bottom:8px}
.cr-d-hist h4{margin-bottom:0}
.cr-d-sec [data-gsel]{padding:0}
/* 11/06 선택 줄 왼쪽 보라 선 삭제 */
.cr-lrow.is-on{box-shadow:none}
/* 11/06 자진발급 : 010-000-1234 딤 처리 */
[data-gtrig].is-self{background:#F7F8FA}
.cr-g-self{font-size:13px;font-weight:500;color:#b0b4ba}
/* 전체 학생 행 */
.cr-lrow-all .cr-lrow-name b{font-weight:700}
.cr-lrow-all{border-bottom:1px solid #e2e5ea}
/* 11/06 (사용자) 학생 목록 폭 줄임 */
.cr-split2{grid-template-columns:260px minmax(0,1fr)}
.cr-col-filter{flex-direction:column}
.cr-col-filter > .w-\[150px\]{width:100%}
/* 이력 가맹점 드롭다운 : 기간 칩 높이(32px)에 맞춤 */
.cr-hm [data-slot="select-trigger"]{height:32px;font-size:12px}
/* 11/06 (사용자) 스크롤바 위아래 화살표 삭제 (얇은 스크롤바) */
.cr-col-list::-webkit-scrollbar,.cr-detail-body::-webkit-scrollbar,.cr-col .overflow-x-auto::-webkit-scrollbar{width:8px;height:8px}
.cr-col-list::-webkit-scrollbar-button,.cr-detail-body::-webkit-scrollbar-button,.cr-col .overflow-x-auto::-webkit-scrollbar-button{display:none;width:0;height:0}
.cr-col-list::-webkit-scrollbar-thumb,.cr-detail-body::-webkit-scrollbar-thumb,.cr-col .overflow-x-auto::-webkit-scrollbar-thumb{background:#d5d8de;border-radius:999px}
.cr-col-list::-webkit-scrollbar-track,.cr-detail-body::-webkit-scrollbar-track,.cr-col .overflow-x-auto::-webkit-scrollbar-track{background:transparent}
/* 11/06 (사용자) Modal 안 모든 스크롤바 : 화살표 없는 얇은 바 (표준 scrollbar-width를 쓰면 크롬에서 화살표가 다시 생겨 webkit만 사용) */
[data-slot="dialog-content"] *::-webkit-scrollbar{width:8px;height:8px}
[data-slot="dialog-content"] *::-webkit-scrollbar-button{display:none;width:0;height:0}
[data-slot="dialog-content"] *::-webkit-scrollbar-thumb{background:#d5d8de;border-radius:999px}
[data-slot="dialog-content"] *::-webkit-scrollbar-track,[data-slot="dialog-content"] *::-webkit-scrollbar-corner{background:transparent}
[data-slot="dialog-content"] .cr-noscroll::-webkit-scrollbar{display:none;width:0;height:0}
/* list.css 전역 *{scrollbar-width:thin} 때문에 크롬 표준 스크롤바(화살표 있음)가 쓰여서, Modal 안에서는 표준 속성을 풀고 위 webkit 스타일을 씀 */
[data-slot="dialog-content"] *{scrollbar-width:auto;scrollbar-color:auto}
[data-slot="dialog-content"] .cr-noscroll{scrollbar-width:none}
/* 11/06 (사용자) 상세보기 이력 : 세로 스크롤 없게 간격 줄임 */
.cr-d-hist{padding-top:10px;padding-bottom:10px}
.cr-d-hist > .py-3{padding-top:8px;padding-bottom:8px}
.cr-d-hist > .pt-3{padding-top:8px}
.cr-d-hist [data-rec] > div{min-height:42px!important}
/* 11/06 (사용자) 학생 목록 클래스/검색도 32px */
.cr-col-filter [data-slot="select-trigger"],.cr-col-filter [data-slot="input-root"]{height:32px;font-size:12px}
.cr-col-filter{gap:6px;padding:10px 12px}
/* 11/06 (사용자) 이력 무한 스크롤 : 이력 표가 남은 높이를 채우고 안에서 스크롤, 표 머리는 고정 */
.cr-detail-body{display:flex;flex-direction:column;overflow:hidden}
.cr-d-hist{flex:1;min-height:0;display:flex;flex-direction:column}
.cr-hist-box{flex:1;min-height:0;display:flex;flex-direction:column}
.cr-hist-scroll{flex:1;min-height:0;overflow:auto}
.cr-hist-scroll .bg-ds-surface-table-head{position:sticky;top:0;z-index:2}
.cr-hist-scroll .bg-ds-surface-table-head{border-top:0}
.cr-hist-more{flex-shrink:0;padding:8px 0;text-align:center;font-size:12px;color:#919191;border-top:1px solid #eef0f3}
/* 11/06 (사용자) 이력 표 마지막 줄 아래 선 (세로선이 끊겨 보이지 않게) */
.cr-hist-scroll [data-rec]:last-of-type{border-bottom:1px solid var(--color-ds-line-subtle,#eef0f3)}
.cr-hist-more{border-top:0}
/* 11/06 (사용자) 삭제 가맹점도 보기 체크박스 */
.cr-delm{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;font-size:12px;font-weight:500;color:#555;cursor:pointer;white-space:nowrap}
/* 자진발급 번호 칸 딤 */
.cr-self-box{background:#F7F8FA}
.cr-self-box input{color:#b0b4ba}
/* 11/06 (사용자) 기간 날짜 칸 조금 넓게 */
[data-detail] [data-dbtn]{min-width:122px;padding-left:12px;padding-right:12px}
/* 11/06 (사용자) 날짜 칸 달력 아이콘을 왼쪽으로 */
[data-detail] [data-dbtn]{justify-content:flex-start;padding-left:9px}
[data-detail] [data-dbtn] [data-slot="button-label"]{gap:7px}
/* 보호자 번호 목록은 한 줄로 (직접 입력일 때 드롭다운이 좁아도 목록은 넓게) */
[data-sel="gpick"] .cr-sel-pop{min-width:200px;width:max-content}
[data-sel="gpick"] .cr-sel-pop li{white-space:nowrap}
[data-sel="gpick"] .cr-sel-pop{min-width:260px}

/* 11/06 (사용자) 발행 안 함이면 발행 기준 금액 딤 처리 */
.cr-amt[aria-disabled="true"] { opacity: .4; pointer-events: none; user-select: none; }
/* 11/06 (사용자) 청구서 없는 직접 발행 건 : 상세 Modal 없음 */
[data-rec][data-noinv]{cursor:default!important}
[data-rec][data-noinv]:hover{background-color:var(--color-ds-surface-default,#fff)!important}
/* 11/06 (사용자) 완납 처리 Modal 정리 */
.cr-pay [data-opts="pay"] [data-v]{min-height:40px!important;height:40px;padding-top:0!important;padding-bottom:0!important;justify-content:center;align-items:center}
.cr-crbox{padding:16px;border-radius:10px;background:var(--color-ds-surface-muted,#f7f8fa);border:1px solid var(--color-ds-line-subtle,#eef0f3)}
.cr-crbox[aria-disabled="true"]{opacity:.4;pointer-events:none;user-select:none}
.cr-off{opacity:.4;pointer-events:none;user-select:none}
.cr-toast{white-space:pre-line;line-height:1.6;max-width:520px}
/* 11/06 (사용자) 영수증 : 실서비스 /invoice/receipt 화면 스타일 */
.rc-ov{position:fixed;inset:0;z-index:2147482000;background:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;padding:24px;overflow:auto;font-family:'Pretendard Variable',Pretendard,sans-serif;color:#111}
.rc-wrap{width:440px;max-width:100%;display:flex;flex-direction:column;gap:14px;background:#F7F8FA;border-radius:16px;padding:14px 24px 24px;max-height:calc(100vh - 48px);overflow:auto}
.rc-tools{display:flex;justify-content:flex-end;gap:8px}
.rc-ib{width:38px;height:38px;border:1px solid #DDE0E5;border-radius:8px;background:#fff;color:#333;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.rc-ib:hover{background:#F2F3F5}
.rc-card{background:#fff;border-radius:14px;overflow:hidden}
.rc-top{padding:22px 0 18px;text-align:center;border-bottom:1px dashed #E3E5E8;position:relative}
.rc-top h1{margin:0;font-size:24px;font-weight:700;line-height:32px}
.rc-body{padding:4px 22px 22px}
.rc-sec{padding:18px 0;border-bottom:1px solid #EDEFF2}
.rc-sec:last-child{border-bottom:0;padding-bottom:0}
.rc-h{font-size:18px;font-weight:600;line-height:18px}
.rc-sub{font-size:15px;font-weight:700;line-height:15px;padding-top:16px}
.rc-row{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-top:14px;font-size:14px}
.rc-row span{font-weight:800;line-height:14px;white-space:nowrap}
.rc-row b{font-weight:600;line-height:20px;text-align:right;margin-top:-3px}
.rc-back{height:48px;border:0;border-radius:8px;background:#111;color:#fff;font-size:15px;font-weight:600;cursor:pointer;font-family:inherit}
/* 11/06 (사용자) 완납 처리 : 실서비스 확인형 Modal(420px) 안 현금영수증 영역 */
.cr-cmp .cr-crbox{width:100%;padding:14px}
.cr-cmp [data-crbox] [data-opts] [data-v]{min-height:40px!important;height:40px;padding-top:0!important;padding-bottom:0!important;justify-content:center;align-items:center}
.cr-cmp [data-crbox] [data-opts] [data-v] span+span{display:none}
.cr-cmp [data-crbox] > div > span:first-child{font-size:12px;font-weight:500;color:var(--color-ds-ink-tertiary,#8b9099)}
.cr-cmp .cr-sel{width:100%}
.cr-cmp .cr-sel > button{height:40px}
[data-slot="dialog-content"] button:disabled.bg-ds-success,[data-slot="dialog-content"] [data-ok]:disabled{background:var(--color-ds-surface-disabled,#eef0f3)!important;color:var(--color-ds-ink-tertiary,#8b9099)!important;border-color:transparent!important;cursor:not-allowed}
/* 11/06 (사용자) 선택 버튼은 글자 길이와 상관없이 모두 같은 너비 */
[data-opts]>[data-v]{flex:1 1 0!important;min-width:0!important}
.cr-popopen,.cr-popopen [data-slot="dialog-body"]{overflow:visible!important}
.cr-cmp .cr-sel-pop{z-index:5}
/* 11/06 (사용자) Modal 내용이 길어도 표/안내가 눌려 잘리지 않게 (대신 스크롤) */
[data-slot="dialog-body-content"]>*{flex-shrink:0}

/* 11/10 직접 발행 공급가액/부가세/합계 : 원 단위 표시, 공급가액 자동(회색) */
.cr-won { display: flex; align-items: center; }
.cr-won input { text-align: left; }
.cr-won-unit { flex: none; padding-left: 6px; font-size: 14px; font-weight: 600; color: #161616; }
.cr-won-dis { background: #F1F2F5 !important; }
.cr-won-dis input { color: #9a9a9a; pointer-events: none; }
/* 11/10 부가세 옆 과세 구분 라디오 (비과세 기본 = 0원 / 과세 = 합계에서 10% 자동) */
.cr-tax { display: inline-flex; align-items: center; gap: 8px; margin-left: 4px; height: 18px; font-size: 11px !important; line-height: 18px; font-weight: 500; color: #666; }
.cr-tax label { display: inline-flex; align-items: center; gap: 4px; height: 18px; cursor: pointer; font-size: 11px !important; line-height: 18px; }
/* 기본 라디오는 작게 줄이면 위가 잘려 보여서 직접 그림 */
.cr-tax input { appearance: none; -webkit-appearance: none; box-sizing: border-box; width: 12px; height: 12px; margin: 0; flex: none; border: 1.5px solid #B5B8C0; border-radius: 50%; background: #fff; cursor: pointer; }
.cr-tax input:checked { border-color: #6B5CE7; background: #6B5CE7; box-shadow: inset 0 0 0 2px #fff; }
.cr-tax input:focus-visible { outline: 2px solid #C9C2F7; outline-offset: 1px; }
/* 11/10 직접 발행 : 칸마다 안내/오류 한 줄 자리 고정 (오류가 떠도 높이 그대로), 오류가 있으면 안내 대신 오류
   [hidden]은 Tailwind 레이어 !important라 덮을 수 없어서, 보이는 문구가 없는 칸에 같은 높이만큼 아래 여백을 줌 */
.cr-direct { gap: 14px; }
.cr-direct .flex.flex-col.gap-2 { gap: 6px; }
.cr-direct .flex.flex-col.gap-2 > span:first-child { display: flex; align-items: center; gap: 3px; height: 18px; line-height: 18px; white-space: nowrap; }
.cr-direct [data-msg], .cr-direct [data-hint] { line-height: 18px; margin: 0; }
.cr-direct .flex.flex-col.gap-2:not(:has(> p:not([hidden]))) { padding-bottom: 24px; }
.cr-direct .flex.flex-col.gap-2:has(> [data-msg]:not([hidden])) > [data-hint] { display: none !important; }
.cr-won-unit { font-size: 14px; font-weight: 500; color: #555; }

/* 11/10 발행 Modal : 현금영수증 함께 발행 체크된 채 비활성, 결제 수단 비활성 */
.cr-lock{opacity:.5;pointer-events:none}
.cr-cmp [data-sel="pay"] button:disabled{background:var(--color-ds-surface-disabled,#f1f2f5);color:var(--color-ds-ink-tertiary,#8b9099);cursor:not-allowed}

/* 11/10 발행 / 완납 처리 Modal : 칸마다 안내/오류 한 줄 자리 고정 (cr-direct와 같은 방식) */
.cr-slot .flex.flex-col.gap-2 > [data-msg], .cr-slot .flex.flex-col.gap-2 > [data-hint] { line-height: 18px; margin: 0; }
.cr-slot .flex.flex-col.gap-2:has(> [data-msg]):not(:has(> p:not([hidden]))) { padding-bottom: 26px; }
.cr-slot .flex.flex-col.gap-2:has(> [data-msg]:not([hidden])) > [data-hint] { display: none !important; }

/* 11/10 여러 건 완납 처리 목록 / 일괄 발행 번호 Select */
.cr-mlist{max-height:240px;overflow-y:auto;padding-right:2px}
.cr-mrow{padding:10px 12px;border:1px solid var(--color-ds-line-default,#e5e7eb);border-radius:8px;background:#fff}
.cr-mrow [data-sel] button:disabled{background:var(--color-ds-surface-disabled,#f1f2f5);color:var(--color-ds-ink-tertiary,#8b9099);cursor:not-allowed}
.cr-bulk-grid{overflow:visible}
.cr-bulk-grid [data-sel] button:disabled{background:var(--color-ds-surface-disabled,#f1f2f5);color:var(--color-ds-ink-tertiary,#8b9099);cursor:not-allowed}
body > .cr-sel-pop li{white-space:nowrap}
.cr-slot .flex.flex-col.gap-2.cr-nohint, .cr-direct .flex.flex-col.gap-2.cr-nohint{padding-bottom:0!important}

/* 11/11 미납 / 미발송 발송 실패 느낌표 + 툴팁 */
.cr-st-wrap{position:relative;display:inline-flex;align-items:center;justify-content:center}
.cr-fail{position:absolute;left:100%;top:50%;margin-left:2px;transform:translateY(-50%);display:inline-flex;width:13px;height:13px;color:var(--color-ds-danger,#E5484D);outline:none}
.cr-fail svg{display:block;width:13px;height:13px}
.cr-failtip{display:none;position:fixed;z-index:2147483000;max-width:none;padding:6px 10px;border-radius:8px;background:#fff;color:#333;font-family:'Pretendard Variable',Pretendard,sans-serif;font-size:12px;font-weight:500;line-height:1.5;box-shadow:0 2px 8px rgba(0,0,0,.15),0 0 1px rgba(0,0,0,.12);pointer-events:none;white-space:nowrap}
.cr-failtip::before{content:none}
.cr-failtip .cr-ft-item+.cr-ft-item{margin-top:8px;padding-top:8px;border-top:1px solid #eee}
.cr-failtip .cr-ft-t{margin:0;font-size:12px;line-height:1.5;font-weight:600;color:#222}
.cr-failtip ul{margin:4px 0 0;padding-left:16px;list-style:disc}
.cr-failtip li{margin-top:2px;font-size:12px;line-height:1.5;color:#444}
/* 11/16 읽음 열 : 아이콘 + (i) 토글 툴팁 (청구서 만들기 예약 발송 안내와 같은 에셋 : TooltipContent primary, side right, w 284) */
.cr-read{display:inline-flex}
.cr-mail{display:block;width:18px;height:18px}
.ds-tip-btn{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;margin-left:2px;padding:0;border:0;background:transparent;color:var(--color-ds-ink-tertiary,#919191);cursor:pointer;transition:color .15s;vertical-align:middle}
.ds-tip-btn:hover,.ds-tip-btn:focus-visible,.ds-tip-btn[aria-expanded="true"]{color:var(--color-ds-ink-secondary,#555);outline:0}
.cr-tip-btn{position:relative;top:-1px}
.ds-tip{position:fixed;z-index:2147483000;width:284px;padding:8px 12px;border:1px solid var(--color-ds-primary,#735df1);border-radius:8px;background:var(--color-ds-primary,#735df1);color:#fff;font-family:'Pretendard Variable',Pretendard,sans-serif;font-size:12px;font-weight:500;line-height:150%;text-align:left;white-space:normal;box-shadow:0 10px 28px 0 #00000029;pointer-events:none;animation:ds-tip-in .15s ease-out}
.ds-tip>span{display:flex;flex-direction:column;gap:4px}
.ds-tip-arrow{position:absolute;left:0;width:10px;height:10px;background:inherit;border-left:1px solid var(--color-ds-primary,#735df1);border-bottom:1px solid var(--color-ds-primary,#735df1);border-radius:2px;transform:translate(calc(-50% - 1px),-50%) rotate(45deg)}
.ds-tip.is-left .ds-tip-arrow{left:auto;right:0;transform:translate(calc(50% + 1px),-50%) rotate(-135deg)}
@keyframes ds-tip-in{from{opacity:0;transform:scale(.95)}to{opacity:1;transform:none}}
/* 11/16 (사용자) 느낌표가 있어도 배지는 다른 행처럼 가운데, 느낌표는 배지 오른쪽에 띄움 (상태 열 94라 원형이 칸 안에 들어감) */
.ds-tip-btn{cursor:help}
.ds-tip.cr-readtip{width:auto;white-space:nowrap}
.ds-tip.cr-readtip>span{gap:0}
.cr-dbadge{display:inline-flex;align-items:center;gap:6px;align-self:flex-start}
/* 11/16 (사용자) 상세 헤더 : 흰 원 바탕 없이 아이콘만 */
/* 11/16 (사용자) 상세 헤더는 녹색 배경이라 아이콘 선을 흰색으로 (읽음 체크 포함) */
.cr-dbadge .cr-mail g,.cr-dbadge .cr-mail path,.cr-subrow .cr-mail g,.cr-subrow .cr-mail path{stroke:#fff}
.cr-subrow{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-right:-30px}   /* 아이콘 가운데를 닫기(X) 버튼 가운데에 맞춤 (같은 세로줄) */
.cr-subrow .cr-read{margin:-2px 0;opacity:.8}   /* 발송 연락처 글자와 같은 흰색 80% */
.cr-subrow .cr-mail{width:16px;height:16px}   /* 글자(12px, 줄 높이 18.6px)에 맞춘 크기 */
