div.style001 {
  background-color: #3494dc;
  border: 0px;
  color: white;
}

div.yellow {
  background-color: yellow;
}

td.yellow, td > .yellow {
  background-color: yellow;
}

.desc-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: default;
}

#desc-tooltip, #code-tooltip, #fscode-tooltip, #note-tooltip, #dd-code-tooltip, #dd-acct-tooltip {
  display: none;
  position: fixed;
  z-index: 9999;
  background: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  max-width: 420px;
  pointer-events: none;
  white-space: pre-wrap;
  word-break: break-word;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  line-height: 1.5;
}

div.noborder {
  style="border: 0px;
}

/* Financial Statement table */
.fs-section-header td {
  background: #e9ecef;
  color: #495057;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 5px 8px !important;
  border-top: 2px solid #adb5bd !important;
}
.fs-table tbody tr:not(.fs-section-header):hover td {
  background: #e2e6ea;
}
#fsDrilldownBody .table tbody tr:hover td,
#fsDrilldownBody2 .table tbody tr:hover td {
  background: #e2e6ea;
}
.cf-table-wrap {
  overflow-x: auto;
}
#cfBudgetSection table {
  border-collapse: separate !important;
  border-spacing: 0;
}
#cfBudgetSection table th,
#cfBudgetSection table td {
  border-right: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
}
#cfBudgetSection table thead th {
  border-top: 1px solid #dee2e6;
}
#cfBudgetSection table tr td:first-child,
#cfBudgetSection table tr th:first-child {
  border-left: 1px solid #dee2e6;
}
#cfBudgetSection .cf-row:hover td {
  background: #e2e6ea !important;
}
#cfBudgetSection .cf-subrow:hover td {
  background: #e4e4e4 !important;
}
#cfBudgetSection .cf-q1col {
  display: none;
}
.fs-totals {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 13px;
  min-width: 260px;
}
.fs-total-row {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 2px 0;
}
.fs-total-row--balance {
  border-top: 1px solid #dee2e6;
  margin-top: 4px;
  padding-top: 6px;
  font-weight: 700;
}
.fs-total-label { color: #555; }
.fs-total-val { font-family: monospace; font-weight: 600; }

#code-picker-popup {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  padding: 8px;
  min-width: 260px;
  max-width: 360px;
}
#code-picker-popup .cp-search {
  margin-bottom: 6px;
}
#code-picker-popup .cp-list {
  max-height: 260px;
  overflow-y: auto;
}
#code-picker-popup .cp-item {
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#code-picker-popup .cp-item:hover {
  background: #e8f0fe;
  color: #1a73e8;
}
#code-picker-popup .cp-item.cp-selected {
  background: #d2e3fc;
  color: #1a73e8;
  font-weight: 600;
}

table.kpitable td {
  padding: 10px;
  width: 120px;
}

/* KPI Clients v2 wrapper */
#kpi-clients-wrapper {
  overflow-x: auto;
  border: 1px solid #d0d7e4;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  margin-top: 8px;
}
#kpi-clients-wrapper table {
  margin: 0;
}
#kpi-clients-wrapper thead tr th:first-child {
  border-radius: 6px 0 0 0;
}
#kpi-clients-wrapper thead tr th:last-child {
  border-radius: 0 6px 0 0;
}

.bank-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}

.bank-page-size {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.bank-page-size select {
  width: auto;
  min-width: 72px;
}

.bank-balance {
  color: #3494dc;
  font-weight: 600;
  white-space: nowrap;
}

.bank-table-wrap {
  overflow-x: auto;
  border: 1px solid #d7dee8;
  border-radius: 4px;
  background: #fff;
}

.bank-table {
  font-size: 13px;
  table-layout: fixed;
  width: 1500px;
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.bank-table thead th {
  background: #eef2f6;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-bottom: 1px solid #d7dee8;
  white-space: nowrap;
  vertical-align: middle;
}

.bank-table tbody td {
  background: #fff;
}

.bank-table tbody tr:hover td {
  background: #f8fafc;
}

.bank-table tbody tr[name="hide_split"] td {
  background: #f5f5f5;
}

.bank-table th:nth-child(-n+3),
.bank-table td:nth-child(-n+3) {
  position: sticky;
  z-index: 2;
}

.bank-table thead th:nth-child(-n+3) {
  z-index: 4;
  background: #eef2f6;
}

.bank-table th:nth-child(1),
.bank-table td:nth-child(1) {
  left: 0;
  width: 70px;
  min-width: 70px;
  max-width: 70px;
}

.bank-table th:nth-child(2),
.bank-table td:nth-child(2) {
  left: 70px;
  width: 95px;
  min-width: 95px;
  max-width: 95px;
}

.bank-table th:nth-child(3),
.bank-table td:nth-child(3) {
  left: 165px;
}

.bank-table-wrap.is-all .bank-table th:nth-child(3),
.bank-table-wrap.is-all .bank-table td:nth-child(3) {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
}

.bank-table-wrap:not(.is-all) .bank-table th:nth-child(3),
.bank-table-wrap:not(.is-all) .bank-table td:nth-child(3) {
  width: 240px;
  min-width: 240px;
  max-width: 240px;
}

.bank-table-wrap.is-scrolled .bank-table th:nth-child(3),
.bank-table-wrap.is-scrolled .bank-table td:nth-child(3) {
  box-shadow: 6px 0 8px -4px rgba(15, 23, 42, 0.18);
}

.bank-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.bank-page-info {
  color: #64748b;
  font-size: 12px;
}

.bank-page-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.bank-page-btn {
  min-width: 32px;
  height: 30px;
  padding: 0 8px;
  border: 1px solid #d7dee8;
  border-radius: 6px;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.bank-page-btn:hover:not(:disabled):not(.is-active) {
  background: #f8fafc;
}

.bank-page-btn.is-active {
  background: #5f788a;
  border-color: #5f788a;
  color: #fff;
  cursor: default;
}

.bank-page-btn:disabled {
  opacity: .45;
  cursor: default;
}

.bank-page-ellipsis {
  color: #94a3b8;
  padding: 0 4px;
}
