/* Imported from HK-WEB hk/inc/i_head.jsp. */


/* =========================================================
   공통
========================================================= */

[v-cloak] {
    display: none;
}

/* Vue 본문 초기화 전 푸터가 위로 올라와 문구가 노출되는 현상 방지 */
.pc-container[id^="hk-"][v-cloak] ~ .pc-footer { visibility: hidden; }
.header-alarm-toast {
    --bs-toast-max-width: 600px;
    width: 600px;
    max-width: calc(100vw - 180px);
}

.header-alarm-toast .toast-body {
    width: 100%;
}

.content-list-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 700;
    color: #1d2630;
}

.content-list-title-icon {
    flex: 0 0 auto;
    width: 3px;
    height: 15px;
    background-color: #4680ff;
}

.department-add-button {
    flex: 0 0 auto;
    width: 27px;
    height: 27px;
    min-height: 27px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #4680ff;
}

.department-add-button:hover,
.department-add-button:focus {
    border: 0 !important;
    background: rgba(70, 128, 255, 0.08) !important;
    color: #2f6ad9;
    box-shadow: none !important;
}

.department-add-button i {
    font-size: 20px;
    line-height: 1;
}

.expected-profit-loss-table th,
.expected-profit-loss-table td {
    vertical-align: middle;
}

.expected-profit-loss-table textarea.form-control {
    height: 27px;
    min-height: 27px;
    padding: 3px 6px;
    resize: vertical;
}

@font-face {
    font-family: "NotoSansKR";
    src:
        url("../fonts/NotoSansKR-Regular.woff2") format("woff2"),
        url("../fonts/NotoSansKR-Regular.woff") format("woff"),
        url("../fonts/NotoSansKR-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "NotoSansKR";
    src:
        url("../fonts/NotoSansKR-Medium.woff2") format("woff2"),
        url("../fonts/NotoSansKR-Medium.woff") format("woff"),
        url("../fonts/NotoSansKR-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "NotoSansKR";
    src:
        url("../fonts/NotoSansKR-Bold.woff2") format("woff2"),
        url("../fonts/NotoSansKR-Bold.woff") format("woff"),
        url("../fonts/NotoSansKR-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html,
body {
    font-family: "NotoSansKR", "SpoqaHanSansNeo",
                 "Malgun Gothic", "맑은 고딕",
                 "Apple SD Gothic Neo", sans-serif !important;
    font-weight: 400;
}

input,
textarea,
select,
button {
    font-family: inherit !important;
    font-size: 12px;
    font-weight: 400;
    box-sizing: border-box;
    border-radius: 0 !important;
}


/* =========================================================
   배경
========================================================= */

.bg-color {
    background: rgba(244, 247, 250, 0.5) !important;
}

.bg-header-color {
    background: #e6f6fe !important;
}


/* =========================================================
   입력 박스
========================================================= */

input[type="text"],
input[type="password"],
input[type="number"],
input[type="email"],
input[type="search"],
input[type="date"],
input[type="time"],
select,
.form-control,
.form-select {
    height: 27px;
    min-height: 27px;
    padding: 3px 6px;
    border: 1px solid #ccc;
    border-radius: 0 !important;
    background-color: #fff;
    line-height: 19px;
    font-size: 12px;
    outline: none;
    box-sizing: border-box;
}

p{font-size: 12px;}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
select:focus,
.form-control:focus,
.form-select:focus {
    border-color: #66afe9;
    box-shadow: none !important;
    outline: none;
}

/* textarea는 고정 높이 제외 */
textarea,
textarea.form-control {
    height: auto;
    min-height: 60px;
    padding: 6px;
    line-height: 1.5;
}


/* =========================================================
   Vue2 Datepicker
========================================================= */

/* date-picker 최상위 영역 */
.mx-datepicker {
    width: 100% !important;
    height: 27px;
}

/* date-picker에 form-control 클래스가 붙은 경우 */
.mx-datepicker.form-control,
.mx-datepicker.form-control-sm {
    width: 100%;
    height: 27px;
    min-height: 27px;
    padding: 0 !important;
    border: 1px solid #ccc;
    border-radius: 0 !important;
    background: #fff;
    box-shadow: none !important;
    box-sizing: border-box;
}

/* 내부 input wrapper */
.mx-datepicker .mx-input-wrapper {
    width: 100%;
    height: 100%;
}

/* 실제 날짜 입력 input */
.mx-datepicker .mx-input {
    width: 100%;
    height: 25px !important;
    min-height: 25px !important;
    padding: 3px 30px 3px 6px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    line-height: 19px !important;
    font-family: "NotoSansKR", "SpoqaHanSansNeo",
                 "Malgun Gothic", "맑은 고딕",
                 "Apple SD Gothic Neo", sans-serif !important;
    font-size: 12px !important;
    font-weight: 400;
    box-sizing: border-box;
}

/* 날짜 입력 포커스 */
.mx-datepicker.form-control:focus-within,
.mx-datepicker.form-control-sm:focus-within {
    border-color: #66afe9;
    box-shadow: none !important;
}

/* 달력 및 삭제 아이콘 위치 */
.mx-datepicker .mx-icon-calendar,
.mx-datepicker .mx-icon-clear {
    right: 7px;
}

/* 날짜 팝업 */
.mx-datepicker-popup,
.custom-popup {
    border-radius: 0 !important;
}


/* =========================================================
   버튼
========================================================= */

button,
.btn,
.btn-sm,
.btn-lg {
    height: 27px !important;
    min-height: 27px !important;
    padding: 3px 12px !important;
    border-radius: 0 !important;
    line-height: 19px !important;
    font-size: 12px !important;
    font-weight: 400;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   메뉴 및 아이콘
========================================================= */

.pc-sidebar .pc-link {
    font-size: 13px;
    font-weight: 700;
}

.feather-xs svg,
svg.feather-xs {
    width: 12px !important;
    height: 12px !important;
}

.icon-sm {
    font-size: 0.713rem;
}

.btn-menu-text {
    font-size: smaller;
    font-weight: 500;
}

.pc-sidebar .pc-navbar > .pc-item.active > .pc-link {
    font-weight: 700;
}

/* 탭형 사이드 메뉴: 아이콘 아래에 메뉴 그룹명 표시 */
[data-pc-layout="tab"] .pc-sidebar .tab-container .tab-sidemenu {
    width: 64px;
}

[data-pc-layout="tab"] .pc-sidebar .tab-container .tab-sidemenu .nav-link {
    width: 58px;
    height: auto;
    min-height: 54px;
    padding: 6px 2px;
    flex-direction: column;
    gap: 3px;
    line-height: 1;
}

[data-pc-layout="tab"] .pc-sidebar .tab-container .tab-sidemenu .nav-link > i,
[data-pc-layout="tab"] .pc-sidebar .tab-container .tab-sidemenu .nav-link > svg {
    flex: 0 0 auto;
}

[data-pc-layout="tab"] .pc-sidebar .tab-container .tab-sidemenu .pc-tab-menu-text {
    display: block;
    width: 100%;
    color: currentColor;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.15;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* =========================================================
   링크
========================================================= */

.grid-link {
    color: #0d6efd;
    font-weight: 600;
    cursor: pointer;
}

.grid-link:hover {
    text-decoration: underline;
}


/* =========================================================
   AG Grid
========================================================= */

.ag-root,
.ag-cell,
.ag-header-cell-label {
    font-size: 0.713rem !important;
}

.ag-header-cell-label {
    font-weight: 800;
}

.ag-cell {
    --ag-cell-horizontal-border: 1px solid #d9d9d9;
}

.ag-cell:last-child {
    --ag-cell-horizontal-border: none;
}

.ag-center-header .ag-header-cell-label {
    justify-content: center;
}

.ag-floating-bottom {
    background: #e5f6fe;
    border-top: 2px solid #f0ad4e;
    font-weight: bold;
}

.ag-floating-bottom .ag-cell {
    background: #e5f6fe;
}


/* =========================================================
   일반 테이블
========================================================= */

.datatable-table thead th,
.table thead th {
    border-bottom: 1px solid #dbe0e5;
    font-size: 0.713625rem;
    color: #29344a;
    background: rgba(244, 247, 250, 0.5);
    text-transform: uppercase;
}


/* =========================================================
   계정 테이블 스크롤
========================================================= */

.acc1-scroll {
    height: 260px;
    overflow: auto;
}

#acc1Table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

#acc1Table th {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #f8f9fa;
}


/* =========================================================
   Dropzone
========================================================= */

#myDropzone {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

#myDropzone .dz-preview {
    width: 120px;
    min-height: 150px;
    margin: 5px;
}

#myDropzone .dz-image {
    width: 60px;
    height: 60px;
    border-radius: 0 !important;
}

#myDropzone .dz-details {
    font-size: 12px;
}


/* =========================================================
   Bootstrap 컬럼
========================================================= */

.col-sm-15 {
    flex: 0 0 auto;
    width: 12.5%;
}

@media (min-width: 576px) {
    .col-sm-15 {
        flex: 0 0 auto;
        width: 12.5%;
    }
}


/* =========================================================
   모달
========================================================= */

.home-modal-xxl {
    max-width: 90% !important;
}


/* =========================================================
   SweetAlert2
========================================================= */

.swal2-popup {
    width: 360px !important;
    padding: 28px 26px 22px !important;
    border: 2px solid #3b82f6 !important;
    border-radius: 0 !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22) !important;
}

.swal2-title {
    margin: 0 0 18px !important;
    padding: 0 !important;
    color: #1f2937 !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: -0.4px !important;
}

.swal2-actions {
    margin-top: 10px !important;
}

.swal2-confirm,
.swal2-cancel {
    min-width: 88px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 22px !important;
    border-radius: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 36px !important;
    background: #2563eb !important;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.28) !important;
}

.swal2-confirm:hover,
.swal2-cancel:hover {
    background: #1d4ed8 !important;
}

.swal2-confirm:focus,
.swal2-cancel:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25) !important;
}

.swal2-icon {
    display: none !important;
}


/* =========================================================
   전체 둥근 모서리 제거
========================================================= */

input,
textarea,
select,
button,
.btn,
.form-control,
.form-select,
.input-group-text,
.card,
.modal-content,
.dropdown-menu,
.alert,
.badge {
    border-radius: 0 !important;
}

.date-range{
    display:flex;
    align-items:center;
    gap:8px;
}

/* DatePicker와 일반 입력 모두 동일하게 */
.date-range .mx-datepicker,
.date-range .form-control{
    flex:1;
}

/* DatePicker 내부 input */
.date-range .mx-datepicker .mx-input{
    height:27px;
}

/* separator */
.date-range .range-separator{
    min-width:32px;
    height:27px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 8px;
    border:1px solid #ccc;
    background:#f8f9fa;
    font-size:12px;
    font-weight:500;
    white-space:nowrap;
    flex-shrink:0;
}


html,
body,
input,
textarea,
select,
button {
    font-family: "NotoSansKR" !important;
}


@media (min-width:576px){

    .col-sm-05 { width: 4.166667%; }   /* 0.5 */
	.col-sm-07 { width: 5.833333%; }   /* 0.7 */
	.col-sm-08 { width: 6.666667%; }   /* 0.8 */
	.col-sm-09 { width: 7.500000%; }   /* 0.9 */

    .col-sm-15{
        flex:0 0 auto;
        width:12.5%;
    }

    .col-sm-25{
        flex:0 0 auto;
        width:20.833333%;
    }

    .col-sm-35{
        flex:0 0 auto;
        width:29.166667%;
    }

}


.col-form-label {
    padding-right: 8px !important;
}





.btn-outline-excel {
    color: #217346 !important;
    background-color: #fff !important;
    border: 1px solid #217346 !important;
}

.btn-outline-excel:hover,
.btn-outline-excel:focus {
    color: #fff !important;
    background-color: #217346 !important;
    border-color: #217346 !important;
    box-shadow: none !important;
}

.btn-outline-excel:active {
    color: #fff !important;
    background-color: #185c37 !important;
    border-color: #185c37 !important;
}

.btn-icon {
    width: 32px;
    height: 27px !important;
    min-height: 27px !important;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon i {
    font-size: 19px !important;
    line-height: 1;
}






.table > tbody > tr {
}

.table > tbody > tr > th,
.table > tbody > tr > td {
    
    vertical-align: middle;
}



/* 견적 비교 공통 레이아웃 및 compact 첨부파일 표시 */
.hk-quote-comparison { border: 1px solid #e3e8ef; border-radius: 12px; overflow: hidden; }
.hk-quote-comparison .quote-heading { gap: 16px; margin-bottom: 18px; }
.hk-quote-comparison .quote-count { margin-left: 10px; padding: 4px 9px; border-radius: 20px; background: #edf3ff; color: #4367a5; font-size: 12px; font-weight: 500; }
.hk-quote-comparison .quote-description { margin: 8px 0 0; color: #788497; font-size: 12px; }
.hk-quote-comparison .quote-heading > button { flex-shrink: 0; border-radius: 6px; }
.hk-quote-comparison .quote-table { --quote-detail-height: 108px; min-width: 1000px; table-layout: fixed; border-collapse: collapse; border: 1px solid #dce3ec; }
.hk-quote-comparison .quote-table tbody td { padding: 8px; vertical-align: top; border: 1px solid #dce3ec; background: transparent; }
.hk-quote-comparison .quote-table tbody td:nth-last-child(-n+2) { padding-top: 16px; }
.hk-quote-comparison .quote-table .input-group { flex-wrap: nowrap; align-items: stretch; }
.hk-quote-comparison .quote-table tbody td > textarea { height: var(--quote-detail-height); min-height: var(--quote-detail-height); max-height: var(--quote-detail-height); box-sizing: border-box; overflow-y: auto; }
.hk-quote-comparison .quote-table .quote-selected { background: #f1f6ff; }
.hk-quote-comparison .quote-selected td:first-child { box-shadow: inset 3px 0 #547ed0; }
.hk-quote-comparison .quote-table textarea { resize: none; }
.attachment-compact { display: flex; flex-direction: column; height: var(--quote-detail-height, 108px); box-sizing: border-box; border: 1px solid #dde4ed; border-radius: 6px; background: #fff; overflow: hidden; }
.attachment-compact .attachment-toolbar { flex: 0 0 42px; box-sizing: border-box; display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; border-bottom: 1px solid #edf0f4; background: #f8fafc; }
.attachment-compact .attachment-caption { color: #7b8798; font-size: 11px; }
.attachment-compact .attachment-add { padding: 3px 7px; border: 1px solid #cbd8eb; border-radius: 4px; background: #fff; color: #42699e; font-size: 12px; cursor: pointer; }
.attachment-compact .attachment-add:hover { background: #edf3ff; }
.attachment-compact .attachment-add:focus-visible { outline: 2px solid #547ed0; outline-offset: 2px; }
.attachment-compact .dropzone { flex: 1 1 0; min-height: 0; max-height: none; overflow-y: auto; padding: 3px 8px; border: 0; background: #fff; }
.attachment-compact .dz-message { margin: 10px 0; color: #8a96a7; font-size: 11px; }
.attachment-compact .dz-preview { display: flex; align-items: center; width: 100%; min-height: 32px; margin: 0; padding: 0; border-bottom: 1px solid #f0f2f6; background: #fff; }
.attachment-compact .dz-preview:last-child { border-bottom: 0; }
.attachment-compact .dz-preview .dz-details { position: static; display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; padding: 6px 0; opacity: 1; color: #475569; background: transparent; text-align: left; }
.attachment-compact .attachment-file-icon { color: #7994b7; font-size: 16px; }
.attachment-compact .dz-preview .dz-size { order: 2; flex-shrink: 0; margin: 0; font-size: 10px; color: #8b96a5; }
.attachment-compact .dz-preview .dz-filename { flex: 1; min-width: 0; font-size: 12px; }
.attachment-compact .dz-preview .dz-filename span { white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; padding: 0; border: 0; background: transparent; line-height: 1.5; }
.attachment-compact .dz-preview .dz-remove { position: static; flex-shrink: 0; margin: 0 0 0 6px; padding: 2px 6px; border: 0; border-radius: 4px; background: transparent; color: #96a0ae; font-size: 18px; line-height: 1; cursor: pointer; z-index: 21; }
.attachment-compact .dz-preview .dz-remove:hover { color: #bc4a5b; background: #fff0f1; text-decoration: none; }
.attachment-compact .dz-preview .dz-progress { top: auto; bottom: 0; left: 0; width: 100%; height: 2px; margin: 0; }
.attachment-compact .dz-preview.dz-error { flex-wrap: wrap; }
.attachment-compact .dz-preview .dz-error-message { position: static; width: 100%; font-size: 11px; }
.attachment-compact .dz-preview.dz-error .dz-error-message { opacity: 1; pointer-events: auto; }
.attachment-compact .dz-error-message:after { display: none; }
.hk-quote-comparison .quote-table .quote-vendor-group { display: flex; width: 100%; gap: 0; border: 1px solid #dce3ec; border-radius: 6px; overflow: hidden; background: #fff; }
.hk-quote-comparison .quote-table .quote-vendor-group > .form-control { flex: 1 1 0%; width: 0; min-width: 0; height: 34px !important; min-height: 34px !important; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.hk-quote-comparison .quote-table .quote-vendor-group > button { display: flex; align-items: center; justify-content: center; flex: 0 0 52px; align-self: stretch; box-sizing: border-box; height: 34px !important; min-height: 34px !important; margin: 0; padding: 0 10px !important; border: 0; border-left: 1px solid #dce3ec; border-radius: 0; background: #f5f7fa; color: #475569; font-size: 12px; }
.hk-quote-comparison .quote-table .quote-vendor-group > button:hover { background: #e9eff8; color: #365e95; }
.hk-quote-comparison .quote-table .quote-vendor-group:focus-within { border-color: #547ed0; box-shadow: 0 0 0 2px rgba(84,126,208,.12); }


/* 계약관리 집계 영역 */


/* 프로젝트 현황 및 매출현황 페이지 스타일 */
#hk-pms-project-status .project-sales-grid {
    width: 100%;
    height: 570px;
    min-height: 300px;
    --ag-font-size: 12px;
    --ag-header-background-color: #f3f5f7;
    --ag-border-color: #e3e7eb;
    --ag-row-hover-color: #f4f7fb;
    --ag-cell-horizontal-border: solid #e3e7eb;
}

#hk-pms-project-status .project-sales-grid .ag-header-cell-label {
    justify-content: center;
    font-weight: 600;
}

#hk-pms-project-status .project-sales-grid .ag-cell {
    font-variant-numeric: tabular-nums;
}

#hk-pms-project-status .project-sales-grid .badge {
    font-size: 11px;
    font-weight: 500;
    padding: 4px 8px;
}


#hk-pms-progress-sales .sales-grid { width: 100%; height: 570px; }
#hk-pms-progress-sales .hk-grid-fill, #hk-pms-project-status .hk-grid-fill { width: 100%; height: 100%; }

#hk-pms-progress-sales .sales-cell-center { text-align: center; }
#hk-pms-progress-sales .sales-cell-right { text-align: right; }
#hk-pms-progress-sales .sales-cell-left { text-align: left; }

/* 목표 현황 */

#hk-pms-progress-goal .goal-grid { width: 100%; height: 570px; }
#hk-pms-progress-goal .goal-grid-fill { width: 100%; height: 100%; }
#hk-pms-progress-goal .goal-cell-right { text-align: right; }
#hk-pms-progress-goal .goal-cell-center { text-align: center; }
/* 손익현황 */
#hk-pms-progress-profit .profit-table { font-size: 12px; }
#hk-pms-progress-profit .profit-table th { min-width: 95px; }
#hk-pms-progress-profit .profit-table td { min-width: 100px; font-variant-numeric: tabular-nums; }
#hk-pms-progress-profit .profit-total > *, #hk-pms-progress-profit .profit-total-column { background: #f3f5f7; font-weight: 600; }
#hk-pms-project-status .project-cell-center { text-align: center; }
#hk-pms-project-status .project-cell-right { text-align: right; }
#hk-pms-project-status .project-cell-left { text-align: left; }
#hk-pms-progress-weekly .weekly-section { padding: 4px 0; border-bottom: 1px solid #e9ecef; }
#hk-pms-progress-weekly .weekly-section:last-child { border-bottom: 0; }
#hk-pms-progress-weekly .weekly-unit { font-size: 12px; }
#hk-pms-progress-weekly .weekly-table {
    width: 100%;
    min-width: 760px;
    table-layout: fixed;
    border-collapse: collapse;
    border: 1px solid #bdc3c7;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 0.713rem;
    color: #000;
}
#hk-pms-progress-weekly .weekly-table th,
#hk-pms-progress-weekly .weekly-table td {
    box-sizing: border-box;
    height: 31px;
    padding: 0 8px;
    line-height: 30px;
    vertical-align: middle;
    border: 1px solid #d9d9d9;
    background: #fff;
    box-shadow: none;
}
#hk-pms-progress-weekly .weekly-table thead th {
    height: 31px;
    line-height: 30px;
    font-weight: 800;
    background: #f5f7f7;
    border-bottom-color: #bdc3c7;
}
#hk-pms-progress-weekly .weekly-table tbody th { font-weight: 400; }
#hk-pms-progress-weekly .weekly-table tbody tr:hover > * { background: #ecf0f1; }
#hk-pms-progress-weekly .apexcharts-legend { flex-wrap: nowrap !important; }
#hk-pms-progress-weekly .apexcharts-legend-series { white-space: nowrap; }

/* 주간 현황: 1920 × 1080 화면의 네 지표를 한 화면에 배치 */
#hk-pms-progress-weekly .pc-content { padding-top: 12px; padding-bottom: 8px; }
#hk-pms-progress-weekly .page-header { margin-bottom: 8px; }
#hk-pms-progress-weekly .weekly-card { margin-bottom: 0; }
#hk-pms-progress-weekly .weekly-body { padding: 12px; }
#hk-pms-progress-weekly .hk-search-grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
}
#hk-pms-progress-weekly .hk-search-field {
    display: flex;
    align-items: center;
    flex: 0 0 220px;
    gap: 8px;
    min-width: 0;
}
#hk-pms-progress-weekly .hk-search-field--wide { flex-basis: 280px; }
#hk-pms-progress-weekly .hk-search-label { flex: 0 0 auto; white-space: nowrap; }
#hk-pms-progress-weekly .hk-search-control { flex: 1; min-width: 0; }
#hk-pms-progress-weekly .hk-search-actions { flex: 0 0 auto; margin-left: auto; }
#hk-pms-progress-weekly .weekly-search-status {
    flex: 1;
    min-width: 0;
    font-size: 12px;
    white-space: nowrap;
}
#hk-pms-progress-weekly .weekly-section-row { --bs-gutter-x: 16px; }
#hk-pms-progress-weekly .weekly-chart-column { min-width: 0; }
@media (min-width: 1400px) {
    #hk-pms-progress-weekly .weekly-table-column { width: 55%; }
    #hk-pms-progress-weekly .weekly-chart-column { width: 45%; }
}
@media (max-width: 1199px) {
    #hk-pms-progress-weekly .hk-search-grid { flex-wrap: wrap; }
    #hk-pms-progress-weekly .weekly-search-status { white-space: normal; }
}
/* 손익 및 목표 현황의 공통 31px 테이블 규격 */
#hk-pms-progress-profit .profit-table,
#hk-pms-progress-goal .goal-entry-table {
    font-size: 0.713rem;
    border-collapse: collapse;
    border: 1px solid #bdc3c7;
}
#hk-pms-progress-profit .profit-table th,
#hk-pms-progress-profit .profit-table td,
#hk-pms-progress-goal .goal-entry-table th,
#hk-pms-progress-goal .goal-entry-table td {
    box-sizing: border-box;
    height: 31px;
    padding: 0 8px;
    line-height: 30px;
    vertical-align: middle;
    border: 1px solid #d9d9d9;
}
#hk-pms-progress-profit .profit-table thead th,
#hk-pms-progress-goal .goal-entry-table thead th {
    background: #f5f7f7;
    font-weight: 800;
    border-bottom-color: #bdc3c7;
}
#hk-pms-progress-goal .goal-entry-table .form-control {
    height: 25px;
    min-height: 25px;
    padding: 0 8px;
    line-height: 23px;
    font-size: inherit;
}
#hk-pms-progress-goal .goal-grid {
    --ag-row-height: 31px;
    --ag-header-height: 31px;
    --ag-list-item-height: 31px;
}
/* 수주·외주 등록: 구성은 유지하고 상단 제목 및 카드 여백 통일 */
:is(#hk-pms-contract-createOrder, #hk-pms-contract-createOutsourcing) .pc-content { padding-top: 12px; padding-bottom: 12px; }
:is(#hk-pms-contract-createOrder, #hk-pms-contract-createOutsourcing) .page-header.p-1 { min-height: 32px; margin-bottom: 8px; }
:is(#hk-pms-contract-createOrder, #hk-pms-contract-createOutsourcing) .custom-card > .card-body { padding: 16px; }
:is(#hk-pms-contract-createOrder, #hk-pms-contract-createOutsourcing) .contract-form-heading { min-height: 31px; gap: 8px; flex-wrap: wrap; }
:is(#hk-pms-contract-createOrder, #hk-pms-contract-createOutsourcing) .contract-form-heading .content-list-title { margin: 0; line-height: 24px; }
@media (min-width: 1200px) and (min-height: 800px) {
  :is(#hk-pms-contract-createOrder, #hk-pms-contract-createOutsourcing) .pc-content { min-height: calc(100dvh - 126px); }
}
#hk-pms-contract-createOrder .contract-layout-1 { min-height:100px; resize:vertical; }
#hk-pms-contract-createOrder .contract-layout-2 { width:8% }
#hk-pms-contract-createOrder .contract-layout-3 { width:17% }
#hk-pms-contract-createOrder .contract-layout-4 { width:45% }
#hk-pms-contract-createOrder .contract-layout-5 { width:10% }
#hk-pms-contract-createOrder .contract-layout-6 { width:25% }
#hk-pms-contract-createOrder .contract-layout-7 { width:20% }
#hk-pms-contract-createOrder .contract-layout-8 { display: none; }
#hk-pms-contract-createOrder .contract-layout-9 { float: none; }
/* 수주·외주 등록: 구성은 유지하고 상단 제목 및 카드 여백 통일 */
:is(#hk-pms-contract-createOrder, #hk-pms-contract-createOutsourcing) .pc-content { padding-top: 12px; padding-bottom: 12px; }
:is(#hk-pms-contract-createOrder, #hk-pms-contract-createOutsourcing) .page-header.p-1 { min-height: 32px; margin-bottom: 8px; }
:is(#hk-pms-contract-createOrder, #hk-pms-contract-createOutsourcing) .custom-card > .card-body { padding: 16px; }
:is(#hk-pms-contract-createOrder, #hk-pms-contract-createOutsourcing) .contract-form-heading { min-height: 31px; gap: 8px; flex-wrap: wrap; }
:is(#hk-pms-contract-createOrder, #hk-pms-contract-createOutsourcing) .contract-form-heading .content-list-title { margin: 0; line-height: 24px; }
@media (min-width: 1200px) and (min-height: 800px) {
  :is(#hk-pms-contract-createOrder, #hk-pms-contract-createOutsourcing) .pc-content { min-height: calc(100dvh - 126px); }
}
#hk-pms-contract-createOrder .contract-layout-10 { width:41% }
#hk-pms-contract-createOutsourcing .contract-layout-1 { width:8% }
#hk-pms-contract-createOutsourcing .contract-layout-2 { width:17% }
#hk-pms-contract-createOutsourcing .contract-layout-3 { width: 24% }
#hk-pms-contract-createOutsourcing .contract-layout-4 { width: 17% }
#hk-pms-contract-createOutsourcing .contract-layout-5 { width: 26% }
#hk-pms-contract-createOutsourcing .contract-layout-6 { width: 21% }
#hk-pms-contract-createOutsourcing .contract-layout-7 { width: 6% }
#hk-pms-contract-createOrder .table,
#hk-pms-contract-createOutsourcing .table { font-size: 0.713rem; border-collapse: collapse; border: 1px solid #bdc3c7; }
#hk-pms-contract-createOrder .table th,
#hk-pms-contract-createOrder .table td,
#hk-pms-contract-createOutsourcing .table th,
#hk-pms-contract-createOutsourcing .table td {
    box-sizing: border-box;
    height: 31px;
    padding: 0 8px;
    line-height: 30px;
    vertical-align: middle;
    border: 1px solid #d9d9d9;
}
#hk-pms-contract-createOrder .table thead th,
#hk-pms-contract-createOutsourcing .table thead th { background: #f5f7f7; font-weight: 800; border-bottom-color: #bdc3c7; }
#hk-pms-contract-createOrder textarea.form-control,
#hk-pms-contract-createOutsourcing textarea.form-control,
#hk-pms-progress-profit textarea.form-control,
#hk-pms-progress-goal textarea.form-control { padding-top: 4px; padding-bottom: 4px; }
/* textarea 내부 여백과 별도로 셀 경계와 입력칸 사이의 여백 확보 */
#hk-pms-contract-createOrder .table td:has(textarea),
#hk-pms-contract-createOutsourcing .table td:has(textarea),
#hk-pms-progress-profit .table td:has(textarea),
#hk-pms-progress-goal .table td:has(textarea) { padding-top: 4px; padding-bottom: 4px; }
/* 실적관리: 주간회의 표와 동일한 기본 규격 */
#hk-pms-progress-perform .perform-grid { width: 100%; height: 570px; --ag-font-size: 0.713rem; --ag-row-height: 31px; --ag-header-height: 31px; --ag-header-background-color: #f5f7f7; --ag-border-color: #bdc3c7; --ag-row-border-color: #d9d9d9; }
#hk-pms-progress-perform .hk-grid-fill { width: 100%; height: 100%; }
#hk-pms-progress-perform .ag-root-wrapper { border: 1px solid #bdc3c7; }
#hk-pms-progress-perform .ag-header { background: #f5f7f7; }
#hk-pms-progress-perform .ag-header-cell { font-weight: 800; border-right: 1px solid #d9d9d9; }
#hk-pms-progress-perform .ag-header-cell-label { justify-content: center; }
#hk-pms-progress-perform .ag-cell { padding: 0 8px; line-height: 30px; border-right: 1px solid #d9d9d9; font-size: 0.713rem; }
#hk-pms-progress-perform .perform-cell-center { text-align: center; }
#hk-pms-progress-perform .perform-cell-left { text-align: left; }
#hk-pms-progress-perform .perform-cell-right { text-align: right; font-variant-numeric: tabular-nums; }
#hk-pms-progress-perform .perform-group-end { border-right-color: #9acbd4; }
#hk-pms-progress-perform .perform-project-link { display: block; max-width: 100%; padding: 0; border: 0; background: transparent; color: var(--bs-link-color, #4680ff); text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; font: inherit; }
#hk-pms-progress-perform .perform-project-link:hover { text-decoration: underline; }


/* PMS 목록 공통 써머리: 타이틀·탭과 구별되는 낮은 집계 바 */
:is(#hk-pms-progress-sales, #hk-pms-progress-goal, #hk-pms-progress-perform, #hk-pms-project-status, #hk-pms-contract-manage, #hk-pms-project-manpower) .contract-summary {
    display: grid;
    grid-template-columns: repeat(var(--hk-summary-columns, 6), minmax(0, 1fr));
    gap: 1px;
    padding: 0;
    border: 1px solid #e7eaee;
    border-radius: 4px;
    overflow: hidden;
    background: #e7eaee;
}
#hk-pms-progress-sales .contract-summary { --hk-summary-columns: 5; }
#hk-pms-progress-perform .contract-summary { --hk-summary-columns: 4; }
:is(#hk-pms-progress-sales, #hk-pms-progress-goal, #hk-pms-progress-perform, #hk-pms-project-status, #hk-pms-contract-manage, #hk-pms-project-manpower) .contract-summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    box-sizing: border-box;
    min-height: 38px;
    padding: 6px 12px;
    border: 0;
    border-radius: 0;
    background: #f7f8fa;
    box-shadow: none;
}
:is(#hk-pms-progress-sales, #hk-pms-progress-goal, #hk-pms-progress-perform, #hk-pms-project-status, #hk-pms-contract-manage, #hk-pms-project-manpower) .contract-summary-label {
    min-width: 0;
    padding: 0;
    background: transparent;
    color: #68727e;
    font-size: .713rem;
    font-weight: 400;
    line-height: 18px;
    overflow-wrap: anywhere;
}
:is(#hk-pms-progress-sales, #hk-pms-progress-goal, #hk-pms-progress-perform, #hk-pms-project-status, #hk-pms-contract-manage, #hk-pms-project-manpower) .contract-summary-label::before { content: none; }
:is(#hk-pms-progress-sales, #hk-pms-progress-goal, #hk-pms-progress-perform, #hk-pms-project-status, #hk-pms-contract-manage, #hk-pms-project-manpower) .contract-summary-value {
    display: block;
    min-width: 0;
    padding: 0;
    background: transparent;
    color: #25364a;
    font-size: .813rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.025em;
    line-height: 18px;
    text-align: right;
    overflow-wrap: anywhere;
}
@media (max-width: 1399px) {
    :is(#hk-pms-progress-sales, #hk-pms-progress-goal, #hk-pms-progress-perform, #hk-pms-project-status, #hk-pms-contract-manage, #hk-pms-project-manpower) .contract-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    #hk-pms-progress-perform .contract-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
    :is(#hk-pms-progress-sales, #hk-pms-progress-goal, #hk-pms-progress-perform, #hk-pms-project-status, #hk-pms-contract-manage, #hk-pms-project-manpower) .contract-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 479px) {
    :is(#hk-pms-progress-sales, #hk-pms-progress-goal, #hk-pms-progress-perform, #hk-pms-project-status, #hk-pms-contract-manage, #hk-pms-project-manpower) .contract-summary { grid-template-columns: minmax(0, 1fr); }
}

/* HK 공통 페이지 제목: 기본 min-height 55px로 생기는 상하 공백 축소 */
.pc-container[id^="hk-"] .page-header.p-1 { min-height: 32px; padding-top: 2px !important; padding-bottom: 2px !important; margin-bottom: 8px; }
.pc-container[id^="hk-"] .page-header-title h4 { line-height: 24px; }
/* 계약관리: 검색 → 구분 탭 → 집계 → 목록의 시각적 위계 */
#hk-pms-contract-manage .contract-manage-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 8px 0 16px; border: 0; border-bottom: 2px solid #294b73; border-radius: 0; background: transparent; }
#hk-pms-contract-manage .contract-manage-tabs .nav-item { flex: 0 0 160px; }
#hk-pms-contract-manage .contract-manage-tabs .nav-link { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 42px; margin: 0; padding: 8px 24px; border: 1px solid #d3dce8; border-bottom: 0; border-radius: 6px 6px 0 0; background: #f4f6f9; color: #526176; font-size: .938rem; font-weight: 700; line-height: 24px; transition: background-color .15s, color .15s; }
#hk-pms-contract-manage .contract-manage-tabs .nav-link:hover { color: #243f64; background: #e9eef5; }
#hk-pms-contract-manage .contract-manage-tabs .nav-link.active { color: #fff; border-color: #294b73; background: #294b73; }
#hk-pms-contract-manage .contract-manage-tabs .nav-link.active::after { content: '✓'; font-size: .875rem; }
#hk-pms-contract-manage .contract-manage-tabs .nav-link:focus-visible { outline: 2px solid #4680ff; outline-offset: 3px; }
#hk-pms-contract-manage .contract-summary-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-bottom: 10px; }
#hk-pms-contract-manage .contract-summary-heading h2 { margin: 0; color: #25364a; font-size: .875rem; font-weight: 700; line-height: 22px; }
#hk-pms-contract-manage .contract-summary-heading span { color: #68727e; font-size: .713rem; }
:is(#hk-pms-contract-manage, #hk-pms-project-status, #hk-pms-progress-sales, #hk-pms-progress-goal, #hk-pms-progress-perform) .contract-summary { margin-bottom: 16px !important; border-color: #dce2e9; border-radius: 6px; background: #dce2e9; }
:is(#hk-pms-contract-manage, #hk-pms-project-status, #hk-pms-progress-sales, #hk-pms-progress-goal, #hk-pms-progress-perform) .contract-summary-item { flex-direction: column; align-items: stretch; justify-content: center; gap: 8px; min-height: 74px; padding: 10px 16px; background: #f5f7fa; }
:is(#hk-pms-contract-manage, #hk-pms-project-status, #hk-pms-progress-sales, #hk-pms-progress-goal, #hk-pms-progress-perform) .contract-summary-label { color: #526176; font-size: .75rem; font-weight: 500; line-height: 18px; }
:is(#hk-pms-contract-manage, #hk-pms-project-status, #hk-pms-progress-sales, #hk-pms-progress-goal, #hk-pms-progress-perform) .contract-summary-value { color: #203b5d; font-size: 1.125rem; font-weight: 800; line-height: 26px; }
@media (max-width: 767px) {
  #hk-pms-contract-manage .contract-manage-tabs .nav-item { flex: 1 1 0; }
  #hk-pms-contract-manage .contract-manage-tabs .nav-link { padding: 8px 12px; }
  :is(#hk-pms-contract-manage, #hk-pms-project-status, #hk-pms-progress-sales, #hk-pms-progress-goal, #hk-pms-progress-perform) .contract-summary-item { min-height: 74px; padding: 12px; }
  :is(#hk-pms-contract-manage, #hk-pms-project-status, #hk-pms-progress-sales, #hk-pms-progress-goal, #hk-pms-progress-perform) .contract-summary-value { font-size: 1rem; }
}
/* 1920×1080 기준: 검색·집계의 실제 높이를 제외한 공간을 목록에 배분 */
@media (min-width: 1200px) and (min-height: 800px) {
  #hk-pms-contract-manage .pc-content { height: calc(100dvh - 126px); min-height: 0; padding-top: 12px; padding-bottom: 12px; display: flex; flex-direction: column; }
  #hk-pms-contract-manage .page-header { flex-shrink: 0; margin-bottom: 8px; }
  #hk-pms-contract-manage .pc-content > .row { flex: 1; min-height: 0; }
  #hk-pms-contract-manage .pc-content > .row > .col-xl-12 { display: flex; flex-direction: column; min-height: 0; }
  #hk-pms-contract-manage .pc-content > .row > .col-xl-12 > .card { flex: 1; min-height: 0; margin-bottom: 0; }
  #hk-pms-contract-manage .card-body.table-border-style { flex: 1; min-height: 0; padding: 16px; }
  #hk-pms-contract-manage .card-body.table-border-style > .card,
  #hk-pms-contract-manage .contract-manage-tabs { flex-shrink: 0; }
  #hk-pms-contract-manage #manage-contract-panel { display: flex; flex-direction: column; flex: 1; min-height: 0; }
  #hk-pms-contract-manage #manage-contract-panel > :not(.contract-manage-grid) { flex-shrink: 0; }
  #hk-pms-contract-manage #manage-contract-panel .contract-manage-grid { flex: 1; height: auto; min-height: 0; }
}
#hk-pms-contract-manage .contract-manage-grid { width: 100%; height: 520px; }
#hk-pms-contract-manage .contract-manage-grid-fill { width: 100%; height: 100%; }

/* 계약현황: 기존 검색·목록 구성을 유지하며 1920×1080 높이 및 표 규격 적용 */
:is(#hk-pms-project-status, #hk-pms-contract-status) .hk-status-name-link {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
  color: #1677c8;
  font-size: inherit;
  line-height: inherit;
  text-decoration: none;
  cursor: pointer;
}
:is(#hk-pms-project-status, #hk-pms-contract-status) .hk-status-name-link:hover,
:is(#hk-pms-project-status, #hk-pms-contract-status) .hk-status-name-link:focus-visible {
  color: #095a9e;
  text-decoration: underline;
}
#hk-pms-contract-status .contract-status-grid { width: 100%; height: 520px; font-size: .713rem; border: 1px solid #bdc3c7; }
#hk-pms-contract-status .contract-status-grid-fill { width: 100%; height: 100%; }
#hk-pms-contract-status .ag-header { background: #f5f7f7; font-weight: 800; }
#hk-pms-contract-status .ag-header-cell, #hk-pms-contract-status .ag-cell { padding-left: 8px; padding-right: 8px; border-right: 1px solid #d9d9d9; font-size: .713rem; }
#hk-pms-contract-status .ag-row { border-bottom: 1px solid #d9d9d9; }
@media (min-width: 1200px) and (min-height: 800px) {
  #hk-pms-contract-status .pc-content { height: calc(100dvh - 126px); min-height: 0; padding-top: 12px; padding-bottom: 12px; display: flex; flex-direction: column; }
  #hk-pms-contract-status .page-header { flex-shrink: 0; margin-bottom: 8px; }
  #hk-pms-contract-status .pc-content > .row { flex: 1; min-height: 0; }
  #hk-pms-contract-status .pc-content > .row > .col-xl-12 { display: flex; flex-direction: column; min-height: 0; }
  #hk-pms-contract-status .pc-content > .row > .col-xl-12 > .card { flex: 1; min-height: 0; margin-bottom: 0; }
  #hk-pms-contract-status .card-body.table-border-style { flex: 1; min-height: 0; padding: 16px; }
  #hk-pms-contract-status .card-body.table-border-style > :not(.contract-status-grid) { flex-shrink: 0; }
  #hk-pms-contract-status .card-body.table-border-style > .contract-status-grid { flex: 1; height: auto; min-height: 0; }
}
/* 프로젝트현황: 기존 구성 유지, 공통 화면 높이 및 표 규격 적용 */
#hk-pms-project-status .project-sales-grid { width: 100%; height: 520px; font-size: .713rem; border: 1px solid #bdc3c7; }
#hk-pms-project-status .hk-grid-fill { width: 100%; height: 100%; }
#hk-pms-project-status .ag-header { background: #f5f7f7; font-weight: 800; }
#hk-pms-project-status .ag-header-cell, #hk-pms-project-status .ag-cell { padding-left: 8px; padding-right: 8px; border-right: 1px solid #d9d9d9; font-size: .713rem; }
#hk-pms-project-status .ag-row { border-bottom: 1px solid #d9d9d9; }
@media (min-width: 1200px) and (min-height: 800px) {
  #hk-pms-project-status .pc-content { height: calc(100dvh - 126px); min-height: 0; padding-top: 12px; padding-bottom: 12px; display: flex; flex-direction: column; }
  #hk-pms-project-status .page-header { flex-shrink: 0; margin-bottom: 8px; }
  #hk-pms-project-status .pc-content > .row { flex: 1; min-height: 0; }
  #hk-pms-project-status .pc-content > .row > .col-xl-12 { display: flex; flex-direction: column; min-height: 0; }
  #hk-pms-project-status .pc-content > .row > .col-xl-12 > .card { flex: 1; min-height: 0; margin-bottom: 0; }
  #hk-pms-project-status .card-body.table-border-style { flex: 1; min-height: 0; padding: 16px; }
  #hk-pms-project-status .card-body.table-border-style > :not(.project-sales-grid) { flex-shrink: 0; }
  #hk-pms-project-status .card-body.table-border-style > .project-sales-grid { flex: 1; height: auto; min-height: 0; }
}
/* 진행 현황: 기존 화면 구성 유지, 공통 높이와 표 규격 */
:is(#hk-pms-progress-sales, #hk-pms-progress-profit, #hk-pms-progress-goal, #hk-pms-progress-weekly, #hk-pms-progress-perform) .pc-content { padding-top: 12px; padding-bottom: 12px; }
:is(#hk-pms-progress-sales, #hk-pms-progress-profit, #hk-pms-progress-goal, #hk-pms-progress-weekly, #hk-pms-progress-perform) .page-header.p-1 { min-height: 32px; margin-bottom: 8px; }
:is(#hk-pms-progress-sales, #hk-pms-progress-goal, #hk-pms-progress-perform) .ag-theme-balham { height: 520px; --ag-font-size: .713rem; --ag-header-background-color: #f5f7f7; --ag-border-color: #bdc3c7; --ag-row-border-color: #d9d9d9; font-size: .713rem; border: 1px solid #bdc3c7; }
:is(#hk-pms-progress-sales, #hk-pms-progress-goal, #hk-pms-progress-perform) .ag-header-cell-label { font-weight: 800; }
:is(#hk-pms-progress-sales, #hk-pms-progress-goal, #hk-pms-progress-perform) .ag-header-cell,
:is(#hk-pms-progress-sales, #hk-pms-progress-goal, #hk-pms-progress-perform) .ag-cell { padding-left: 8px; padding-right: 8px; border-right: 1px solid #d9d9d9; font-size: .713rem; }
:is(#hk-pms-progress-sales, #hk-pms-progress-goal, #hk-pms-progress-perform) .ag-row { border-bottom: 1px solid #d9d9d9; }
@media (min-width: 1200px) and (min-height: 800px) {
  :is(#hk-pms-progress-sales, #hk-pms-progress-profit, #hk-pms-progress-goal, #hk-pms-progress-weekly, #hk-pms-progress-perform) .pc-content { height: calc(100dvh - 126px); min-height: 0; display: flex; flex-direction: column; }
  :is(#hk-pms-progress-sales, #hk-pms-progress-profit, #hk-pms-progress-goal, #hk-pms-progress-weekly, #hk-pms-progress-perform) .page-header { flex-shrink: 0; }
  :is(#hk-pms-progress-sales, #hk-pms-progress-profit, #hk-pms-progress-goal, #hk-pms-progress-weekly, #hk-pms-progress-perform) .pc-content > .row { flex: 1; min-height: 0; }
  :is(#hk-pms-progress-sales, #hk-pms-progress-profit, #hk-pms-progress-goal, #hk-pms-progress-weekly, #hk-pms-progress-perform) .pc-content > .row > .col-xl-12 { display: flex; flex-direction: column; min-height: 0; }
  :is(#hk-pms-progress-sales, #hk-pms-progress-profit, #hk-pms-progress-goal, #hk-pms-progress-weekly, #hk-pms-progress-perform) .pc-content > .row > .col-xl-12 > .card { flex: 1; min-height: 0; margin-bottom: 0; }
  :is(#hk-pms-progress-sales, #hk-pms-progress-profit, #hk-pms-progress-goal, #hk-pms-progress-weekly, #hk-pms-progress-perform) .card-body.table-border-style { flex: 1; min-height: 0; padding: 16px; overflow-y: auto; }
  :is(#hk-pms-progress-sales, #hk-pms-progress-profit, #hk-pms-progress-goal, #hk-pms-progress-weekly, #hk-pms-progress-perform) .card-body.table-border-style > :not(.ag-theme-balham) { flex-shrink: 0; }
  :is(#hk-pms-progress-sales, #hk-pms-progress-goal, #hk-pms-progress-perform) .card-body.table-border-style > .ag-theme-balham { flex: 1 0 240px; height: auto; min-height: 240px; }
}
/* 손익 현황: 프로젝트 선택을 주요 조회 조건으로 강조 */
#hk-pms-progress-profit .profit-project-selector { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 6px 12px; border: 1px solid #c7d5e7; border-radius: 6px; background: #eef3f9; }
#hk-pms-progress-profit .profit-project-selector .hk-search-label { margin: 0; padding: 0; color: #294b73; font-size: .813rem; line-height: 22px; text-align: left !important; }
#hk-pms-progress-profit .profit-project-selector .hk-search-control { flex: 1 1 420px; min-width: 0; }
#hk-pms-progress-profit #profit-project { min-height: 32px; height: 32px; padding-top: 4px; padding-bottom: 4px; padding-left: 12px; border: 1px solid #6d89ac; border-radius: 4px; background-color: #fff; color: #25364a; font-size: .813rem; font-weight: 600; }
#hk-pms-progress-profit #profit-project:hover:not(:disabled) { border-color: #294b73; }
#hk-pms-progress-profit #profit-project:focus { border-color: #294b73; box-shadow: 0 0 0 3px rgba(41, 75, 115, .15); }
#hk-pms-progress-profit #profit-project:disabled { background-color: #e9edf2; color: #68727e; }
/* 손익 화면: 낮은 브라우저 높이에서도 카드 하단을 화면 안에 유지 */
@media (min-width: 1200px) {
  #hk-pms-progress-profit .pc-content { box-sizing: border-box; height: calc(100dvh - 126px); min-height: 0; display: flex; flex-direction: column; }
  #hk-pms-progress-profit .page-header { flex-shrink: 0; }
  #hk-pms-progress-profit .pc-content > .row { flex: 1 1 0; min-height: 0; }
  #hk-pms-progress-profit .pc-content > .row > .col-xl-12 { display: flex; flex-direction: column; min-height: 0; }
  #hk-pms-progress-profit .pc-content > .row > .col-xl-12 > .card { flex: 1 1 0; min-height: 0; margin-bottom: 0; overflow: hidden; }
  #hk-pms-progress-profit .card-body.table-border-style { flex: 1 1 0; min-height: 0; padding: 16px; overflow-y: auto; scrollbar-gutter: stable; }
  #hk-pms-progress-profit .card-body.table-border-style > * { flex-shrink: 0; }
}
/* 타임시트: 월별 표 + 부서원 + 일자 선택 + 프로젝트 카드, 페이지 자연 스크롤 */
#hk-hr-timesheet-create .pc-content { padding-top: 12px; padding-bottom: 12px; height: auto; }
#hk-hr-timesheet-create .card-body.table-border-style { padding: 16px; }
#hk-hr-timesheet-create .card-body.ps-0.pe-0 { padding-top: 12px; padding-bottom: 12px; }
#hk-hr-timesheet-create .timesheet-search { display: flex; flex-wrap: nowrap; align-items: center; gap: 12px; }
#hk-hr-timesheet-create .timesheet-search .hk-search-field { display: flex; align-items: center; gap: 8px; flex: 0 1 220px; min-width: 0; }
#hk-hr-timesheet-create .timesheet-search .hk-search-field--wide { flex: 1 1 320px; }
#hk-hr-timesheet-create .timesheet-search .hk-search-field:has(.form-check) { display: none; }
#hk-hr-timesheet-create .timesheet-search .hk-search-label { flex-shrink: 0; }
#hk-hr-timesheet-create .timesheet-search .hk-search-control { flex: 1; min-width: 0; }
#hk-hr-timesheet-create .timesheet-search .hk-search-actions { flex-shrink: 0; margin-left: auto; white-space: nowrap; }
#hk-hr-timesheet-create .timesheet-grid { width: 100%; --ag-font-size: .713rem; --ag-header-background-color: #f5f7f7; --ag-border-color: #bdc3c7; --ag-row-border-color: #d9d9d9; font-size: .713rem; }
#hk-hr-timesheet-create .timesheet-grid-fill { width: 100%; }
#hk-hr-timesheet-create .timesheet-project-note { margin: 0; padding: 0; font-size: .713rem; line-height: 20px; }
#hk-hr-timesheet-create .ag-root-wrapper { border: 1px solid #bdc3c7; }
#hk-hr-timesheet-create .ag-header-cell, #hk-hr-timesheet-create .ag-cell { padding-left: 3px; padding-right: 3px; border-right: 1px solid #d9d9d9; font-size: .713rem; }
#hk-hr-timesheet-create .ag-header-cell-label { justify-content: center; font-weight: 800; }
#hk-hr-timesheet-create .ag-row-pinned { background: #f5f7f7; font-weight: 700; }
#hk-hr-timesheet-create .timesheet-team-card { border: 1px solid #e6bc66 !important; border-radius: 6px !important; margin-bottom: 8px; }
#hk-hr-timesheet-create .timesheet-team-card .card-header { padding: 12px 16px; }
#hk-hr-timesheet-create .timesheet-team-card .card-body { padding: 12px 16px; }
#hk-hr-timesheet-create .timesheet-team-card .nav-link { font-size: .713rem; padding-top: 8px; padding-bottom: 8px; }
#hk-hr-timesheet-create .timesheet-days .card, #hk-hr-timesheet-create .timesheet-day-status .card { border: 1px solid #c7d5e7 !important; border-radius: 6px !important; }
#hk-hr-timesheet-create .timesheet-days .card-body, #hk-hr-timesheet-create .timesheet-day-status .card-body { padding: 12px 16px; }
#hk-hr-timesheet-create .timesheet-date-button { font-size: .625rem; padding: 4px 7px; }
#hk-hr-timesheet-create .timesheet-project-column > .card { border: 1px solid #86b2e6 !important; border-radius: 6px !important; }
#hk-hr-timesheet-create .timesheet-project-column .card-body { padding: 14px; }
#hk-hr-timesheet-create .timesheet-project-column textarea { min-height: 140px; padding: 4px 8px; font-size: .713rem; }
#hk-hr-timesheet-create .timesheet-project-column .form-label { font-size: .713rem; margin-bottom: 4px; }
#hk-hr-timesheet-create .timesheet-project-column .form-switch { padding-left: 0; }
#hk-hr-timesheet-create .timesheet-project-column .form-switch .form-check-input { margin-left: 0; }
#hk-hr-timesheet-create .strikethrough { text-decoration: line-through; }
@media (max-width: 767px) {
  #hk-hr-timesheet-create .timesheet-search { gap: 6px; }
  #hk-hr-timesheet-create .timesheet-search .hk-search-field { gap: 4px; flex-basis: 130px; }
  #hk-hr-timesheet-create .timesheet-search .hk-search-field--wide { flex-basis: 160px; }
  #hk-hr-timesheet-create .timesheet-search .hk-search-label { display: none; }
}
/* 타임시트 입력 카드: 계획과 실제 업무 구분 */
#hk-hr-timesheet-create .timesheet-grid-fill { display: block; min-height: 96px; }
#hk-hr-timesheet-create .timesheet-grid .ag-layout-auto-height .ag-center-cols-viewport,
#hk-hr-timesheet-create .timesheet-grid .ag-layout-auto-height .ag-center-cols-container { min-height: 31px; }
#hk-hr-timesheet-create .timesheet-entry-label { display: block; margin: 8px 0 6px; color: #294b73; font-size: .75rem; font-weight: 700; }
#hk-hr-timesheet-create .timesheet-project-column textarea { border: 1px solid #d3deeb; border-radius: 5px; line-height: 1.6; padding: 4px 10px; }
#hk-hr-timesheet-create .timesheet-project-column .timesheet-plan { background: #f5f8fc; }
#hk-hr-timesheet-create .timesheet-project-column .timesheet-work { background: #fff; }
#hk-hr-timesheet-create .timesheet-project-column textarea:focus { border-color: #6d89ac; box-shadow: 0 0 0 3px rgba(41,75,115,.1); }
#hk-hr-timesheet-create .timesheet-project-column .hstack { padding-bottom: 8px; border-bottom: 1px solid #e7edf4; }
/* 타임시트 작업 카드: PMS 공통 남색·회색 양식 */
#hk-hr-timesheet-create .timesheet-project-column { display: flex; margin-bottom: 8px; }
#hk-hr-timesheet-create .timesheet-project-column > .card { width: 100%; border: 1px solid #d7dfe8 !important; border-radius: 6px !important; overflow: hidden; background: #fff; }
#hk-hr-timesheet-create .timesheet-project-column .card-body { padding: 16px; }
#hk-hr-timesheet-create .timesheet-project-column .hstack { margin: -16px -16px 0 !important; padding: 12px 16px; background: #f5f7fa; border-bottom: 1px solid #e4e9ef; }
#hk-hr-timesheet-create .timesheet-project-column .hstack > .bg-light { border: 0 !important; padding: 0 !important; background: transparent !important; color: #526176; font-size: .713rem; font-weight: 600; }
#hk-hr-timesheet-create .timesheet-project-column .hstack .badge { padding: 4px 7px; border-radius: 4px; font-size: .625rem; }
#hk-hr-timesheet-create .timesheet-project-name { display: block; margin: 12px 0 14px; min-height: 24px; color: #25364a; font-size: .875rem; font-weight: 700; line-height: 24px; white-space: normal; overflow-wrap: anywhere; }
#hk-hr-timesheet-create .timesheet-project-column .row { --bs-gutter-x: 12px; }
#hk-hr-timesheet-create .timesheet-entry-label { margin: 0 0 6px; color: #526176; font-size: .713rem; font-weight: 600; line-height: 18px; }
#hk-hr-timesheet-create .timesheet-project-column .form-group { margin-bottom: 12px; }
#hk-hr-timesheet-create .timesheet-project-column textarea.form-control { display: block; width: 100%; height: 120px; min-height: 120px; padding: 4px 10px; border: 1px solid #d7dfe8; border-radius: 4px; background: #fff; font-family: inherit; font-size: .713rem; line-height: 20px; color: #25364a; resize: vertical; }
#hk-hr-timesheet-create .timesheet-project-column textarea::placeholder { color: #929ca9; }
#hk-hr-timesheet-create .timesheet-card-footer { margin-top: 2px; padding-top: 12px; padding-bottom: 4px; border-top: 1px solid #e4e9ef; background: #f7f8fa; }
#hk-hr-timesheet-create .timesheet-card-footer .form-group { margin-bottom: 0 !important; }
#hk-hr-timesheet-create .timesheet-card-footer .form-label { display: block; margin-bottom: 6px; color: #68727e; font-size: .713rem; line-height: 18px; }
#hk-hr-timesheet-create .timesheet-card-footer .form-switch { display: flex; align-items: center; min-height: 31px; margin-bottom: 0; }
#hk-hr-timesheet-create .timesheet-card-footer input[type="checkbox"] { appearance: none; width: 30px; height: 16px; margin: 0; border: 1px solid #c7d0dc; border-radius: 20px; background-color: #e0e5ec; cursor: pointer; }
#hk-hr-timesheet-create .timesheet-card-footer input[type="checkbox"]:checked { background-color: #294b73; border-color: #294b73; }
#hk-hr-timesheet-create .timesheet-card-footer input[type="number"] { width: 100%; height: 31px; border: 1px solid #d7dfe8; border-radius: 4px; padding: 4px 8px !important; background: #fff; color: #25364a; font-size: .813rem; font-weight: 700; }
/* 일별 타임시트: 공통 제목 아래 날짜 선택·저장 패널을 같은 높이로 배치 */
#hk-hr-timesheet-create .timesheet-daily-section > .content-list-title { margin: 12px 0 10px !important; }
#hk-hr-timesheet-create .timesheet-days, #hk-hr-timesheet-create .timesheet-day-status { display: flex; flex-direction: column; }
#hk-hr-timesheet-create .timesheet-days .list-unstyled { margin: 0; height: 100%; }
#hk-hr-timesheet-create .timesheet-days .list-unstyled > li { height: 100%; }
#hk-hr-timesheet-create .timesheet-days .card, #hk-hr-timesheet-create .timesheet-day-status .card { height: 100%; margin: 0 !important; min-height: 110px; border: 1px solid #c7d5e7 !important; background: #fff; }
#hk-hr-timesheet-create .timesheet-days .card-body { display: flex; flex-wrap: wrap; align-content: center; gap: 5px; padding: 14px 16px; }
#hk-hr-timesheet-create .timesheet-date-button { flex: 0 0 46px; margin: 0 !important; padding: 3px 2px; min-height: 24px; font-size: .625rem; line-height: 16px; border-radius: 4px; white-space: nowrap; }
#hk-hr-timesheet-create .timesheet-date-button.btn-primary { color: #fff !important; background: #294b73 !important; border-color: #294b73 !important; }
#hk-hr-timesheet-create .timesheet-day-status .card-body { padding: 12px 16px; }
#hk-hr-timesheet-create .timesheet-day-status .card-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px; margin-bottom: 10px !important; color: #25364a; font-size: .813rem; line-height: 24px; }
#hk-hr-timesheet-create .timesheet-day-status .card-title .btn { float: none !important; padding: 3px 8px; font-size: .713rem; }
#hk-hr-timesheet-create .timesheet-day-status .btn-sm { padding: 2px 8px; border-radius: 20px; font-size: .625rem; line-height: 18px; }
#hk-hr-timesheet-create .timesheet-day-status .ecommerce-assurance { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 4px 12px; border: 1px dashed #89b4a3; border-radius: 4px; background: #f7fbf9; }
#hk-hr-timesheet-create .timesheet-project-column > .card { border-color: #d9e1eb !important; }
#hk-hr-timesheet-create .timesheet-project-column .hstack { background: #fff; padding-top: 12px; padding-bottom: 10px; }
#hk-hr-timesheet-create .timesheet-project-column .card-body { padding: 14px; }
#hk-hr-timesheet-create .timesheet-project-column .hstack { margin: -14px -14px 0 !important; }
#hk-hr-timesheet-create .timesheet-project-name { margin: 10px 0 14px; font-size: .813rem; line-height: 22px; }
#hk-hr-timesheet-create .timesheet-project-column textarea.form-control { background: #f9fafc; height: 112px; min-height: 112px; }
#hk-hr-timesheet-create .timesheet-card-footer { background: #fff; padding-top: 10px; }
#hk-hr-timesheet-create .timesheet-issue-control { display: flex; align-items: center; gap: 7px; min-height: 31px; }
#hk-hr-timesheet-create .timesheet-issue-control input[type="checkbox"] { appearance: auto; -webkit-appearance: checkbox; flex: 0 0 16px; width: 16px; height: 16px; margin: 0; padding: 0; border-radius: 3px; background: none; accent-color: #294b73; box-shadow: none; cursor: pointer; }
#hk-hr-timesheet-create .timesheet-issue-control .timesheet-issue-label { margin: 0; color: #68727e; font-size: .713rem; line-height: 20px; cursor: pointer; }
#hk-hr-timesheet-create .timesheet-issue-control:has(input:checked) .timesheet-issue-label { color: #294b73; font-weight: 700; }
#hk-hr-timesheet-create .timesheet-issue-control input:focus-visible { outline: 2px solid #6d89ac; outline-offset: 3px; }
@media (max-width: 1199px) { #hk-hr-timesheet-create .timesheet-day-status { margin-top: 10px; } }
/* 작업 입력 카드: 낮은 헤더와 간결한 입력·상태 행 */
#hk-hr-timesheet-create .timesheet-project-column .card-body { padding: 12px; }
#hk-hr-timesheet-create .timesheet-project-column .hstack { margin: -12px -12px 0 !important; padding: 8px 12px; border-bottom: 0; background: #f7f8fa; }
#hk-hr-timesheet-create .timesheet-project-column .hstack > .bg-light { color: #68727e; font-size: .625rem; font-weight: 500; }
#hk-hr-timesheet-create .timesheet-project-column .hstack .ms-auto { padding: 0 !important; }
#hk-hr-timesheet-create .timesheet-project-column .hstack .badge { color: #526176; background: #e9edf3 !important; padding: 3px 6px; font-weight: 500; }
#hk-hr-timesheet-create .timesheet-project-name { margin: 8px 0 10px; min-height: 20px; font-size: .813rem; line-height: 20px; }
#hk-hr-timesheet-create .timesheet-entry-label { margin-bottom: 4px; font-size: .625rem; color: #68727e; }
#hk-hr-timesheet-create .timesheet-project-column .form-group { margin-bottom: 8px; }
#hk-hr-timesheet-create .timesheet-project-column textarea.form-control { height: 78px; min-height: 78px; border-radius: 4px; background: #fff; line-height: 18px; padding: 4px 8px; }
#hk-hr-timesheet-create .timesheet-card-footer { padding-top: 8px; padding-bottom: 0; margin-top: 2px; }
#hk-hr-timesheet-create .timesheet-card-footer .form-label { margin-bottom: 4px; font-size: .625rem; }
#hk-hr-timesheet-create .timesheet-issue-control { min-height: 30px; }
#hk-hr-timesheet-create .timesheet-issue-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 30px; padding: 4px 10px; border: 1px solid #dce2e9; border-radius: 16px; background: #f7f8fa; color: #68727e; font-family: inherit; font-size: .713rem; line-height: 20px; cursor: pointer; }
#hk-hr-timesheet-create .timesheet-issue-dot { width: 6px; height: 6px; border-radius: 50%; background: #adb6c2; }
#hk-hr-timesheet-create .timesheet-issue-toggle.is-active { background: #fff3e8; border-color: #e8b17d; color: #a25719; font-weight: 700; }
#hk-hr-timesheet-create .timesheet-issue-toggle.is-active .timesheet-issue-dot { background: #ca742b; }
#hk-hr-timesheet-create .timesheet-issue-toggle:hover { border-color: #9daec2; }
#hk-hr-timesheet-create .timesheet-issue-toggle:focus-visible { outline: 2px solid #6d89ac; outline-offset: 2px; }
#hk-hr-timesheet-create .timesheet-card-footer input[type="number"] { height: 30px; font-size: .813rem; }
/* 헤더 날짜 선택 + 상단 저장 액션 */
#hk-hr-timesheet-create .timesheet-search .timesheet-query-actions { margin-left: 0; }
#hk-hr-timesheet-create .timesheet-save-actions { margin-left: auto; white-space: nowrap; }
#hk-hr-timesheet-create .timesheet-save-actions .btn { float: none !important; background: #294b73; border-color: #294b73; color: #fff; }
#hk-hr-timesheet-create .timesheet-day-header { cursor: pointer; }
#hk-hr-timesheet-create .timesheet-day-header:hover { background: #e6edf6; }
#hk-hr-timesheet-create .timesheet-day-selected { background: #294b73 !important; color: #fff !important; }
#hk-hr-timesheet-create .timesheet-day-status .card { min-height: 0; height: auto; }
#hk-hr-timesheet-create .timesheet-day-status .card-body { display: flex; align-items: center; gap: 20px; padding: 8px 12px; }
#hk-hr-timesheet-create .timesheet-day-status .card-title { margin: 0 !important; flex: 0 0 110px; }
#hk-hr-timesheet-create .timesheet-day-status .card-body > .row { flex: 1; align-items: center; }
#hk-hr-timesheet-create .timesheet-day-status .ecommerce-assurance { min-height: 32px; }
#hk-hr-timesheet-create .timesheet-issue-control { align-items: end; min-height: 52px; }
#hk-hr-timesheet-create .timesheet-issue-toggle { border-radius: 4px; background: #fff; }
/* 프로젝트 입력 목록 첫 카드: 선택 날짜·투입률·휴가·저장 */
#hk-hr-timesheet-create .timesheet-save-column { display: flex; margin-bottom: 16px; }
#hk-hr-timesheet-create .timesheet-save-card { display: flex; flex-direction: column; width: 100%; padding: 16px; border: 1px solid #c7d5e7; border-radius: 6px; background: #f7f9fc; }
#hk-hr-timesheet-create .timesheet-save-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid #dfe6ef; }
#hk-hr-timesheet-create .timesheet-save-heading span { color: #68727e; font-size: .713rem; }
#hk-hr-timesheet-create .timesheet-save-heading strong { color: #25364a; font-size: .875rem; }
#hk-hr-timesheet-create .timesheet-save-total { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; flex: 1; min-height: 100px; padding: 16px 0; }
#hk-hr-timesheet-create .timesheet-save-total > span { font-size: .713rem; color: #68727e; }
#hk-hr-timesheet-create .timesheet-save-total strong { font-size: 2rem; line-height: 36px; color: #294b73; }
#hk-hr-timesheet-create .timesheet-save-total small { margin-left: 4px; font-size: .875rem; font-weight: 500; }
#hk-hr-timesheet-create .timesheet-leave-actions { display: flex; gap: 8px; margin-bottom: 12px; }
#hk-hr-timesheet-create .timesheet-leave-actions .btn { flex: 1; border-radius: 4px; font-size: .713rem; }
#hk-hr-timesheet-create .timesheet-save-card .timesheet-save-actions { margin: 0; }
#hk-hr-timesheet-create .timesheet-save-card .timesheet-save-actions .btn { display: block; width: 100%; min-height: 34px; margin: 0; padding: 6px 10px; border-radius: 4px; font-size: .813rem; font-weight: 700; }
#hk-hr-timesheet-create .timesheet-save-card .timesheet-save-actions .btn span { color: #fff !important; }
/* 선택 날짜도 주말 글자색 보존, 날짜 열 정렬/메뉴 아이콘 제거 */
#hk-hr-timesheet-create .timesheet-day-header .ag-sort-indicator-container,
#hk-hr-timesheet-create .timesheet-day-header .ag-header-cell-menu-button { display: none !important; }
#hk-hr-timesheet-create .timesheet-day-selected { background: #e6edf6 !important; color: #294b73 !important; box-shadow: inset 0 -3px 0 #294b73; }
#hk-hr-timesheet-create .timesheet-day-selected.text-danger { color: #dc3545 !important; }
#hk-hr-timesheet-create .timesheet-day-selected.text-info { color: #1689bd !important; }
#hk-hr-timesheet-create .timesheet-day-header .ag-header-cell-label { justify-content: center; gap: 0; }
/* 주말색은 독립 클래스로 고정: 날짜 선택 상태와 분리 */
#hk-hr-timesheet-create .timesheet-weekday .ag-header-cell-text { color: #526176 !important; }
#hk-hr-timesheet-create .timesheet-sunday .ag-header-cell-text { color: #dc3545 !important; }
#hk-hr-timesheet-create .timesheet-saturday .ag-header-cell-text { color: #1689bd !important; }
#hk-hr-timesheet-create .timesheet-save-card .timesheet-leave-actions .btn { min-height: 36px; padding: 7px 12px; font-size: .813rem; font-weight: 600; }
#hk-hr-timesheet-create .timesheet-save-card .timesheet-save-actions .btn { min-height: 42px; padding: 9px 12px; font-size: .875rem; }
/* 저장 카드 버튼: 작은 버튼 유틸리티와 flex 축소 영향 제거 */
#hk-hr-timesheet-create .timesheet-save-card .timesheet-leave-actions { flex-shrink: 0; }
#hk-hr-timesheet-create .timesheet-save-card .timesheet-leave-actions .btn { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; height: 36px !important; min-height: 36px !important; max-height: none !important; padding: 7px 12px !important; font-size: 13px !important; line-height: 20px !important; }
#hk-hr-timesheet-create .timesheet-save-card .timesheet-save-actions { flex-shrink: 0; }
#hk-hr-timesheet-create .timesheet-save-card .timesheet-save-actions .btn { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; height: 42px !important; min-height: 42px !important; max-height: none !important; padding: 9px 12px !important; font-size: 14px !important; line-height: 22px !important; }
/* 하단 작성 카드의 바깥 기준선을 상단 검색·그리드와 일치 */
#hk-hr-timesheet-create .timesheet-daily-section > .row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-left: 0; margin-right: 0; }
#hk-hr-timesheet-create .timesheet-daily-section > .row > .timesheet-save-column,
#hk-hr-timesheet-create .timesheet-daily-section > .row > .timesheet-project-column { width: 100%; max-width: 100%; min-width: 0; padding-left: 0; padding-right: 0; margin-bottom: 0; }
#hk-hr-timesheet-create .timesheet-project-column > .card { margin-bottom: 0 !important; }
#hk-hr-timesheet-create .timesheet-project-empty { grid-column: 2 / -1; display: flex; align-items: center; justify-content: center; min-width: 0; padding: 24px; border: 1px dashed #dce2e9; border-radius: 6px; background: #f9fafc; color: #68727e; font-size: .813rem; line-height: 20px; }
@media (max-width: 1199px) { #hk-hr-timesheet-create .timesheet-daily-section > .row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { #hk-hr-timesheet-create .timesheet-daily-section > .row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) { #hk-hr-timesheet-create .timesheet-project-empty { grid-column: 1; min-height: 120px; } }
/* 타임시트 관리 통합 화면 전용 */
#hk-hr-timesheet-manage .timesheet-manage-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 8px 0 16px; border: 0; border-bottom: 2px solid #294b73; border-radius: 0; background: transparent; }
#hk-hr-timesheet-manage .timesheet-manage-tabs .nav-item { flex: 0 0 160px; }
#hk-hr-timesheet-manage .timesheet-manage-tabs .nav-link { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 42px; margin: 0; padding: 8px 24px; border: 1px solid #d3dce8; border-bottom: 0; border-radius: 6px 6px 0 0; background: #f4f6f9; color: #526176; font-size: .938rem; font-weight: 700; line-height: 24px; transition: background-color .15s, color .15s; }
#hk-hr-timesheet-manage .timesheet-manage-tabs .nav-link:hover { color: #243f64; background: #e9eef5; }
#hk-hr-timesheet-manage .timesheet-manage-tabs .nav-link.active { color: #fff; border-color: #294b73; background: #294b73; }
#hk-hr-timesheet-manage .timesheet-manage-tabs .nav-link.active::after { content: '✓'; font-size: .875rem; }
#hk-hr-timesheet-manage .timesheet-manage-tabs .nav-link:focus-visible { outline: 2px solid #4680ff; outline-offset: 3px; }
@media (max-width: 767px) {
    #hk-hr-timesheet-manage .timesheet-manage-tabs .nav-item { flex: 1 1 0; }
    #hk-hr-timesheet-manage .timesheet-manage-tabs .nav-link { padding: 8px 12px; }
}
#hk-hr-timesheet-manage .timesheet-manage-grid { width:100%; height:520px; --ag-font-size:.713rem; --ag-header-background-color:#f5f7f7; --ag-border-color:#bdc3c7; --ag-row-border-color:#d9d9d9; }
#hk-hr-timesheet-manage .timesheet-manage-grid-fill { width:100%; height:100%; }
#hk-hr-timesheet-manage .ag-header-cell-label { justify-content:center; font-weight:800; }
#hk-hr-timesheet-manage .ag-header-cell, #hk-hr-timesheet-manage .ag-cell { padding:0 8px; border-right:1px solid #d9d9d9; }
#hk-hr-timesheet-manage .ts-manage-total { background:#eef3f8; font-weight:700; }
#hk-hr-timesheet-manage .ts-manage-sunday { color:#dc3545; }
#hk-hr-timesheet-manage .ts-manage-saturday { color:#1689bd; }
#hk-hr-timesheet-manage .timesheet-manage-all { display:flex; align-items:center; gap:6px; margin:0; font-size:.713rem; color:#526176; }
@media(min-width:1200px) and (min-height:800px) {
 #hk-hr-timesheet-manage .pc-content { height:calc(100dvh - 126px); min-height:0; padding-top:12px; padding-bottom:12px; display:flex; flex-direction:column; }
 #hk-hr-timesheet-manage .page-header { flex-shrink:0; }
 #hk-hr-timesheet-manage .pc-content > .row { flex:1; min-height:0; }
 #hk-hr-timesheet-manage .pc-content > .row > .col-xl-12 { display:flex; flex-direction:column; min-height:0; }
 #hk-hr-timesheet-manage .pc-content > .row > .col-xl-12 > .card { flex:1; min-height:0; margin-bottom:0; }
 #hk-hr-timesheet-manage .card-body.table-border-style { flex:1; min-height:0; padding:16px; }
 #hk-hr-timesheet-manage .card-body.table-border-style > :not(.timesheet-manage-panel) { flex-shrink:0; }
 #hk-hr-timesheet-manage .timesheet-manage-panel { display:flex; flex-direction:column; flex:1; min-height:0; }
 #hk-hr-timesheet-manage .timesheet-manage-panel > :not(.timesheet-manage-grid) { flex-shrink:0; }
 #hk-hr-timesheet-manage .timesheet-manage-grid { flex:1; min-height:0; height:auto; }
}
/* 프로젝트 인력관리 */
#hk-pms-project-manpower .card { margin-bottom: 12px; }
#hk-pms-project-manpower .card-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 10px 14px; }
#hk-pms-project-manpower .card-body { padding: 12px 14px; }
#hk-pms-project-manpower .mp-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .713rem; }
#hk-pms-project-manpower .mp-fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
#hk-pms-project-manpower .table { width: 100%; border-collapse: collapse; border: 1px solid #bdc3c7; font-size: .713rem; }
#hk-pms-project-manpower .table th,
#hk-pms-project-manpower .table td { height: 31px; padding: 0 8px; line-height: 30px; vertical-align: middle; border: 1px solid #d9d9d9; }
#hk-pms-project-manpower .table thead th,
#hk-pms-project-manpower .mp-info-table th { background: #f5f7f7; font-weight: 800; text-align: center; white-space: nowrap; }
#hk-pms-project-manpower .table tfoot { background: #f5f7f7; font-weight: 700; }
#hk-pms-project-manpower .table .form-control,
#hk-pms-project-manpower .table .form-select { min-height: 25px; height: 25px; padding-top: 2px; padding-bottom: 2px; font-size: .713rem; line-height: 19px; }
#hk-pms-project-manpower .table .btn-sm { padding: 2px 7px; font-size: .713rem; line-height: 19px; white-space: nowrap; }
#hk-pms-project-manpower .table td.text-end { font-variant-numeric: tabular-nums; white-space: nowrap; }
#hk-pms-project-manpower .table textarea { height: auto; padding-top: 4px; padding-bottom: 4px; }
#hk-pms-project-manpower .table td:has(textarea) { height: auto; padding-top: 4px; padding-bottom: 4px; }
#hk-pms-project-manpower .mp-info-table { min-width: 0; }
#hk-pms-project-manpower .mp-info-table th { width: 100px; }
#hk-pms-project-manpower .mp-basis,
#hk-pms-project-manpower .mp-note { font-size: .713rem; line-height: 1.6; color: #68727e; }
#hk-pms-project-manpower .mp-person-table { min-width: 1500px; table-layout: fixed; }
#hk-pms-project-manpower .mp-person-table thead th:nth-child(1) { width: 100px; }
#hk-pms-project-manpower .mp-person-table thead th:nth-child(4),
#hk-pms-project-manpower .mp-person-table thead th:nth-child(5) { width: 140px; }
#hk-pms-project-manpower .mp-person-table thead th:last-child { width: 60px; }
#hk-pms-project-manpower .mp-person-table thead th:nth-child(6),
#hk-pms-project-manpower .mp-person-table thead th:nth-child(7) { width: 95px; }
#hk-pms-project-manpower .mp-user-button { width: 100%; overflow: hidden; text-overflow: ellipsis; }
#hk-pms-project-manpower .mp-row-warning { display: block; font-size: 10px; color: #a86a16; line-height: 15px; }
#hk-pms-project-manpower .mp-expense-table { min-width: 850px; }
#hk-pms-project-manpower .mp-expense-table th:first-child { width: 150px; }
#hk-pms-project-manpower .mp-expense-table th:last-child { width: 60px; }
#hk-pms-project-manpower .table .mp-empty,
#hk-pms-project-manpower .mp-empty { padding: 10px 12px; text-align: center; color: #78838f; background: #fbfcfd; font-size: .713rem; line-height: 22px; }
#hk-pms-project-manpower .mp-linked-row { color: #52697e; background: #f8fafc; }
#hk-pms-project-manpower .contract-summary { --hk-summary-columns: 4; }
#hk-pms-project-manpower .mp-modal-open { display: block; opacity: 1; background: rgba(25, 38, 54, .4); overflow-y: auto; z-index: 1060; }
#hk-pms-project-manpower .mp-modal-open .modal-dialog { transform: none; }
#hk-pms-project-manpower .mp-modal-open .modal-body { max-height: 72vh; overflow-y: auto; }
#hk-pms-project-manpower .mp-modal-open .table { min-width: 680px; }
#hk-pms-project-manpower .mp-search { display: flex; align-items: center; gap: 8px; }
#hk-pms-project-manpower .mp-search > .form-control { flex: 1 1 0; width: 0; min-width: 0; height: 31px; }
#hk-pms-project-manpower .mp-search > .btn { flex: 0 0 72px; height: 31px; padding: 0 12px; white-space: nowrap; word-break: keep-all; line-height: 29px; }
#hk-pms-project-manpower .mp-picker-results { max-height: 420px; }
#hk-pms-project-manpower .mp-picker-results thead { position: sticky; top: 0; z-index: 1; }
#hk-pms-project-manpower .mp-setting-tabs { display: flex; gap: 4px; border-bottom: 1px solid #dbe2ea; }
#hk-pms-project-manpower .mp-setting-tabs button { border: 0; border-bottom: 2px solid transparent; padding: 8px 14px; background: transparent; color: #68727e; font-size: .713rem; }
#hk-pms-project-manpower .mp-setting-tabs button.is-active { border-bottom-color: #365b8c; color: #365b8c; font-weight: 700; }
@media (max-width: 991px) {
  #hk-pms-project-manpower .mp-basis { grid-column: 1 / -1; }
}



/* 인력관리 기본정보: 계약정보 / 집계 설정 / 공동도급사 가로 배치 */
#hk-pms-project-manpower .mp-info-table { table-layout: fixed; }
#hk-pms-project-manpower .mp-info-label-col { width: 90px; }
#hk-pms-project-manpower .mp-info-table td { overflow-wrap: anywhere; }
#hk-pms-project-manpower .mp-allocation-layout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 0; }
#hk-pms-project-manpower .mp-allocation-panel { min-width: 0; margin: 0; padding: 12px; border: 1px solid #e2e7ed; border-radius: 4px; background: #fff; }
#hk-pms-project-manpower .mp-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 27px; margin-bottom: 10px; }
#hk-pms-project-manpower .mp-panel-heading h6 { margin: 0; font-size: .775rem; font-weight: 700; color: #34465c; }
#hk-pms-project-manpower .mp-panel-heading > span { color: #7a8592; font-size: .713rem; }
#hk-pms-project-manpower .mp-panel-heading .btn { flex-shrink: 0; white-space: nowrap; }
#hk-pms-project-manpower .mp-project-controls { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
#hk-pms-project-manpower .mp-project-controls label { display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: center; gap: 8px; margin: 0; color: #627184; font-size: .713rem; }
#hk-pms-project-manpower .mp-project-controls .form-control { width: 100%; min-width: 0; height: 29px; min-height: 29px; font-size: .713rem; }
#hk-pms-project-manpower .mp-percent-input { position: relative; min-width: 0; }
#hk-pms-project-manpower .mp-percent-input input { padding-right: 28px; }
#hk-pms-project-manpower .mp-percent-input > span { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: #7a8592; pointer-events: none; }
#hk-pms-project-manpower .mp-allocation-summary { grid-template-columns: minmax(0, 1fr); margin-top: 10px; }
#hk-pms-project-manpower .mp-calculation-note { margin: 8px 0 0; color: #7a8592; font-size: .713rem; line-height: 1.5; }
#hk-pms-project-manpower .mp-allocation-warning { margin-top: 8px; padding: 6px 8px; border-radius: 3px; background: #fff7ed; color: #a46118; font-size: .713rem; line-height: 1.5; }
#hk-pms-project-manpower .mp-partner-scroll { max-height: 220px; }
#hk-pms-project-manpower .mp-partner-table { table-layout: fixed; min-width: 280px; }
#hk-pms-project-manpower .mp-partner-rate-col { width: 85px; }
#hk-pms-project-manpower .mp-partner-action-col { width: 64px; }
#hk-pms-project-manpower .mp-partner-table thead { position: sticky; top: 0; z-index: 1; }
#hk-pms-project-manpower .mp-partner-table .form-control { width: 100%; min-width: 0; }
#hk-pms-project-manpower .mp-partner-delete { display: inline-block; min-width: 40px; white-space: nowrap; word-break: keep-all; }

@media (max-width: 767px) {
  #hk-pms-project-manpower .mp-allocation-layout { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 479px) {
  #hk-pms-project-manpower .mp-allocation-summary { grid-template-columns: minmax(0, 1fr); }
}

#hk-pms-project-manpower .mp-contract-grid { height: clamp(240px, 48vh, 460px); width: 100%; --ag-font-size: .713rem; --ag-row-height: 31px; --ag-header-height: 31px; --ag-header-background-color: #f5f7f7; --ag-border-color: #bdc3c7; --ag-row-border-color: #d9d9d9; }
#hk-pms-project-manpower .mp-contract-grid-fill { width: 100%; height: 100%; }
#hk-pms-project-manpower .mp-contract-grid .ag-root-wrapper { border: 1px solid #bdc3c7; }
#hk-pms-project-manpower .mp-contract-grid .ag-header-cell { font-size: .713rem; font-weight: 800; border-right: 1px solid #d9d9d9; }
#hk-pms-project-manpower .mp-contract-grid .ag-header-cell-label { justify-content: center; }
#hk-pms-project-manpower .mp-contract-grid .ag-cell { padding: 0 8px; line-height: 30px; font-size: .713rem; border-right: 1px solid #d9d9d9; }
#hk-pms-project-manpower .mp-contract-select-cell { display: flex; align-items: center; justify-content: center; }
#hk-pms-project-manpower .mp-contract-select { height: 23px; padding: 0 9px; line-height: 21px; font-size: .713rem; white-space: nowrap; }
#hk-hr-timesheet-close .timesheet-manage-grid { width:100%; height:520px; --ag-font-size:.713rem; --ag-header-background-color:#f5f7f7; --ag-border-color:#bdc3c7; --ag-row-border-color:#d9d9d9; }
#hk-hr-timesheet-close .timesheet-manage-grid-fill { width:100%; height:100%; }
#hk-hr-timesheet-close .ag-header-cell-label { justify-content:center; font-weight:800; }
#hk-hr-timesheet-close .ag-header-cell, #hk-hr-timesheet-close .ag-cell { padding:0 8px; border-right:1px solid #d9d9d9; }
#hk-hr-timesheet-close .ts-manage-total { background:#eef3f8; font-weight:700; }
#hk-hr-timesheet-close .ts-manage-sunday { color:#dc3545; }
#hk-hr-timesheet-close .ts-manage-saturday { color:#1689bd; }
#hk-hr-timesheet-close .timesheet-manage-all { display:flex; align-items:center; gap:6px; margin:0; font-size:.713rem; color:#526176; }
@media(min-width:1200px) and (min-height:800px) {
 #hk-hr-timesheet-close .pc-content { height:calc(100dvh - 126px); min-height:0; padding-top:12px; padding-bottom:12px; display:flex; flex-direction:column; }
 #hk-hr-timesheet-close .page-header { flex-shrink:0; }
 #hk-hr-timesheet-close .pc-content > .row { flex:1; min-height:0; }
 #hk-hr-timesheet-close .pc-content > .row > .col-xl-12 { display:flex; flex-direction:column; min-height:0; }
 #hk-hr-timesheet-close .pc-content > .row > .col-xl-12 > .card { flex:1; min-height:0; margin-bottom:0; }
 #hk-hr-timesheet-close .card-body.table-border-style { flex:1; min-height:0; padding:16px; }
 #hk-hr-timesheet-close .card-body.table-border-style > :not(.timesheet-manage-panel) { flex-shrink:0; }
 #hk-hr-timesheet-close .timesheet-manage-panel { display:flex; flex-direction:column; flex:1; min-height:0; }
 #hk-hr-timesheet-close .timesheet-manage-panel > :not(.timesheet-manage-grid) { flex-shrink:0; }
 #hk-hr-timesheet-close .timesheet-manage-grid { flex:1; min-height:0; height:auto; }
}

#hk-hr-timesheet-close .ts-close-money { text-align: right; }

/* 타임시트 날짜 헤더: 숫자만 표시하고 좁은 컬럼의 내부 여백 제거 */
:is(#hk-hr-timesheet-manage, #hk-hr-timesheet-close) .ag-header-cell.ts-date-header { padding: 0; }
:is(#hk-hr-timesheet-manage, #hk-hr-timesheet-close) .ts-date-header .ag-header-cell-label { justify-content: center; }
:is(#hk-hr-timesheet-manage, #hk-hr-timesheet-close) .ts-date-header .ag-header-cell-text { text-overflow: clip; }


/* Sizes, typography and controls inherit the same shared styles as contract/createOrder. */
#hk-pms-project-create .card { margin-bottom:.5rem; }
#hk-pms-project-create .card-header { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.5rem; padding:.5rem .75rem; }
#hk-pms-project-create .card-body { padding:.75rem; }
#hk-pms-project-create .table th, #hk-pms-project-create .table td { vertical-align:middle; }
#hk-pms-project-create .table thead th { white-space:nowrap; }
#hk-pms-project-create .project-date-picker { width:100%; min-width:110px; }
#hk-pms-project-create .input-group { flex-wrap:nowrap; }
#hk-pms-project-create .input-group > .project-date-picker { flex:1; width:1%; }
#hk-pms-project-create .department-panels { --bs-gutter-x:1rem; margin-top:.5rem; }
#hk-pms-project-create .department-panels .form-label { margin-bottom:.25rem; font-weight:600; }
#hk-pms-project-create .contract-memo { white-space:pre-wrap; overflow-wrap:anywhere; }
#hk-pms-project-create .summary-toolbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:.5rem; margin-bottom:.5rem; }
#hk-pms-project-create .summary-options { display:flex; flex-wrap:wrap; gap:.5rem 1rem; }
#hk-pms-project-create .summary-options .form-check { margin-bottom:0; }
#hk-pms-project-create .budget-section > .card-body.pb-0 { padding:.5rem .75rem !important; }
#hk-pms-project-create .budget-section .card { margin:0; border:0; box-shadow:none; }
#hk-pms-project-create .budget-section > .row { margin:0; padding:0 .75rem; }
#hk-pms-project-create .budget-section > .row > .col-xl-12 { padding:0; }
#hk-pms-project-create .budget-section > .row .card-header { padding:.5rem 0 !important; }
#hk-pms-project-create .budget-section > .row .card-body { padding:0 0 .75rem; }
#hk-pms-project-create .budget-section .card-body > .row { --bs-gutter-x:1rem; --bs-gutter-y:.5rem; }
#hk-pms-project-create .budget-section .card-body > .row .card-header { padding:0 0 .5rem !important; }
#hk-pms-project-create .budget-section .card-body.ps-0 { padding:.5rem 0 0 !important; }
#hk-pms-project-create .budget-section .table-responsive { margin-bottom:0 !important; }
#hk-pms-project-create .budget-section .team-header .d-flex { gap:.5rem; }

/* Keep the outer inset aligned with A/B/D/E; separate the two labour budgets. */
#hk-pms-project-create .labour-section .labour-panels { margin:0; gap:.75rem; }
#hk-pms-project-create .labour-panels > div { padding:0; margin-top:0; width:100%; }
#hk-pms-project-create .budget-section .card.labour-panel { height:100%; border:1px solid var(--bs-border-color, #dbe0e5); border-radius:4px; }
#hk-pms-project-create .labour-section .card-body > .row .labour-panel > .card-header { padding:.5rem .75rem !important; background:var(--bs-tertiary-bg, #f8f9fa); border-bottom:1px solid var(--bs-border-color, #dbe0e5); }
#hk-pms-project-create .labour-section .labour-panel > .card-body { padding:.75rem !important; }
#hk-pms-project-create .labour-panel .card-title { margin:0; }
#hk-pms-project-create .labour-panel .labour-note { padding:0 .75rem .75rem; }
@media (min-width:1200px) {
 #hk-pms-project-create .labour-panels > .col-xl-6 { width:calc((100% - .75rem) / 2); }
}

/* 프로젝트 등록: 계약 등록과 동일한 공통 표 규격 및 부서 영역 정렬 */
#hk-pms-project-create .table { font-size: .713rem; border-collapse: collapse; border: 1px solid #bdc3c7; }
#hk-pms-project-create .table th, #hk-pms-project-create .table td { box-sizing: border-box; height: 31px; padding: 0 8px; line-height: 30px; vertical-align: middle; border: 1px solid #d9d9d9; }
#hk-pms-project-create .table thead th { background: #f5f7f7; font-weight: 800; border-bottom-color: #bdc3c7; }
#hk-pms-project-create textarea.form-control { padding-top: 4px; padding-bottom: 4px; }
#hk-pms-project-create .table td:has(textarea), #hk-pms-project-create .table th:has(textarea) { padding-top: 4px; padding-bottom: 4px; }
#hk-pms-project-create .project-change-text { height: 182px; }
#hk-pms-project-create .project-labour-type { width: 100px; }
#hk-pms-project-create .project-labour-total { background-color: #f2f6f8; }
#hk-pms-project-create .department-panels { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px; margin: 8px 0 0; }
#hk-pms-project-create .department-panels > .col-sm-6 { width: 100%; min-width: 0; padding: 0; }
@media (max-width: 575px) { #hk-pms-project-create .department-panels { grid-template-columns: minmax(0, 1fr); } }

/* HK 표 내부 액션: 작은 사각 뱃지 버튼 */
:is(table, .ag-cell) :is(button, a, input[type="button"], input[type="submit"]):is(.btn, .badge, .hk-table-action) {
 display: inline-flex !important; align-items: center; justify-content: center; box-sizing: border-box;
 height: 22px !important; min-height: 22px !important; padding: 0 10px !important; margin-top: 0; margin-bottom: 0;
 border: 1px solid #294b73 !important; border-radius: 0 !important; background: #fff !important; color: #294b73 !important;
 font-size: .625rem !important; font-weight: 500 !important; line-height: 20px !important; white-space: nowrap; box-shadow: none !important;
}
:is(table, .ag-cell) :is(button, a, input):is(.btn-danger, .btn-outline-danger, .hk-table-action-danger, .badge.bg-danger) { border-color: #ff4d4f !important; color: #ff4d4f !important; }
:is(table, .ag-cell) :is(button, a, input):is(.btn, .badge, .hk-table-action):not(:disabled):not(.disabled):hover { background: #294b73 !important; color: #fff !important; }
:is(table, .ag-cell) :is(button, a, input):is(.btn-danger, .btn-outline-danger, .hk-table-action-danger, .badge.bg-danger):not(:disabled):not(.disabled):hover { background: #ff4d4f !important; border-color: #ff4d4f !important; color: #fff !important; }
:is(table, .ag-cell) :is(button, a):is(.btn, .badge, .hk-table-action):focus-visible { outline: 2px solid #6d89ac; outline-offset: 2px; }
:is(table, .ag-cell) :is(button, input):disabled { opacity: .5; cursor: not-allowed; }
#hk-pms-project-status #prjDetail .modal-dialog { width: calc(100% - 32px); max-width: 1540px; margin: 16px auto; height: calc(100% - 32px); }
#hk-pms-project-status #prjDetail .modal-content,
#hk-pms-project-status #prjDetail .card,
#hk-pms-project-status #prjDetail .nav-link,
#hk-pms-project-status #prjDetail .form-control { border-radius: 0; }
#hk-pms-project-status #prjDetail .modal-body { padding: 16px; }
#hk-pms-project-status #prjDetail .modal-body .row { --bs-gutter-x: 0; margin-left: 0; margin-right: 0; }
#hk-pms-project-status #prjDetail .modal-body .row > [class*="col-"] { padding-left: 0; padding-right: 0; }
#hk-pms-project-status #prjDetail .project-detail-overview,
#hk-pms-project-status #prjDetail .project-detail-sections { border: 0; box-shadow: none; background: transparent; margin-bottom: 0; }
#hk-pms-project-status #prjDetail .project-detail-overview > .card-body,
#hk-pms-project-status #prjDetail .project-detail-sections > .card-body { padding: 0; }
#hk-pms-project-status #prjDetail .project-detail-overview { margin-bottom: 16px !important; }
#hk-pms-project-status #prjDetail .project-detail-overview .table-responsive { width: 100%; }
#hk-pms-project-status #prjDetail .project-detail-overview table { width: 100%; table-layout: fixed; }
#hk-pms-project-status #prjDetail .project-detail-overview td { overflow-wrap: anywhere; }
#hk-pms-project-status #prjDetail .project-detail-overview textarea { min-height: 32px; height: 32px; padding: 4px 8px; resize: vertical; }
#hk-pms-project-status #prjDetail .project-detail-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; margin: 0 0 16px; border: 1px solid #c8d4e5; border-radius: 6px; background: #e4ebf5; }
#hk-pms-project-status #prjDetail .project-detail-tabs .nav-link { margin: 0; padding: 8px 18px; border: 0; border-radius: 4px; background: transparent; color: #40536e; font-size: var(--bs-body-font-size, .713rem); font-weight: 500; line-height: 20px; transition: background-color .15s, color .15s; }
#hk-pms-project-status #prjDetail .project-detail-tabs .nav-link:hover { color: #294b7a; background: #d3dff0; }
#hk-pms-project-status #prjDetail .project-detail-tabs .nav-link.active { color: #fff; background: #365b8c; }
#hk-pms-project-status #prjDetail .project-detail-tabs .nav-link:focus-visible { outline: 2px solid var(--bs-primary, #4680ff); outline-offset: 2px; }
#hk-pms-project-status #prjDetail .project-detail-sections > .card-body > .tab-content { padding: 0; }

#hk-pms-project-status #prjDetail .project-detail-label-col { width: 8%; }
#hk-pms-project-status #prjDetail .project-detail-value-col { width: 17%; }
#hk-pms-project-status #prjDetail .table { border: 1px solid #bdc3c7; font-size: .713rem; }
#hk-pms-project-status #prjDetail .table th, #hk-pms-project-status #prjDetail .table td { height: 31px; padding: 0 8px; line-height: 30px; vertical-align: middle; border: 1px solid #d9d9d9; }
#hk-pms-project-status #prjDetail .table th, #hk-pms-project-status #prjDetail .table thead, #hk-pms-project-status #prjDetail .table-active { background: #f5f7f7; font-weight: 800; --bs-table-bg: #f5f7f7; --bs-table-accent-bg: #f5f7f7; }
#hk-pms-project-status #prjDetail textarea { padding-top: 4px; padding-bottom: 4px; font-size: .713rem; }
#hk-pms-project-status #prjDetail td:has(textarea) { padding-top: 4px; padding-bottom: 4px; }
#hk-pms-project-status #prjDetail .project-detail-journal { height: 300px; overflow: auto; }
#hk-pms-project-status #prjDetail .project-detail-journal-entry { font-size: .7rem; margin-bottom: 0; }
#hk-pms-project-status #prjDetail .nav-style-4 { padding: 8px; border: 1px solid #dbe0e5; border-radius: 6px; background: #f4f6f8; }
#hk-pms-project-status #prjDetail .nav-style-4 .nav-link { padding: 8px 10px; border: 0; color: #40536e; font-size: .713rem; }
#hk-pms-project-status #prjDetail .nav-style-4 .nav-link.active { background: #365b8c; color: #fff; }
@media (max-width: 767px) {
  #hk-pms-project-status #prjDetail .project-detail-tabs .nav-item { flex: 1; }
  #hk-pms-project-status #prjDetail .project-detail-tabs .nav-link { padding: 8px 10px; text-align: center; white-space: nowrap; }
  #hk-pms-project-status #prjDetail .project-detail-overview table { min-width: 680px; }
}

#hk-pms-project-status #prjDetail .hk-table-action { display: inline-block; height: 22px; padding: 0 10px; font-size: .625rem; font-weight: 500; line-height: 20px; border-radius: 0; background: #fff; border: 1px solid #294b73; color: #294b73; }
#hk-pms-project-status #prjDetail a:hover .hk-table-action { background: #294b73; color: #fff; }

/* 프로젝트명은 계약명과 동일하게 hover 시 텍스트 밑줄을 표시한다. */
#hk-pms-project-status .project-sales-grid .ag-cell .hk-status-name-link {
  text-decoration: none !important;
  text-underline-offset: 2px;
}
#hk-pms-project-status .project-sales-grid .ag-cell:hover .hk-status-name-link,
#hk-pms-project-status .project-sales-grid .ag-cell .hk-status-name-link:focus-visible {
  color: #095a9e;
  text-decoration: underline !important;
}

/* 부서 선택 화살표: viewBox가 없는 SVG의 원래 크기를 유지한다. */
.pc-container .department-autocomplete .vs__open-indicator {
  display: block;
  width: 14px !important;
  height: 10px !important;
  flex-shrink: 0;
}
.pc-container .department-autocomplete .vs__actions {
  align-items: center;
}


/* 프로젝트 현황 상세 모달 공통 폼 */
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .modal-dialog { width: calc(100% - 32px); max-width: 770px; margin: 16px auto; height: calc(100% - 32px); }
#hk-pms-project-status #prjPrepare .modal-dialog { max-width: 1540px; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .modal-content { max-height: 100%; border: 1px solid #bdc8d5; border-radius: 6px; overflow: hidden; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .modal-header { flex: 0 0 auto; min-height: 48px; padding: 12px 16px; border-bottom: 1px solid #dce2e9; background: #f5f7fa; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .modal-title { font-size: .938rem; font-weight: 700; color: #203b5d; line-height: 24px; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .btn-close { margin-left: auto; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .modal-body { min-height: 0; padding: 16px; overflow-y: auto; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .modal-body .row { --bs-gutter-x: 0; margin-left: 0; margin-right: 0; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .modal-body .row > [class*="col-"] { padding-left: 0; padding-right: 0; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .card { border: 0 !important; border-radius: 0; box-shadow: none; background: transparent; margin-bottom: 0; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .card-body { padding: 0; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .card-body + .card-body { margin-top: 20px; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .table-responsive { max-width: 100%; overflow-x: auto; margin-bottom: 12px; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .table { width: 100%; font-size: .713rem; border: 1px solid #bdc3c7; font-variant-numeric: tabular-nums; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .table th, #hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .table td { height: 31px; padding: 0 8px; line-height: 30px; vertical-align: middle; border: 1px solid #d9d9d9; color: #374151; background: #fff; --bs-table-bg: #fff; --bs-table-accent-bg: transparent; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .table thead th { background: #f5f7f7; --bs-table-bg: #f5f7f7; font-weight: 800; color: #526176; white-space: nowrap; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .table tbody th { font-weight: 500; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .table .text-end { white-space: nowrap; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .table .table-active > :is(th, td) { background: #f5f7fa; --bs-table-bg: #f5f7fa; font-weight: 700; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .table .text-danger { color: #d64444 !important; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .table .text-success { color: #25856a !important; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .project-modal-overview { table-layout: fixed; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .project-info-label { width: 88px; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .project-modal-overview th { background: #f5f7fa; color: #526176; font-weight: 700; white-space: nowrap; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .project-modal-overview td { white-space: normal; overflow-wrap: anywhere; line-height: 20px; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .project-info-empty { background: #fff !important; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .project-modal-section-title { margin: 18px 0 8px; color: #203b5d; font-size: .75rem; line-height: 20px; font-weight: 700; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .form-control { border-radius: 3px; font-size: .713rem; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) textarea { padding: 4px 8px; line-height: 20px; min-width: 110px; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) td:has(textarea) { padding-top: 4px; padding-bottom: 4px; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .budget-memo-220 { max-width: 220px; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .budget-memo-280 { max-width: 280px; }
#hk-pms-project-status #prjComplete .project-report-toolbar { display: flex; flex: 0 0 auto; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #dce2e9; background: #fff; }
#hk-pms-project-status #prjComplete .project-report-month, #hk-pms-project-status #prjComplete .project-report-actions { display: flex; align-items: center; gap: 8px; }
#hk-pms-project-status #prjComplete .project-report-month label { margin: 0; font-size: .75rem; color: #526176; }
#hk-pms-project-status #prjComplete .custom-datepicker { width: 120px; }
#hk-pms-project-status #prjComplete .custom-datepicker .mx-input { height: 31px; font-size: .713rem; }
#hk-pms-project-status #prjComplete .career-datepicker { width: 110px; }
#hk-pms-project-status #prjPrepare .prepare-overview { table-layout: fixed; }
#hk-pms-project-status #prjPrepare .prepare-overview th { background: #f5f7fa; font-weight: 700; color: #526176; }
#hk-pms-project-status #prjPrepare .prepare-overview td { overflow-wrap: anywhere; line-height: 20px; }
#hk-pms-project-status #prjPrepare .budget-width-13 { width: 13%; }
#hk-pms-project-status #prjPrepare .budget-width-14 { width: 14%; }
#hk-pms-project-status #prjPrepare .budget-width-20 { width: 20%; }
#hk-pms-project-status #prjPrepare .prepare-overview-wrap { margin-bottom: 20px; }
#hk-pms-project-status #prjPrepare .prepare-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
#hk-pms-project-status #prjPrepare .prepare-section-heading > span { color: #203b5d; font-size: .813rem; font-weight: 700; }
#hk-pms-project-status #prjPrepare .prepare-section-heading small { color: #758296; font-size: .688rem; }
#hk-pms-project-status #prjPrepare .prepare-comparison { min-width: 1050px; }
#hk-pms-project-status #prjPrepare .prepare-comparison thead tr:first-child th { background: #edf2f8; color: #294b73; }
#hk-pms-project-status #prjPrepare .prepare-comparison .border-primary { border-right-color: #a8b8cc !important; }
#hk-pms-project-status #prjPrepare .prepare-comparison .prepare-row-sales > :is(th, td) { background: #eef4fb; --bs-table-bg: #eef4fb; }
#hk-pms-project-status #prjPrepare .prepare-comparison .prepare-row-expense > :is(th, td) { background: #edf7f3; --bs-table-bg: #edf7f3; }
#hk-pms-project-status #prjPrepare .prepare-comparison .prepare-row-profit > :is(th, td) { background: #faf6e9; --bs-table-bg: #faf6e9; font-weight: 700; }
#hk-pms-project-status #prjPrepare .prepare-progress-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 16px; padding: 0; border: 1px solid #dce2e9; border-radius: 6px; overflow: hidden; background: #dce2e9; }
#hk-pms-project-status #prjPrepare .prepare-progress-item { min-width: 0; padding: 10px 16px; background: #f5f7fa; }
#hk-pms-project-status #prjPrepare .prepare-progress-title { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; font-size: .75rem; font-weight: 700; color: #203b5d; }
#hk-pms-project-status #prjPrepare .prepare-progress-title span { color: #758296; font-size: .688rem; font-weight: 500; }
#hk-pms-project-status #prjPrepare .prepare-progress-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
#hk-pms-project-status #prjPrepare .prepare-progress-metrics dt { color: #526176; font-size: .75rem; line-height: 18px; font-weight: 500; margin-bottom: 8px; }
#hk-pms-project-status #prjPrepare .prepare-progress-metrics dd { color: #203b5d; font-size: 1.125rem; line-height: 26px; font-weight: 800; text-align: right; margin: 0; font-variant-numeric: tabular-nums; }
#hk-pms-project-status #prjPrepare .prepare-progress-rate small { font-size: .75rem; font-weight: 500; margin-left: 3px; }
@media (max-width: 767px) {
  #hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .modal-dialog { width: calc(100% - 16px); margin: 8px auto; height: calc(100% - 16px); }
  #hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .modal-body { padding: 12px; }
  #hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .project-info-label { width: 70px; }
  #hk-pms-project-status #prjPrepare .prepare-overview { min-width: 640px; }
  #hk-pms-project-status #prjPrepare .prepare-progress-summary { grid-template-columns: 1fr; }
  #hk-pms-project-status #prjPrepare .prepare-progress-metrics dd { font-size: 1rem; }
}

/* 테이블 제목과 셀 경계: Bootstrap active 효과 제거 */
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .table { border-collapse: collapse; border: 1px solid #bdc3c7 !important; --bs-table-bg: #fff; --bs-table-accent-bg: transparent; --bs-table-active-bg: transparent; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .table > :not(caption) > * > * { border: 1px solid #d9d9d9 !important; box-shadow: none !important; background-color: #fff; --bs-table-bg: #fff; --bs-table-accent-bg: transparent; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .table > thead > tr > th { background-color: #f5f7f7 !important; --bs-table-bg: #f5f7f7; color: #526176; font-weight: 800; text-align: center; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .project-modal-table-title { caption-side: top; padding: 8px 10px; color: #203b5d; font-size: .813rem; font-weight: 800; line-height: 20px; background: #edf2f8; border: 1px solid #bdc3c7; border-bottom: 0; text-align: left; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .card-header { display: none; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .project-info-label { width: 100px; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .project-modal-overview > tbody > tr > th, #hk-pms-project-status #prjPrepare .prepare-overview > tbody > tr > th { background-color: #f5f7f7 !important; color: #526176; font-weight: 700; }
#hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .project-modal-overview td { text-align: left; padding: 4px 8px; overflow-wrap: anywhere; }
#hk-pms-project-status #prjPrepare .prepare-section-heading { display: none; }
#hk-pms-project-status #prjPrepare .prepare-comparison > thead > tr > th { background: #f5f7f7 !important; border-color: #bdc3c7 !important; }
#hk-pms-project-status #prjPrepare .prepare-comparison > tbody > tr > th { min-width: 110px; }
#hk-pms-project-status #prjPrepare .prepare-comparison > tbody > .prepare-row-sales > * { background-color: #eef4fb !important; }
#hk-pms-project-status #prjPrepare .prepare-comparison > tbody > .prepare-row-expense > * { background-color: #edf7f3 !important; }
#hk-pms-project-status #prjPrepare .prepare-comparison > tbody > .prepare-row-profit > * { background-color: #faf6e9 !important; font-weight: 700; }
#hk-pms-project-status #prjComplete .project-report-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; }
#hk-pms-project-status #prjComplete .project-report-month { min-width: 0; flex-wrap: nowrap; }
#hk-pms-project-status #prjComplete .project-report-month > * { flex-shrink: 0; }
#hk-pms-project-status #prjComplete .project-report-toolbar .btn { height: 31px; padding: 4px 12px; font-size: .75rem; line-height: 21px; white-space: nowrap; }
#hk-pms-project-status #prjComplete .custom-datepicker { flex: 0 0 120px; width: 120px !important; }
#hk-pms-project-status #prjComplete .custom-datepicker .mx-input { box-sizing: border-box; width: 100%; height: 31px !important; padding: 4px 30px 4px 8px; line-height: 21px; }
@media (max-width: 575px) { #hk-pms-project-status #prjComplete .project-report-toolbar { grid-template-columns: 1fr; } #hk-pms-project-status :is(#prjBudget, #prjHistory, #prjPrepare, #prjComplete) .project-info-label { width: 86px; } }

/* 외주계약 견적비교에만 적용: 업체조회와 compact 첨부 레이아웃 충돌 보정 */
#hk-pms-contract-createOutsourcing .hk-quote-comparison .quote-table .quote-vendor-group { align-items: center; gap: 6px; padding-right: 6px; border-radius: 4px; }
#hk-pms-contract-createOutsourcing .hk-quote-comparison .quote-table .quote-vendor-group > .quote-vendor-search { flex: 0 0 52px; align-self: center; height: 22px !important; min-height: 22px !important; margin: 0 !important; border: 1px solid #294b73 !important; border-radius: 0 !important; }
#hk-pms-contract-createOutsourcing .hk-quote-comparison .quote-table .attachment-compact { height: var(--quote-detail-height, 108px); min-width: 0; }
#hk-pms-contract-createOutsourcing .hk-quote-comparison .quote-table .attachment-compact .attachment-toolbar { flex: 0 0 34px; min-height: 34px; padding: 5px 8px; line-height: 22px; }
#hk-pms-contract-createOutsourcing .hk-quote-comparison .quote-table .attachment-compact .attachment-add { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; height: 22px; min-height: 22px; padding: 0 10px; border: 1px solid #294b73; border-radius: 0; color: #294b73; font-size: .625rem; line-height: 20px; background: #fff; }
#hk-pms-contract-createOutsourcing .hk-quote-comparison .quote-table .attachment-compact .attachment-add:not(:disabled):hover { background: #294b73; color: #fff; }
#hk-pms-contract-createOutsourcing .hk-quote-comparison .quote-table .attachment-compact .dropzone { flex: 1 1 0; min-height: 0 !important; height: auto; padding: 3px 8px !important; border: 0 !important; overflow-x: hidden; overflow-y: auto; line-height: 20px; }
#hk-pms-contract-createOutsourcing .hk-quote-comparison .quote-table .attachment-compact .dz-message { margin: 12px 0; font-size: .688rem; line-height: 20px; }
#hk-pms-contract-createOutsourcing .hk-quote-comparison .quote-table .attachment-compact .dropzone .dz-preview { display: flex !important; align-items: center; width: 100% !important; min-height: 32px !important; margin: 0 !important; padding: 0; background: #fff !important; }
#hk-pms-contract-createOutsourcing .hk-quote-comparison .quote-table .attachment-compact .dropzone .dz-preview .dz-details { position: static; display: flex; align-items: center; flex: 1; min-width: 0; min-height: 0; gap: 6px; padding: 5px 0 !important; opacity: 1; color: #475569 !important; background: transparent !important; text-align: left; line-height: 20px; }
#hk-pms-contract-createOutsourcing .hk-quote-comparison .quote-table .attachment-compact .dropzone .dz-preview .dz-filename { flex: 1; min-width: 0; font-size: .713rem; }
#hk-pms-contract-createOutsourcing .hk-quote-comparison .quote-table .attachment-compact .dropzone .dz-preview .dz-filename span { white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; word-break: normal !important; line-height: 20px; }
#hk-pms-contract-createOutsourcing .hk-quote-comparison .quote-table .attachment-compact .dropzone .dz-preview .dz-size { flex-shrink: 0; margin: 0 !important; font-size: .625rem; line-height: 20px; }
#hk-pms-contract-createOutsourcing .hk-quote-comparison .quote-table .attachment-compact .dropzone .dz-preview .dz-remove {
  position: static !important; inset: auto !important; transform: none !important;
  display: inline-flex !important; align-items: center; justify-content: center;
  flex: 0 0 42px; width: 42px; height: 22px; min-height: 22px;
  margin: 0 0 0 6px !important; padding: 0 6px !important;
  border: 1px solid #ff4d4f !important; border-radius: 0;
  background: #fff !important; color: #ff4d4f !important;
  opacity: 1 !important; visibility: visible; font-size: 0 !important;
  line-height: 20px; letter-spacing: normal; box-shadow: none;
}
#hk-pms-contract-createOutsourcing .hk-quote-comparison .quote-table .attachment-compact .dropzone .dz-preview .dz-remove::after { content: '삭제'; font-size: .625rem; font-weight: 500; }
#hk-pms-contract-createOutsourcing .hk-quote-comparison .quote-table .attachment-compact .dropzone .dz-preview .dz-remove:not(:disabled):hover { background: #ff4d4f !important; color: #fff !important; }
#hk-pms-contract-createOutsourcing .hk-quote-comparison .quote-table .attachment-compact .dropzone .dz-preview .dz-remove:focus-visible { outline: 2px solid #ffb3b4; outline-offset: 2px; }

