/* Scoped wireframes for the local UXAgent product-page preview. */
.uxwf {
  --wf-ink: #20355a;
  --wf-muted: #506582;
  --wf-line: #d5e1eb;
  --wf-accent: #54c7c0;
  --wf-green: #08746e;
  container-type: inline-size;
  margin: 0;
  width: 100%;
  min-width: 0;
  min-height: max-content;
  align-self: center;
  overflow: hidden;
  border: 1px solid var(--wf-line);
  border-radius: 18px;
  background: white;
  color: var(--wf-ink);
  font-family: inherit;
  line-height: 1.4;
  box-shadow: 0 18px 46px #20355a0d;
}
.uxwf *, .uxwf { box-sizing: border-box; }
.uxwf .uxwf-chrome, .uxwf .uxwf-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 45px;
  padding: 8px clamp(12px, 4cqi, 25px);
  background: white;
  font-family: inherit;
  font-weight: 600;
  font-size: clamp(12px, 2.5cqi, 14px);
  line-height: 1.3;
}
.uxwf .uxwf-chrome { border-bottom: 1px solid var(--wf-line); }
.uxwf .uxwf-caption { color: var(--wf-ink); }
.uxwf .uxwf-dots { display: inline-flex; gap: 4px; flex: none; }
.uxwf .uxwf-dots i { width: 5px; height: 5px; border-radius: 50%; background: #aebdcd; }
.uxwf .uxwf-dots i + i { background: #c4ced9; }
.uxwf .uxwf-icon { display: inline-block; }
.uxwf .uxwf-icon { position: static; width: 18px; height: 18px; max-width: none; flex: none; color: inherit; }
.uxwf .uxwf-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(190px, 48cqi, 300px);
  padding: clamp(16px, 6cqi, 44px) clamp(10px, 4.8cqi, 38px);
  background: white;
}
.uxwf .uxwf-scene {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1.04fr) clamp(14px, 4.4cqi, 36px) minmax(0,1fr);
  align-items: center;
}
.uxwf .uxwf-window, .uxwf .uxwf-phone {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #cbd6e3;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 22px -14px #20355a45;
}
.uxwf .uxwf-window-head, .uxwf .uxwf-phone-heading {
  display: flex; align-items: center; gap: 7px; min-width: 0; padding: 11px 13px; border-bottom: 1px solid var(--wf-line);
  color: var(--wf-ink); background: white; font-size: clamp(12px, 2.7cqi, 16px); line-height: 1.3;
}
.uxwf .uxwf-window-head strong { font-size: inherit; font-weight: 650; line-height: inherit; color: inherit; }
.uxwf .uxwf-window-head .uxwf-icon, .uxwf .uxwf-phone-heading .uxwf-icon { color: var(--wf-muted); width: 15px; height: 15px; }
.uxwf .uxwf-window-body, .uxwf .uxwf-phone-body { display: grid; align-content: start; gap: 11px; min-height: 104px; padding: 14px 13px; }
.uxwf .uxwf-fieldlabel, .uxwf .uxwf-entry small {
  display: block; margin: 0; color: var(--wf-muted); font: inherit; font-weight: 500; line-height: 1.3; font-size: clamp(11px, 2.25cqi, 13px);
}
.uxwf .uxwf-fieldlabel + .uxwf-input { margin-top: -6px; }
.uxwf .uxwf-input {
  display: block; min-width: 0; border: 1px solid var(--wf-line); border-radius: 5px; padding: 7px; color: var(--wf-ink); background: #fff;
  font-size: clamp(12px, 2.4cqi, 14px); line-height: 1.35;
}
.uxwf .uxwf-action {
  display: inline-flex; justify-content: space-between; align-items: center; gap: 6px; justify-self: start; max-width: 100%; border-radius: 5px;
  padding: 6px 9px; color: #114b50; background: #c4efea; font-size: clamp(11px, 2.4cqi, 14px); font-weight: 650; line-height: 1.28;
}
.uxwf .uxwf-action .uxwf-icon { width: 15px; height: 15px; }
.uxwf .uxwf-entry { display: flex; align-items: center; gap: 8px; padding: 1px 0; min-width: 0; }
.uxwf .uxwf-entry > .uxwf-icon { color: var(--wf-green); flex: none; width: 18px; height: 18px; }
.uxwf .uxwf-entry > div { min-width: 0; }
.uxwf .uxwf-entry strong { display: block; color: var(--wf-ink); font-size: clamp(12px, 2.5cqi, 15px); line-height: 1.3; font-weight: 600; }
.uxwf .uxwf-checks .uxwf-entry + .uxwf-entry { padding-top: 8px; border-top: 1px solid #e7edf1; }
.uxwf .uxwf-chip { display: inline-flex; justify-self: start; align-items: center; gap: 6px; border-radius: 5px; padding: 6px 8px;
  background: white; color: #285e5c; font-size: clamp(11px, 2.15cqi, 13px); line-height: 1.35; font-weight: 550; }
.uxwf .uxwf-chip i, .uxwf .uxwf-indicator { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #34a59b; flex: none; }
.uxwf .uxwf-bubble { outline: 1px solid var(--wf-line); outline-offset: -1px; display: block; justify-self: start; padding: 7px 9px; border-radius: 7px 7px 7px 1px; color: var(--wf-ink); background: white; font-size: clamp(12px,2.45cqi,14px); line-height: 1.3; }
.uxwf .uxwf-reply { justify-self: end; color: #285e5c; background: white; border-radius: 7px 7px 1px 7px; }
.uxwf .uxwf-junction { display: flex; justify-content: center; align-items: center; color: #80aaa9; }
.uxwf .uxwf-junction .uxwf-icon { width: min(100%,22px); }
.uxwf .uxwf-pointer { position: absolute; z-index: 2; pointer-events: none; width: 22px; height: 22px; left: 0; top: 0; opacity: 0; filter: drop-shadow(0 2px 2px #20355a35); transition: transform 600ms cubic-bezier(.23,.8,.2,1), opacity 180ms ease; }
.uxwf .uxwf-pointer .uxwf-icon { width: 100%; height: 100%; }
.uxwf[data-running] .uxwf-pointer { opacity: 1; }
.uxwf .uxwf-now { outline: 2px solid #52bfb4; outline-offset: 2px; border-radius: 4px; }
.uxwf .uxwf-foot { min-height: 42px; color: var(--wf-muted); border-top: 1px solid var(--wf-line); background: white; }
.uxwf .uxwf-meter { display: inline-flex; gap: 3px; margin-left: auto; flex: none; }
.uxwf .uxwf-meter i { width: clamp(7px,2.5cqi,17px); height: 3px; border-radius: 4px; background: #d5e1e7; }
.uxwf .uxwf-meter i.uxwf-lit { background: #53b7ad; }
.uxwf .uxwf-play { margin: -5px -6px -5px auto; display: inline-flex; flex: none; align-items: center; justify-content: center; min-height: 32px; gap: 5px; padding: 4px 7px; color: var(--wf-muted); background: transparent; border: none; border-radius: 5px; box-shadow: none; font-family: inherit; font-size: 12px; line-height: 1.2; font-weight: 550; cursor: pointer; }
.uxwf .uxwf-play[hidden] { display: none; }
.uxwf .uxwf-play:hover, .uxwf .uxwf-play:focus-visible { color: var(--wf-ink); background: #e9eff3; }
.uxwf .uxwf-play:focus-visible { outline: 2px solid var(--wf-green); outline-offset: 2px; }
.uxwf .uxwf-play-icon::before { content: "Ⅱ"; font-family: system-ui,sans-serif; }
.uxwf .uxwf-play[data-control="resume"] .uxwf-play-icon::before { content: "▷"; }
.uxwf .uxwf-play[data-control="replay"] .uxwf-play-icon::before { content: "↻"; }
.uxwf .uxwf-phone { justify-self: center; width: min(100%,154px); border: 2px solid #78909f; border-radius: 16px; padding: 7px; }
.uxwf .uxwf-speaker, .uxwf .uxwf-home-indicator { display: block; margin: 0 auto 7px; width: 22px; height: 3px; border-radius: 4px; background: #9eacb5; }
.uxwf .uxwf-home-indicator { margin: 7px auto 0; height: 2px; }
.uxwf .uxwf-phone-heading { gap: 4px; padding: 5px 3px 7px; background: white; font-weight: 650; }
.uxwf .uxwf-phone-body { min-height: 0; padding: 9px 2px; }
.uxwf .uxwf-assist { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; border: 0!important; overflow: hidden!important; clip-path: inset(50%)!important; white-space: nowrap!important; }
@container (max-width: 385px) {
  .uxwf .uxwf-stage { padding: 17px 8px; }
  .uxwf .uxwf-window-head { gap: 4px; padding: 8px; }
  .uxwf .uxwf-window-body { gap: 8px; min-height: 92px; padding: 10px 8px; }
  .uxwf .uxwf-entry { gap: 4px; }
  .uxwf .uxwf-entry > .uxwf-icon { width: 14px; height: 14px; }
  .uxwf .uxwf-action { padding: 6px; }
  .uxwf .uxwf-chip { padding: 5px; }
  .uxwf .uxwf-chrome, .uxwf .uxwf-foot { gap: 6px; padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) { .uxwf .uxwf-pointer { display: none; transition: none; } }
@media print { .uxwf .uxwf-play, .uxwf .uxwf-pointer { display: none; } }

/* The connector is anchored to the two example windows at their actual size. */
.uxwf .uxwf-stage { padding-block: clamp(18px, 4cqi, 32px) clamp(40px, 7cqi, 50px); }
.uxwf .uxwf-scene { z-index: 1; }
.uxwf .uxwf-junction { visibility: hidden; }
.uxwf:not([data-workflow-bound]) .uxwf-junction { visibility: visible; }
.uxwf .uxwf-window { background: #fff; }
.uxwf .uxwf-mini-site { display: flex; align-items: center; gap: 4px; padding: 8px 12px; background: white; border-bottom: 1px solid #e6edf0; }
.uxwf .uxwf-mini-site i { width: 10px; height: 10px; flex: none; border: 2px solid #669c98; border-radius: 2px 6px 2px 2px; }
.uxwf .uxwf-mini-site span, .uxwf .uxwf-mini-site b { height: 3px; width: 8px; background: #c6d3dd; border-radius: 4px; }
.uxwf .uxwf-mini-site span { width: 25%; margin-right: auto; background: #a3b3c1; }
.uxwf .uxwf-route, .uxwf .uxwf-token, .uxwf .uxwf-click-ring { position: absolute; pointer-events: none; }
.uxwf .uxwf-route { inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; }
.uxwf .uxwf-rail { stroke: #bdcdd6; stroke-width: 1.5; stroke-dasharray: 3 4; }
.uxwf .uxwf-trace { stroke: #168f84; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.uxwf .uxwf-port { fill: #67afa7; }
.uxwf .uxwf-token { z-index: 2; left: 0; top: 0; width: 27px; height: 27px; padding: 4px; border-radius: 7px; border: 1px solid #459e94; background: white; color: #116b63; opacity: 0; box-shadow: 0 2px 5px #245c542b; }
.uxwf .uxwf-token svg { display: block; width: 100%; height: 100%; }
.uxwf .uxwf-pointer { z-index: 3; width: 23px; height: 23px; transition: none; }
.uxwf .uxwf-pointer > svg { position: relative; z-index: 1; }
.uxwf .uxwf-click-ring { width: 28px; height: 28px; margin: -11px; top: 1px; left: 1px; border: 2px solid #07877b; opacity: 0; border-radius: 50%; }
.uxwf .uxwf-now { outline: 0; border-radius: 5px; }
.uxwf .uxwf-entry.uxwf-now, .uxwf .uxwf-bubble.uxwf-now, .uxwf .uxwf-input.uxwf-now { box-shadow: 0 0 0 2px #4aac9a65; }
.uxwf .uxwf-unread { display: block; height: 6px; width: 6px; border-radius: 100%; background: #07877b; }
.uxwf[data-workflow="inquiry"] [data-target="mail"] { position: relative; }
.uxwf[data-workflow="inquiry"] .uxwf-unread { position: absolute; left: 12px; top: 4px; box-shadow: 0 0 0 2px white; }
.uxwf[data-workflow="inquiry"]:is([data-phase="send"],[data-phase="missing"],[data-phase="repair"],[data-phase="retest"]) .uxwf-unread { opacity: 0; }
.uxwf[data-phase="missing"] [data-target="mail"], .uxwf[data-phase="friction"] [data-target="date"] { color: #7e5a35; background: white; }
.uxwf[data-phase="missing"] .uxwf-token { color: #865f34; border-color: #c4a379; background: white; }
.uxwf[data-phase="missing"] .uxwf-trace { stroke: #af895e; }
.uxwf .uxwf-install-track { height: 5px; border-radius: 4px; background: #e0ebee; overflow: hidden; }
.uxwf .uxwf-install-track i { display: block; height: 100%; width: 100%; background: #3da995; transform-origin: left; border-radius: inherit; }
.uxwf .uxwf-lock { width: 13px; height: 13px; flex: none; color: #447470; }
.uxwf .uxwf-field-check { display: inline-block; width: 8px; height: 5px; margin: 0 1px 3px 4px; border-left: 1.5px solid #0c8174; border-bottom: 1.5px solid #0c8174; transform: rotate(-45deg); }
.uxwf[data-workflow="mobile"]:is([data-phase="start"],[data-phase="friction"]) .uxwf-field-check { display: none; }
.uxwf[data-workflow="mobile"][data-phase="friction"] .uxwf-input { border-color: #b79267; }
.uxwf[data-workflow="mobile"]:is([data-phase="fix"],[data-phase="submit"],[data-phase="observe"]) .uxwf-input { border-color: #91c9bc; background: white; }
.uxwf .uxwf-play:focus-visible { outline-offset: 1px; }
@container(max-width:385px) {
  .uxwf .uxwf-stage { padding-inline: 8px; padding-bottom: 38px; }
  .uxwf .uxwf-mini-site { padding: 6px 8px; }
  .uxwf .uxwf-token { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .uxwf .uxwf-pointer, .uxwf .uxwf-token { display: none; }
}
