/* Shared presentation for the main operational registers. */
:is(.ow-register .ow-table-wrap, .commerce-workspace .cw-table-wrap, .cw-stock-workspace .cw-stock-table-wrap, .sales-workspace .sales-table-wrap, .ct-registry .ct-table-scroll) {
  border: 0;
  border-radius: 0;
  max-width: 100%;
}

:is(.ow-register .ow-table-wrap, .commerce-workspace .cw-table-wrap, .cw-stock-workspace .cw-stock-table-wrap, .sales-workspace .sales-table-wrap, .ct-registry .ct-table-scroll) table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  text-align: left;
}

:is(.ow-register .ow-table-wrap, .commerce-workspace .cw-table-wrap, .cw-stock-workspace .cw-stock-table-wrap, .sales-workspace .sales-table-wrap, .ct-registry .ct-table-scroll) thead th {
  color: #536277;
  background: #f6f8fb;
  border-bottom: 1px solid #dce3ed;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
}

:is(.ow-register .ow-table-wrap, .commerce-workspace .cw-table-wrap, .cw-stock-workspace .cw-stock-table-wrap, .sales-workspace .sales-table-wrap, .ct-registry .ct-table-scroll) tbody td {
  border-bottom: 1px solid #e7ebf1;
  line-height: 1.45;
}

:is(.ow-register .ow-table-wrap, .commerce-workspace .cw-table-wrap, .cw-stock-workspace .cw-stock-table-wrap, .sales-workspace .sales-table-wrap, .ct-registry .ct-table-scroll) tbody tr:hover {
  background: #f4f7fc;
}

.ow-register .ow-table :is(th, td):first-child {
  padding-left: 0;
}

.ow-register .ow-table small {
  color: #68778a;
  font-size: 11px;
}

.ow-register .ow-comment {
  color: #627187;
  font-size: 12px;
}

.ow-register .ow-badge {
  font-size: 11px;
}

/* Dense stock columns retain readable headings without clipping. */
.cw-stock-workspace .cw-stock-table-wrap thead th {
  font-size: 10px;
  letter-spacing: 0;
  padding-left: 4px;
  padding-right: 4px;
}

/* Keep words intact where the counterparty register can scroll horizontally. */
.ct-workspace .ct-registry .ct-table-scroll td {
  overflow-wrap: break-word;
}

/* Order status navigation must be readable and show the active filter clearly. */
.ow-register .ow-status-tabs > button {
  color: #34445c;
  font-size: 14px;
  font-weight: 600;
  min-height: 44px;
  padding: 12px 14px;
}

.ow-register .ow-status-tabs > button:hover {
  color: #2448c9;
  background: #f3f6ff;
}

.ow-register .ow-status-tabs > button.active {
  color: #2448c9;
  border-bottom-width: 3px;
  background: #f2f5ff;
}

.ow-register .ow-status-tabs > button:focus-visible {
  outline: 2px solid #345cff;
  outline-offset: -3px;
}

.ow-register .ow-status-tabs select {
  color: #34445c;
  font-size: 13px;
}

.ow-card-header .ow-card-date {
  font-size: 15px;
  font-weight: 500;
  color: #536277;
}

.ow-card-header .ow-card-manager {
  color: #536277;
  font-size: 13px;
  margin: 8px 0;
}

.ow-card-header .ow-card-manager strong {
  color: #263348;
}
