.article-flow {
  --flow-line: #e5e5ea;
  --flow-muted: #6e6e73;
  color: #1d1d1f;
  font:
    14px/1.5 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
body.baza-person-modal-embed[data-baza-db="product_skus"]
  .baza-drawer-body.article-flow-body {
  background: #fff;
  padding: 20px !important;
}
.article-flow *,
.article-flow-local-editor {
  box-sizing: border-box;
}
.article-flow-head,
.article-flow-term-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.article-flow-head {
  margin-bottom: 16px;
}
.article-flow h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin: 0;
}
.article-flow button,
.article-flow a {
  font: inherit;
}
.article-flow-refresh,
.article-flow-edit {
  border: 0;
  border-radius: 8px;
  padding: 7px 10px;
  background: transparent;
  color: #06c;
  text-decoration: none;
  cursor: pointer;
}
.article-flow-refresh:hover,
.article-flow-edit:hover {
  background: #edf3fa;
}
.article-flow-source {
  margin: 0 0 12px;
}
.article-flow-viewport {
  overflow-x: auto;
  padding: 3px 0 10px;
  max-width: 100%;
}
.article-flow-equation {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.article-flow-inputs {
  min-width: 0;
  flex: var(--branch-columns) 0
    calc(var(--branch-columns) * 230px + (var(--branch-columns) - 1) * 36px);
  display: grid;
  gap: 8px;
}
.article-flow-term {
  flex: 1 0 230px;
  min-width: 0;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #f5f5f7;
  scroll-margin-top: 16px;
}
.article-flow-output {
  background: #f0f4f8;
}
.article-flow-term.is-focused {
  border-color: #a5c6ee;
}
.article-flow-term-head {
  margin-bottom: 10px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px;
}
.article-flow-term-head small {
  padding: 0;
}
.article-flow-term > strong {
  display: block;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
}
.article-flow-term strong,
.article-flow-term small {
  overflow-wrap: anywhere;
}
.article-flow-specs,
.article-flow-basis {
  display: block;
  margin-top: 4px;
}
.article-flow-term small,
.article-flow-note,
.article-flow-source {
  color: var(--flow-muted);
  font-size: 12px;
}
.article-flow-symbol {
  color: #8e8e93;
  font-size: 20px;
  text-align: center;
  line-height: 1;
}
.article-flow-arrow {
  flex: 0 0 12px;
  padding-top: 47px;
}
@media (min-width: 761px) {
  .article-flow-inputs,
  .article-flow-inputs ~ .article-flow-term,
  .article-flow-inputs ~ .article-flow-arrow {
    align-self: center;
  }
  .article-flow-inputs ~ .article-flow-arrow {
    padding-top: 0;
  }
}
.article-flow .article-flow-code {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  border: 0;
  border-radius: 5px;
  background: #e8edf3;
  color: #40576f;
  padding: 3px 6px;
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.article-flow-code svg {
  width: 12px;
  height: 12px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.article-flow .article-flow-code:hover,
.article-flow .article-flow-code:focus-visible {
  background: #dce8f5;
  color: #06c;
}
.article-flow .article-flow-code.is-copied {
  background: #e4f4e9;
  color: #16733b;
}
.article-flow .article-flow-code.is-copy-error {
  background: #fff0ed;
  color: #a12b20;
}
.article-flow-stock,
.article-flow-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 0;
}
.article-flow-stock {
  padding-top: 12px;
  border-top: 1px solid var(--flow-line);
}
.article-flow-stock dt,
.article-flow-stats dt {
  color: var(--flow-muted);
  font-size: 11px;
}
.article-flow-stock dd,
.article-flow-stats dd {
  margin: 2px 0 0;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.article-flow-stock dd {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
}
.article-flow-stock .rn-live-stock {
  display: inline-flex;
  align-self: center;
  flex: none;
  --stock-dot: #94a3b8;
  --stock-pulse: #94a3b833;
}
.article-flow-stock .rn-live-stock--green { --stock-dot: #22c55e; --stock-pulse: #22c55e33; }
.article-flow-stock .rn-live-stock--yellow { --stock-dot: #f59e0b; --stock-pulse: #f59e0b33; }
.article-flow-stock .rn-live-stock--red { --stock-dot: #ef4444; --stock-pulse: #ef444433; }
.article-flow-stock .rn-live-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--stock-dot);
  animation: article-flow-stock-pulse 1.8s ease-out infinite;
}
@keyframes article-flow-stock-pulse {
  0% { box-shadow: 0 0 0 0 var(--stock-pulse); }
  70%, 100% { box-shadow: 0 0 0 5px transparent; }
}
@media (prefers-reduced-motion: reduce) {
  .article-flow-stock .rn-live-dot { animation: none; }
}
.article-flow-stock .article-flow-checked {
  color: var(--flow-muted);
  font-size: 11px;
  font-weight: 400;
}
.article-flow-term .article-flow-selection {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  color: #276446;
}
.article-flow-candidate,
.article-flow-selected-source {
  border-top: 1px solid var(--flow-line);
  padding-top: 12px;
  margin-top: 12px;
}
.article-flow-candidate .article-flow-stock,
.article-flow-selected-source .article-flow-stock {
  border: 0;
  padding-top: 0;
  margin-top: 8px;
}
.article-flow-stats:empty { display: none; }
.article-flow-stock-issues:empty { display: none; }
.article-flow-stats {
  margin-bottom: 12px;
}
.article-flow-more {
  margin-top: 12px;
}
.article-flow summary {
  cursor: pointer;
  color: var(--flow-muted);
  font-size: 12px;
}
.article-flow-more > summary {
  width: fit-content;
}
.article-flow .article-flow-edit {
  padding-left: 0;
  font-size: 12px;
}
.article-flow-info {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid var(--flow-line);
}
.article-flow-note {
  margin: 8px 0;
}
.article-flow-warning {
  color: #8b4619;
}
.article-flow :focus-visible,
.article-flow-local-editor > summary:focus-visible {
  outline: 3px solid #83bfff;
  outline-offset: 3px;
  border-radius: 4px;
}
.article-flow-preview:empty {
  display: none;
}
.article-flow-preview {
  max-width: 220px;
  margin: 0 auto 16px;
}
.article-flow-preview svg,
.article-flow-preview img {
  max-width: 100%;
  max-height: 130px;
  object-fit: contain;
}
.article-flow-preview.baza-sku-editor-media {
  width: 100%;
  height: 130px;
  border: 0;
  background: transparent;
}
.article-flow-local-editor {
  margin: 16px 0;
  padding: 12px 0;
  border-top: 1px solid #e5e5ea;
}
.article-flow-local-editor > summary {
  cursor: pointer;
  color: #06c;
  font-size: 13px;
  font-weight: 500;
}
.article-flow-local-editor[open] > summary {
  margin-bottom: 16px;
}
.article-flow-local-editor[hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  .article-flow-equation {
    flex-direction: column;
    gap: 10px;
  }
  .article-flow-arrow {
    align-self: center;
    flex: none;
    padding: 0;
    transform: rotate(90deg);
  }
  .article-flow-inputs,
  .article-flow-term {
    flex: none;
    width: 100%;
  }
  .article-flow-inputs {
    padding-left: 12px;
    border-left: 2px solid var(--flow-line);
  }
  .article-flow-term {
    padding: 14px;
  }
}
