* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f7f7fb;
  color: #292636;
  font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button {
  font: inherit;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  white-space: nowrap;
}
svg {
  flex-shrink: 0;
}
header {
  height: 72px;
  border-bottom: 1px solid #e3e1eb;
  background: #fcfcfd;
}
.nav,
main {
  width: min(1120px, calc(100% - 104px));
  margin: auto;
}
.nav,
.brand,
.domain,
.steps,
.step,
.sourcehd,
.limits,
.recordshead,
.recordshead span,
.stathead,
.status {
  display: flex;
  align-items: center;
}
.nav {
  height: 100%;
  justify-content: space-between;
}
.brand {
  gap: 9px;
  font:
    700 30px/0.9 "Helvetica Neue",
    Arial,
    sans-serif;
  letter-spacing: -1.8px;
}
.brand svg {
  color: #6549d7;
}
.domain {
  color: #676473;
  font:
    13px "Helvetica Neue",
    sans-serif;
  gap: 7px;
}
.title {
  margin: 45px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.title h1 {
  font-size: 53px;
  line-height: 1.22;
  letter-spacing: -2.8px;
  font-weight: 650;
  margin: 0;
}
.steps {
  gap: 12px;
}
.step {
  font-size: 13px;
  font-weight: 550;
  gap: 7px;
  color: #666273;
}
.step b {
  width: 22px;
  height: 22px;
  border: 1px solid #cecadb;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 550 12px Arial;
  color: #6b667d;
}
.step.current b {
  background: #e8e1fd;
  border-color: #ded4fc;
  color: #5135af;
}
.steps em {
  width: 20px;
  height: 1px;
  background: #d9d6e2;
}
.desk {
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  background: #fff;
  border: 1px solid #e4e2ec;
  border-radius: 23px;
  box-shadow: 0 8px 27px -18px #33236144;
}
.source {
  padding: 23px 27px 24px;
}
.sourcehd {
  gap: 12px;
}
.blockicon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f0ecfb;
  color: #6246bb;
}
h2 {
  letter-spacing: -0.7px;
  margin: 0;
  font-weight: 620;
}
.source h2,
.drop h2 {
  font-size: 26px;
}
.source p {
  margin: 10px 0 22px;
  color: #716b7d;
  font-size: 14px;
  line-height: 1.6;
}
.input {
  background: #faf9fc;
  border: 1px solid #dcd9e6;
  border-radius: 11px;
  height: 47px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 14px;
  color: #777182;
  font-size: 14px;
}
.input svg {
  color: #898294;
}
.primary {
  height: 44px;
  background: #6242d7;
  color: white;
  font-size: 14px;
  font-weight: 550;
  padding: 0 21px;
  border-radius: 10px;
  margin-top: 12px;
  box-shadow: 0 2px 3px #40259b26;
}
.drop {
  border: 1px dashed #af9cde;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(112deg, #f3efff, #ece7ff 62%, #e8e2fa);
  border-radius: 16px;
  min-height: 245px;
}
.dots {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(#a08bbb66 0.8px, transparent 0.9px);
  background-size: 10px 10px;
  mask-image: linear-gradient(90deg, transparent, #000 54%);
}
.art {
  position: absolute;
  width: 69%;
  right: -1%;
  top: 3%;
  transform: rotate(-2deg);
}
.art > svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.droptexts {
  position: absolute;
  left: 26px;
  bottom: 23px;
}
.choose {
  height: 44px;
  background: #ffffffd9;
  color: #4d369b;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #d4c6f0;
  border-radius: 9px;
  padding: 0 16px;
}
.limits {
  font-size: 12px;
  color: #706c7e;
  gap: 8px;
  margin: 13px 4px 0;
}
.limits span {
  color: #aaa4b6;
}
.records {
  margin-top: 42px;
}
.recordshead {
  justify-content: space-between;
  margin-bottom: 15px;
}
.recordshead h2 {
  font-size: 23px;
}
.recordshead span {
  font-size: 12px;
  color: #726d7e;
  gap: 6px;
}
.list {
  background: #fff;
  border: 1px solid #e1dfe9;
  border-radius: 16px;
  padding: 0 24px;
  box-shadow: 0 5px 15px -14px #33236155;
}
.task {
  display: grid;
  grid-template-columns: 44px minmax(120px, 1.18fr) minmax(160px, 1fr) minmax(
      155px,
      0.75fr
    );
  gap: 15px;
  align-items: center;
  min-height: 96px;
}
.task + .task {
  border-top: 1px solid #eeedf3;
}
.type {
  display: grid;
  place-items: center;
  color: #7960b7;
  border-radius: 12px;
  background: #f1ecfd;
  width: 43px;
  height: 47px;
}
.identity strong {
  font-size: 16px;
  font-weight: 570;
}
.task small {
  display: block;
  font:
    12px/1.5 "Helvetica Neue",
    "PingFang SC",
    sans-serif;
  color: #716c7e;
  margin-top: 4px;
}
.stat {
  max-width: 345px;
}
.status {
  gap: 6px;
  color: #6749c3;
  font-size: 13px;
  font-weight: 550;
}
.ok {
  color: #20755d;
}
.stathead {
  justify-content: space-between;
}
.pct,
.metrics {
  font-variant-numeric: tabular-nums;
}
.pct {
  color: #644cb2;
  font: 12px Arial;
}
.bar {
  background: #edeaf6;
  height: 5px;
  border-radius: 10px;
  margin: 8px 0 0;
  overflow: hidden;
}
.bar b {
  display: block;
  width: 64%;
  height: 100%;
  border-radius: inherit;
  background: #8365dc;
}
.acts {
  display: flex;
  justify-content: flex-end;
}
.drop.over {
  border: 2px dashed #6f50c5;
  background: linear-gradient(110deg, #ede4ff, #e3d8ff);
}
.drop.over .choose {
  visibility: hidden;
}
.drop.over .droptexts {
  bottom: 20px;
}
@media (max-width: 720px) {
  header {
    height: 55px;
  }
  .nav,
  main {
    width: calc(100% - 32px);
  }
  .brand {
    font-size: 24px;
    gap: 5px;
  }
  .brand svg {
    width: 27px;
  }
  .domain {
    font-size: 10px;
    gap: 5px;
  }
  .domain svg {
    width: 12px;
  }
  .title {
    display: block;
    margin: 23px 0 15px;
  }
  .title h1 {
    font-size: 37px;
    letter-spacing: -1.6px;
  }
  .steps {
    margin-top: 12px;
    gap: 8px;
  }
  .step {
    font-size: 11px;
    gap: 4px;
  }
  .step b {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }
  .steps em {
    width: 14px;
  }
  .desk {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 7px;
    border-radius: 18px;
  }
  .source {
    padding: 12px 11px 14px;
  }
  .sourcehd {
    gap: 8px;
  }
  .blockicon {
    width: 29px;
    height: 29px;
    border-radius: 8px;
  }
  .blockicon svg {
    width: 18px;
  }
  .source h2,
  .drop h2 {
    font-size: 20px;
  }
  .source p {
    font-size: 12px;
    margin: 7px 0 13px;
  }
  .input {
    height: 44px;
    font-size: 13px;
  }
  .primary {
    width: 100%;
    margin-top: 8px;
  }
  .drop {
    min-height: 130px;
    border-radius: 12px;
  }
  .art {
    width: 57%;
    top: -3%;
    right: 0;
  }
  .droptexts {
    left: 17px;
    bottom: 17px;
  }
  .choose {
    height: 44px;
    font-size: 13px;
    padding: 0 12px;
  }
  .limits {
    font-size: 10px;
    margin: 9px 1px 0;
    gap: 5px;
  }
  .limits svg {
    width: 12px;
  }
  .records {
    margin-top: 25px;
  }
  .recordshead h2 {
    font-size: 19px;
  }
  .recordshead span {
    font-size: 10px;
  }
  .recordshead {
    margin-bottom: 9px;
  }
  .list {
    padding: 0 13px;
    border-radius: 13px;
  }
  .task {
    padding: 14px 0;
    grid-template-columns: 33px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 6px 9px;
  }
  .type {
    width: 32px;
    height: 36px;
    border-radius: 8px;
  }
  .type svg {
    width: 19px;
  }
  .identity strong {
    font-size: 14px;
  }
  .task small {
    font-size: 10.5px;
    margin-top: 2px;
  }
  .acts {
    grid-column: 3;
    grid-row: 1;
  }
  .stat {
    grid-column: 2/4;
    grid-row: 2;
  }
  .status {
    font-size: 11px;
  }
  .pct {
    font-size: 10px;
  }
  .bar {
    height: 4px;
    margin: 5px 0;
  }
}
.narrow-title {
  display: none;
}
main {
  padding-bottom: 28px;
}
.step.current b {
  background: #7155ce;
  color: white;
  border-color: #7155ce;
}
.step.current {
  color: #503b8e;
}
@media (max-width: 720px) {
  .narrow-title {
    display: inline;
  }
  .wide-title {
    display: none;
  }
  .drop h2 {
    font-size: 18px;
  }
}
[hidden] {
  display: none !important;
}
a.domain {
  text-decoration: none;
}
.domain:hover {
  color: #6242d7;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  transition:
    transform 0.18s,
    background-color 0.18s,
    color 0.18s,
    box-shadow 0.18s;
}
button:active {
  transform: scale(0.96);
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #9273eb;
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
}
.ctas button {
  margin: 0;
}
.primary:hover {
  background: #5134bf;
  box-shadow: 0 4px 12px #6846c433;
}
.secondary {
  background: transparent;
  height: 44px;
  color: #6c559e;
  font-weight: 550;
  font-size: 13px;
  padding: 0 12px;
}
.secondary:hover,
.choose:hover {
  background: #efe9ff;
}
.input input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font: inherit;
  color: #32283e;
  height: 100%;
}
.input:focus-within {
  border-color: #936be2;
  box-shadow: 0 0 0 3px #c9b8f73d;
}
.droptexts p {
  font-size: 12px;
  margin: 3px 0 12px;
  color: #685c7d;
}
.art,
.papers,
.flap {
  transition: transform 0.26s cubic-bezier(0.2, 0.86, 0.2, 1.16);
}
.drop.over .choose {
  visibility: visible;
}
.drop.over .art {
  transform: translateY(-4px) rotate(-5deg);
}
.drop.over .papers {
  transform: translateY(-10px);
}
.drop.over .flap {
  transform: translate(2px, 3px);
}
.drop.landed .art {
  animation: settle 0.35s ease-out;
}
.task {
  animation: appear 0.25s ease-out;
}
.bar b {
  transition: width 0.28s ease;
}
.identity {
  min-width: 0;
}
.identity strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.acts {
  flex-wrap: wrap;
  gap: 5px;
}
.acts button {
  min-height: 44px;
  background: #fff;
  border: 1px solid #ddd9e6;
  border-radius: 9px;
  color: #514363;
  font-size: 12px;
  padding: 0 10px;
}
.acts button:hover {
  background: #f3efff;
}
.acts button.copied {
  color: #20755d;
  background: #ecf8f2;
}
.status.ok:before {
  content: "✓";
}
.status.bad {
  color: #973d52;
}
.metrics {
  overflow-wrap: anywhere;
}
.toast {
  position: fixed;
  z-index: 3;
  bottom: 22px;
  left: 50%;
  transform: translate(-50%, 12px);
  opacity: 0;
  background: #332944;
  color: white;
  box-shadow: 0 6px 18px #34254533;
  padding: 12px 18px;
  font-size: 13px;
  border-radius: 11px;
  pointer-events: none;
  transition:
    transform 0.2s,
    opacity 0.2s;
  max-width: 92vw;
  width: max-content;
}
.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}
#error {
  line-height: 1.6;
  margin-top: 14px;
  padding: 12px 16px;
  background: #f9edf0;
  color: #843247;
  border-radius: 10px;
  font-size: 14px;
}
#empty {
  padding: 30px 18px;
  color: #736b80;
  font-size: 14px;
  background: #fff;
  border: 1px dashed #d6d0e2;
  border-radius: 14px;
  text-align: center;
  margin: 0;
}
.list:empty {
  display: none;
}
dialog {
  max-width: 90vw;
  border: 1px solid #d8d1e6;
  border-radius: 16px;
  box-shadow: 0 12px 50px #3f29554a;
}
dialog input {
  width: min(55vw, 360px);
  margin: 14px 8px 0 0;
  padding: 10px;
}
dialog::backdrop {
  background: #26203250;
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}
@keyframes settle {
  50% {
    transform: translateY(3px) rotate(1deg);
  }
}
@media (max-width: 720px) {
  .ctas .primary {
    width: auto;
    flex: 1;
  }
  .ctas .secondary {
    flex: 1;
  }
  .drop {
    min-height: 153px;
  }
  .droptexts p {
    font-size: 10px;
  }
  .task .acts {
    grid-row: 3;
    grid-column: 2/4;
    justify-content: flex-start;
  }
  .task .stat {
    grid-column: 2/4;
  }
  .task .acts:empty {
    display: none;
  }
  .step {
    white-space: nowrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
