.commerce-table .sort-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 34px;
  color: inherit;
  text-decoration: none;
}
.commerce-table thead th {
  padding-block: .28rem;
  background: #f1f3ed;
  color: #465548;
  vertical-align: middle;
  font-weight: 650;
  line-height: 1.25;
}
.commerce-table .sort-link:hover,
.commerce-table .sort-link:focus-visible,
.commerce-table th[aria-sort] { color: #214b32; }
.commerce-table .sort-link:focus-visible,
.table-pages a:focus-visible { outline: 2px solid #365f40; outline-offset: 2px; border-radius: 3px; }
.sort-mark { flex-shrink: 0; color: #667564; }
th[aria-sort] .sort-mark { color: #214b32; }
th[aria-sort=ascending] .sort-down, th[aria-sort=descending] .sort-up { visibility: hidden; }
.commerce-table .column-money, .commerce-table .column-number {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.commerce-table td.column-money, .commerce-table td.column-date { white-space: nowrap; }
.commerce-table .column-date, .commerce-table .column-code { font-variant-numeric: tabular-nums; }
.table-status { display:inline-block; padding:.22rem .58rem; border-radius:100px; font-size:.81rem; line-height:1.3; font-weight:600; }
.table-status.tone-positive { background:#e3eee3; color:#33523a; }
.table-status.tone-pending { background:#f6ecd8; color:#724f22; }
.table-status.tone-neutral { background:#edf0ed; color:#3b503f; }
.table-summary, .register .table-pages {
  display:flex; flex-wrap:wrap; align-items:center; gap:.65rem; margin:0;
  padding:.45rem 1rem; font-variant-numeric:tabular-nums; color:#4f6051;
}
.table-summary { justify-content:flex-end; border-bottom:1px solid #e1e5dc; }
.register .table-pages { justify-content:flex-end; border-top:1px solid #e1e5dc; }
.table-count { margin-inline-end:auto; }
.table-summary small, .register .table-pages small { font-size:var(--caption-size); line-height:1.4; }
.page-arrows { display:inline-flex; gap:.25rem; }
.page-arrow {
  display:inline-grid; place-items:center; width:32px; height:32px; border:1px solid #d0d8cc;
  border-radius:8px; background:white; color:#2e4c34; text-decoration:none; line-height:1;
  font-size:1.35rem;
}
a.page-arrow:hover { background:#eaf0e7; }
.page-arrow.unavailable { background:transparent; color:#8a9489; border-color:transparent; }
@media (max-width: 640px) {
  .table-summary, .register .table-pages { padding:.38rem .65rem; gap:.45rem; }
  .commerce-table .sort-link { gap:.2rem; }
}
.table-summary .page-arrow { font-size:1.15rem; }
@media (max-width: 720px), (pointer: coarse) {
  .page-arrow { width:var(--control-size); height:var(--control-size); }
}
.commerce-table thead th { font-size:.82rem; }
@media (max-width: 640px) {
  .public-register .commerce-table tr > :nth-child(n) { display:table-cell; width:auto; padding-inline:.38rem; }
  .public-register .commerce-table tr > :first-child { width:20%; }
  .public-register .commerce-table tr > :nth-child(2) { width:32%; }
  .public-register .commerce-table tr > :nth-child(3) { width:21%; }
  .public-register .commerce-table td.column-money { white-space:normal; }
}

.pos-visual:has(.reference-caption),.store-item a:has(.reference-caption) {position:relative}
.store-item>a:has(.reference-caption) {display:block}
.reference-caption {position:absolute;inset:auto .25rem .25rem auto;padding:.14rem .32rem;border-radius:.3rem;background:#fffffff2;color:#354336;font:500 .62rem/1.2 'DM Sans',sans-serif}

.customer-portrait {
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  margin-inline-end: .5rem;
}
