/* 사용자등록 : 이미지 업로드 버튼 */
.addBtn label {
    position: absolute;
    bottom: 5px;
    width: 94%;
    margin-left: 3%;
    height: 30px;
    text-align: center;
    border-radius: 5px;
    background: #999;
    color: #fff;
}

.addBtn input#imgUpload {
    display: none;
}

.upBtn label.totalUp {
    padding: 5px 140px;
    text-align: center;
    border-radius: 5px;
    background: #FF2221;
    color: #FFF;
    cursor: pointer;
}

.upBtn input#totalUpload {
    display: none;
}

.upBtn label.soloUp {
    padding: 5px 50px;
    text-align: center;
    border-radius: 5px;
    background: #A0C4E5;
    color: #FFF;
    cursor: pointer;
}

.upBtn label.proUp {
    padding: 5px 36.2px;
    text-align: center;
    border-radius: 5px;
    background: #A0C4E5;
    color: #FFF;
    cursor: pointer;
}

.upBtn input#solo2DUpload {
    display: none;
}

.upBtn input#pro2DUpload {
    display: none;
}

.upBtn input#solo3DUpload {
    display: none;
}

.upBtn input#pro3DUpload {
    display: none;
}


.addButtn_this {
    margin: 10px 0 10px 0;
    background: #ee502c url(../img/people_ico.png) center no-repeat;
    display: block;
    height: 40px;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    line-height: 38px;
    color: #555;
    font-size: 11pt;
    box-sizing: border-box;
    text-align: center;
    background-size: 25px 23px;
}

.addButtn_this:after {
    content: '항목 추가';
    position: absolute;
    left: 37px;
    top: 12px;
    font-size: 17px;
    color: #ee502c;
    width: 100px;
    font-weight: 500;
    padding: 0 0 0 0;
    /*background:#CCC; */
    box-sizing: border-box;
}

.addButtn_this span {
    visibility: hidden;
    width: 1px;
    height: 1px;
    overflow: hidden;
    position: absolute;
    top: -9999px;
}


/* layer write */
.layer-write {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.76);
}

.write-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 0;
    border: 1px solid #5a65e8;
    width: 756px;
    box-sizing: border-box;
    position: relative;
    border-radius: 10px;
}

.write-content .inner {
    width: 100%;
    height: auto;
    margin: 32px auto 32px;
    text-align: center;
}

.write-content .inner ul {
    width: 100%;
    height: auto;
    margin-bottom: 32px;
    font-size: initial;
}

.write-content .inner ul li {
    margin: 7px 0;
    overflow: hidden;
    text-align: left;
}

.write-content .inner ul li label {
    float: left;
    width: 20%;
    padding: 12px;
    box-sizing: border-box;
    text-align: center;
}

.write-content .inner ul li input[type="text"],
.write-content .inner ul li input[type="password"] {
    float: left;
    border: 1px solid #ddd;
    width: 75%;
    padding: 8px;
    box-sizing: border-box;
}

.write-content .inner ul li select {
    float: left;
    border: 1px solid #ddd;
    width: auto;
    padding: 8px;
    box-sizing: border-box;
}

.write-content .inner button[type="submit"] {
    background: #303030;
    color: #fff;
    width: 200px;
    height: 60px;
}

.write-content .inner button[type="button"] {
    background: #303030;
    color: #fff;
    width: 200px;
    height: 60px;
}

.write-content .pop_bt {
    display: block;
    width: 48px;
    height: 48px;
    background: url("/public/img/pop_close.png") center no-repeat;
    font-size: 0;
    position: absolute;
    top: 5px;
    right: 5px;
}


/* 0827 추가 */
.custom_btnWrap {
    width: 244px;
    padding: 0;
}

.custom_btnWrap .plm_btn_m_initial {
    margin-top: 18px;
    float: left;
}

.custom_btnWrap .addButtn_this {
    margin-right: 90px;
    float: right;
}

.custom_btnWrap .addButtn_this:after {
    left: auto;
    right: 0;
}

.swal2-container {
    z-index: 999999999 !important;
}

.text_right {
    text-align: right;
}

.text_left {
    text-align: left;
}

.text_center {
    text-align: center;
}

input.only_number {
    /* text-align: right; */
}

/*계측기 관리 이미지 관련 추가*/
.picture-box {
    width: 100%;
    height: 250px;
    border: 1px solid #ced4da;
    padding: 2px;
    display: inline-block;
    margin-bottom: -5px;
}

.picture-box .picture {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    cursor: pointer;
    display: block;
}

.picture-box .picture.no_picture {
    background-color: #eee;
    text-align: center;
    display: table;
}

.picture-box .picture.no_picture:before {
    font-family: "themify";
    font-size: 60px;
    vertical-align: middle;
    opacity: 0.4;
    display: table-cell;
}

/*DATEPICKER 관련 추가*/
select.ui-datepicker-month,
select.ui-datepicker-year {
    box-sizing: border-box;
    border-radius: 15px;
    line-height: 38px;
    border: solid 1px #c8cccf !important;
    color: #454545;
    background: #fff url(../img/icon_arr3.png) 95% 49% no-repeat;
    border-radius: 0;
    /* 아이폰 사파리 보더 없애기 */
    -webkit-appearance: none;
    /* 화살표 없애기 for chrome*/
    -moz-appearance: none;
    /* 화살표 없애기 for firefox*/
    appearance: none
        /* 화살표 없애기 공통*/
}

select.mtz-monthpicker-year {
    width: 75px;
    box-sizing: border-box;
    border-radius: 15px;
    line-height: 38px;
    border: solid 1px #c8cccf !important;
    color: #454545;
    background: #fff url(../img/icon_arr3.png) 95% 49% no-repeat;
    border-radius: 0;
    /* 아이폰 사파리 보더 없애기 */
    -webkit-appearance: none;
    /* 화살표 없애기 for chrome*/
    -moz-appearance: none;
    /* 화살표 없애기 for firefox*/
    appearance: none
        /* 화살표 없애기 공통*/
}

/*그래프 툴팁창 z-index 조절*/
.canvasjs-chart-tooltip {
    z-index: 0 !important;
}

/* data관리 a hover  font-weight:bold 제거*/
.data_link:hover {
    font-weight: normal !important;
}

.dataTables_processing {
    z-index: 10 !important;
    background-color: none !important;
    background: none !important;
}

.dataTables_wrapper .dataTables_processing {
    top: 35%
}

.dataTables_scrollBody {
    min-height: 600px !important;
}

.dataTables_scrollBody.dataTables_scrollBody_empty {
    height: 796px !important;
}

.border-red {
    border: 1px solid red;
}

.bom_memo {
    height: 100px !important;
}

.bom_tree {
    height: 550.5px !important;
    overflow-y: auto;
}

.report_color {
    background-color: #F5BCA9;
}

ul.etc_menu {
    position: absolute;
    background-color: #ffffff;
    border-radius: 4px;
    border: solid 1px #ffc107;
    z-index: 5;
    width: 120px;
}

ul.etc_menu[data-fm-floated="bottom"]:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    top: -9px;
    left: 50%;
    margin-left: -9px;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid #ffc107;
    /* background-color: #ffffff; */
}

.h_300p {
    height: 300px !important;
}

.white_space_pre {
    white-space: pre;
}

.report_ceo_modal {
    max-height: 560px !important;
    overflow-y: auto;
}

.report_text_area {
    height: 330px !important;
}

.h_100p {
    height: 100px !important;
}

table.plm_receiving_modal01_border_top {
    border-top: 1px solid#9cbced;
}

table.plm_receiving_modal01_border_thead th {
    border-top: 1px solid#9cbced !important;
    border-bottom: 1px solid#9cbced !important;
    padding: 5px !important;
}

.h_600p {
    height: 600px !important;
}

.btn_side_bar {
    margin-right: 17px;
}

.dataTables_scrollBody table th {
    padding: 0 !important;
    border-top: 0 !important;
}

.dt-edit-item {
    cursor: pointer;
}

.btn-gray {
    background-color: #918f8d;
    color: white;
}

.btn-gray:hover {
    color: #fff;
    background-color: #5e5c5c;
    border-color: #5e5c5c;
}

.btn-gray:focus,
.btn-gray.focus {
    color: #fff;
    background-color: #918f8d;
    border-color: #5e5c5c;
    box-shadow: 0 0 0 0.2rem rgba(231, 166, 68, 0.5);
}

.btn-gray.disabled,
.btn-gray:disabled {
    color: #fff;
    background-color: #999794;
    border-color: #999794;
}

.btn-gray:not(:disabled):not(.disabled):active,
.btn-gray:not(:disabled):not(.disabled).active,
.show>.btn-gray.dropdown-toggle {
    color: #fff;
    background-color: #5e5c5c;
    border-color: #918f8d;
}

.btn-gray:not(:disabled):not(.disabled):active:focus,
.btn-gray:not(:disabled):not(.disabled).active:focus,
.show>.btn-gray.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(231, 166, 68, 0.5);
}

.btn-purple {
    background-color: #9F81F7;
    color: white;
}

.btn-purple:hover {
    color: #fff;
    background-color: #8181F7;
    border-color: #8181F7;
}

.btn-pink {
    background-color: #F781F3;
    color: white;
}

.btn-pink:hover {
    color: #fff;
    background-color: #FE2EF7;
    border-color: #FE2EF7;
}

.btn-brown {
    background-color: #D2691E;
    color: white;
}

.btn-brown:hover {
    color: #fff;
    background-color: #D2691E;
    border-color: #D2691E;
}

.btn-orange {
    background-color: #F57C02;
    color: white;
}

.btn-orange:hover {
    color: #fff;
    background-color: #ff7043;
    border-color: #ff7043;
}

.btn-orange:focus,
.btn-orange.focus {
    color: #fff;
    background-color: #F57C02;
    border-color: #ff7043;
    box-shadow: 0 0 0 0.2rem rgba(231, 166, 68, 0.5);
}

.btn-orange.disabled,
.btn-orange:disabled {
    color: #fff;
    background-color: #e67300;
    border-color: #e67300;
}

.btn-orange:not(:disabled):not(.disabled):active,
.btn-orange:not(:disabled):not(.disabled).active,
.show>.btn-orange.dropdown-toggle {
    color: #fff;
    background-color: #ff7043;
    border-color: #F57C02;
}

.btn-orange:not(:disabled):not(.disabled):active:focus,
.btn-orange:not(:disabled):not(.disabled).active:focus,
.show>.btn-orange.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(231, 166, 68, 0.5);
}

.text-orange {
    color: #F57C02;
}

.measure_font,
#span_formula {
    font-family: MathJax_Main;
}

@font-face {
    font-family: MathJax_Main;
    src:
        url('/public/font/MathJax_Main-Regular.otf') format('opentype')
        /* url('https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/fonts/HTML-CSS/TeX/woff/MathJax_Main-Regular.woff?V=2.7.1') format('woff'), */
        /* url('https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/fonts/HTML-CSS/TeX/otf/MathJax_Main-Regular.otf?V=2.7.1') format('opentype') */
}

.form-control {
    border-radius: 0;
}

label.form-check-label:has(input[type="radio"]) {
    >input {
        position: relative;
        top: 1px;
    }

    >span {
        position: relative;
        top: -3px;
    }
}

label.form-check-label:has(input[type="checkbox"]) {
    >span {
        vertical-align: middle;
    }
}

label:has(input[type="checkbox"]) {
    cursor: pointer;
}

label:has(input[type="radio"]) {
    cursor: pointer;
}

input[type="checkbox"].compact {
    width: 18px;
    height: 18px;
    margin-top: 0;
    margin-right: 2px;
    vertical-align: middle;
    cursor: pointer;
    box-sizing: border-box;
    top: unset;
}

/* 교정관리>교정접수 dataTable 커스텀 스타일 */
.receipt_table.dataTable {
    th {
        &.calbr_rsi_date {
            width: 80px !important;
        }

        &.report_agent_addr {
            width: 170px !important;
        }

        &.btrip_date {
            width: 80px !important;
        }

        &.remark {
            width: 170px !important;
        }

        &.is_tax {
            width: 70px !important;
        }

        &.calbr_cpt {
            width: 70px !important;
        }
    }

    td {
        &.remark {
            >div {
                width: 170px !important;
                overflow-wrap: break-word;
            }
        }

        &.report_agent_addr {
            >div {
                width: 160px !important;
                overflow-wrap: break-word;
            }
        }
    }
}

/* 화면 전체 로딩 덮개 (모바일과 같은 모양 : 로고 + 좌우로 흐르는 막대) */
.g_loading {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2000;
    /* 뒤 화면이 살짝 비치도록 완전히 가리지 않는다 */
    background-color: rgba(255, 255, 255, 0.72);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.g_loading.on {
    display: flex;
}

/* 로고(심볼마크) */
.g_loading .g_loading_mark {
    width: 92px;
}

/* 진행률을 알 수 없으므로 막대가 좌우로 계속 지나가게 한다 */
.g_loading .g_loading_bar {
    width: 128px;
    height: 4px;
    border-radius: 4px;
    background-color: #eff5ff;
    overflow: hidden;
}

.g_loading .g_loading_bar i {
    display: block;
    width: 45%;
    height: 100%;
    border-radius: 4px;
    background-color: #3570ff;
    animation: g_loading_slide 1.15s ease-in-out infinite;
}

/* 막대 아래 안내 문구 (엑셀 다운로드 등에서만 보인다) */
.g_loading .g_loading_msg {
    display: none;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    text-align: center;
}

@keyframes g_loading_slide {
    0% {
        transform: translateX(-105%);
    }

    100% {
        transform: translateX(230%);
    }
}

/* 그리드 목록을 불러오는 중 표시 : '데이터를 불러오는 중입니다.' 글자와 회색 막대 대신 로고 + 좌우로 흐르는 막대 */
/* 불러오는 중일 때만 글자를 숨긴다 ('데이터가 없습니다' 문구는 그대로 보임) */
.tui-grid-layer-state-content:has(.tui-grid-layer-state-loading) p {
    display: none;
}

/* 불러오는 중에는 목록 몸통이 낮아도 로고가 다 들어가도록 덮는 영역을 최소 130px 로 늘린다 */
.tui-grid-layer-state:has(.tui-grid-layer-state-loading) {
    min-height: 130px;
}

/* 다른 화면 CSS 가 안쪽 상자(높이 50px)에 position: relative 를 주는 경우가 있어,
   로고가 그 작은 상자 기준으로 놓이지 않고 목록 영역 전체 기준으로 가운데에 오도록 되돌린다 */
.tui-grid-layer-state .tui-grid-layer-state-content:has(.tui-grid-layer-state-loading) {
    position: static;
}

/* 로고(위) + 막대 자리(아래)를 목록 영역 한가운데에 둔다 */
/* (위에서 덮는 영역을 최소 130px 로 늘려 두어, 목록이 낮은 화면에서도 머리줄과 겹치지 않는다) */
.tui-grid-layer-state .tui-grid-layer-state-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 96px;
    height: 70px;
    margin: 0;
    overflow: hidden;
    background: url(/public/mobile/img/logo_mark.svg) no-repeat center top / 64px auto;
}

/* 막대 바탕 */
.tui-grid-layer-state .tui-grid-layer-state-loading::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    border-radius: 4px;
    background-color: #eff5ff;
}

/* 좌우로 흐르는 막대 */
.tui-grid-layer-state .tui-grid-layer-state-loading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45%;
    height: 4px;
    border-radius: 4px;
    background-color: #3570ff;
    animation: g_loading_slide 1.15s ease-in-out infinite;
}

/* 데이터테이블 목록을 불러오는 중 표시 : 돌아가는 원 대신 로고 + 좌우로 흐르는 막대 (그리드 목록과 같은 모양) */
.dataTables_processing .datatable_loader {
    position: relative;
    width: 96px;
    height: 70px;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    -webkit-animation: none;
    animation: none;
    background: url(/public/mobile/img/logo_mark.svg) no-repeat center top / 64px auto;
}

/* 막대 바탕 */
.dataTables_processing .datatable_loader::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    border-radius: 4px;
    background-color: #eff5ff;
}

/* 좌우로 흐르는 막대 */
.dataTables_processing .datatable_loader::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45%;
    height: 4px;
    border-radius: 4px;
    background-color: #3570ff;
    animation: g_loading_slide 1.15s ease-in-out infinite;
}

/* 화면 전체 로딩(엑셀·PDF 다운로드)이 떠 있을 때는 목록 안 로고를 숨겨 두 개가 겹쳐 보이지 않게 한다 */
body.g_loading_on .tui-grid-layer-state .tui-grid-layer-state-loading,
body.g_loading_on .dataTables_processing .datatable_loader {
    visibility: hidden;
}

/* ===== 견적서·완료통보서 계산식 안내(도움말) ===== */
.calc_guide {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    padding: 10px 14px;
}

/* 단락 하나(소급료 / 계산 순서 / 하단 금액 등) */
.calc_guide .cg_section {
    margin-bottom: 22px;
}

/* 단락 제목 */
.calc_guide .cg_title {
    font-size: 15px;
    font-weight: 700;
    border-left: 4px solid #2e7d32;
    padding-left: 8px;
    margin-bottom: 8px;
}

/* 단락 제목 옆 작은 설명 */
.calc_guide .cg_title small {
    font-weight: 400;
    color: #888;
    margin-left: 6px;
}

/* 항목 | 내용 표 */
.calc_guide .cg_table {
    width: 100%;
    border-collapse: collapse;
}

.calc_guide .cg_table th,
.calc_guide .cg_table td {
    border: 1px solid #dee2e6;
    padding: 6px 10px;
    vertical-align: middle;
}

.calc_guide .cg_table th {
    background: #f5f7fa;
    width: 170px;
    font-weight: 600;
    white-space: nowrap;
}

/* 표 머리줄(가로 제목) */
.calc_guide .cg_table thead th {
    width: auto;
    text-align: center;
    background: #eef1f5;
}

/* 소급료 붙는 칸(초록) / 안 붙는 칸(회색) */
.calc_guide .cg_table th.cg_on {
    background: #e8f5e9;
    color: #1b5e20;
}

.calc_guide .cg_table th.cg_off {
    background: #f1f1f1;
    color: #666;
}

/* 계산 순서 상자 흐름 */
.calc_guide .cg_flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.calc_guide .cg_flow span {
    border: 1px solid #b7d7b9;
    background: #f4faf4;
    border-radius: 4px;
    padding: 4px 10px;
}

.calc_guide .cg_flow i {
    font-style: normal;
    color: #2e7d32;
    font-weight: 700;
}

/* 주의사항 상자 */
.calc_guide .cg_note {
    background: #fff8e1;
    border-left: 4px solid #f0ad4e;
    padding: 8px 12px 8px 28px;
    margin: 8px 0 0;
}

.calc_guide .cg_note li {
    margin: 2px 0;
}

/* 예시 문구 */
.calc_guide .cg_example {
    color: #888;
    font-size: 13px;
}

/* 눌러서 펼치는 단락(엑셀 출력 설명 등) */
.calc_guide details.cg_section > summary {
    cursor: pointer;
    list-style: none;
}

.calc_guide details.cg_section > summary::-webkit-details-marker {
    display: none;
}

.calc_guide details.cg_section > summary .cg_title::after {
    content: "▼ 펼치기";
    font-size: 12px;
    font-weight: 400;
    color: #2e7d32;
    margin-left: 8px;
}

.calc_guide details.cg_section[open] > summary .cg_title::after {
    content: "▲ 접기";
}

/* 부적합 성적서 행 바탕 (보라색) - 불가·취소의 빨간 바탕(table-danger)과 같은 옅은 톤 */
.table-purple,
.table-purple > td,
.table-purple > th {
	background-color: #e0d6fc;
}

/* 마우스를 올렸을 때 조금 진하게 */
.table-hover .table-purple:hover,
.table-hover .table-purple:hover > td,
.table-hover .table-purple:hover > th {
	background-color: #d2c4fb;
}

/* tui 그리드 행용 (row_danger 와 같은 방식) */
.row_purple {
	background-color: #e0d6fc !important;
}

/* 한국교정기술원·데모 : 수리 행이 청보라(table_repair)라서 부적합 행은 자주색으로 구분 */
body[data-postfix="kcti"] .table-purple,
body[data-postfix="kcti"] .table-purple > td,
body[data-postfix="kcti"] .table-purple > th,
body[data-postfix="demo"] .table-purple,
body[data-postfix="demo"] .table-purple > td,
body[data-postfix="demo"] .table-purple > th {
	background-color: #f0c4ea;
}

/* 마우스를 올렸을 때 조금 진하게 */
body[data-postfix="kcti"] .table-hover .table-purple:hover,
body[data-postfix="kcti"] .table-hover .table-purple:hover > td,
body[data-postfix="kcti"] .table-hover .table-purple:hover > th,
body[data-postfix="demo"] .table-hover .table-purple:hover,
body[data-postfix="demo"] .table-hover .table-purple:hover > td,
body[data-postfix="demo"] .table-hover .table-purple:hover > th {
	background-color: #e8b2e0;
}

/* tui 그리드 행용 */
body[data-postfix="kcti"] .row_purple,
body[data-postfix="demo"] .row_purple {
	background-color: #f0c4ea !important;
}

/* 평화하이텍·한국측정기술원·한국투엠·유진·하나계기·케이교정원: 원래 화면에 없던 도움말(?) 아이콘을 숨긴다. 원래 화면에도 있던 아이콘은 help_keep_업체 클래스로 남긴다 */
body[data-postfix="pht"] .help_doc:not(.help_keep_pht),
body[data-postfix="korea"] .help_doc:not(.help_keep_korea),
body[data-postfix="k2m"] .help_doc:not(.help_keep_k2m),
body[data-postfix="yujin"] .help_doc:not(.help_keep_yujin),
body[data-postfix="hanakk"] .help_doc:not(.help_keep_hanakk),
body[data-postfix="kcali"] .help_doc:not(.help_keep_kcali) {
	display: none !important;
}
/* [케이교정원] 원래 창 머리글은 위쪽 정렬, 닫기 '×' 는 반투명(마우스 올리면 진하게) */
/* [케이교정원] 파일 칸의 하이픈(파일 없음)은 세로 가운데 */
body[data-postfix="kcali"] td[data-column-name*="file_list"] .tui-grid-cell-content:not(:has(button)) {
	height: auto !important;
}
body[data-postfix="kcali"] .modal-dialog .modal-header {
	align-items: flex-start;
}
body[data-postfix="kcali"] .modal-dialog .modal-header > button.close {
	padding: 1rem;
	margin: -1rem -1rem -1rem auto;
	opacity: .5;
}
body[data-postfix="kcali"] .modal-dialog .modal-header > button.close:hover {
	opacity: .75;
}
body[data-postfix="kcali"] .modal-dialog .modal-header > button.close:focus {
	outline: none;
}
/* [케이교정원] 원래 목록 체크 상자는 기본 모양 23x23 (흰 바탕·회색 테두리, 선택하면 파랑), 칸 가운데 */
body[data-postfix="kcali"] .tui-grid-container label.checkbox {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}
body[data-postfix="kcali"] .tui-grid-container .custom-input:before {
	width: 23px;
	height: 23px;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #767676;
	border-radius: 3px;
	margin-top: 0;
	transition: none;
}
body[data-postfix="kcali"] .tui-grid-container .custom-input:after {
	width: 7px;
	height: 13px;
	top: 3px;
	left: 8px;
	border-width: 0 3px 3px 0;
	margin-top: 0;
	transition: none;
}
body[data-postfix="kcali"] .tui-grid-container input[type="checkbox"]:checked ~ .custom-input:before {
	background: #0075ff;
	border-color: #0075ff;
}
body[data-postfix="kcali"] .tui-grid-container th .custom-input:before,
body[data-postfix="kcali"] .tui-grid-container th .custom-input:after {
	margin-top: 0;
}
/* 머리글 체크 상자는 원래 가운데보다 1px 아래 */
body[data-postfix="kcali"] .tui-grid-container th label.checkbox {
	padding-top: 7px;
}
body[data-postfix="kcali"] th[data-column-name="_checked"] span {
	top: 0 !important;
}
/* [케이교정원] 원래 체크 상자는 모두 23x23 (작은 체크 상자 모양을 쓰지 않음) */
body[data-postfix="kcali"] input[type="checkbox"].compact {
	width: 1.4375rem;
	height: 1.4375rem;
}
/* [케이교정원] 원래 줄 안(form-check-inline) 체크 상자는 2px 내리지 않음 (원래는 우선순위에 밀려 내림 규칙이 안 먹음) */
body[data-postfix="kcali"] .form-check-inline .form-check-input[type="checkbox"] {
	position: static;
}
/* [케이교정원] 원래 표(dataTable) 안 체크 상자는 3px 내림 */
body[data-postfix="kcali"] table.dataTable .form-check-inline input[type="checkbox"] {
	position: relative;
}
/* [케이교정원] 세로 막대 자리 없는 목록은 줄이 넘칠 때만 목록 안 스크롤 */
body[data-postfix="kcali"] .kc_auto_scroll_y .tui-grid-rside-area .tui-grid-body-area,
body[data-postfix="kcali"] .kc_auto_scroll_y .tui-grid-lside-area .tui-grid-body-area {
	overflow-y: auto !important;
}
body[data-postfix="kcali"] .kc_auto_scroll_y .tui-grid-lside-area .tui-grid-body-area {
	scrollbar-width: none;
}
/* [케이교정원] 원래 창 아래 단추 사이 간격 4px */
body[data-postfix="kcali"] .modal-dialog .modal-footer button:not(first-child) {
	margin-left: 4px;
}
/* 단, 붙어 있는 단추 묶음(완료·수리·불가·취소 등)은 원래처럼 1px 겹쳐 붙임 */
body[data-postfix="kcali"] .modal-dialog .modal-footer .btn-group > .btn:not(:first-child) {
	margin-left: -1px;
}
body[data-postfix="kcali"] .modal-dialog .modal-footer .btn-group > .btn:first-child {
	margin-left: 0;
}

/* 한국측정기술원 교정접수 목록 : 완료예정일 지난 접수 주황 줄 */
.table_legacy_orange {
	background-color: #ffb69d !important;
}

/* 업체설정으로 화면 칸을 다시 배치하는 동안 숨김 (배치가 끝나면 스크립트가 클래스를 지운다, 스크립트가 멈춰도 3초 뒤에는 보인다) */
.layout_pending {
	visibility: hidden;
	animation: layout_pending_show 0s 3s forwards;
}

@keyframes layout_pending_show {
	to {
		visibility: visible;
	}
}

/* 실무자 칸에 결재 '확인' 버튼이 있을 때 버튼이 칸을 꽉 채우도록 여백을 없앤다 (이름·결재일시 글자일 때는 그대로) */
td[data-column-name="work_member_name"] .tui-grid-cell-content:has(> .grid_btn) {
	padding: 0px !important;
	height: 100% !important;
}

/* [성우] 일정 창 접수번호 : 회색 칩 오른쪽에 붙는 파란 새 창 열기 아이콘 칸 (두 칸이 한 덩어리로 보이게 맞닿는 쪽 모서리는 각지게) */
.select2-container .select2-selection__choice:has(.order_open) {
	position: relative;
	margin-right: 31px;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}
.select2-container .select2-selection__choice .order_open {
	position: absolute;
	left: 100%;
	top: -1px;
	bottom: -1px;
	display: flex;
	align-items: center;
	padding: 0 7px;
	background: #007bff;
	border: 1px solid #007bff;
	border-radius: 0 4px 4px 0;
	color: #fff;
	font-size: 12px;
	cursor: pointer;
	white-space: nowrap;
}

/* [유진·하나계기·케이교정원] 원래 화면처럼 왼쪽 메뉴 폭 250px (통합 기본 210px 이면 긴 메뉴 이름이 잘림) : 메뉴·로고 칸·본문 시작 위치를 같이 맞춘다 (메뉴를 접었을 때는 그대로) */
body[data-postfix="yujin"] .wrapper .sideBar:not(.active),
body[data-postfix="hanakk"] .wrapper .sideBar:not(.active),
body[data-postfix="kcali"] .wrapper .sideBar:not(.active) {
	min-width: 250px;
}
body[data-postfix="yujin"] .wrapper .sideBar:not(.active) .leftNaviBox,
body[data-postfix="hanakk"] .wrapper .sideBar:not(.active) .leftNaviBox,
body[data-postfix="kcali"] .wrapper .sideBar:not(.active) .leftNaviBox {
	min-width: 250px;
	width: 250px;
}
/* [평화하이텍·측기·한국투엠·유진·하나계기·케이교정원] 메뉴를 접으면 메뉴·로고 칸을 80px 로 줄여 본문을 가리지 않게 하고, 버전 글자는 칸 안에서 줄바꿈한다 */
body[data-postfix="pht"] .wrapper .sideBar.active,
body[data-postfix="korea"] .wrapper .sideBar.active,
body[data-postfix="k2m"] .wrapper .sideBar.active,
body[data-postfix="yujin"] .wrapper .sideBar.active,
body[data-postfix="hanakk"] .wrapper .sideBar.active,
body[data-postfix="kcali"] .wrapper .sideBar.active,
body[data-postfix="pht"] .wrapper .sideBar.active .leftNaviBox,
body[data-postfix="korea"] .wrapper .sideBar.active .leftNaviBox,
body[data-postfix="k2m"] .wrapper .sideBar.active .leftNaviBox,
body[data-postfix="yujin"] .wrapper .sideBar.active .leftNaviBox,
body[data-postfix="hanakk"] .wrapper .sideBar.active .leftNaviBox,
body[data-postfix="kcali"] .wrapper .sideBar.active .leftNaviBox {
	width: 80px;
}
body[data-postfix="pht"] .wrapper .sideBar.active .bottom_info .version,
body[data-postfix="korea"] .wrapper .sideBar.active .bottom_info .version,
body[data-postfix="k2m"] .wrapper .sideBar.active .bottom_info .version,
body[data-postfix="yujin"] .wrapper .sideBar.active .bottom_info .version,
body[data-postfix="hanakk"] .wrapper .sideBar.active .bottom_info .version,
body[data-postfix="kcali"] .wrapper .sideBar.active .bottom_info .version {
	font-size: 12px;
	text-align: center;
	white-space: normal;
}
/* [하나계기] 로고(HANA 글자, 높이 48)를 로고 칸(높이 90) 위아래·좌우 가운데에 둔다 (칸 위 여백 10px 도 없앰) */
body[data-postfix="hanakk"] .wrapper .sideBar:not(.active) .leftNaviBox {
	padding-top: 0;
}
body[data-postfix="hanakk"] .wrapper .sideBar:not(.active) .leftNaviBox .bigLogo {
	display: flex !important;
	align-items: center;
	justify-content: center;
	height: 100%;
	margin: 0;
	padding: 0;
}
/* [하나계기] 검색형 선택상자(bootstrap-select) 단추 테두리는 원래처럼 입력칸과 같은 회색 (기본 btn-light 는 테두리가 바탕색이라 구분선이 안 보임) */
body[data-postfix="hanakk"] .bootstrap-select > .dropdown-toggle.btn-light {
	border-color: #ced4da;
}
/* [유진] 화면 전체 크기 창(창 안 스크롤)은 원래처럼 위아래 여백 없이 화면 높이에 꼭 맞춘다 (원본 운영 실측 : 위 0, 높이 855 = 화면 높이) */
body[data-postfix="yujin"] .modal-dialog.modal-fullscreen.modal-dialog-scrollable {
	margin-top: 0;
	margin-bottom: 0;
	height: 100%;
	max-height: 100%;
	min-height: 100%;
}
body[data-postfix="yujin"] .modal-dialog.modal-fullscreen.modal-dialog-scrollable .modal-content {
	height: 100%;
	max-height: 100% !important;
}
body[data-postfix="yujin"] .wrapper .contentBar:not(.active),
body[data-postfix="hanakk"] .wrapper .contentBar:not(.active),
body[data-postfix="kcali"] .wrapper .contentBar:not(.active) {
	padding-left: 250px;
}

/* [유진·하나계기·케이교정원] 원래 화면 공통 글자·표 모양 : 글자 크기 14px (통합 기본 13px), 표 칸 높이 36px (통합 33px) */
body[data-postfix="yujin"],
body[data-postfix="hanakk"],
body[data-postfix="kcali"] {
	font-size: 14px;
}
body[data-postfix="yujin"] table th,
body[data-postfix="yujin"] table td,
body[data-postfix="hanakk"] table th,
body[data-postfix="hanakk"] table td,
body[data-postfix="kcali"] table th,
body[data-postfix="kcali"] table td {
	height: 36px;
}
/* [유진] 원래 표 칸 높이는 36px (33px 는 허브솔루션 공지 창이 떠 있을 때 그 창 스타일이 번져서 생긴 값, 통합도 같은 공지 창을 띄우므로 따로 넣지 않는다) */
/* 여백 0 은 원본과 같은 우선순위로 (데이터표 칸 여백 1px 은 그대로) */
:where(body[data-postfix="yujin"]) .table > :not(caption) > * > * {
	padding: 0;
}
/* [유진] 원래 화면은 글자 굵기를 따로 정하지 않음 (통합은 모든 글자 500) : 다른 굵기 지정은 그대로 두고 기본값만 되돌린다 */
:where(body[data-postfix="yujin"]) *,
:where(body[data-postfix="hanakk"]) *,
:where(body[data-postfix="kcali"]) * {
	font-weight: revert;
}

/* [유진] 접수대장 줄 복사 창 : 원래 표처럼 글자 14px */
body[data-postfix="yujin"] .cert_grid .tui-grid-cell {
	font-size: 14px;
}

/* [유진] 성적서 작성(접수상세내역) 목록 : 원래 표처럼 글자 14px */
body[data-postfix="yujin"] #customber_registration_grid .tui-grid-cell {
	font-size: 14px;
}

/* [유진] 성적서 출력 목록 : 원래 표처럼 글자 14px */
body[data-postfix="yujin"] .yujin_print_grid .tui-grid-cell,
body[data-postfix="hanakk"] .yujin_print_grid .tui-grid-cell {
	font-size: 14px;
}

/* [유진] 원래 왼쪽 메뉴 아래에는 프로그램 버전 글자가 없다 */
body[data-postfix="yujin"] .wrapper .sideBar .bottom_info {
	display: none;
}
/* [유진·하나계기] 버전 글자를 숨긴 만큼 메뉴 영역을 화면 아래 끝까지 늘린다 (아래 70px 이 비어 마지막 메뉴가 가려지지 않게) */
body[data-postfix="yujin"] .wrapper .sideBar .menus_wrapper,
body[data-postfix="hanakk"] .wrapper .sideBar .menus_wrapper {
	height: calc(100% - 90px);
}

/* [유진·하나계기·케이교정원] 원래 왼쪽 메뉴 글자 : 묶음 제목 18px, 메뉴 15px */
body[data-postfix="yujin"] .wrapper .sideBar .sideBarMenu ul > li > div,
body[data-postfix="hanakk"] .wrapper .sideBar .sideBarMenu ul > li > div,
body[data-postfix="kcali"] .wrapper .sideBar .sideBarMenu ul > li > div {
	font-size: 18px;
}
body[data-postfix="yujin"] .wrapper .sideBar .sideBarMenu ul > li > ul > li > a,
body[data-postfix="hanakk"] .wrapper .sideBar .sideBarMenu ul > li > ul > li > a,
body[data-postfix="kcali"] .wrapper .sideBar .sideBarMenu ul > li > ul > li > a {
	font-size: 15px;
}

/* [유진] 원래 로고 : 폭 140·높이 74, 오른쪽에 메뉴 접기 단추 */
body[data-postfix="yujin"] .leftNaviBox:not(.active) a.bigLogo {
	width: auto;
	height: auto;
	padding-right: 43px;
}
body[data-postfix="yujin"] .leftNaviBox:not(.active) a.bigLogo img {
	width: 140px;
	height: 74px;
	max-width: none;
	max-height: none;
	object-fit: contain;
	position: relative;
	left: 20px;
}

/* [하나계기] 원래 왼쪽 메뉴 아래에는 프로그램 버전 글자가 없다 */
body[data-postfix="hanakk"] .wrapper .sideBar .bottom_info {
	display: none;
}

/* [하나계기] 원래 목록 화면은 목록 아래에 본문 아래 여백 10px + 본문 2px + 줄 아래 틈 3px 이 남는다 (목록이 본문 바로 안에 있고 본문 안 아래 여백 칸이 없는 화면) */
body[data-postfix="hanakk"] .contentBar > .content.page_container:not(:has(> .content_body)):has(> .grid, > .yujin_grid_info, > .legacy_grid_info) {
	padding-bottom: 15px;
}
/* [하나계기] 위 화면의 목록 아래 '시작 번호…' 줄은 아래 바깥 여백 없음 (위 15px 만 남게) */
body[data-postfix="hanakk"] .contentBar > .content.page_container:not(:has(> .content_body)) > .grid .tui-pagination.legacy_tui_pager_on {
	margin-bottom: 0;
}

/* [하나계기] 목록 칸 이름이 grid 가 아닌 화면(직급·부서·직무·차량·출장비·로그인/작업 이력 등)도 목록 아래 본문 여백 10 + 본문 2 만 남게 */
body[data-postfix="hanakk"] .contentBar > .content.page_container:not(:has(> .content_body)) > .hk_auto_scroll_y:not(.grid) .tui-pagination.legacy_tui_pager_on {
	margin-bottom: 10px;
}

/* [하나계기] 원래 목록의 스크롤 막대 폭 15px (tui 기본 17px 대신, common.js g_grid 의 막대 자리와 같게) */
body[data-postfix="hanakk"] .tui-grid-container ::-webkit-scrollbar,
body[data-postfix="yujin"] .tui-grid-container ::-webkit-scrollbar {
	width: 15px;
	height: 15px;
}
body[data-postfix="hanakk"] .tui-grid-container .tui-grid-scrollbar-right-top,
body[data-postfix="hanakk"] .tui-grid-container .tui-grid-scrollbar-right-bottom,
body[data-postfix="yujin"] .tui-grid-container .tui-grid-scrollbar-right-top,
body[data-postfix="yujin"] .tui-grid-container .tui-grid-scrollbar-right-bottom {
	width: 16px;
}
/* 세로 막대 왼쪽 경계선도 막대 폭 15px 에 맞춘다 (tui 기본 17px 자리에 남으면 마지막 칸 오른쪽 2px 이 선 밖으로 비져 보임) */
body[data-postfix="hanakk"] .tui-grid-container .tui-grid-scrollbar-y-inner-border,
body[data-postfix="yujin"] .tui-grid-container .tui-grid-scrollbar-y-inner-border {
	right: 15px;
}

/* 창 안 스크롤 없이 전체 길이로 여는 창(no_body_scroll) : 화면 전체 크기 창도 바탕이 내용 길이만큼 늘어나 아래 저장·닫기 줄이 바탕 밖으로 떨어지지 않게 */
.modal-dialog.modal_no_body_scroll.modal-fullscreen {
	height: auto;
	min-height: 100%;
}
.modal-dialog.modal_no_body_scroll.modal-fullscreen .modal-content {
	height: auto;
	min-height: 100vh;
	max-height: none !important;
}

/* [하나계기] 세로 스크롤 막대 자리 없는 목록 : 줄이 넘칠 때만 목록 안에서 스크롤 (원래 목록처럼) */
body[data-postfix="hanakk"] .hk_auto_scroll_y .tui-grid-rside-area .tui-grid-body-area,
body[data-postfix="hanakk"] .hk_auto_scroll_y .tui-grid-lside-area .tui-grid-body-area {
	overflow-y: auto !important;
}
body[data-postfix="hanakk"] .hk_auto_scroll_y .tui-grid-lside-area .tui-grid-body-area {
	scrollbar-width: none;
}

/* [하나계기] 게시판 파일 칸은 원래 안쪽 여백이 없다 */
body[data-postfix="hanakk"] input[type="file"].board_file {
	padding: 0;
}

/* [하나계기] 월별 매출 이력 표 오른쪽 15px 는 목록 안 스크롤 막대 자리 (sales_history.js 에서 막대 자리를 둠, 바깥 여백 없음) */

/* [하나계기] 출고 Y/N 단추 테두리를 원래 토글 단추 테두리 색으로 */
body[data-postfix="hanakk"] .tui-grid-cell .btn-light.border.grid_btn {
	border-color: rgba(0, 0, 0, 0.15) !important;
}

/* [하나계기] 줄이 넘치지 않는 목록은 세로 막대 자리를 비워 두지 않는다 (common.js g_legacy_grid_width 의 auto_gutter) */
/* [한국투엠] 창 높이에 맞춘 목록도 같음 (common.js g_fit_legacy_grid_height 의 fit_layout) */
body[data-postfix="hanakk"] .grid.hk_no_gutter .tui-grid-container .tui-grid-rside-area .tui-grid-body-area,
body[data-postfix="k2m"] .grid.hk_no_gutter .tui-grid-container .tui-grid-rside-area .tui-grid-body-area {
	scrollbar-gutter: auto;
	overflow-y: hidden !important;
}
body[data-postfix="hanakk"] .grid.hk_no_gutter .tui-grid-rside-area .tui-grid-header-area,
body[data-postfix="k2m"] .grid.hk_no_gutter .tui-grid-rside-area .tui-grid-header-area {
	margin-right: 0;
}
body[data-postfix="hanakk"] .hk_no_gutter .tui-grid-scrollbar-right-top,
body[data-postfix="hanakk"] .hk_no_gutter .tui-grid-scrollbar-right-bottom,
body[data-postfix="hanakk"] .hk_no_gutter .tui-grid-scrollbar-y-inner-border,
body[data-postfix="hanakk"] .hk_no_gutter .tui-grid-scrollbar-y-outer-border,
body[data-postfix="k2m"] .hk_no_gutter .tui-grid-scrollbar-right-top,
body[data-postfix="k2m"] .hk_no_gutter .tui-grid-scrollbar-right-bottom,
body[data-postfix="k2m"] .hk_no_gutter .tui-grid-scrollbar-y-inner-border,
body[data-postfix="k2m"] .hk_no_gutter .tui-grid-scrollbar-y-outer-border {
	display: none;
}

/* [하나계기] 대행 목록(다운로드·파일)·접수상세(출고) 단추 칸의 '-' 를 칸 가운데로 */
body[data-postfix="hanakk"] #outsourcing_list td[data-column-name^="grid_btn"] > .tui-grid-cell-content,
body[data-postfix="hanakk"] #customber_registration_grid td[data-column-name^="grid_btn"] > .tui-grid-cell-content {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* [하나계기] 원래 창 아래 단추 줄은 안쪽 여백 2px, 창 제목 줄은 사방 8px */
body[data-postfix="hanakk"] .modal-footer.p-1 {
	padding: 2px !important;
}
body[data-postfix="hanakk"] .modal-header.p-2.px-3 {
	padding: 8px !important;
}
/* [하나계기] 원래 전체 화면 창(modal-full)은 위아래 여백 없이 화면 높이 그대로 */
body[data-postfix="hanakk"] .modal-dialog.modal-full {
	margin-top: 0;
	margin-bottom: 0;
	max-height: 100%;
}

/* [하나계기] 원래 창 아래 저장·닫기 단추에는 아이콘이 없다 */
body[data-postfix="hanakk"] .modal-footer .modal-btn-confirm > i.bi,
body[data-postfix="hanakk"] .modal-footer .modal-btn-close > i.bi {
	display: none;
}

/* [하나계기] 원래 목록(표) 칸처럼 tui 목록 칸도 글자 14px·안쪽 여백 1px (좁은 칸 글자가 두 줄로 넘어가지 않게) */
body[data-postfix="hanakk"] .tui-grid-body-area .tui-grid-cell {
	font-size: 14px;
	box-sizing: border-box;	/* 원래 표 칸 높이 36px 는 테두리까지 포함 (한 줄이 37 이 되지 않게) */
}
body[data-postfix="hanakk"] .tui-grid-body-area .tui-grid-cell-content {
	padding: 1px;
}

/* [유진] 원래 창 아래 단추 줄은 안쪽 여백 2px */
body[data-postfix="yujin"] .modal-footer.p-1 {
	padding: 2px !important;
}

/* [유진] 원래 창 아래 저장·닫기 단추에는 아이콘이 없다 */
body[data-postfix="yujin"] .modal-footer .modal-btn-confirm > i.bi,
body[data-postfix="yujin"] .modal-footer .modal-btn-close > i.bi {
	display: none;
}

/* [유진] 원래 입력표(bbsTable)는 칸 높이 40px·글자 15px·테두리 #d3d8e1, 머리 칸 바탕 #f8f9fd·굵기 600 */
body[data-postfix="yujin"] .yj_form40 > * > tr > * {
	height: 40px;
	font-size: 15px;
	border: 1px solid #d3d8e1;
}
body[data-postfix="yujin"] .yj_form40 > * > tr > th {
	background: #f8f9fd;
	font-weight: 600;
}
/* [하나계기] 원래 입력표(bbsTable)도 칸 높이 40px·글자 15px·테두리 #d3d8e1, 머리 칸 바탕 #f8f9fd·굵기 600, 내용 칸 글자색 #3a3940 */
body[data-postfix="hanakk"] .hk_form40 > * > tr > * {
	height: 40px;
	font-size: 15px;
	border: 1px solid #d3d8e1;
}
body[data-postfix="hanakk"] .hk_form40 > * > tr > th {
	background: #f8f9fd;
	font-weight: 600 !important;	/* 공통 표 머리 칸 굵게(!important)보다 먼저 */
}
body[data-postfix="hanakk"] .hk_form40 > * > tr > td {
	color: #3a3940;
}

/* [유진] tui 목록 머리글 칸은 목록에서 정한 머리글 높이 그대로 (표 칸 높이 36 규칙을 받지 않게) */
body[data-postfix="yujin"] .tui-grid-header-area table th.tui-grid-cell-header {
	height: auto;
}

/* [유진] 세로 스크롤 막대 자리 없는 목록 : 줄이 넘칠 때만 목록 안에서 스크롤 (원래 목록처럼) */
body[data-postfix="yujin"] .yj_auto_scroll_y .tui-grid-rside-area .tui-grid-body-area,
body[data-postfix="yujin"] .yj_auto_scroll_y .tui-grid-lside-area .tui-grid-body-area {
	overflow-y: auto !important;
}
body[data-postfix="yujin"] .yj_auto_scroll_y .tui-grid-lside-area .tui-grid-body-area {
	scrollbar-width: none;
}
/* [평화하이텍·한국측정기술원·한국투엠·유진·하나계기] 세로 스크롤 목록 : 원래 표처럼 줄이 넘칠 때만 세로 막대를 보인다 (빈 막대가 화면 막대와 겹쳐 두 개로 보이지 않게, 칸 폭은 그대로) */
body[data-postfix="pht"] .tui-grid-container:has(.tui-grid-scrollbar-right-top) .tui-grid-rside-area .tui-grid-body-area,
body[data-postfix="korea"] .tui-grid-container:has(.tui-grid-scrollbar-right-top) .tui-grid-rside-area .tui-grid-body-area,
body[data-postfix="k2m"] .tui-grid-container:has(.tui-grid-scrollbar-right-top) .tui-grid-rside-area .tui-grid-body-area,
body[data-postfix="hanakk"] .tui-grid-container:has(.tui-grid-scrollbar-right-top) .tui-grid-rside-area .tui-grid-body-area,
body[data-postfix="yujin"] .tui-grid-container:has(.tui-grid-scrollbar-right-top) .tui-grid-rside-area .tui-grid-body-area {
	overflow-y: auto !important;
	scrollbar-gutter: stable;	/* 막대가 없어도 막대 자리는 그대로 두어 칸 폭이 바뀌지 않게 */
}
/* [평화하이텍·한국측정기술원·한국투엠·유진·하나계기] 본문 칸 아래 글자 밑선 여백(3px) 때문에 목록을 창에 맞춰도 화면 스크롤이 3px 남지 않게 */
body[data-postfix="pht"] .wrapper > .contentBar,
body[data-postfix="korea"] .wrapper > .contentBar,
body[data-postfix="k2m"] .wrapper > .contentBar,
body[data-postfix="yujin"] .wrapper > .contentBar,
body[data-postfix="hanakk"] .wrapper > .contentBar {
	vertical-align: top;
}
/* [유진] 원래 목록 아래 '시작 번호…' 줄은 목록 바로 아래 */
body[data-postfix="yujin"] .yj_auto_scroll_y .tui-pagination.legacy_tui_pager_on {
	margin-top: 0;
}
/* [유진] 원래 표처럼 글자 14px·안쪽 여백 1px·줄 높이는 내용대로 (yj_cell14 를 붙인 목록) */
body[data-postfix="yujin"] .yj_cell14 .tui-grid-body-area .tui-grid-cell {
	font-size: 14px;
	height: auto;
}
body[data-postfix="yujin"] .yj_cell14 .tui-grid-body-area .tui-grid-cell-content {
	padding: 1px;
}
/* [유진] 칸을 꽉 채우는 단추는 원래처럼 줄 높이만큼 (칸 안쪽 1px 만 남김) */
body[data-postfix="yujin"] .yj_cell14 .tui-grid-body-area .tui-grid-cell:has(> .tui-grid-cell-content > button.w-100.h-100),
body[data-postfix="yujin"] .yj_pad1 .tui-grid-body-area .tui-grid-cell:has(> .tui-grid-cell-content > button.w-100.h-100) {
	position: relative;
}
body[data-postfix="yujin"] .yj_cell14 .tui-grid-body-area .tui-grid-cell-content:has(> button.w-100.h-100),
body[data-postfix="yujin"] .yj_pad1 .tui-grid-body-area .tui-grid-cell-content:has(> button.w-100.h-100) {
	/* 단추 칸 내용 높이는 0 으로 두어 목록이 줄 높이를 잴 때 단추가 끼어들지 않게 (첫 줄만 1~2px 커지던 것) */
	/* (공용 common.css 의 단추 칸 height 100% !important 보다 앞서게) */
	height: 0 !important;
	padding: 0 !important;
	overflow: visible;
	position: static !important;	/* 단추가 칸(td) 기준으로 자리 잡게 */
}
body[data-postfix="yujin"] .yj_cell14 .tui-grid-body-area .tui-grid-cell-content > button.w-100.h-100,
body[data-postfix="yujin"] .yj_pad1 .tui-grid-body-area .tui-grid-cell-content > button.w-100.h-100 {
	/* 단추는 칸 안쪽 1px 만 남기고 줄 높이만큼 */
	position: absolute;
	top: 1px;
	left: 1px;
	width: calc(100% - 2px) !important;
	height: calc(100% - 2px) !important;
	box-sizing: border-box;
}
/* [유진] 원래 표처럼 글자 14px·안쪽 여백 1px, 칸 높이 36 은 그대로 (두 줄 칸은 45) (yj_pad1 을 붙인 목록) */
body[data-postfix="yujin"] .yj_pad1 .tui-grid-body-area .tui-grid-cell {
	font-size: 14px;
}
body[data-postfix="yujin"] .yj_pad1 .tui-grid-body-area .tui-grid-cell-content {
	padding: 1px;
}

/* [유진] 원래 목록 머리글 줄 높이 36px (화면마다 따로 정한 곳은 그 값) */
body[data-postfix="yujin"] .dataTables_scrollHead thead th {
	height: 36px;
}
/* [유진] 원래 표 칸 높이 36px 는 테두리까지 포함 (tui 목록 칸도 같게, 줄이 37 이 되지 않게) */
body[data-postfix="yujin"] .tui-grid-body-area .tui-grid-cell {
	box-sizing: border-box;
}

/* [유진] 원래 일정 창 아래 단추는 엑셀 둘레 4px·저장 오른쪽 4px 간격 */
body[data-postfix="yujin"] .modal-schedule-schedule_modify .modal-footer > .btn {
	margin: 0;
}
body[data-postfix="yujin"] .modal-schedule-schedule_modify .modal-footer > .modal_memo_file_down {
	margin: 4px;
}
body[data-postfix="yujin"] .modal-schedule-schedule_modify .modal-footer > .modal_memo_file_down > i.bi {
	margin-right: 0;
}
body[data-postfix="yujin"] .modal-schedule-schedule_modify .modal-footer > .modal-btn-confirm {
	margin-right: 4px;
}

/* [유진] 원래 접수복사 창 아래 단추 줄 : 위아래 6px(줄 2 + 단추 묶음 4), 도움말과 접수복사 사이 11px, 접수복사와 닫기 사이 7px */
body[data-postfix="yujin"] .modal-order-check_cert_copy .modal-footer.p-1 {
	padding: 6px !important;
}
body[data-postfix="yujin"] .modal-order-check_cert_copy .modal-footer > .help_doc {
	padding-right: 0 !important;
	margin: 0;
}
body[data-postfix="yujin"] .modal-order-check_cert_copy .modal-footer > .modal-btn-confirm {
	margin: 0 0 0 11px;
}
body[data-postfix="yujin"] .modal-order-check_cert_copy .modal-footer > .modal-btn-close {
	margin: 0 0 0 7px;
}

/* [유진] 원래 교정수행도 합계 줄 : 바탕 #f5f5f5·굵게, 앞 4칸은 한 칸처럼(사이 선 없음) '합 계' 가운데 */
body[data-postfix="yujin"] .yj_operation_sum .tui-grid-summary-area td {
	background: #f5f5f5;
	font-weight: 700;
}
body[data-postfix="yujin"] .yj_operation_sum .tui-grid-summary-area td[data-column-name="item_middle_code_num"],
body[data-postfix="yujin"] .yj_operation_sum .tui-grid-summary-area td[data-column-name="item_middle_code_name"],
body[data-postfix="yujin"] .yj_operation_sum .tui-grid-summary-area td[data-column-name="item_small_code_num"] {
	border-right-color: transparent;
}
body[data-postfix="yujin"] .yj_operation_sum .tui-grid-summary-area td[data-column-name="item_middle_code_num"] {
	overflow: visible;
	position: relative;
	z-index: 1;
}
/* [유진] 원래 교정수행도 표 칸은 위아래 여백 없음 (두 줄인 칸 높이 43) */
body[data-postfix="yujin"] .yj_operation_sum .tui-grid-body-area .tui-grid-cell-content {
	padding-top: 0;
	padding-bottom: 0;
}
body[data-postfix="yujin"] .yj_operation_sum .yj_sum_label {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
}

/* [하나계기] 원래 접수 수정 창 아래 단추 줄 : 상태 단추는 높이 33·왼쪽 여백 없이, 저장·닫기는 오른쪽 4px 안쪽·사이 8px */
body[data-postfix="hanakk"] .hanakk_receipt_footer_buttons .btn {
	height: 33px !important;	/* h-100(100% !important) 보다 앞서게 */
}
body[data-postfix="hanakk"] .hanakk_receipt_footer_buttons .btn-group > .btn:first-child {
	margin-left: 0;
}
body[data-postfix="hanakk"] .modal-footer:has(.hanakk_receipt_footer_buttons) > .btn:last-child {
	margin-left: 8px;
	margin-right: 4px;
}

/* [하나계기] 원래 업체 창 담당자 표 대표여부 체크칸은 아래로 밀리지 않음 */
body[data-postfix="hanakk"] .yj_manager_list .yj_manager_fix {
	top: 0;
}

/* [하나계기] 원래 교정수행도 표 맨 아래 '합 계' 줄 : 회색 바탕·굵은 글자, 앞 4칸은 한 칸처럼(사이 선 없음) */
body[data-postfix="hanakk"] .hk_operation_sum .tui-grid-summary-area td {
	background: #f5f5f5;
	font-weight: 700;
	color: #323e50;
}
/* [하나계기] 원래 표 아래 바깥 여백(16) 만큼 화면 아래 끝을 맞춘다 */
body[data-postfix="hanakk"] .hk_operation_sum {
	margin-bottom: 14px;
}
body[data-postfix="hanakk"] .hk_operation_sum .tui-grid-summary-area td p {
	font-size: 14px;
	font-family: "Noto Sans KR";
}
/* [하나계기] 원래 교정수행도 표 칸은 안쪽 여백 없음 (긴 소분류명이 두 줄이면 줄 높이 43) */
body[data-postfix="hanakk"] .hk_operation_sum .tui-grid-body-area td[data-column-name="item_small_code_name"] .tui-grid-cell-content {
	padding: 0;
}
body[data-postfix="hanakk"] .hk_operation_sum .tui-grid-summary-area td[data-column-name="item_middle_code_num"],
body[data-postfix="hanakk"] .hk_operation_sum .tui-grid-summary-area td[data-column-name="item_middle_code_name"],
body[data-postfix="hanakk"] .hk_operation_sum .tui-grid-summary-area td[data-column-name="item_small_code_num"] {
	border-right-color: transparent;
}
body[data-postfix="hanakk"] .hk_operation_sum .tui-grid-summary-area td[data-column-name="item_middle_code_num"] {
	overflow: visible;
	position: relative;
	z-index: 1;
}
body[data-postfix="hanakk"] .hk_operation_sum .hk_sum_label {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
}

/* [하나계기] 원래 창 목록(DataTables)처럼 '시작 번호…' 줄은 목록 바로 아래·높이 26, 창 안쪽 여백은 창 본문 2px 하나만 (hk_pager_tight 를 붙인 목록) */
body[data-postfix="hanakk"] .hk_pager_tight .tui-pagination.legacy_tui_pager_on {
	margin-top: 0;
	margin-bottom: 0;
	height: 26px;
}
/* [케이교정원] 대행 창 품목 리스트 : 원래 목록처럼 '시작 번호…' 줄은 목록 바로 아래·높이 26 */
body[data-postfix="kcali"] .kc_pager_tight .tui-pagination.legacy_tui_pager_on,
body[data-postfix="kcali"] .kc_pager_tight .tui-pagination.tui-grid-pagination {
	margin-top: 0;
	margin-bottom: 0;
	height: 26px;
}
/* [케이교정원] 위쪽 경로 표시 : 원래는 이름 왼쪽 여백 15px, 마지막(지금 화면) 이름 18px */
body[data-postfix="kcali"] .Top_Home li {
	padding: 0 10px 0 15px;
}
body[data-postfix="kcali"] .Top_Home li:last-child {
	font-size: 18px;
}
/* [케이교정원] 교정대행 다운로드 머리글 : 원래는 글자 없이 내려받기 그림 */
body[data-postfix="kcali"] #outsourcing_list th[data-column-name="grid_btn_download"]::before {
	font-family: bootstrap-icons !important;
	content: "\f30a";
	font-weight: normal;
}
/* [케이교정원] 교정대행 요청사항·비고 : 긴 글은 3줄까지만 보이고 끝에 … 표시 */
body[data-postfix="kcali"] .tui-grid-cell-content .kc_clamp3 {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}
/* [케이교정원] 목록 화면 위쪽 단추·검색 줄 : 원래는 왼쪽 4px·오른쪽 10px (본문 여백 2px 을 빼고 넣는다) */
body[data-postfix="kcali"] .contentBar > .content.page_container > form.search_form {
	padding: 0 8px 0 2px;
}
/* [케이교정원] 화면에서 따로 여백을 정한 검색 줄(발급대장·대행관리대장·성적서 출력)은 위 규칙을 받지 않는다 */
body[data-postfix="kcali"] .contentBar > .content.page_container > form.search_form[style],
body[data-postfix="kcali"] .contentBar > .content.page_container > form.search_form:has(> input.login_user) {
	padding: 0;
}
/* [케이교정원] 출장일정 리스트보기 : 좁은 화면에서 윗줄 단추가 세로로 찌그러지지 않게 줄 폭을 채운다 */
body[data-postfix="kcali"] .contentBar > .content.page_container:has(.calendar_list_grid) > form.search_form > .d-flex {
	width: 100%;
}
/* [케이교정원] 교정대행 : 원래 오른쪽 16px */
body[data-postfix="kcali"] .contentBar > .content.page_container:has(> #outsourcing_list) > form.search_form,
body[data-postfix="kcali"] .contentBar > .content.page_container > form.search_form.kc_pad16 {
	padding: 0 14px 0 2px;
}
/* [케이교정원] 목록 화면 아래 끝 : 원래는 목록 아래 줄 다음에 본문 아래 여백 10px + 본문 2px + 틈 3px */
body[data-postfix="kcali"] .contentBar > .content.page_container:has(> .kc_pager_tight):not(:has(> form.search_form.kc_pad16)):not(:has(> form.search_form > input.login_user)) {
	padding-bottom: 15px;
}
/* [케이교정원] 거래처 매출액 분석자료 : 원래 검색칸(월 120·구분·검색어·단추)은 사이 없이 붙어 있다 */
body[data-postfix="kcali"] .content.page_container:has(> .sales_result_list) > form.search_form input[name="search_month"] {
	width: 120px !important;
}
body[data-postfix="kcali"] .content.page_container:has(> .sales_result_list) > form.search_form li.mr-1:has(> input[name="search_month"]) {
	margin-right: -1px !important;
}
body[data-postfix="kcali"] .content.page_container:has(> .sales_result_list) > form.search_form li.mr-1:not(:has(> input[name="search_month"])) {
	margin-right: 0 !important;
}
/* [케이교정원] 월별 매출 이력 : 원래 오른쪽 15px, 목표액 설정 단추는 연도 선택 왼쪽, 차트 아래 안내 줄은 위아래 20px·높이 27.7 */
body[data-postfix="kcali"] .content.page_container:has(> .sales_history_grid) > form.search_form {
	padding: 0 13px 0 2px;
}
body[data-postfix="kcali"] .content.page_container:has(> .sales_history_grid) > form.search_form > .d-flex > ul.mr-auto {
	margin-left: auto !important;
	margin-right: 10px !important;
	flex-shrink: 0;
}
/* [케이교정원] 좁은 화면에서도 설정 단추 글자를 한 줄로 둔다 */
body[data-postfix="kcali"] .year_target_setting_btn {
	white-space: nowrap;
}
body[data-postfix="kcali"] .content.page_container > .year_target_info {
	margin: 20px 0 !important;
	min-height: 27.7px;
}
/* [케이교정원] 좁은 화면에서는 왼쪽부터 놓아 첫 칸 글자가 왼쪽 메뉴에 가리지 않게 한다 */
@media (max-width: 1400px) {
	body[data-postfix="kcali"] .content.page_container > .year_target_info {
		justify-content: flex-start !important;
	}
}
/* [케이교정원] 도래통보·장비 차기교정/중간점검 : 원래 왼쪽 5px·오른쪽 15px */
body[data-postfix="kcali"] .contentBar > .content.page_container:has(> .dorae_grid, > .expect_grid, > .interim_grid) > form.search_form {
	padding: 0 13px 0 3px;
}
/* 원래 월·연도 칸과 조회 단추 사이 5px */
body[data-postfix="kcali"] .contentBar > .content.page_container:has(> .dorae_grid, > .expect_grid, > .interim_grid) > form.search_form .input-group-append {
	margin-left: 5px;
}
body[data-postfix="kcali"] .contentBar > .content.page_container:has(> .expect_grid, > .interim_grid) > form.search_form select[name="year"] {
	margin-right: 5px;
}
/* [케이교정원] 비품관리대장·수행도 : 원래 오른쪽 16px */
body[data-postfix="kcali"] .contentBar > .content.page_container:has(> .supply_list, > #operation_grid) > form.search_form {
	padding: 0 14px 0 2px;
}
/* [케이교정원] 품목관리 : 원래 위 4px·오른쪽 16px */
body[data-postfix="kcali"] .contentBar > .content.page_container:has(> #item_grid) > form.search_form {
	padding: 4px 14px 0 2px;
}
/* [케이교정원] 원래 입력표(bbsTable) 칸 높이 40px·글자 15px·테두리 #d3d8e1, 머리 칸 바탕 #f8f9fd·굵기 600, 내용 칸 글자색 #3a3940 */
body[data-postfix="kcali"] .kc_form40 > * > tr > * {
	height: 40px;
	font-size: 15px;
	border: 1px solid #d3d8e1;
}
body[data-postfix="kcali"] .kc_form40 > * > tr > th {
	background: #f8f9fd;
	font-weight: 600 !important;
}
body[data-postfix="kcali"] .kc_form40 > * > tr > td {
	color: #3a3940;
}
/* [케이교정원] 품목코드관리 : 원래 본문은 1px 아래에서 시작 */
body[data-postfix="kcali"] .contentBar > .content.page_container:has(#middle_code_frm) {
	margin-top: 1px;
}
/* [케이교정원] 견적서 등록·수정 화면도 원래 위 머리 줄 아래 선(1px)만큼 아래에서 시작 */
body[data-postfix="kcali"] .contentBar > .content.page_container:has(#e_Frm) {
	margin-top: 1px;
}
/* [케이교정원] 교정수행도 표 맨 아래 '합 계' 줄 : 회색 바탕·굵은 글자, '합 계' 는 앞 4칸을 합친 폭 가운데 */
body[data-postfix="kcali"] .kc_operation_sum .tui-grid-summary-area td {
	background: #f5f5f5;
	font-weight: 700;
	color: #323e50;
}
body[data-postfix="kcali"] .kc_operation_sum .tui-grid-summary-area td p {
	font-size: 14px;
}
body[data-postfix="kcali"] .kc_operation_sum .tui-grid-summary-area td[data-column-name="item_middle_code_num"],
body[data-postfix="kcali"] .kc_operation_sum .tui-grid-summary-area td[data-column-name="item_middle_code_name"],
body[data-postfix="kcali"] .kc_operation_sum .tui-grid-summary-area td[data-column-name="item_small_code_num"] {
	border-right-color: transparent;
}
body[data-postfix="kcali"] .kc_operation_sum .tui-grid-summary-area td[data-column-name="item_middle_code_num"] {
	overflow: visible;
	position: relative;
	z-index: 1;
}
body[data-postfix="kcali"] .kc_operation_sum .kc_sum_label {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
}
/* [케이교정원] 원래 달력 위 단추 : 흰 바탕·파란 글자·테두리(둥근 3px), 올리면 파란 바탕, 오늘이 있는 달의 '오늘'은 연파랑 바탕 */
body[data-postfix="kcali"] .fc .fc-button-primary {
	color: #1e90e5;
	background-color: #fff;
	border-color: #1e90e5;
	border-radius: 3px;
}
body[data-postfix="kcali"] .fc .fc-button-primary:hover {
	color: #fff;
	background-color: #1e90e5;
	border-color: #1e90e5;
}
body[data-postfix="kcali"] .fc .fc-button-primary:disabled {
	color: #1e90e5;
	background-color: #ecf7ff;
	border-color: #1e90e5;
	opacity: 1;
}
body[data-postfix="kcali"] .fc .fc-button-primary:not(:disabled):active,
body[data-postfix="kcali"] .fc .fc-button-primary:not(:disabled).fc-button-active {
	color: #fff;
	background-color: #1a252f;
	border-color: #151e27;
}
/* [케이교정원] 원래 '더보기' 창은 폭 220px 고정(글이 길어도 넓어지지 않음), 머리 줄은 회색(#eee)·여백 2px 4px */
body[data-postfix="kcali"] .fc .fc-more-popover {
	width: 222px;
}
body[data-postfix="kcali"] .fc .fc-more-popover .fc-popover-body {
	min-width: 0;
}
body[data-postfix="kcali"] .fc .fc-more-popover .fc-popover-header {
	padding: 2px 4px;
	background: #eee;
}
/* 창 안 일정 사이 1px, 좌우 안쪽 1px */
body[data-postfix="kcali"] .fc .fc-more-popover .fc-popover-body .fc-event,
body[data-postfix="kcali"] #calendar .fc-more-popover .fc-popover-body .fc-daygrid-event-harness > a.fc-event {
	margin-top: 1px !important;
	padding: 0 1px;
}
/* [케이교정원] 원래 선택칸(selectpicker) 화살표는 검은 작은 삼각형 */
body[data-postfix="kcali"] .select2-container--default .select2-selection--single .select2-selection__arrow b {
	border-color: #212529 transparent transparent transparent;
	border-width: 4px 4px 0 4px;
	margin-left: -4px;
}
/* [케이교정원] 원래 결재선(작성자·결재) 선택칸 : 회색 테두리(#bababa)·둥근 4px, 오른쪽 얇은 꺾쇠 그림 */
body[data-postfix="kcali"] .sign_select + .select2-container .select2-selection--single {
	border: 1px solid #bababa;
	border-radius: 4px;
	background: #fff url(/public/img/icon_arr3.png) 100% 49% no-repeat;
}
body[data-postfix="kcali"] .sign_select + .select2-container .select2-selection--single .select2-selection__rendered {
	padding-left: 8px;
	color: #495057;
}
body[data-postfix="kcali"] .sign_select + .select2-container .select2-selection--single .select2-selection__arrow b {
	display: none;
}
/* [케이교정원] 원래 CRM 시편 타입 선택칸도 같은 모양 (회색 테두리·둥근 4px·얇은 꺾쇠, 글자 13px) */
body[data-postfix="kcali"] select[name="psalter_code_idx"] + .select2-container .select2-selection--single {
	border: 1px solid #bababa;
	border-radius: 4px;
	background: #fff url(/public/img/icon_arr3.png) 100% 49% no-repeat;
}
body[data-postfix="kcali"] select[name="psalter_code_idx"] + .select2-container .select2-selection--single .select2-selection__rendered {
	padding-left: 8px;
	color: #495057;
	font-size: 13px;
}
body[data-postfix="kcali"] select[name="psalter_code_idx"] + .select2-container .select2-selection--single .select2-selection__arrow b {
	display: none;
}
/* [케이교정원] 원래 빈 목록은 머리글 바로 아래 '데이터가 없습니다.' 한 줄 (높이 36, 검은 글자, 아래 줄 선) */
body[data-postfix="kcali"] .tui-grid-layer-state:not(:has(.tui-grid-layer-state-loading)) {
	background: transparent;
}
body[data-postfix="kcali"] .tui-grid-layer-state-content:not(:has(.tui-grid-layer-state-loading)) {
	padding-top: 0;
	height: 36px;
	background: #fff;
	border-bottom: 1px solid #dee2e6;
}
body[data-postfix="kcali"] .tui-grid-layer-state-content:not(:has(.tui-grid-layer-state-loading)) p {
	position: static;
	margin: 0;
	line-height: 35px;
	font-size: 14px;
	color: #212529;
}
/* [케이교정원] 자료가 없으면 원래처럼 합계 줄 없이 검은 글자 '데이터가 없습니다.' 한 줄 (아래 줄 선) */
body[data-postfix="kcali"] .kc_operation_empty .tui-grid-summary-area {
	display: none;
}
body[data-postfix="kcali"] .kc_operation_empty .tui-grid-layer-state {
	background: transparent;
}
body[data-postfix="kcali"] .kc_operation_empty .tui-grid-layer-state-content p {
	color: #212529;
	font-size: 14px;
	opacity: 1;
}
/* [케이교정원] 원래 교정수행도 표 칸 안 여백은 0, 숫자 칸만 오른쪽 4px (두 줄 칸 높이 43) */
body[data-postfix="kcali"] .kc_operation_sum .tui-grid-body-area .tui-grid-cell-content {
	padding: 0;
}
body[data-postfix="kcali"] .kc_operation_sum .tui-grid-body-area td[style*="text-align: right"] .tui-grid-cell-content {
	padding-right: 4px;
}
/* [케이교정원] 원래 목록 한 줄 높이는 줄 선까지 36 (공용 표 칸 높이 36 에 줄 선 1px 이 더해져 37 이 되지 않게) */
body[data-postfix="kcali"] .tui-grid-body-area td.tui-grid-cell {
	height: 35px;
}
/* [케이교정원] 원래 목록 글자는 14px (목록 틀 기본 13px 대신) */
body[data-postfix="kcali"] .tui-grid-container {
	font-size: 14px;
}
/* [케이교정원] 원래 목록 글자색은 #212529 (목록 틀 기본 #333 대신) */
body[data-postfix="kcali"] .tui-grid-body-area .tui-grid-cell:not(.tui-grid-cell-disabled) {
	color: #212529;
}
/* [케이교정원] 원래 목록 머리글은 바탕 #f5f5f5·글자 #323e50 */
body[data-postfix="kcali"] .tui-grid-header-area th.tui-grid-cell-header {
	background-color: #f5f5f5;
	color: #323e50;
}
/* [케이교정원] 원래 직급·부서·로그인 이력·작업 이력 목록은 다른 표 모양 : 머리글 바탕 #eff3f9·글자 #414d7e(굵기 500), 칸 글자 #555, 줄 아래 실선 #dadadb·칸 사이 점선 #eaeaea */
body[data-postfix="kcali"] :is(.rank_grid, .department_grid, .history_login_grid, .history_work_grid) .tui-grid-header-area th.tui-grid-cell-header {
	background-color: #eff3f9;
	color: #414d7e;
	font-weight: 500 !important;
	border-bottom-width: 0;
}
body[data-postfix="kcali"] :is(.rank_grid, .department_grid, .history_login_grid, .history_work_grid) .tui-grid-body-area td.tui-grid-cell {
	color: #555;
	border-top-color: transparent;
	border-left-color: transparent;
	border-bottom: 1px solid #dadadb;
	border-right: 1px dashed #eaeaea;
}
/* [케이교정원] 원래 목록 칸 안쪽 여백은 1px (글자가 칸 폭 안에 원래처럼 한 줄로 들어가게) */
body[data-postfix="kcali"] .tui-grid-body-area .tui-grid-cell-content {
	padding: 1px;
	/* 원래 표처럼 단어 단위로 줄을 바꾸고(영문 'SHUILING' 이 'SHUILIN/G' 로 쪼개지지 않게), 칸보다 긴 단어만 끊는다 */
	word-break: normal;
	overflow-wrap: anywhere;
}
/* [하나계기] 원래 '시작 번호…' 글자는 줄 위 0.2344rem 아래, 줄 높이 21px */
body[data-postfix="hanakk"] .hk_pager_tight .tui-pagination .grid_bottom {
	margin-top: .2344rem !important;
	line-height: 21px;
}
/* [하나계기] 교정접수 리스트 원래 창은 아래 단추 줄이 위아래 6px (단추 묶음 바깥 4px + 줄 2px) */
body[data-postfix="hanakk"] .modal-content:has(.hk_footer6) > .modal-footer {
	padding: 6px !important;
}
body[data-postfix="hanakk"] .modal-body > .content:has(.hk_pager_tight) {
	padding: 0;
}

/* [유진·하나계기] tui 목록 쪽 번호를 옛 모양(이전 1 2 … 다음)으로 바꿀 때 원래 tui 쪽 번호는 숨기고, 새 쪽 번호는 오른쪽 끝 */
.legacy_tui_pager_on > .tui-page-btn {
	display: none !important;
}
.legacy_tui_pager_on {
	overflow: hidden;
	text-align: left;
}
/* tui 쪽 번호 영역은 글자 크기가 0 이라 옛 쪽 번호 글자 크기를 다시 준다 */
.legacy_tui_pager_on .legacy_dt_pager {
	font-size: 14px;
	clear: none;
	width: auto;
}
/* [케이교정원] 원래 쪽 번호 단추·건수 글자 줄 높이 21px (tui 영역은 normal 이라 1px 낮았음) */
body[data-postfix="kcali"] .legacy_tui_pager_on .legacy_dt_pager,
body[data-postfix="kcali"] .legacy_tui_pager_on .grid_bottom {
	line-height: 21px;
}

/* [케이교정원] 원래 접수 창의 성적서주기·필증주기 줄은 글자 0.85배·간격 5px (한 줄에 다 들어감) */
body[data-postfix="kcali"] .rsi_info_box td:has(input[name="is_report_cycle"]) .form-check-label,
body[data-postfix="kcali"] .rsi_info_box td:has(input[name="is_cali_cycle"]) .form-check-label {
	font-size: 0.85em;
}
body[data-postfix="kcali"] .rsi_info_box td:has(input[name="is_report_cycle"]) .form-check-inline,
body[data-postfix="kcali"] .rsi_info_box td:has(input[name="is_cali_cycle"]) .form-check-inline {
	margin-right: 5px;
}

/* [유진] 폭 125px (업체별 교정이력조회 검색칸, style.css 가 불러오는 common.css 에는 없음) */
.w125 {
	width: 125px !important;
}

/* [유진] 폭 108px (기준정보관리 이력 화면 검색조건) */
.w108 {
	width: 108px !important;
}

/* [유진] 접수상세내역 진행상태 칸 : 원래 표처럼 안쪽 여백 1px·단어 단위 줄바꿈 ('승인완료/출고대기' 두 줄) */
body[data-postfix="yujin"] #customber_registration_grid .tui-grid-body-area td[data-column-name="calbr_status"] .tui-grid-cell-content {
	padding: 1px;
	word-break: normal;
}

/* [케이교정원] 원래 목록 머리글 줄 간격 21px (두 줄 머리글 글자 위치가 원래와 같아짐) */
body[data-postfix="kcali"] .tui-grid-header-area th.tui-grid-cell-header {
	line-height: 1.5;
}
/* [하나계기·유진·케이교정원] 원래 목록처럼 머리글 정렬 화살표를 글자 뒤가 아닌 칸 오른쪽 끝 세로 가운데에 둔다 (두 줄 머리글이 가운데 정렬되게) */
body[data-postfix="hanakk"] .tui-grid-header-area th.tui-grid-cell-header,
body[data-postfix="yujin"] .tui-grid-header-area th.tui-grid-cell-header,
body[data-postfix="kcali"] .tui-grid-header-area th.tui-grid-cell-header {
	position: relative;
	z-index: 0;	/* 화살표를 칸 바탕 위·글자 아래에 그리기 위한 기준 */
}
body[data-postfix="hanakk"] .tui-grid-header-area th .tui-grid-btn-sorting,
body[data-postfix="yujin"] .tui-grid-header-area th .tui-grid-btn-sorting,
body[data-postfix="kcali"] .tui-grid-header-area th .tui-grid-btn-sorting {
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
	z-index: -1;	/* 원래처럼 글자가 화살표 위에 보이게 */
}
/* [하나계기·유진] 관리담당 (정)·(부) 머리글은 칸이 좁아 글자가 정렬 화살표와 겹치므로 화살표 자리만큼 오른쪽을 비운다 */
body[data-postfix="hanakk"] .tui-grid-header-area th.tui-grid-cell-header[data-column-name="main_member"]:has(> .tui-grid-btn-sorting),
body[data-postfix="hanakk"] .tui-grid-header-area th.tui-grid-cell-header[data-column-name="sub_member"]:has(> .tui-grid-btn-sorting),
body[data-postfix="yujin"] .tui-grid-header-area th.tui-grid-cell-header[data-column-name="main_member"]:has(> .tui-grid-btn-sorting),
body[data-postfix="yujin"] .tui-grid-header-area th.tui-grid-cell-header[data-column-name="sub_member"]:has(> .tui-grid-btn-sorting) {
	padding-right: 15px !important;
}
/* [유진] 부적합 보고서 대장 : 좁은 칸(구분·중분류·담당자·승인자) 머리글이 정렬 화살표와 겹치지 않게 화살표 자리만큼 오른쪽을 비운다 */
body[data-postfix="yujin"] .nonconform_grid .tui-grid-header-area th.tui-grid-cell-header:has(> .tui-grid-btn-sorting) {
	padding-right: 15px !important;
}
/* [유진] 부적합 보고서 대장 : 원래 표처럼 단어 단위로 줄바꿈 ('SIGNAL GENERA/TOR' 처럼 단어 중간에서 끊기지 않게, 칸보다 긴 단어만 끊음) */
body[data-postfix="yujin"] .nonconform_grid .tui-grid-body-area .tui-grid-cell-content {
	word-break: normal;
	overflow-wrap: anywhere;
}

/* select2 로 바꾼 원래 선택칸(숨김)이 w100p 때문에 넓어져 창 안에 가로 막대가 생기지 않게 */
.select2-hidden-accessible.w100p {
	width: 1px !important;
}
/* [케이교정원] 품목관리 검색줄 소분류 선택칸은 원래처럼 120x33 고정 (기기명·제작회사·형식 검색칸 위치가 원래와 같아짐) */
body[data-postfix="kcali"] .search_form .small_code_list + .select2-container {
	flex: 0 0 120px;
	width: 120px !important;
}
body[data-postfix="kcali"] .search_form .small_code_list + .select2-container .select2-selection {
	height: 33px;
}

/* [케이교정원] 접수상세 재발행 성적서 줄 : 원래처럼 체크 칸 왼쪽 위에 ↳ 표시 */
body[data-postfix="kcali"] td.kc_reissue_row[data-column-name="_checked"] {
	position: relative;
}
body[data-postfix="kcali"] td.kc_reissue_row[data-column-name="_checked"]::before {
	content: '↳';
	position: absolute;
	left: 7px;
	top: 0;
	z-index: 1;
	font-size: 12px;
	line-height: 12px;
}

/* [케이교정원] 원래 정렬 화살표는 연한 회색이라 글자와 겹쳐도 글자가 읽힌다. 정렬 중인 칸만 진하게 */
body[data-postfix="kcali"] .tui-grid-header-area th .tui-grid-btn-sorting:not(.tui-grid-btn-sorting-up):not(.tui-grid-btn-sorting-down) {
	opacity: .25;
}
/* [케이교정원] 원래 머리글은 칸이 좁으면 두 줄로 꺾인다 (한 줄로 두면 글자가 잘림) */
body[data-postfix="kcali"] .tui-grid-header-area th.tui-grid-cell-header {
	white-space: pre-line;
	line-height: 1.3;
}
/* [케이교정원] 단추 칸의 '-' 와 단추 글자를 칸 가운데로 */
body[data-postfix="kcali"] td[data-column-name^="grid_btn"] > .tui-grid-cell-content {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* [한국투엠] 교정대행 목록 : 화면이 좁아 칸이 줄어들면 날짜·번호가 잘리지 않고 줄바꿈되게 한다 */
body[data-postfix="k2m"] #outsourcing_list .tui-grid-body-area .tui-grid-cell-content {
	overflow-wrap: anywhere;
}
/* 줄바꿈이 꺼져 있는 날짜·접수번호 칸도 좁으면 줄바꿈 */
body[data-postfix="k2m"] #outsourcing_list .tui-grid-body-area td[data-column-name="calbr_rsi_num"] .tui-grid-cell-content,
body[data-postfix="k2m"] #outsourcing_list .tui-grid-body-area td[data-column-name="agcy_rsi_date"] .tui-grid-cell-content,
body[data-postfix="k2m"] #outsourcing_list .tui-grid-body-area td[data-column-name="calbr_date"] .tui-grid-cell-content,
body[data-postfix="k2m"] #outsourcing_list .tui-grid-body-area td[data-column-name="arrival_date"] .tui-grid-cell-content,
body[data-postfix="k2m"] #outsourcing_list .tui-grid-body-area td[data-column-name="is_release_datetime"] .tui-grid-cell-content {
	white-space: normal;
}
/* 칸이 좁아져도 머리글 글자가 잘리지 않게 줄바꿈 */
body[data-postfix="k2m"] #outsourcing_list .tui-grid-header-area th.tui-grid-cell-header {
	white-space: normal;
	overflow-wrap: anywhere;
	line-height: 1.15;
}

/* [한국투엠] 접수상세내역 : 단추 칸 안쪽이 줄 높이를 따라 늘어나 있으면 줄 높이를 다시 잴 때 늘어난 높이가 그대로 잡혀,
   창을 좁혔다 넓혀도 줄이 낮아지지 않는다. 안쪽은 내용 높이로 두고 단추만 칸을 꽉 채운다 */
body[data-postfix="k2m"] #customber_registration_grid td[data-column-name*="grid_btn_"] {
	position: relative;
}
body[data-postfix="k2m"] #customber_registration_grid td[data-column-name*="grid_btn_"] .tui-grid-cell-content {
	height: auto !important;
	position: static !important;
}
body[data-postfix="k2m"] #customber_registration_grid td[data-column-name*="grid_btn_"] .tui-grid-cell-content > button {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
