/* Payroll demo (#payroll-demo) and roster import demo (#roster-demo) */
.pxs {
  position: relative;
  padding: 110px 0 110px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #0b0c14
}

.pxs .pw {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px
}

.pxs .pk {
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #2f6bff;
  font-weight: 600;
  text-align: center
}

.pxs h2 {
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 700;
  text-align: center;
  margin: 18px auto 18px;
  max-width: 960px
}

.pxs h2 .g {
  background: linear-gradient(100deg, #2f6bff, #6d5cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.pxs .pl {
  font-size: 18px;
  line-height: 1.6;
  color: #6b6b76;
  text-align: center;
  max-width: 680px;
  margin: 0 auto
}

.pxs .steps {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 44px auto 18px
}

.pxs .st {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: rgba(255, 255, 255, .75);
  border-radius: 99px;
  padding: 8px 16px 8px 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color .25s, color .25s, background .25s
}

.pxs .st .n {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eef0f5;
  font-size: 12.5px;
  font-weight: 800;
  color: #666;
  transition: background .25s, color .25s
}

.pxs .st.on {
  border-color: rgba(47, 107, 255, .45);
  color: #0b0c14;
  background: #fff
}

.pxs .st.on .n {
  background: #2f6bff;
  color: #fff
}

.pxs .st.dn .n {
  background: #19c37d;
  color: #fff
}

.pxs .st .pb {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #2f6bff, #6d5cff)
}

.pxs .win {
  max-width: 1060px;
  margin: 0 auto;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 60px 110px -50px rgba(20, 30, 90, .45), 0 0 0 1px rgba(0, 0, 0, .06);
  overflow: hidden
}

.pxs .bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: #f4f5f8;
  border-bottom: 1px solid #eceef3
}

.pxs .bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e2e4ea
}

.pxs .bar i:nth-child(1) {
  background: #ff5f57
}

.pxs .bar i:nth-child(2) {
  background: #febc2e
}

.pxs .bar i:nth-child(3) {
  background: #28c840
}

.pxs .bar span {
  margin-left: 14px;
  font-size: 12.5px;
  color: #8a8a95;
  background: #fff;
  border-radius: 8px;
  padding: 5px 12px;
  flex: 1;
  max-width: 420px
}

.pxs .body {
  position: relative;
  height: 500px;
  overflow: hidden
}

.pxs .pane {
  position: absolute;
  inset: 0;
  padding: 26px 28px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s, transform .55s cubic-bezier(.2, .7, .2, 1);
  pointer-events: none;
  overflow: hidden
}

.pxs .pane.on {
  opacity: 1;
  transform: none;
  pointer-events: auto
}

.pxs .ph {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 16px
}

.pxs .ph h4 {
  font-size: 20px;
  letter-spacing: -.02em
}

.pxs .ph small {
  display: block;
  font-size: 13px;
  color: #7a7a85;
  margin-top: 3px;
  font-weight: 500
}

.pxs .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 99px;
  background: #eef3ff;
  color: #2f6bff;
  white-space: nowrap
}

.pxs .chip.g {
  background: rgba(25, 195, 125, .12);
  color: #0e9a62
}

.pxs .chip.r {
  background: rgba(255, 69, 58, .1);
  color: #d1271c
}

.pxs .chip.a {
  background: rgba(255, 159, 10, .13);
  color: #b06a00
}

/* drop zone */
.pxs .drop {
  position: relative;
  height: 250px;
  border: 2px dashed #cfd6e6;
  border-radius: 18px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #7a7a85;
  font-size: 14.5px;
  transition: border-color .3s, background .3s
}

.pxs .drop.hot {
  border-color: #2f6bff;
  background: rgba(47, 107, 255, .04)
}

.pxs .drop b {
  display: block;
  font-size: 17px;
  color: #0b0c14;
  margin-bottom: 4px
}

.pxs .file {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 40px -18px rgba(20, 30, 90, .45);
  border: 1px solid #eceef3;
  font-size: 14px;
  font-weight: 600;
  left: 50%;
  top: -30px;
  transform: translate(-50%, -40px) rotate(-4deg);
  opacity: 0;
  transition: transform .9s cubic-bezier(.3, 1.2, .5, 1), opacity .4s
}

.pxs .file.in {
  opacity: 1;
  transform: translate(-50%, 95px) rotate(0)
}

.pxs .file .x {
  width: 34px;
  height: 40px;
  border-radius: 7px;
  background: #1f9d55;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800
}

.pxs .file small {
  display: block;
  font-size: 12px;
  color: #7a7a85;
  font-weight: 500
}

.pxs .prog {
  height: 8px;
  border-radius: 8px;
  background: #eef0f5;
  overflow: hidden;
  margin-top: 18px
}

.pxs .prog i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #2f6bff, #6d5cff);
  transition: width .25s linear
}

.pxs .facts {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap
}

.pxs .fact {
  flex: 1;
  min-width: 150px;
  border-radius: 14px;
  background: #f6f7fb;
  padding: 12px 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: .45s
}

.pxs .fact.on {
  opacity: 1;
  transform: none
}

.pxs .fact b {
  display: block;
  font-size: 22px;
  letter-spacing: -.02em
}

.pxs .fact small {
  font-size: 12.5px;
  color: #7a7a85
}

/* tables */
.pxs table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13.5px
}

.pxs th {
  text-align: left;
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #8a8a95;
  font-weight: 700;
  padding: 8px 10px;
  border-bottom: 1px solid #eceef3;
  background: #fafbfd;
  position: sticky;
  top: 0
}

.pxs td {
  padding: 9px 10px;
  border-bottom: 1px solid #f1f2f6;
  font-variant-numeric: tabular-nums;
  transition: background .3s
}

.pxs td.r,
.pxs th.r {
  text-align: right
}

.pxs tr.calc td {
  background: rgba(47, 107, 255, .05)
}

.pxs tr.bad td {
  background: rgba(255, 69, 58, .07)
}

.pxs tr.warn td {
  background: rgba(255, 159, 10, .08)
}

.pxs tr.fix td {
  background: rgba(25, 195, 125, .08)
}

.pxs .tot {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 14px
}

.pxs .tot div {
  border-radius: 12px;
  background: #f6f7fb;
  padding: 10px 12px
}

.pxs .tot b {
  display: block;
  font-size: 17px;
  font-variant-numeric: tabular-nums
}

.pxs .tot small {
  font-size: 11.5px;
  color: #7a7a85
}

.pxs .tot .net {
  background: #0b0c14;
  color: #fff
}

.pxs .tot .net small {
  color: #a3a6b4
}

/* issues */
.pxs .iss {
  display: flex;
  flex-direction: column;
  gap: 9px
}

.pxs .is {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
  border: 1px solid #f1d4d2;
  background: #fff7f6;
  padding: 12px 14px;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity .4s, transform .4s, background .4s, border-color .4s
}

.pxs .is.on {
  opacity: 1;
  transform: none
}

.pxs .is .ic {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ff453a;
  color: #fff;
  font-weight: 800;
  flex: none;
  transition: background .3s
}

.pxs .is b {
  display: block;
  font-size: 14.5px
}

.pxs .is small {
  font-size: 12.5px;
  color: #7a7a85
}

.pxs .is .fx {
  margin-left: auto;
  border: 0;
  border-radius: 10px;
  background: #0b0c14;
  color: #fff;
  font-weight: 600;
  font-size: 12.5px;
  font-family: inherit;
  padding: 8px 13px;
  white-space: nowrap
}

.pxs .is.ok {
  border-color: #c9ecd9;
  background: #f3fbf6
}

.pxs .is.ok .ic {
  background: #19c37d
}

.pxs .is.ok .fx {
  background: #19c37d
}

.pxs .scanl {
  height: 3px;
  border-radius: 3px;
  background: #eef0f5;
  overflow: hidden;
  margin: 0 0 14px
}

.pxs .scanl i {
  display: block;
  height: 100%;
  width: 0;
  background: #ff9f0a;
  transition: width .3s linear
}

.pxs .done {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 16px;
  background: #0b0c14;
  color: #fff;
  padding: 16px 18px;
  margin-top: 14px;
  opacity: 0;
  transition: opacity .5s
}

.pxs .done.on {
  opacity: 1
}

.pxs .done .ic {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #19c37d;
  display: grid;
  place-items: center;
  font-weight: 800;
  flex: none
}

.pxs .dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 16px
}

.pxs .dl div {
  border-radius: 14px;
  border: 1px solid #eceef3;
  padding: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: .45s
}

.pxs .dl div.on {
  opacity: 1;
  transform: none
}

.pxs .dl b {
  display: block;
  font-size: 14px;
  margin-top: 8px
}

.pxs .dl small {
  font-size: 12px;
  color: #7a7a85
}

.pxs .dl .fi {
  width: 34px;
  height: 40px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 10.5px;
  font-weight: 800;
  color: #fff;
  background: #1f9d55
}

.pxs .phn {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap
}

.pxs .pp {
  flex: 1;
  min-width: 150px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 14px;
  background: #f6f7fb;
  padding: 11px 13px;
  font-size: 13px;
  opacity: 0;
  transition: .4s
}

.pxs .pp.on {
  opacity: 1
}

.pxs .pp i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eef3ff;
  color: #2f6bff;
  font-style: normal;
  font-weight: 800;
  font-size: 11px
}

/* roster grid */
.pxs .rgrid td,
.pxs .rgrid th {
  text-align: center
}

.pxs .rgrid td:first-child,
.pxs .rgrid th:first-child {
  text-align: left;
  font-weight: 600
}

.pxs .cell {
  display: inline-block;
  min-width: 62px;
  padding: 4px 6px;
  border-radius: 8px;
  transition: background .3s, color .3s
}

.pxs .cell.off {
  color: #9a9aa5;
  font-weight: 600
}

.pxs .cell.ed {
  background: #fff4cc;
  box-shadow: 0 0 0 2px #f5c542 inset
}

.pxs .cell.split {
  background: #eef3ff;
  color: #2f6bff;
  font-weight: 600
}

.pxs .cell.night {
  background: #efeafe;
  color: #6d5cff;
  font-weight: 600
}

.pxs .cell.err {
  background: rgba(255, 69, 58, .12);
  color: #d1271c;
  font-weight: 700
}

.pxs .cell .car {
  display: inline-block;
  width: 1.5px;
  height: 14px;
  background: #0b0c14;
  vertical-align: -2px;
  animation: pxc 1s steps(2) infinite
}

@keyframes pxc {
  50% {
    opacity: 0
  }
}

.pxs .rk {
  width: 22px
}

.pxs .rk span {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  opacity: 0;
  transform: scale(.4);
  transition: .3s
}

.pxs .rk span.ok {
  background: #19c37d;
  opacity: 1;
  transform: none
}

.pxs .rk span.bad {
  background: #ff453a;
  opacity: 1;
  transform: none
}

.pxs .xl {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #7a7a85;
  margin-bottom: 10px
}

.pxs .xl b {
  color: #1f9d55
}

.pxs .msg {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 7px
}

.pxs .msg div {
  font-size: 13px;
  border-radius: 10px;
  padding: 9px 12px;
  opacity: 0;
  transition: opacity .4s
}

.pxs .msg div.on {
  opacity: 1
}

.pxs .msg .e {
  background: #fff4f3;
  color: #b3261e
}

.pxs .msg .i {
  background: #f4f1ff;
  color: #5b47e0
}

.pxs .msg .s {
  background: #f1faf5;
  color: #0e7a4e
}

.pxs .foot {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  font-size: 14px;
  color: #555
}

.pxs .foot span:before {
  content: "✓";
  color: #19c37d;
  font-weight: 800;
  margin-right: 6px
}

html[data-theme=dark] .pxs {
  color: #f2f3f7
}

html[data-theme=dark] .pxs .pl {
  color: #a3a6b4
}

html[data-theme=dark] .pxs .foot {
  color: #c9ccd8
}

html[data-theme=dark] .pxs .st {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .1);
  color: #c9ccd8
}

html[data-theme=dark] .pxs .st.on {
  background: rgba(255, 255, 255, .1);
  color: #fff
}

html[data-theme=dark] .pxs .win {
  color: #0b0c14
}

@media(max-width:860px) {
  .pxs .body {
    height: 640px
  }

  .pxs .tot {
    grid-template-columns: repeat(2, 1fr)
  }

  .pxs .dl {
    grid-template-columns: repeat(2, 1fr)
  }

  .pxs .hm {
    display: none
  }

  .pxs .pane {
    padding: 18px 14px
  }

  .pxs table {
    font-size: 12px
  }

  .pxs .cell {
    min-width: 40px;
    padding: 3px 3px
  }

  .pxs .rgrid {
    display: block;
    overflow-x: auto;
    white-space: nowrap
  }

  .pxs .ph {
    flex-wrap: wrap
  }
}