/**/

/**/

/**/
[data-shell] .cxs-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

[data-shell] .cxs-tabs {
  display: flex;
  gap: var(--space-1);
  padding: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--hairline);
}

[data-shell] .cxs-tab {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--hit);
  margin-bottom: -1px;
  padding: 0 var(--space-3);
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--text-2);
  font: 500 var(--iox-fs-b)/1 var(--font-ui);
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

[data-shell] .cxs-tab:hover {
  color: var(--text-1);
}

[data-shell] .cxs-tab[aria-selected="true"] {
  border-bottom-color: var(--primary);
  color: var(--text-1);
  font-weight: 700;
}

[data-shell] .cxs-tab__count {
  min-width: 24px;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--surface-3);
  color: var(--text-2);
  font: 500 var(--iox-fs-s)/1.3 var(--font-mono);
  text-align: center;
}

[data-shell] .cxs-tab[aria-selected="true"] .cxs-tab__count {
  background: color-mix(in srgb, var(--primary) 18%, var(--surface-3));
  color: var(--text-1);
}

/**/

[data-shell] .cxs-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--hairline);
}

[data-shell] .cxs-filter {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--hit);
  padding: 0 var(--space-3);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-8);
  background: var(--surface-2);
  color: var(--text-1);
  font: 400 var(--iox-fs-b)/1 var(--font-ui);
  white-space: nowrap;
  cursor: pointer;
}

[data-shell] .cxs-filter:hover,
[data-shell] .cxs-filter[aria-expanded="true"] {
  background: var(--surface-3);
}

[data-shell] .cxs-filter__label {
  color: var(--text-2);
}

[data-shell] .cxs-filter__sep {
  width: 1px;
  height: 18px;
  background: var(--hairline-strong);
}

[data-shell] .cxs-filter__value {
  font-weight: 600;
}

[data-shell] .cxs-cols {
  margin-left: auto;
}

[data-shell] .cxs-selected {
  margin-left: var(--space-2);
  color: var(--text-2);
  font-size: var(--iox-fs-s);
}

/**/

[data-shell] .cxs-menu {
  position: fixed;
  z-index: 35;
  display: grid;
  gap: var(--space-1);
  min-width: 220px;
  max-width: calc(100vw - 16px);
  padding: 5px;
  border: 1px solid var(--glass-border);
  border-radius: 13px;
  background: var(--og-pop, var(--surface-1));
  -webkit-backdrop-filter: var(--og-blur, none);
  backdrop-filter: var(--og-blur, none);
  box-shadow: inset 0 1px 0 var(--og-hi, transparent), var(--shadow-pop);
  color: var(--text-1);
}

[data-shell] .cxs-menu[hidden] {
  display: none;
}

[data-shell] .cxs-menu__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  min-height: var(--hit);
  padding: 0 var(--space-3);
  border: 0;
  border-radius: var(--radius-8);
  background: transparent;
  color: var(--text-1);
  font: 500 var(--iox-fs-b)/1.2 var(--font-ui);
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

[data-shell] .cxs-menu__item:hover,
[data-shell] .cxs-menu__item:focus-visible {
  outline: none;
  background: var(--primary);
  color: var(--primary-ink);
}

[data-shell] .cxs-menu__item[aria-checked="true"] {
  font-weight: 600;
}

[data-shell] .cxs-menu__mark {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: none;
}

/**/

/**/
[data-shell] .cxs-wrap {
  background: transparent;
}

[data-shell] .cxs-wrap:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

[data-shell] .cxs-table {
  min-width: 880px;
}

/**/
[data-shell] .cxs-table th,
[data-shell] .cxs-table td {
  padding-left: 4px;
  padding-right: 4px;
}

[data-shell] .cxs-table[data-col-value="off"] [data-col="value"],
[data-shell] .cxs-table[data-col-days="off"] [data-col="days"],
[data-shell] .cxs-table[data-col-next="off"] [data-col="next"] {
  display: none;
}

/**/
[data-shell] .cxs-table th {
  height: 52px;
  vertical-align: bottom;
  padding-top: var(--space-1);
  padding-bottom: var(--space-1);
  line-height: 1.2;
}

[data-shell] .cxs-th-tracks {
  position: relative;
}

/**/
[data-shell] .cxs-th-tracks__legend {
  position: absolute;
  top: 4px;
  left: 4px;
  display: block;
  color: var(--text-3);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: normal;
  white-space: nowrap;
  pointer-events: none;
}

[data-shell] .cxs-table td {
  height: 48px;
}

[data-shell] .cxs-table .cxs-th-check,
[data-shell] .cxs-table .cxs-c-check {
  /**/
  width: 44px;
  min-width: 44px;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

/**/
[data-shell] .cxs-table .cxs-th-more,
[data-shell] .cxs-table .cxs-c-more {
  width: 44px;
  min-width: 44px;
  padding-left: 0;
  padding-right: 4px;
  box-sizing: content-box;
}

/**/
[data-shell] .cxs-table .cxs-c-block {
  padding-right: 8px;
}

[data-shell] .cxs-table .cxs-c-block .iox-chip {
  padding-left: 8px;
  padding-right: 8px;
}

[data-shell] .cxs-row {
  cursor: pointer;
}

[data-shell] .cxs-row:hover {
  background: color-mix(in srgb, var(--text-1) 4%, transparent);
}

[data-shell] .cxs-row:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

[data-shell] .cxs-table tbody tr.cxs-row[data-selected="true"] {
  background: color-mix(in srgb, var(--primary) 10%, transparent);
}

[data-shell] .cxs-table tbody tr.cxs-row[data-selected="true"] td:first-child {
  box-shadow: inset 3px 0 0 var(--primary);
}

[data-shell] .cxs-check {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-8);
  background: transparent;
  color: var(--primary-ink);
  cursor: pointer;
}

[data-shell] .cxs-check:disabled {
  opacity: .5;
  cursor: not-allowed;
}

[data-shell] .cxs-check__box {
  position: relative;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--hairline-strong);
  border-radius: 6px;
  background: var(--surface-2);
}

[data-shell] .cxs-check__box .iox-icon {
  width: 14px;
  height: 14px;
  stroke-width: 3;
  opacity: 0;
}

[data-shell] .cxs-check[aria-checked="true"] .cxs-check__box {
  border-color: var(--primary);
  background: var(--primary);
}

[data-shell] .cxs-check[aria-checked="true"] .cxs-check__box .iox-icon {
  opacity: 1;
}

[data-shell] .cxs-check[aria-checked="mixed"] .cxs-check__box {
  border-color: var(--primary);
  background: var(--primary);
}

[data-shell] .cxs-check[aria-checked="mixed"] .cxs-check__box::after {
  content: "";
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary-ink);
}

[data-shell] .cxs-client {
  gap: var(--space-3);
  margin-block: 0;
  padding: 0 var(--space-2);
  font-weight: 500;
}

[data-shell] .cxs-avatar {
  width: 32px;
  height: 32px;
}

[data-shell] .cxs-client__text {
  display: grid;
  line-height: 1.25;
}

[data-shell] .cxs-client__name {
  color: var(--text-1);
  font-size: var(--iox-fs-b);
  font-weight: 600;
}

[data-shell] .cxs-client__num {
  color: var(--text-2);
  font-size: var(--iox-fs-s);
  font-weight: 400;
}

[data-shell] .cxs-owner {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

[data-shell] .cxs-muted {
  color: var(--text-2);
}

[data-shell] .cxs-next {
  display: block;
  min-width: 200px;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-shell] .cxs-more {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-8);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
}

[data-shell] .cxs-more:hover,
[data-shell] .cxs-more[aria-expanded="true"] {
  background: var(--surface-3);
  color: var(--text-1);
}

[data-shell] .cxs-table td.cxs-empty {
  height: auto;
  padding: var(--space-6) var(--space-4);
  color: var(--text-2);
  white-space: normal;
}

[data-shell] .cxs-empty__text {
  margin-right: var(--space-3);
}

/**/

/**/
[data-shell] .cxs-tracks {
  display: flex;
  gap: 2px;
  width: 100%;
  min-width: 78px;
  max-width: 132px;
}

[data-shell] .cxs-tracks .iox-track {
  flex: 1 1 0;
  min-width: 12px;
  max-width: 22px;
  height: 22px;
}

[data-shell] .cxs-tracks .iox-track .iox-icon {
  width: 10px;
  height: 10px;
}

[data-shell] .cxs-tracks .iox-track[data-state="current"] {
  border-color: var(--info);
  background: color-mix(in srgb, var(--info) 16%, var(--surface-2));
  color: var(--info-ink);
}

[data-shell] .cxs-tracks .iox-track[data-state="waiting"] {
  border-color: var(--warning);
  background: color-mix(in srgb, var(--warning) 16%, var(--surface-2));
  color: var(--warning-ink);
}

[data-shell] .cxs-tracks .iox-track[data-state="blocked"],
[data-shell] .cxs-tracks .iox-track[data-state="declined"] {
  border-color: var(--danger);
  background: color-mix(in srgb, var(--danger) 16%, var(--surface-2));
  color: var(--danger-ink);
}

/**/
@media (min-width: 1200px) {
  [data-shell] .cxs-tracks {
    min-width: 76px;
  }

  [data-shell] .cxs-tracks .iox-track {
    min-width: 11px;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  [data-shell] .cxs-tracks .iox-track .iox-icon {
    width: 8px;
    height: 8px;
  }

  [data-shell] .cxs-next {
    min-width: 0;
    max-width: 100%;
  }

  /**/
  [data-shell] .cxs-table {
    width: 100%;
    min-width: 0;
  }

  [data-shell] .cxs-table thead th:nth-child(2) { min-width: 150px; }
  [data-shell] .cxs-table thead th:nth-child(3) { min-width: 136px; }
  [data-shell] .cxs-table thead th:nth-child(4) { min-width: 150px; }
  [data-shell] .cxs-table thead th:nth-child(5) { min-width: 150px; }
  [data-shell] .cxs-table thead th:nth-child(6) { min-width: 128px; }
  [data-shell] .cxs-table thead th:nth-child(7) { min-width: 92px; }
  [data-shell] .cxs-table thead th:nth-child(8) { min-width: 78px; }
  [data-shell] .cxs-table thead th:nth-child(9) { min-width: 120px; }

  /**/
  [data-shell] .cxs-table .cxs-c-next {
    width: 100%;
    max-width: 0;
    min-width: 120px;
    overflow: hidden;
  }
}

@media (min-width: 1440px) {
  [data-shell] .cxs-table thead th:nth-child(9) { min-width: 150px; }

  [data-shell] .cxs-table .cxs-c-next {
    min-width: 150px;
  }
}

/**/

/**/
@media (min-width: 431px) {
  /**/
  [data-shell] .shx-content:has(.shx-view[data-view="cases"]:not([hidden])) {
    padding-bottom: 0;
  }

  [data-shell] .cxs-foot {
    padding-bottom: var(--aquis-clearance);
  }

  [data-shell] .cxs-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  [data-shell] .cxs-wrap {
    flex: 1 1 auto;
    min-height: 0;
  }
}

[data-shell] .cxs-foot {
  margin-top: auto;
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--surface-1);
}

[data-shell] .cxs-stat {
  padding: var(--space-3) var(--space-4);
  border-left: 1px solid var(--hairline-strong);
  color: var(--text-2);
  font-size: var(--iox-fs-b);
}

[data-shell] .cxs-stat:first-child {
  border-left: 0;
}

[data-shell] .cxs-stat__num {
  color: var(--text-1);
  font-size: 18px;
  font-weight: 500;
}

@media (max-width: 880px) {
  [data-shell] .cxs-foot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  [data-shell] .cxs-stat:nth-child(odd) {
    border-left: 0;
  }

  [data-shell] .cxs-stat:nth-child(n + 3) {
    border-top: 1px solid var(--hairline);
  }
}

/**/
@media (max-width: 820px) {
  [data-shell] .cxs-table {
    min-width: 1080px;
  }

  /**/
  [data-shell] .cxs-table .cxs-th-tracks {
    min-width: 320px;
  }

  [data-shell] .cxs-th-tracks__legend {
    position: static;
    white-space: normal;
    pointer-events: auto;
  }
}

@media (max-width: 430px) {
  /**/
  [data-shell] .cxs-foot {
    position: static;
  }

  [data-shell] .cxs-table {
    min-width: 1060px;
  }

  /**/
  [data-shell] .cxs-table .cxs-c-stage,
  [data-shell] .cxs-table thead th:nth-child(3) {
    min-width: 148px;
  }

  [data-shell] .cxs-table .cxs-c-block,
  [data-shell] .cxs-table thead th:nth-child(5) {
    min-width: 180px;
  }

  [data-shell] .cxs-table .cxs-c-stage .iox-chip,
  [data-shell] .cxs-table .cxs-c-block .iox-chip {
    max-width: none;
    white-space: nowrap;
  }

  /**/
  [data-shell] .cxs-table .cxs-th-check,
  [data-shell] .cxs-table .cxs-c-check,
  [data-shell] .cxs-table .cxs-th-more,
  [data-shell] .cxs-table .cxs-c-more {
    width: 48px;
    min-width: 48px;
  }

  [data-shell] .cxs-check,
  [data-shell] .cxs-more {
    width: 48px;
    height: 48px;
  }

  [data-shell] .cxs-cols {
    margin-left: 0;
  }

  [data-shell] .cxs-tabs {
    padding: 0 var(--space-2);
  }

  [data-shell] .cxs-th-tracks__legend {
    font-size: 15px;
  }
}

/**/
@media (max-width: 768px) {
  [data-shell] .cxs-card {
    border-radius: 20px;
    min-height: 0;
    height: auto;
  }
  [data-shell] .cxs-foot {
    position: static;
    padding-bottom: 0 !important;
    margin-top: 8px;
  }
  [data-shell] .cxs-tabs {
    padding: 0 var(--space-2);
    gap: 6px;
  }
  [data-shell] .cxs-tab {
    border-radius: 999px;
    min-height: 38px;
  }
  [data-shell] .cxs-tracks .iox-track .iox-icon {
    width: 12px;
    height: 12px;
    flex: none;
  }
  [data-shell] .cxs-check,
  [data-shell] .cxs-more {
    min-width: 44px;
    min-height: 44px;
    border-radius: 999px;
  }
}
