#archive-table-head [data-sort] {
  padding-inline-end: 13px;
  touch-action: pan-y;
  user-select: none;
}

#archive-table-scroll { scrollbar-gutter: stable; }

#archive-table-head .archive-column-width {
  position: absolute;
  inset: 0 0 0 auto;
  width: 10px;
  padding: 0;
  cursor: col-resize;
  touch-action: none;
  z-index: 1;
}

#archive-table-head .archive-column-width:hover,
#archive-table-head .archive-column-width:focus-visible {
  box-shadow: inset -2px 0 var(--accent-primary);
}

#archive-table-head .archive-drop-before { box-shadow: inset 3px 0 var(--accent-primary); }
#archive-table-head .archive-drop-after { box-shadow: inset -3px 0 var(--accent-primary); }
#archive-table-head.archive-column-dragging button { cursor: grabbing; }
#archive-table-head.archive-column-resizing button { cursor: col-resize; }

#archive-layout-reset[hidden] { display: none !important; }
.archive-layout-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.archive-table .c-customer:has(.archive-column-mail) { position: relative; padding-inline-end: 32px; }
.archive-column-mail {
  position: absolute;
  top: 50%;
  inset-inline-end: 4px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--accent-primary);
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  cursor: pointer;
}

#archive-table .archive-table-search .filter-input { padding-inline-end: 66px !important; }
#archive-table-filter-host .archive-advanced-filter-panel:not([hidden]) {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  position: static;
  padding: 6px 0;
}
#archive-table-filter-host .archive-advanced-filter-panel[hidden] { display: none !important; }
