/* Deliverables share a position; the clock retains the last result until its replacement enters. */
.tw-outputs {
  position: absolute;
  z-index: 4;
  top: 160px;
  bottom: 28px;
  left: 50%;
  display: grid;
  place-items: center;
  width: calc(100% - 72px);
  max-width: 600px;
  transform: translateX(-50%);
  pointer-events: none;
}
.tw-outputs .tw-output {
  grid-area: 1 / 1;
  width: 100%;
  min-width: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform-origin: 50% 50%;
}
.tw-outputs .tw-output-media { display: flex; align-items: center; justify-content: center; height: 340px; }
.tw-outputs .tw-output-paper { display: block; width: auto; max-width: 100%; height: 340px; object-fit: contain; filter: drop-shadow(0 7px 12px rgb(33 40 48 / 11%)) drop-shadow(0 1px 2px rgb(33 40 48 / 6%)); }
.tw-outputs figcaption { margin: 16px 0 0; text-align: center; color: #373c44; }
.tw-outputs figcaption strong { font: 500 14px/1.3 Inter, sans-serif; letter-spacing: -.18px; }
.tw-outputs .tw-output-work-viewer { position: relative; width: 100%; max-width: 540px; height: 314px; overflow: hidden; border: 1px solid rgb(221 225 228 / 75%); border-radius: 14px; background: radial-gradient(ellipse at 50% 18%, #f7f8f9 0, #edf0f2 55%, #e3e7eb 100%); box-shadow: 0 8px 20px rgb(44 56 72 / 6%); }
.tw-outputs .tw-output-viewer-header { position: absolute; z-index: 2; top: 16px; left: 18px; right: 16px; display: flex; align-items: center; justify-content: space-between; color: #4e545c; font: 500 11px/1.2 Inter, sans-serif; letter-spacing: .1px; }
.tw-outputs .tw-output-viewer-brand { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 7px; background: #171a1e; }
.tw-outputs .tw-output-viewer-brand svg { display: block; width: 20px; height: 13.5px; }
.tw-outputs .tw-output-motor { position: absolute; top: 8px; left: 50%; width: 88%; max-width: 390px; height: 222px; transform: translateX(-50%); }
.tw-outputs [data-model] > img, .tw-outputs .tw-servomotor-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.tw-outputs .tw-output-instruction { position: absolute; z-index: 2; bottom: 12px; left: 12px; right: 12px; padding: 13px 14px 11px; border: 1px solid rgb(255 255 255 / 78%); border-radius: 10px; background: rgb(255 255 255 / 92%); box-shadow: 0 2px 8px rgb(27 38 54 / 3%); backdrop-filter: blur(5px); }
.tw-outputs .tw-output-instruction-copy { display: flex; align-items: flex-start; gap: 10px; }
.tw-outputs .tw-output-instruction-copy > div { min-width: 0; }
.tw-outputs .tw-output-step { display: grid; flex: 0 0 28px; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #007bff; color: #fff; font: 500 12px/1 Inter, sans-serif; }
.tw-outputs .tw-output-instruction strong { display: block; margin: 0 0 4px; color: #282b31; font: 500 13px/1.3 Inter, sans-serif; letter-spacing: -.15px; }
.tw-outputs .tw-output-instruction p { margin: 0; color: #67676f; font: 400 11px/1.45 Inter, sans-serif; }
.tw-outputs .tw-output-navigation { display: flex; align-items: center; gap: 10px; margin-top: 11px; color: #747b85; }
.tw-outputs .tw-output-navigation > span:first-child, .tw-outputs .tw-output-navigation > span:last-child { display: flex; align-items: center; justify-content: center; flex: 0 0 14px; }
.tw-outputs .tw-output-navigation svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.tw-outputs .tw-output-progress { flex: 1; height: 2px; overflow: hidden; border-radius: 2px; background: #e3e7ed; }
.tw-outputs .tw-output-progress i { display: block; width: 58.333%; height: 100%; background: #007bff; }
.tw-outputs .tw-output-step-count { white-space: nowrap; font: 400 9px/1 "Geist Mono", monospace; }
.tw-outputs .tw-output-ar-composition { position: relative; width: 100%; height: 340px; }
.tw-outputs .tw-output-ar-model { position: absolute; top: 0; left: -4px; width: calc(100% - 166px); height: 330px; }
.tw-outputs .tw-output-ar-viewer { position: absolute; top: 14px; right: 10px; width: 174px; height: 310px; overflow: hidden; border: 6px solid #242930; border-radius: 27px; background: linear-gradient(145deg, #e9edf0 0%, #d6dee5 55%, #c1cdd7 100%); box-shadow: 0 0 0 1px #74808b, 3px 4px 0 1px #404851, 8px 16px 22px -8px rgb(34 49 65 / 22%), inset 0 0 0 1px rgb(255 255 255 / 50%); }
.tw-outputs .tw-output-phone-camera { position: absolute; top: 6px; left: 50%; z-index: 3; width: 42px; height: 10px; transform: translateX(-50%); border-radius: 9px; background: #242930; }
.tw-outputs .tw-output-phone-camera::after { content: ''; position: absolute; top: 3px; right: 5px; width: 4px; height: 4px; border-radius: 50%; background: #475967; }
.tw-outputs .tw-output-ar-viewer .tw-output-viewer-header { top: 28px; left: 11px; right: 10px; color: #3f4b57; font-size: 9px; }
.tw-outputs .tw-output-ar-viewer .tw-output-viewer-brand { width: 22px; height: 22px; border-radius: 6px; }
.tw-outputs .tw-output-ar-viewer .tw-output-viewer-brand svg { width: 15px; height: 10px; }
.tw-outputs .tw-output-tracking { position: absolute; top: 58px; left: 11px; z-index: 2; display: flex; align-items: center; gap: 5px; padding: 5px 7px; border: 1px solid rgb(255 255 255 / 10%); border-radius: 4px; background: rgb(48 60 75 / 65%); color: #fff; font: 400 8px/1 Inter, sans-serif; }
.tw-outputs .tw-output-tracking i { width: 4px; height: 4px; border-radius: 50%; background: #6de3ac; }
.tw-outputs .tw-output-ar-scene { position: absolute; top: 91px; right: 15px; bottom: 113px; left: 15px; }
.tw-outputs .tw-output-ar-scene::before { content: ''; position: absolute; inset: 10% -25% -15%; background: repeating-linear-gradient(0deg, transparent 0 15px, rgb(94 127 154 / 12%) 15px 16px), repeating-linear-gradient(90deg, transparent 0 15px, rgb(94 127 154 / 12%) 15px 16px); transform: perspective(100px) rotateX(38deg); mask-image: radial-gradient(ellipse, #000 20%, transparent 70%); }
.tw-outputs .tw-output-torque { position: absolute; z-index: 1; top: var(--servo-target-y, 60%); left: var(--servo-target-x, 58%); transform: translate(calc(-100% - 16px), -38px); padding: 7px 9px; border: 1px solid rgb(0 123 255 / 22%); border-radius: 6px; background: rgb(255 255 255 / 94%); color: #006be0; white-space: nowrap; font: 500 11px/1 Inter, sans-serif; box-shadow: 0 3px 12px rgb(0 63 139 / 7%); }
.tw-outputs .tw-output-torque::after { content: ''; position: absolute; top: 100%; left: 100%; width: 27px; height: 1px; background: #007bff; transform: rotate(39deg); transform-origin: left; }
.tw-outputs .tw-output-torque i { position: absolute; top: calc(100% + 15px); left: calc(100% + 18px); width: 5px; height: 5px; border-radius: 50%; background: #007bff; box-shadow: 0 0 0 3px rgb(0 123 255 / 13%); }
.tw-outputs .tw-output-tracking-corners { position: absolute; inset: 13% 4%; background: linear-gradient(#007bff,#007bff) left top/10px 1px no-repeat, linear-gradient(#007bff,#007bff) left top/1px 10px no-repeat, linear-gradient(#007bff,#007bff) right top/10px 1px no-repeat, linear-gradient(#007bff,#007bff) right top/1px 10px no-repeat, linear-gradient(#007bff,#007bff) left bottom/10px 1px no-repeat, linear-gradient(#007bff,#007bff) left bottom/1px 10px no-repeat, linear-gradient(#007bff,#007bff) right bottom/10px 1px no-repeat, linear-gradient(#007bff,#007bff) right bottom/1px 10px no-repeat; opacity: .65; }
.tw-outputs .tw-output-ar-target { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgb(0 123 255 / 45%); border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 7px rgb(0 123 255 / 5%); }
.tw-outputs .tw-output-ar-target i { width: 5px; height: 5px; border-radius: 50%; background: #007bff; }
.tw-outputs .tw-output-ar-viewer .tw-output-instruction { bottom: 13px; left: 7px; right: 7px; padding: 10px 8px 9px; border-radius: 8px; }
.tw-outputs .tw-output-ar-viewer .tw-output-instruction-copy { gap: 6px; }
.tw-outputs .tw-output-ar-viewer .tw-output-step { flex-basis: 20px; width: 20px; height: 20px; font-size: 9px; }
.tw-outputs .tw-output-ar-viewer .tw-output-instruction strong { font-size: 10px; }
.tw-outputs .tw-output-ar-viewer .tw-output-instruction p { font-size: 9px; }
.tw-outputs .tw-output-ar-viewer .tw-output-navigation { margin-top: 9px; gap: 7px; }
.tw-outputs .tw-output-ar-viewer .tw-output-step-count { font-size: 8px; }
.tw-outputs .tw-output-ar-viewer::after { content: ''; position: absolute; bottom: 4px; left: 50%; width: 44px; height: 3px; border-radius: 3px; background: #606d79; transform: translateX(-50%); }

@container (min-width: 860px) {
  .tw-outputs .tw-output-pdf .tw-output-media, .tw-outputs .tw-output-paper { height: 400px; }
}

@media (max-width: 690px) {
  .tw-outputs { top: 158px; width: calc(100% - 36px); }
  .tw-outputs .tw-output-work-viewer { height: 290px; }
  .tw-outputs .tw-output-work-viewer .tw-output-viewer-header { top: 13px; left: 14px; right: 13px; }
  .tw-outputs .tw-output-work-viewer .tw-output-motor { top: 10px; width: 95%; height: 200px; }
  .tw-outputs .tw-output-work-viewer .tw-output-instruction { bottom: 10px; left: 10px; right: 10px; padding: 12px 11px 10px; }
  .tw-outputs .tw-output-work-viewer .tw-output-instruction-copy { gap: 8px; }
  .tw-outputs .tw-output-work-viewer .tw-output-step { flex-basis: 25px; width: 25px; height: 25px; font-size: 11px; }
  .tw-outputs .tw-output-work-viewer .tw-output-instruction strong { font-size: 12px; }
  .tw-outputs .tw-output-work-viewer .tw-output-instruction p { font-size: 10px; }
  .tw-outputs .tw-output-ar-model { top: 4px; left: -12px; width: calc(100% - 94px); height: 300px; }
  .tw-outputs .tw-output-ar-viewer { top: 41px; right: 2px; width: 122px; height: 262px; border-width: 4px; border-radius: 22px; }
  .tw-outputs .tw-output-ar-viewer .tw-output-viewer-header { top: 26px; left: 8px; right: 7px; font-size: 8px; }
  .tw-outputs .tw-output-ar-viewer .tw-output-viewer-brand { width: 19px; height: 19px; border-radius: 5px; }
  .tw-outputs .tw-output-ar-viewer .tw-output-viewer-brand svg { width: 13px; height: 9px; }
  .tw-outputs .tw-output-tracking { top: 51px; left: 8px; font-size: 7px; }
  .tw-outputs .tw-output-ar-scene { top: 80px; right: 12px; bottom: 115px; left: 12px; }
  .tw-outputs .tw-output-ar-viewer .tw-output-instruction { left: 4px; right: 4px; bottom: 11px; padding: 9px 6px; }
  .tw-outputs .tw-output-ar-viewer .tw-output-instruction-copy { gap: 5px; }
  .tw-outputs .tw-output-ar-viewer .tw-output-step { flex-basis: 16px; width: 16px; height: 16px; font-size: 8px; }
  .tw-outputs .tw-output-ar-viewer .tw-output-instruction strong { font-size: 9px; }
  .tw-outputs .tw-output-ar-viewer .tw-output-instruction p { font-size: 8px; }
  .tw-outputs .tw-output-ar-viewer .tw-output-navigation { gap: 5px; }
  .tw-outputs .tw-output-ar-viewer .tw-output-step-count { font-size: 7px; }
  .tw-outputs .tw-output-torque { padding: 6px 7px; font-size: 9px; }
  .tw-outputs figcaption { margin-top: 14px; }
  .tw-outputs figcaption strong { font-size: 13px; }
}
