/* Korovka CRM v195: owner warehouse presentation only.
   No arithmetic, API, click handler, DOM or data changes. */
#k184-overlay .k184-table-wrap {
  border: 1px solid #d9e4ef;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(20, 54, 89, .045);
  overflow: auto;
  overscroll-behavior: contain;
}
#k184-overlay .k186-table {
  width: 100%;
  min-width: 1000px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  color: #263b54;
}
#k184-overlay .k186-table th,
#k184-overlay .k186-table td {
  box-sizing: border-box;
  vertical-align: middle;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
#k184-overlay .k186-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 12px 9px;
  border-bottom: 1px solid #dce6f0;
  background: #eaf2f9;
  color: #315170;
  font-size: 11.5px;
  line-height: 1.3;
  font-weight: 750;
  letter-spacing: .005em;
  white-space: normal;
  overflow-wrap: normal;
}
#k184-overlay .k186-table tbody td {
  padding: 12px 9px;
  min-height: 43px;
  border-top: 0;
  border-bottom: 1px solid #e9eef5;
  font-size: 12.5px;
  line-height: 1.35;
  font-weight: 500;
  white-space: nowrap;
  text-align: right;
}
#k184-overlay .k186-table thead th:nth-child(1),
#k184-overlay .k186-table tbody td:nth-child(1) {width: 9%;text-align: left;}
#k184-overlay .k186-table thead th:nth-child(2),
#k184-overlay .k186-table tbody td:nth-child(2) {width: 15%;text-align: left;}
#k184-overlay .k186-table thead th:nth-child(3) {width: 12%;}
#k184-overlay .k186-table thead th:nth-child(4) {width: 9%;}
#k184-overlay .k186-table thead th:nth-child(5) {width: 9%;}
#k184-overlay .k186-table thead th:nth-child(6) {width: 8%;}
#k184-overlay .k186-table thead th:nth-child(7) {width: 8%;}
#k184-overlay .k186-table thead th:nth-child(8) {width: 7%;}
#k184-overlay .k186-table thead th:nth-child(9) {width: 13%;}
#k184-overlay .k186-table thead th:nth-child(10) {width: 10%;}
#k184-overlay .k186-table tbody td:nth-child(2) {
  white-space: normal;
  overflow-wrap: anywhere;
  font-weight: 600;
}
#k184-overlay .k186-table tbody tr:nth-child(even):not(.k186-payment-note):not(.k184-correction) td {
  background: #f9fbfe;
}
#k184-overlay .k186-table tbody tr:not(.k186-payment-note):not(.k184-correction):hover td {
  background: #eef5fd;
}
/* Editing remains available on clicking/focusing the full cell; pencil glyphs are removed. */
#k184-overlay .k187-click-cell::after,
#k184-overlay .k188-archive-cell::after {
  content: none !important;
  display: none !important;
}
#k184-overlay .k187-click-cell,
#k184-overlay .k188-archive-cell {
  cursor: pointer;
  text-decoration: none !important;
  text-underline-offset: initial;
  outline-offset: -3px;
}
#k184-overlay .k187-click-cell:focus-visible,
#k184-overlay .k188-archive-cell:focus-visible {
  outline: 2px solid #397bb6;
  background: #e6f1fe;
}
/* Sign follows warehouse ledger convention: minus = owner overpayment, plus = warehouse debt. */
#k184-overlay .k186-table tbody td.k186-overpaid,
#k184-overlay .k186-table tbody tr:nth-child(even) td.k186-overpaid,
#k184-overlay .k186-table tbody tr:hover td.k186-overpaid {
  color: #087346 !important;
  background: #e8f8ef !important;
  font-weight: 800;
}
#k184-overlay .k186-table tbody td.k186-due,
#k184-overlay .k186-table tbody tr:nth-child(even) td.k186-due,
#k184-overlay .k186-table tbody tr:hover td.k186-due {
  color: #b72836 !important;
  background: #fff0f0 !important;
  font-weight: 800;
}
#k184-overlay .k184-metric.k184-good {
  background: #edf9f2;
  border-color: #c6e8d4;
}
#k184-overlay .k184-metric.k184-good strong {color: #087346;}
#k184-overlay .k184-metric.k184-warn {
  background: #fff2f2;
  border-color: #f0c8ca;
}
#k184-overlay .k184-metric.k184-warn strong {color: #b72836;}
#k184-overlay .k184-panel .k184-muted,
#k184-overlay .k184-tip {color: #5f7287;line-height: 1.5;}
#k184-overlay .k186-payment-note td {
  background: #f1f6fc !important;
  color: #50677f;
  font-size: 11.5px;
  text-align: left !important;
}
@media(max-width:780px){
  #k184-overlay .k186-table {min-width: 1000px;}
  #k184-overlay .k186-table thead th {padding: 11px 8px;font-size: 11px;}
  #k184-overlay .k186-table tbody td {padding: 11px 8px;font-size: 12px;}
}
