.ci-table-wrap {
  position: absolute; inset: 10px; overflow: auto; background: #fff; border-radius: 12px;
  border: 1px solid var(--line); box-shadow: var(--shadow); z-index: 2;
}
.ci-table-wrap[hidden] { display: none; }
.ci-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ci-table th {
  position: sticky; top: 0; background: var(--surface-2); color: var(--ink-2); font-size: 12px; font-weight: 700;
  text-align: end; padding: 9px 10px; border-bottom: 1px solid var(--line-strong); white-space: nowrap;
}
.ci-table td { text-align: end; padding: 6px 10px; border-bottom: 1px solid var(--line); font-family: var(--mono); white-space: nowrap; color: var(--ink); }
.ci-table th:first-child, .ci-table td:first-child { text-align: center; }
.ci-table tbody tr:nth-child(even) td { background: #fafbfe; }
.ci-table tr.total td { font-weight: 700; background: var(--subject-soft); }
.ci-input {
  width: 100%; height: 38px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line-strong);
  font: 600 15px var(--mono); color: var(--ink); background: var(--surface); text-align: center; direction: ltr;
}
