/* 상세 버튼이 검색창 flex 축소로 잘리지 않도록 고정합니다. */
html body:not(.pdf-view) main.sheet :is(#estimateListFilters, #rentalEstimateFilters).compact-search-bar > button.quote-text-action[data-quote-list-detail] {
  flex: 0 0 auto;
  width: auto !important;
  min-width: 88px !important;
  max-width: none !important;
  padding: 0 12px !important;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}
@media screen and (max-width: 1100px) {
  body:not(.pdf-view) .compact-search-bar { flex-wrap: wrap; }
}

html body:not(.pdf-view) main.sheet :is(#estimateListFilters, #rentalEstimateFilters).compact-search-bar > button.quote-text-action[data-quote-list-detail]:disabled {
  color: #8290a0 !important;
  background: #edf1f5 !important;
  border-color: #ccd5df !important;
  cursor: not-allowed;
}

.quote-detail-loading {
 position: fixed; inset: 0; z-index: 9000; display: flex;
 flex-direction: column; gap: 16px; align-items: center; justify-content: center;
 padding: 24px; background: rgba(247,249,252,.96); color: #174f72;
 font-size: 18px; font-weight: 600; text-align: center;
}
.quote-detail-loading a { font-size: 14px; color: #174f72; }
@media print { .quote-detail-loading { display: none !important; } }
