/* 프로젝트 공통 스타일 */

.auth-card { margin-top: clamp(1rem, 4vw, 3rem); }
.avatar-initial {
  background: var(--bs-primary-bg-subtle);
  color: var(--bs-primary-text-emphasis);
  font-size: 0.85em;
}
.object-fit-cover { object-fit: cover; }

/* 월별 정산 */
.settlement-table th, .settlement-table td { white-space: nowrap; }
.settlement-input tfoot .grand-row th, .settlement-input tfoot .grand-row td { border-top: 2px solid var(--bs-emphasis-color); }
.settlement-input .calc { color: var(--bs-secondary-color); }
.settlement-input .source-locked { background: var(--bs-tertiary-bg); color: var(--bs-emphasis-color); }
.source-locked { background: var(--bs-tertiary-bg); border-radius: .2rem; }

/* 월별 정산 입력표: 화면 폭에 맞춰 좌우가 모두 보이게 (960px 미만은 표 안에서 가로 스크롤) */
.settlement-input { table-layout: fixed; width: 100%; min-width: 960px; font-size: .875rem; }
.settlement-input col.w-company { width: 13%; }
.settlement-input col.w-product { width: 12%; }
.settlement-input col.w-num { width: 8.5%; }
.settlement-input col.w-memo { width: 13%; }
.settlement-input col.w-check { width: 11%; }
.settlement-input th, .settlement-input td { white-space: normal; word-break: keep-all; overflow-wrap: anywhere; }
.settlement-input .font-monospace { font-family: inherit; font-variant-numeric: tabular-nums; }
.settlement-input [data-sum], .settlement-input .calc, .settlement-input div[data-field] { white-space: nowrap; }
.settlement-input input.form-control { min-width: 0; width: 100%; padding: .2rem .4rem; font-size: .85rem; font-variant-numeric: tabular-nums; }
.settlement-input td { padding: .25rem .3rem; }
@media (max-width: 1279.98px) {
  .settlement-input { font-size: .8rem; }
  .settlement-input col.w-company { width: 10%; }
  .settlement-input col.w-product { width: 10%; }
  .settlement-input col.w-num { width: 10.5%; }
  .settlement-input col.w-memo { width: 8%; }
  .settlement-input col.w-check { width: 9%; }
  .settlement-input input.form-control { padding: .15rem .25rem; font-size: .78rem; }
  .settlement-input td { padding: .2rem .2rem; }
}
