/* 입출고일 편집과 견적번호 미리보기에만 적용합니다. */
#rentalIoDateDialog { width: min(900px, calc(100vw - 24px)); max-width: calc(100vw - 24px); max-height: calc(100dvh - 32px); box-sizing: border-box; padding: 0; border: 1px solid #9fb5ca; border-radius: 6px; color: #143350; background: #fff; }
#rentalIoDateDialog::backdrop { background: #17232e66; }
#rentalIoDateDialog header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px; border-bottom: 1px solid #c8d7e4; }
#rentalIoDateDialog h3 { margin: 0; font-size: 14px; }
#rentalIoDateDialog .rental-io-modal-content { padding: 12px; overflow: auto; }
#rentalIoDateDialog table { width: 100%; min-width: 650px; border-collapse: collapse; table-layout: fixed; }
#rentalIoDateDialog th, #rentalIoDateDialog td { border: 1px solid #c8d7e4; padding: 7px; font-size: 12px; overflow-wrap: anywhere; }
#rentalIoDateDialog th { background: #e7eff6; }
#rentalIoDateDialog th:nth-child(1) { width: 22%; }
#rentalIoDateDialog th:nth-child(2) { width: 25%; }
#rentalIoDateDialog th:nth-child(3) { width: 6%; }
#rentalIoDateDialog th:nth-child(4) { width: 20%; }
#rentalIoDateDialog th:nth-child(5) { width: 27%; }
body:not(.pdf-view) main.sheet.rental-page #app .rental-io-detail-table { table-layout: auto !important; min-width: 1500px !important; }
body:not(.pdf-view) main.sheet.rental-page #app .rental-io-detail-table col.quote-out-date-col { width: 120px !important; }
body:not(.pdf-view) main.sheet.rental-page #app .rental-io-detail-table col.quote-in-date-col { width: 165px !important; }
body:not(.pdf-view) main.sheet.rental-page #app .rental-io-detail-table col.quote-memo-col { width: 110px !important; }
body:not(.pdf-view) main.sheet.rental-page #app .rental-io-detail-table .rental-io-date-cell { min-width: 112px !important; white-space: nowrap; }
body:not(.pdf-view) main.sheet.rental-page #app .rental-io-detail-table .rental-io-date-cell:has(.rental-io-save) { min-width: 160px !important; }
body:not(.pdf-view) main.sheet.rental-page #app .rental-io-detail-table .rental-io-date-cell input, #rentalIoDateDialog .rental-io-date-cell input { display: inline-block !important; width: 100px !important; max-width: 100px !important; min-width: 100px !important; height: 30px !important; box-sizing: border-box; padding: 0 4px !important; border: 1px solid #9fb5ca; color: #143350; font-size: 11px !important; text-align: center; }
body #app .rental-io-date-cell .rental-io-save, #rentalIoDateDialog .rental-io-save { margin-left: 5px; vertical-align: middle; }
.rental-io-save-status { display: block; max-width: 200px; white-space: normal; font-size: 11px; color: #143350; }
body:not(.pdf-view) #app .rental-estimates-list .rental-io-date-link { display: inline !important; width: auto !important; min-width: 0 !important; max-width: none !important; height: auto !important; border: 0 !important; background: transparent !important; color: #174f72 !important; padding: 0 !important; font: inherit !important; text-overflow: clip !important; overflow: visible !important; white-space: nowrap !important; }
body:not(.pdf-view) #app .rental-estimates-list .rental-io-date-link:hover { text-decoration: underline; }
body:not(.pdf-view) main.sheet.rental-page #app .rental-io-save, #rentalIoDateDialog .rental-io-save { width: auto !important; min-width: 32px !important; max-width: none !important; height: 28px !important; padding: 0 4px !important; border: 1px solid #9fb5ca !important; border-radius: 3px !important; color: #174f72 !important; background: #fff !important; font-size: 11px !important; line-height: 26px !important; }
.rental-io-tooltip { position: fixed; z-index: 10020; box-sizing: border-box; width: min(720px, calc(100vw - 24px)); max-height: min(380px, calc(100dvh - 24px)); overflow: auto; padding: 10px; border: 1px solid #9fb5ca; border-radius: 4px; background: #fff; color: #143350; box-shadow: 0 6px 20px #0003; font-size: 12px; }
.rental-io-tooltip[hidden] { display: none; }
.rental-io-tooltip > strong { display: block; margin-bottom: 8px; }
.rental-io-tooltip table { table-layout: fixed; width: 100%; min-width: 0; border-collapse: collapse; }
.rental-io-tooltip th, .rental-io-tooltip td { border: 1px solid #c8d7e4; padding: 6px; font-size: 11px; overflow-wrap: anywhere; }
.rental-io-tooltip th { background: #e7eff6; }
.rental-io-tooltip th:nth-child(1) { width: 26%; }
.rental-io-tooltip th:nth-child(2) { width: 28%; }
.rental-io-tooltip th:nth-child(3) { width: 8%; }
.rental-io-tooltip th:nth-child(4), .rental-io-tooltip th:nth-child(5) { width: 19%; }
@media print { #rentalIoDateDialog, .rental-io-tooltip { display: none !important; } }
