/* The finish: the running checklist, then "it's ready". */
.fx-run, .fx-ready { grid-area: 1 / 1; max-width: 640px; width: 100%; animation: fx-in .45s var(--ease) both; }
@keyframes fx-in { from { opacity: 0; transform: translateY(28px); } }
@keyframes fx-spin { to { transform: rotate(360deg); } }

.fx-orbit { position: relative; width: 112px; height: 112px; margin-bottom: 26px; }
.fx-orbit svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.fx-ring { fill: none; stroke: var(--line); stroke-width: 5; }
.fx-arc { fill: none; stroke: var(--teal); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset .5s var(--ease); }
.fx-orbit-n { position: absolute; inset: 0; display: grid; place-items: center; font: 700 24px/1 var(--head); color: var(--teal);
  font-variant-numeric: tabular-nums; }

.fx-tasks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 4px; }
.fx-tasks li { display: flex; align-items: center; gap: 14px; padding: 10px 0; font: 500 16px/1.3 var(--head);
  color: #AEB3B0; transition: color .3s; }
.fx-tasks i { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); flex: none; position: relative; transition: all .3s; }
.fx-tasks small { margin-left: auto; color: var(--muted); font: 500 13px/1 var(--head); font-variant-numeric: tabular-nums; }
.fx-tasks .is-running { color: var(--ink); }
.fx-tasks .is-running i { border-color: var(--line); border-top-color: var(--teal); animation: fx-spin .8s linear infinite; }
.fx-tasks .is-done { color: var(--ink); }
.fx-tasks .is-done i { background: var(--teal); border-color: var(--teal); animation: fx-pop .35s var(--ease); }
.fx-tasks .is-done i::after { content: ""; position: absolute; left: 6.5px; top: 3px; width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@keyframes fx-pop { 50% { transform: scale(1.2); } }
.fx-retry { margin-top: 8px; }

.fx-check { width: 76px; height: 76px; margin-bottom: 22px; }
.fx-check circle { fill: var(--green-bg); stroke: var(--teal); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: fx-draw .7s var(--ease) forwards; }
.fx-check path { fill: none; stroke: var(--teal); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: fx-draw .45s .55s var(--ease) forwards; }
@keyframes fx-draw { to { stroke-dashoffset: 0; } }
.fx-ready .kicker { margin: 0 0 10px; }

.fx-download { display: flex; align-items: center; gap: 16px; margin: 24px 0 14px; padding: 16px 16px 16px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.fx-zip { flex: none; display: grid; place-items: center; width: 46px; height: 54px; border-radius: 6px 14px 6px 6px;
  background: var(--teal); color: #fff; font: 700 11px/1 var(--head); letter-spacing: .1em; }
.fx-file { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fx-file b { font: 600 15.5px/1.35 var(--head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-file small { color: var(--muted); font-size: 13px; }

.fx-video { display: flex; align-items: center; gap: 14px; padding: 12px 4px; text-decoration: none; color: var(--ink); }
.fx-video span:last-child { display: flex; flex-direction: column; }
.fx-video b { font: 600 15px/1.3 var(--head); }
.fx-video small { color: var(--muted); font-size: 13px; }
.fx-play { width: 40px; height: 40px; border-radius: 50%; background: var(--red-bg); position: relative; flex: none; transition: transform .2s; }
.fx-play::after { content: ""; position: absolute; left: 16px; top: 13px; border: 7px solid transparent; border-left: 11px solid var(--red); border-right: 0; }
.fx-video:hover .fx-play { transform: scale(1.08); }
.fx-soon { font-size: 14px; color: var(--muted); margin: 6px 0; }

.fx-next { counter-reset: n; list-style: none; padding: 0; margin: 14px 0 26px; display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
.fx-next li { counter-increment: n; display: flex; gap: 12px; }
.fx-next li::before { content: counter(n); flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--line-2); font: 600 11.5px/1 var(--head); color: var(--teal); margin-top: 1px; }
.fx-next b { color: var(--ink); font-weight: 600; }

.fx-offer { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 20px 22px; border-radius: 14px;
  background: var(--teal); color: #fff; }
.fx-offer > div { flex: 1 1 280px; display: flex; flex-direction: column; gap: 4px; }
.fx-offer b { font: 600 17px/1.3 var(--head); }
.fx-offer span { color: var(--on-teal); font-size: 14.5px; }
.fx-received { background: var(--green-bg); color: var(--ink); }
.fx-received span { color: var(--teal-2); }
.fx-vsl { margin-top: 18px; }
.fx-vsl iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; margin-top: 10px; }

@media (max-width: 600px) {
  .fx-download { flex-wrap: wrap; }
  .fx-download .btn { width: 100%; }
}

/* Drawings already with us, on the ready screen */
.fx-drawings { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.fx-drawings li { display: flex; flex-direction: column; }
.fx-drawings b { font: 600 15px/1.3 var(--head); }
.fx-drawings small { color: var(--teal-2); font-size: 13px; }
.fx-received .btn-ghost { background: var(--surface); }
.fx-portal { margin: 22px 0 0; font-size: 14px; color: var(--muted); }
