/* artifacts/red-patrol/src/components/shared/ps-table.css */
.ps-table-wrap {
  border: 1px solid #DEDEE3;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.ps-table-wrap.ps-table-wrap--bare {
  border: 0;
  border-radius: 0;
}
.ps-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table.ps-table.ps-table {
  width: 100% !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
  font-size: 15px !important;
  border: 0 !important;
}
table.ps-table.ps-table > thead,
table.ps-table.ps-table > thead > tr {
  background: #FAFAFA !important;
  position: static;
}
table.ps-table.ps-table tr {
  border: 0 !important;
}
table.ps-table.ps-table > * > tr > :is(th, td).ps-c {
  border-left: 0 !important;
  border-right: 0 !important;
  border-top: 0 !important;
  box-shadow: none !important;
}
table.ps-table.ps-table > thead > tr > th.ps-c {
  background: #FAFAFA !important;
  color: #5F5F66 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  padding: 12px 16px !important;
  border-bottom: 1px solid #DEDEE3 !important;
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
}
table.ps-table.ps-table > :is(tbody, tfoot) > tr > td.ps-c {
  padding: 14px 16px !important;
  border-bottom: 1px solid #F0F0F2 !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-align: left !important;
  font-size: 15px !important;
  font-family: inherit;
}
table.ps-table.ps-table > :is(tbody, tfoot) > tr:last-child > td {
  border-bottom: 0 !important;
}
table.ps-table.ps-table > tbody > tr:hover {
  background: #FAFAFA !important;
}
table.ps-table.ps-table > * > tr > :is(th, td):first-child {
  padding-left: 20px !important;
}
table.ps-table.ps-table > * > tr > :is(th, td):last-child {
  padding-right: 20px !important;
}
table.ps-table.ps-table > * > tr > :is(th, td).ps-c.num {
  text-align: right !important;
  font-variant-numeric: tabular-nums;
}
table.ps-table.ps-table > * > tr > :is(th, td).ps-c.date {
  text-align: left !important;
  font-variant-numeric: tabular-nums;
}
table.ps-table.ps-table > * > tr > :is(th, td).ps-c.actions {
  text-align: right !important;
  overflow: visible !important;
}
table.ps-table.ps-table > * > tr > :is(th, td).ps-c.ps-select {
  padding-left: 16px !important;
  padding-right: 8px !important;
}
table.ps-table.ps-table td.empty,
table.ps-table .ps-empty-dash {
  color: #A1A1AA !important;
}
table.ps-table.ps-table td.ps-c > :is(div, p, span):not(.ps-menu) {
  text-align: inherit !important;
  justify-content: flex-start;
}
table.ps-table.ps-table td.num > :is(div, p, span) {
  justify-content: flex-end;
  margin-left: auto;
}
table.ps-table.ps-table td.ps-c > :is(div, p) {
  overflow: hidden;
  text-overflow: ellipsis;
}
table.ps-table.ps-table td.ps-c :is(.ps-sub, small) {
  display: block;
  color: #8A8A93;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
}
table.ps-table.ps-table td.actions > * {
  display: inline-flex;
  vertical-align: middle;
}
table.ps-table.ps-table td.ps-fullcell {
  white-space: normal !important;
  overflow: visible !important;
  padding: 14px 20px !important;
  border-left: 0 !important;
  border-right: 0 !important;
}
.ps-menu {
  position: relative;
  display: inline-flex;
}
.ps-menu-trigger {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #5F5F66;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.ps-menu-trigger:hover,
.ps-menu-trigger[aria-expanded=true] {
  background: #F0F0F2;
  color: #2B2B30;
}
.ps-menu-list {
  position: fixed;
  z-index: 60;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  padding: 6px;
  background: #fff;
  border: 1px solid #DEDEE3;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(30, 30, 40, .12);
  text-align: left;
  white-space: nowrap;
}
.ps-menu-list > * {
  justify-content: flex-start !important;
  width: 100%;
  text-align: left;
}
.ps-menu-list > :is(button, a) {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
}
.ps-menu-list > :is(button, a):hover {
  background: #F4F4F6;
}
@media (max-width: 767px) {
  table.ps-table.ps-table,
  table.ps-table.ps-table :is(thead, tbody, tfoot) {
    display: table-header-group;
  }
  table.ps-table.ps-table > tbody {
    display: table-row-group !important;
  }
  table.ps-table.ps-table > tfoot {
    display: table-footer-group !important;
  }
  table.ps-table.ps-table {
    display: table !important;
  }
  table.ps-table.ps-table tr {
    display: table-row !important;
  }
  table.ps-table.ps-table > * > tr > :is(th, td) {
    display: table-cell !important;
  }
  table.ps-table.ps-table td::before {
    content: none !important;
  }
}
.dark .ps-table-wrap {
  background: hsl(var(--card));
  border-color: hsl(var(--border));
}
.dark table.ps-table.ps-table > thead > tr > th.ps-c,
.dark table.ps-table.ps-table > thead {
  background: hsl(var(--muted)) !important;
  color: hsl(var(--muted-foreground)) !important;
  border-color: hsl(var(--border)) !important;
}
.dark table.ps-table.ps-table > :is(tbody, tfoot) > tr > td.ps-c {
  border-color: hsl(var(--border)) !important;
}
.dark table.ps-table.ps-table > tbody > tr:hover {
  background: hsl(var(--muted)) !important;
}
.dark .ps-menu-list {
  background: hsl(var(--popover));
  border-color: hsl(var(--border));
}
table.ps-table.ps-table td.ps-primary > .ps-main {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}
table.ps-table.ps-table td.ps-c > .ps-sub {
  display: block !important;
  margin-top: 2px;
  color: #8A8A93 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
table.ps-table.ps-table td.ps-c > .ps-sub * {
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}
.rp-ledger-split[data-detail-open=true] table.ps-table col.rp-ledger-hide-in-detail {
  display: table-column;
}
table.ps-table.ps-table,
table.ps-table.ps-table > * > tr > :is(th, td).ps-c {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "Segoe UI",
    system-ui,
    sans-serif !important;
  -webkit-font-smoothing: antialiased;
}
.ps-table-wrap {
  border-color: #E3E3E8;
  border-radius: 10px;
}
table.ps-table.ps-table > thead > tr > th.ps-c {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #6E6E73 !important;
  padding: 9px 12px !important;
  background: #F7F7F9 !important;
  vertical-align: bottom !important;
}
table.ps-table.ps-table > :is(tbody, tfoot) > tr > td.ps-c {
  font-size: 13.5px !important;
  line-height: 1.4 !important;
  padding: 8px 12px !important;
  color: #1D1D1F;
}
table.ps-table.ps-table > * > tr > :is(th, td):first-child {
  padding-left: 16px !important;
}
table.ps-table.ps-table > * > tr > :is(th, td):last-child {
  padding-right: 16px !important;
}
table.ps-table.ps-table > * > tr > :is(th, td).ps-c.num {
  text-align: right !important;
}
table.ps-table.ps-table > * > tr > :is(th, td).ps-c.date {
  text-overflow: clip !important;
  overflow: visible !important;
  white-space: nowrap !important;
}
table.ps-table.ps-table td.ps-c.date * {
  white-space: nowrap !important;
  text-overflow: clip !important;
  overflow: visible !important;
}
table.ps-table.ps-table > * > tr > td.ps-c.actions {
  white-space: nowrap !important;
  text-overflow: clip !important;
  overflow: visible !important;
}
table.ps-table.ps-table td.ps-c.actions > * {
  flex-wrap: nowrap;
  gap: 6px;
  max-width: none;
  justify-content: flex-end;
}
table.ps-table.ps-table td.ps-c.actions :is(button, a) {
  white-space: nowrap !important;
  flex-shrink: 0;
  min-height: 28px;
  font-size: 13px;
}
table.ps-table.ps-table td.ps-c.ps-status {
  text-overflow: clip !important;
}
table.ps-table.ps-table td.ps-c.ps-status :is(select, button, [role=combobox]) {
  max-width: 100%;
  font-size: 13px;
}
table.ps-table.ps-table td.ps-has-long {
  white-space: normal !important;
  text-overflow: clip !important;
}
.ps-long {
  display: block;
  min-width: 0;
}
.ps-long-body {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
  overflow-wrap: anywhere;
}
.ps-long-body * {
  white-space: normal !important;
}
.ps-long.is-open .ps-long-body {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
.ps-long-toggle {
  margin-top: 2px;
  padding: 0;
  border: 0;
  background: none;
  color: #0A66D6;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}
.ps-long-toggle:hover {
  text-decoration: underline;
}
.ps-long-toggle:focus-visible {
  outline: 2px solid #0A66D6;
  outline-offset: 2px;
  border-radius: 3px;
}
.dark .ps-long-toggle {
  color: #5AA2FF;
}
