/* One check-in (#ocx), end to end (#e2x), employee records (#rcx) */
.lx {
  position: relative;
  padding: 110px 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #0b0c14
}

.lx .xw {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px
}

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

.lx 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
}

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

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

.lx .card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 50px 100px -50px rgba(20, 30, 90, .4), 0 0 0 1px rgba(0, 0, 0, .05)
}

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

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

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

html[data-theme=dark] .lx .xl {
  color: #a3a6b4
}

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

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

/* ---------- one check-in ---------- */
#ocx .og {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 40px;
  align-items: center;
  margin-top: 56px
}

#ocx .kio {
  width: min(300px, 100%);
  margin: 0 auto;
  aspect-ratio: 3/4;
  border-radius: 30px;
  background: #111318;
  padding: 12px;
  box-shadow: 0 50px 100px -40px rgba(20, 30, 90, .6)
}

#ocx .ks {
  height: 100%;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 35%, #16204a, #07080f 75%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  position: relative;
  overflow: hidden
}

#ocx .fid {
  width: 110px;
  height: 110px;
  color: #5b8cff;
  transition: color .4s;
  position: relative
}

#ocx .fid svg {
  width: 100%;
  height: 100%;
  overflow: visible
}

#ocx .fid path,
#ocx .fid circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round
}

#ocx .fid .cr {
  transform-box: view-box;
  transform-origin: 50px 50px;
  transition: transform .5s, opacity .4s;
  animation: ocb .8s ease-in-out infinite alternate
}

@keyframes ocb {
  to {
    transform: scale(.9)
  }
}

#ocx .fid .ft {
  transition: opacity .3s
}

#ocx .fid .okc {
  stroke-dasharray: 190;
  stroke-dashoffset: 190;
  transform-box: view-box;
  transform-origin: 50px 50px;
  transform: rotate(-90deg)
}

#ocx .fid .okk {
  stroke-dasharray: 60;
  stroke-dashoffset: 60
}

#ocx .ks.ok .fid {
  color: #30d158
}

#ocx .ks.ok .fid .cr {
  animation: none;
  opacity: 0;
  transform: scale(1.15)
}

#ocx .ks.ok .fid .ft {
  opacity: 0
}

#ocx .ks.ok .fid .okc {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset .6s
}

#ocx .ks.ok .fid .okk {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset .35s .45s
}

#ocx .beam {
  position: absolute;
  left: 12%;
  right: 12%;
  height: 2px;
  top: 10%;
  background: linear-gradient(90deg, transparent, #8fb0ff, transparent);
  box-shadow: 0 0 12px #5b8cff;
  animation: ocbm 1.1s ease-in-out infinite alternate
}

@keyframes ocbm {
  to {
    top: 88%
  }
}

#ocx .ks.ok .beam {
  opacity: 0
}

#ocx .kt {
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  min-height: 44px
}

#ocx .kt small {
  display: block;
  font-size: 12.5px;
  color: #9aa3c7;
  font-weight: 500;
  margin-top: 3px
}

#ocx .items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px
}

#ocx .it {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(0, 0, 0, .06);
  opacity: .35;
  transform: translateX(10px);
  transition: opacity .4s, transform .45s cubic-bezier(.3, 1.3, .5, 1), background .4s, box-shadow .4s
}

#ocx .it.on {
  opacity: 1;
  transform: none;
  background: #fff;
  box-shadow: 0 14px 30px -20px rgba(20, 30, 90, .4)
}

#ocx .it .ic {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #eef0f5;
  flex: none;
  transition: background .3s
}

#ocx .it .ic svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #8a8a95;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round
}

#ocx .it.on .ic {
  background: #19c37d
}

#ocx .it.on .ic svg {
  stroke: #fff
}

#ocx .it b {
  display: block;
  font-size: 14.5px
}

#ocx .it small {
  font-size: 12.5px;
  color: #7a7a85
}

#ocx .cnt {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #0b0c14;
  color: #fff;
  font-weight: 700
}

#ocx .cnt b {
  font-size: 26px;
  font-variant-numeric: tabular-nums
}

#ocx .cnt .pb {
  flex: 1;
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden
}

#ocx .cnt .pb i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #30d158, #5eead4);
  transition: width .35s
}

/* ---------- end to end ---------- */
#e2x .eg {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 36px;
  align-items: start;
  margin-top: 56px
}

#e2x .st {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative
}

#e2x .st:before {
  content: "";
  position: absolute;
  left: 22px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: #e3e6ee
}

#e2x .sb {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 0;
  background: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  padding: 7px 10px 7px 4px;
  border-radius: 14px;
  transition: background .3s
}

#e2x .sb .n {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid #e3e6ee;
  font-size: 12.5px;
  font-weight: 800;
  color: #8a8a95;
  transition: all .35s;
  flex: none
}

#e2x .sb b {
  font-size: 15.5px;
  color: #666;
  transition: color .3s
}

#e2x .sb small {
  display: block;
  font-size: 12.5px;
  color: #9a9aa5
}

#e2x .sb.dn .n {
  background: #19c37d;
  border-color: #19c37d;
  color: #fff
}

#e2x .sb.on {
  background: rgba(255, 255, 255, .75)
}

#e2x .sb.on .n {
  background: #2f6bff;
  border-color: #2f6bff;
  color: #fff;
  box-shadow: 0 0 0 7px rgba(47, 107, 255, .14)
}

#e2x .sb.on b {
  color: #0b0c14
}

#e2x .sb .pg {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #2f6bff, #6d5cff);
  border-radius: 2px
}

#e2x .dv {
  position: sticky;
  top: 110px;
  padding: 26px;
  min-height: 470px;
  overflow: hidden
}

#e2x .dv .lbl {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  color: #2f6bff;
  text-transform: uppercase
}

#e2x .dv h3 {
  font-size: 28px;
  letter-spacing: -.03em;
  margin: 6px 0 6px
}

#e2x .dv p {
  font-size: 15px;
  color: #6b6b76;
  line-height: 1.55;
  margin-bottom: 18px
}

#e2x .mock {
  border-radius: 18px;
  background: #f6f7fb;
  padding: 16px;
  min-height: 250px;
  position: relative
}

#e2x .mock>* {
  animation: e2i .5s cubic-bezier(.3, 1.3, .5, 1) backwards
}

@keyframes e2i {
  from {
    opacity: 0;
    transform: translateY(10px)
  }
}

#e2x .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13.5px;
  margin-bottom: 8px
}

#e2x .row small {
  color: #8a8a95
}

#e2x .tag {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 99px;
  white-space: nowrap
}

#e2x .tg {
  background: rgba(25, 195, 125, .12);
  color: #0e9a62
}

#e2x .tb {
  background: rgba(47, 107, 255, .1);
  color: #2f6bff
}

#e2x .ta {
  background: rgba(255, 159, 10, .14);
  color: #b06a00
}

#e2x .tv {
  background: rgba(109, 92, 255, .12);
  color: #5b47e0
}

#e2x .wk {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 8px
}

#e2x .wk div {
  background: #fff;
  border-radius: 10px;
  padding: 8px 4px;
  text-align: center;
  font-size: 12px;
  font-weight: 700
}

#e2x .wk small {
  display: block;
  font-size: 10.5px;
  color: #8a8a95;
  font-weight: 600
}

#e2x .big {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.03em
}

#e2x .bar {
  height: 10px;
  border-radius: 10px;
  background: #e6e9f2;
  overflow: hidden;
  margin: 8px 0
}

#e2x .bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #2f6bff, #6d5cff);
  border-radius: 10px;
  animation: e2b 1.2s .3s forwards
}

@keyframes e2b {
  to {
    width: var(--w)
  }
}

#e2x .face {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #0b0c14;
  color: #fff;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 8px
}

#e2x .face .ok {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #30d158;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
  flex: none
}

/* ---------- records ---------- */
#rcx .rg {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-top: 56px
}

#rcx .pn {
  padding: 20px;
  min-height: 400px;
  position: relative;
  overflow: hidden
}

#rcx .pn h5 {
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8a8a95;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between
}

#rcx .who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px
}

#rcx .av {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f6bff, #6d5cff);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800
}

#rcx .who b {
  display: block;
  font-size: 17px
}

#rcx .who small {
  font-size: 12.5px;
  color: #7a7a85
}

#rcx .vb {
  margin-left: auto;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 99px;
  background: #eef0f5;
  color: #8a8a95;
  transition: all .4s
}

#rcx .vb.on {
  background: #19c37d;
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(25, 195, 125, .8)
}

#rcx .ck {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid #f0f1f5;
  opacity: .4;
  transition: opacity .4s
}

#rcx .ck.on {
  opacity: 1
}

#rcx .ck i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  background: #eef0f5;
  color: #8a8a95;
  transition: all .35s
}

#rcx .ck.on i {
  background: #19c37d;
  color: #fff
}

#rcx .ck b {
  display: block;
  font-size: 14px
}

#rcx .ck small {
  font-size: 12.5px;
  color: #7a7a85;
  line-height: 1.4
}

#rcx .fld {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: #41444f;
  margin-bottom: 12px
}

#rcx .fld svg {
  width: 20px;
  height: 20px
}

#rcx .fl {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 12px;
  background: #f6f7fb;
  margin-bottom: 7px;
  font-size: 13px;
  opacity: 0;
  transform: translateY(-14px) scale(.96);
  transition: opacity .35s, transform .45s cubic-bezier(.3, 1.4, .5, 1)
}

#rcx .fl.on {
  opacity: 1;
  transform: none
}

#rcx .fl span {
  width: 28px;
  height: 32px;
  border-radius: 6px;
  background: #d1271c;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 9.5px;
  font-weight: 800;
  flex: none
}

#rcx .fl small {
  margin-left: auto;
  color: #0e9a62;
  font-weight: 700;
  font-size: 11.5px
}

#rcx .map {
  position: relative;
  height: 250px;
  border-radius: 16px;
  overflow: hidden;
  background: #e9eef5
}

#rcx .map svg.st {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%
}

#rcx .pin {
  position: absolute;
  transform: translate(-50%, -100%);
  transition: left 1.6s cubic-bezier(.4, 0, .2, 1), top 1.6s cubic-bezier(.4, 0, .2, 1)
}

#rcx .pin b {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .25)
}

#rcx .pin.me small {
  top: auto;
  bottom: -26px
}

#rcx .vb {
  white-space: nowrap
}

#rcx .pin.h b {
  background: #2f6bff
}

#rcx .pin.me b {
  background: #19c37d
}

#rcx .pin small {
  position: absolute;
  left: 50%;
  top: -24px;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  background: #fff;
  padding: 3px 7px;
  border-radius: 7px;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .1)
}

#rcx .rad {
  position: absolute;
  width: 90px;
  height: 90px;
  margin: -45px 0 0 -45px;
  border-radius: 50%;
  border: 2px dashed rgba(47, 107, 255, .5);
  background: rgba(47, 107, 255, .06)
}

#rcx .mres {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f6f7fb;
  color: #41444f;
  transition: all .4s
}

#rcx .mres.ok {
  background: rgba(25, 195, 125, .1);
  color: #0e7a4e
}

@media(max-width:960px) {

  #ocx .og,
  #e2x .eg,
  #rcx .rg {
    grid-template-columns: 1fr
  }

  #ocx .items {
    grid-template-columns: 1fr
  }

  #ocx .cnt {
    grid-column: auto
  }

  #e2x .dv {
    position: relative;
    top: 0
  }
}