/* Illustrative commerce flows: flat surfaces, native type and independent currencies. */
.wf-commerce { --flow-accent: var(--blue); min-width: 0; width: 100%; margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.wf-commerce-topline { display: flex; align-items: center; gap: 7px; margin-bottom: 18px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.wf-demo-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex: none; }
.wf-demo-index { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--blue); }
.wf-commerce-source { display: flex; align-items: center; gap: 14px; min-height: 88px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.wf-source-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 10px; color: var(--blue); background: var(--pale-blue); }
.wf-source-icon svg { width: 27px; height: 27px; }
.wf-micro { display: block; color: var(--muted); font-size: 11px; line-height: 1.4; }
.wf-commerce-source strong { display: block; margin-block: 2px; font-size: 18px; font-weight: 500; line-height: 1.2; }
.wf-commerce-source p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.wf-source-connection { position: relative; height: 44px; width: 2px; margin-inline: auto; background: #b7c1ef; }
.wf-commerce .wf-parcel { display: block; width: 22px; height: 22px; pointer-events: none; }
.wf-commerce .wf-parcel svg { display: block; width: 22px; height: 22px; }
.wf-source-connection i { position: absolute; top: 1px; left: -10px; animation: wf-stock-down 2.4s linear -1.2s infinite; animation-play-state: paused; }
.wf-commerce-hub { padding: 20px; border: 1px solid var(--blue); border-radius: 12px; background: var(--blue); color: #fff; }
.wf-hub-heading { display: flex; align-items: center; gap: 9px; }
.wf-hub-heading img { flex: none; width: 32px; height: 32px; }
.wf-hub-heading > strong { font-size: 23px; letter-spacing: -.04em; font-weight: 500; }
.wf-hub-signal { display: flex; align-items: end; gap: 3px; margin-left: auto; height: 19px; }
.wf-hub-signal i { width: 4px; background: var(--yellow); border-radius: 2px; }
.wf-hub-signal i:nth-child(1) { height: 7px; }.wf-hub-signal i:nth-child(2) { height: 12px; }.wf-hub-signal i:nth-child(3) { height: 18px; }
.wf-commerce .wf-hub-label { margin: 10px 0 12px; font-size: 12px; color: #e4e9ff; }
.wf-sales-totals { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.wf-sales-totals > div { min-width: 0; }
.wf-sales-totals span { display: block; color: #e4e9ff; font-size: 11px; }
.wf-sales-totals strong { display: block; margin-top: 3px; font-size: clamp(18px,1.65vw,25px); font-weight: 400; letter-spacing: -.04em; line-height: 1.3; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wf-order-activity { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 10px; margin-top: 16px; padding-top: 12px; border-top: 1px solid #7183e2; font-size: 11px; line-height: 1.4; }
.wf-order-activity b { font-weight: 500; font-variant-numeric: tabular-nums; }
.wf-order-tick { color: #fff1bf; }
.wf-exchange { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 0 8px; }
.wf-exchange-lane { display: flex; align-items: center; gap: 9px; justify-content: center; }
.wf-exchange-lane > span:last-child { max-width: 95px; color: var(--muted); font-size: 11px; line-height: 1.3; }
.wf-exchange-track { position: relative; display: block; width: 23px; height: 72px; flex: none; }
.wf-exchange-track::before { position: absolute; content: ""; width: 1px; top: 0; bottom: 0; left: 11px; background: #9daadd; }
.wf-exchange-track b { position: absolute; font-weight: 400; left: 5px; color: var(--blue); font-size: 20px; line-height: 1; background: var(--paper); }
.wf-track-out b { bottom: 0; }.wf-track-in b { top: 0; }
.wf-track-out i { position: absolute; top: 2px; left: 0; animation: wf-product-down 2.8s linear -1.4s infinite; animation-play-state: paused; }
.wf-track-in i { position: absolute; display: grid; place-items: center; width: 22px; height: 22px; top: 36px; left: 0; border-radius: 50%; background: var(--yellow); color: var(--navy); font-style: normal; font-size: 12px; font-weight: 500; animation: wf-money-up 3.2s linear infinite; animation-play-state: paused; }
.wf-track-in i:nth-child(2) { animation-delay: -1.6s; }
.wf-channel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; margin: 0 0 9px; color: var(--navy); font-size: 13px; font-weight: 500; }
.wf-channel-next { display: grid; place-items: center; width: 44px; height: 44px; flex: none; padding: 10px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--blue); cursor: pointer; }
.wf-channel-next:hover { background: var(--pale-yellow); border-color: #dac58d; }
.wf-channel-next svg { width: 19px; height: 19px; }
.wf-channel-quartet { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.wf-channel-tile { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; min-height: 104px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.wf-channel-logo { display: flex; align-items: center; justify-content: flex-start; height: 32px; max-width: 100%; margin-bottom: 5px; }
.wf-channel-logo img { width: 76px; max-width: 100%; height: 32px; object-fit: contain; object-position: left center; }
.wf-channel-monogram { display: grid; place-items: center; width: 26px; height: 26px; background: var(--pale-blue); color: var(--blue); border-radius: 6px; font-size: 16px; }
.wf-channel-tile strong { max-width: 100%; color: var(--navy); font-size: 14px; font-weight: 500; overflow-wrap: anywhere; line-height: 1.3; }
.wf-channel-tile small { display: block; margin-top: 4px; font-size: 10px; line-height: 1.3; }
.wf-channel-ready { color: #34516d; }.wf-channel-request { color: #7b5b13; }
.wf-commerce figcaption { display: grid; gap: 5px; margin-top: 15px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.wf-commerce figcaption strong { font-weight: 500; color: #424b6d; }
.wf-home-flow { margin-block: 30px 36px; }
.wf-home-flow .wf-model-panel { background: var(--pale-blue); }
.wf-home-flow .wf-model-1 { background: #f4f6fc; }
.wf-home-flow .wf-model-2 { background: var(--pale-yellow); }
.wf-home-flow .wf-model-copy .wf-text-link { margin-top: 22px; }
.wf-home-flow .wf-commerce { background: #fff; }
.wf-home-flow .wf-exchange-track b { background: #fff; }
.wf-accounting { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(25px,4vw,62px); padding-top: clamp(55px,7vw,100px); scroll-margin-top: calc(var(--wf-nav-height,130px) + 24px); }
.wf-accounting h2 { margin-block: 18px; font-size: clamp(30px,3.4vw,47px); line-height: 1.12; font-weight: 400; letter-spacing: -.04em; }
.wf-accounting .wf-checks { margin-top: 25px; }
.wf-ledger { margin: 0; padding: 27px; border: 1px solid var(--line); border-radius: 18px; background: var(--pale-yellow); }
.wf-ledger-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.wf-ledger-icon { display: grid; place-items: center; width: 43px; height: 43px; flex: none; border: 1px solid #ddc585; border-radius: 10px; color: var(--navy); }
.wf-ledger-icon svg { width: 26px; height: 26px; }
.wf-ledger-heading strong { display: block; margin-top: 2px; font-size: 17px; line-height: 1.3; font-weight: 500; }
.wf-ledger-currency { padding: 18px; margin-top: 12px; border: 1px solid #e2d6b7; border-radius: 12px; background: #fff; }
.wf-ledger-currency-title { display: flex; align-items: center; gap: 9px; color: var(--navy); }
.wf-ledger-currency-title > span:first-child { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--pale-blue); color: var(--blue); font-size: 19px; }
.wf-ledger-currency-title strong { font-size: 13px; font-weight: 500; letter-spacing: .05em; }
.wf-ledger-trend { margin-left: auto; font-size: 22px; color: var(--blue); }
.wf-ledger dl { display: grid; gap: 10px; margin: 18px 0 12px; font-size: 13px; }
.wf-ledger dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.wf-ledger dt { color: var(--muted); }.wf-ledger dd { margin: 0; color: var(--navy); font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wf-ledger dl > .wf-ledger-balance { padding-top: 11px; border-top: 1px solid var(--line); }
.wf-ledger-balance dd { color: var(--blue); font-weight: 500; }
.wf-ledger-meter { height: 4px; border-radius: 3px; background: var(--pale-blue); overflow: hidden; }
.wf-ledger-meter span { display: block; height: 100%; width: 75%; background: var(--blue); }
.wf-ledger figcaption { margin-top: 18px; color: #655636; font-size: 11px; }
.wf-accounting-art { display: grid; place-items: center; background: var(--pale-yellow); }
.wf-accounting-art svg { width: 75%; height: 90%; color: var(--navy); }
body[data-feature-motion="running"] .wf-commerce[data-animating="true"] .wf-source-connection i,
body[data-feature-motion="running"] .wf-commerce[data-animating="true"] .wf-exchange-track i { animation-play-state: running; }
@keyframes wf-stock-down { 0% { transform: translateY(0); opacity: 0; } 20%,75% { opacity: 1; } 100% { transform: translateY(20px); opacity: 0; } }
@keyframes wf-product-down { 0% { transform: translateY(0); opacity: 0; } 15%,80% { opacity: 1; } 100% { transform: translateY(26px); opacity: 0; } }
@keyframes wf-money-up { 0% { transform: translateY(0); opacity: 0; } 20%,80% { opacity: 1; } 100% { transform: translateY(-33px); opacity: 0; } }
@media (max-width: 1020px) {
 .wf-commerce { padding: 16px; }.wf-commerce-hub { padding: 16px; }.wf-commerce-source { padding: 13px; gap: 10px; }
 .wf-channel-tile { padding: 10px; }.wf-sales-totals { gap: 8px; }
}
@media (min-width: 761px) and (max-width: 960px) {
 .wf-model-panel { grid-template-columns: minmax(0,1fr); }
 .wf-commerce { max-width: 600px; margin-inline: auto; }
 .wf-sales-totals strong { font-size: 25px; }
}
@media (max-width: 760px) {
 .wf-accounting { grid-template-columns: minmax(0,1fr); }
 .wf-commerce { padding: 18px; }.wf-sales-totals strong { font-size: clamp(19px,4.8vw,25px); }
 .wf-ledger { padding: 22px; }.wf-home-flow { margin-top: 24px; }
}
@media (max-width: 390px) {
 .wf-commerce { padding: 12px; border-radius: 12px; }.wf-commerce-hub { padding: 13px; }
 .wf-source-icon { width: 33px; height: 33px; }.wf-source-icon svg { width: 23px; height: 23px; }
 .wf-commerce-source strong { font-size: 16px; }.wf-commerce-source p { font-size: 11px; }
 .wf-hub-heading > strong { font-size: 21px; }.wf-channel-tile { padding: 9px; }
 .wf-sales-totals strong { font-size: 18px; letter-spacing: -.05em; }
 .wf-ledger { padding: 16px; }.wf-ledger-currency { padding: 14px; }
 .wf-ledger dd { font-size: 15px; }.wf-ledger dt { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
 .wf-commerce *, .wf-ledger * { animation: none !important; transition: none !important; }
}
