:where(#commerce) { --bg: #080e11; --surface: #0e181c; --raised: #122024; --line: #26383e; --text: #f2f6f5; --body: #d0ddde; --muted: #a3b7ba; --accent: #69e1d2; --accent-soft: #122c2a; --accent-dark: #092520; --wire: #82aaa9; }
.commerce-home { background: radial-gradient(at 86% 3%, rgb(18, 51, 51), transparent 54%), linear-gradient(150deg, rgb(11, 21, 25), rgb(8, 14, 17)); }
:where(#commerce) .featured-workflow, :where(#commerce) .home-example, :where(#commerce) .workflow-diagram { background: rgb(12, 28, 29); border-color: rgb(61, 97, 94); }
:where(#commerce) .featured-bottom a, :where(#commerce) .featured-top, :where(#commerce) .graphic-context strong, :where(#commerce) .scope-switch button.active span, :where(#commerce) .workflow-info small span, :where(#commerce) .graphic-context::before { color: var(--accent); }
:where(#commerce) .featured-controls button:hover, :where(#commerce) .workflow-row:hover, :where(#commerce) .workflow-row:focus-visible { border-color: var(--accent); }
:where(#commerce) .workflow-row:hover, :where(#commerce) .workflow-row:focus-visible { background: var(--raised); }
:where(#commerce) .workflow-row, :where(#commerce) .workflow-row:last-child { min-height: 84px; align-content: center; }
:where(#commerce) .scope-switch button.active, :where(#commerce) .option-choices button[aria-pressed="true"], :where(#commerce) .authority-condition { color: var(--accent); background: var(--accent-soft); border-color: rgb(73, 123, 117); }
:where(#commerce) .operation-graphic, :where(#commerce) .diagram-wrap { background: var(--surface); }
:where(#commerce) .workflow-diagram { background: var(--surface); }
:where(#commerce) .authority-unit .workflow-icon, :where(#commerce) .authority-grant .workflow-icon, :where(#commerce) .graphic-verify .workflow-icon { filter: none; border-color: rgb(100, 148, 142); }
:where(#commerce) .authority-connector { background: var(--wire); }
:where(#commerce) .authority-connector::after { border-color: var(--wire); }
:where(#commerce) .graphic-context, :where(#commerce) .is-adapted .graphic-context { border: 1px solid transparent; padding: 7px 13px; }
:where(#commerce) .graphic-context::before { background: var(--accent); box-shadow: none; }
:where(#commerce) .is-adapted .graphic-context { background: var(--accent-soft); border-color: rgb(61, 97, 94); }
:where(#commerce) .graphic-verify, :where(#commerce) .featured-bottom { border-color: rgb(49, 80, 79); }
:where(#commerce) .authority-panel { background: rgb(12, 28, 29); border-color: rgb(61, 97, 94); }
:where(#commerce) .control-list .control-chips a { background: rgb(19, 34, 38); border-color: rgb(54, 80, 85); color: rgb(201, 228, 226); }
:where(#commerce) .financial-path { width: 100%; min-width: 0px; --travel-duration: 5.4s; --iterations: 1; }
:where(#commerce) .financial-path.looping { --iterations: infinite; --travel-duration: 7.6s; }
:where(#commerce) .financial-path > svg { display: block; width: 100%; height: auto; overflow: visible; }
:where(#commerce) .wave-labels { display: grid; grid-template-columns: repeat(3, minmax(0px, 1fr)); align-items: start; text-align: center; }
:where(#commerce) .wave-labels strong { padding: 0px 4px; color: var(--text); font: 600 clamp(16px, 1.65vw, 23px) / 1.22 KWHBody, sans-serif; }
:where(#commerce) .featured-workflow .financial-path { margin: 16px 0px 19px; }
:where(#commerce) .home-example .financial-path { margin: 16px 0px 0px; }
:where(#commerce) .featured-workflow .wave-labels strong, :where(#commerce) .home-example .wave-labels strong { font-size: clamp(15px, 1.25vw, 18px); }
:where(#commerce) .wire, :where(#commerce) .arrow-tip, :where(#commerce) .travel { fill: none; stroke: var(--wire); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:where(#commerce) .node-frame { fill: var(--surface); stroke: var(--wire); stroke-width: 2; }
:where(#commerce) .travel { stroke: var(--accent); stroke-width: 4; stroke-dasharray: 24, 110; stroke-dashoffset: 25; opacity: 0; }
:where(#commerce) .in-view .travel, :where(#commerce) .in-view .node-frame { animation-duration: var(--travel-duration); animation-iteration-count: var(--iterations); animation-timing-function: linear; animation-fill-mode: both; }
:where(#commerce) .in-view .edge-0 .travel { animation-name: first-transfer; }
:where(#commerce) .in-view .edge-1 .travel { animation-name: second-transfer; }
:where(#commerce) .in-view .step-0 .node-frame { animation-name: origin; }
:where(#commerce) .in-view .step-1 .node-frame { animation-name: operation; }
:where(#commerce) .in-view .step-2 .node-frame { animation-name: outcome; }
@keyframes first-transfer { 
  0%, 10% { opacity: 0; stroke-dashoffset: 25; }
  12% { opacity: 1; }
  36% { opacity: 1; stroke-dashoffset: -100; }
  37%, 100% { opacity: 0; stroke-dashoffset: -100; }
}
@keyframes second-transfer { 
  0%, 42% { opacity: 0; stroke-dashoffset: 25; }
  44% { opacity: 1; }
  68% { opacity: 1; stroke-dashoffset: -100; }
  69%, 100% { opacity: 0; stroke-dashoffset: -100; }
}
:where(#commerce) .financial-path { --node-active-fill: #214843; }
@keyframes origin { 
  0%, 18%, 100% { fill: var(--surface); stroke: var(--wire); }
  4%, 12% { fill: var(--node-active-fill); stroke: var(--accent); }
}
@keyframes operation { 
  0%, 29%, 51%, 100% { fill: var(--surface); stroke: var(--wire); }
  36%, 44% { fill: var(--node-active-fill); stroke: var(--accent); }
}
@keyframes outcome { 
  0%, 62%, 94%, 100% { fill: var(--surface); stroke: var(--wire); }
  69%, 85% { fill: var(--node-active-fill); stroke: var(--accent); }
}
#kw-home-final .commerce-home { box-sizing: border-box; width: min(1220px, 100% - 36px); margin: clamp(2.25rem, 4vw, 3.5rem) auto 0px; padding: clamp(22px, 3.3vw, 42px); border: 1px solid rgb(61, 97, 94); border-radius: 12px; display: grid; grid-template-columns: minmax(0px, 1.1fr) minmax(0px, 1fr); align-items: center; gap: clamp(28px, 3.5vw, 48px); scroll-margin-top: 85px; --kh-button: var(--accent); }
#kw-home-final .commerce-intro { min-width: 0px; }
#kw-home-final #commerce-title { text-align: left; margin: 0px; font: 750 clamp(1.8rem, 3.35vw, 3rem) / 1.1 KWThemeOxanium, KWHHeading, sans-serif; letter-spacing: -0.035em; color: rgb(226, 205, 189); text-wrap: balance; }
#kw-home-final #commerce-title > span { color: var(--accent); }
:where(#commerce) .commerce-brands { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: clamp(8px, 1.4vw, 20px); align-items: center; margin: 26px 0px 20px; }
:where(#commerce) .commerce-brands span { display: inline-flex; align-items: center; gap: 6px; color: rgb(255, 255, 255); font: 700 22px KWHBody, sans-serif; }
:where(#commerce) .commerce-brands img { width: 27px; height: 27px; object-fit: contain; }
#kw-home-final .commerce-example-column p { color: var(--body); font: 400 18px / 1.45 KWHBody, sans-serif; margin: 0px 0px 24px; text-align: left; }
#kw-home-final .commerce-home .kh-explore { width: fit-content; max-width: 100%; justify-self: start; padding-inline: clamp(20px, 2vw, 30px); color: rgb(0, 0, 0); }
#kw-home-final .commerce-example-column { width: 100%; max-width: 520px; min-width: 0px; place-self: center end; }
#kw-home-final .commerce-home .home-example { box-sizing: border-box; width: 100%; margin: 0px; padding: clamp(12px, 1.1vw, 16px); }
@media (min-width: 801px) {
#kw-home-final .commerce-intro { align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 22px; }
#kw-home-final .commerce-intro .commerce-brands { margin: 0px; }
#kw-home-final .commerce-example-column { align-self: end; }
}
@media (min-width: 651px) and (max-width: 850px) {
#kw-home-final .commerce-home { width: calc(100% - 28px); }
}
@media (max-width: 410px) {
:where(#commerce) .commerce-brands { gap: clamp(12px, 4vw, 17px); }
:where(#commerce) .commerce-brands span { flex-direction: column; gap: 2px; line-height: 1.2; }
}
@media (max-width: 650px) {
#kw-home-final .commerce-home { width: min(430px, 100% - 36px); padding-inline: 1.25rem; }
#kw-home-final .commerce-home .kh-explore { width: fit-content; }
}
:where(#commerce) .home-example { margin: 0px; border: 1px solid rgb(61, 97, 94); border-radius: 10px; padding: 22px; min-width: 0px; }
:where(#commerce) .home-workflow-meta { display: block; color: var(--accent); font: 600 14px / 1.35 KWHBody, sans-serif; }
:where(#commerce) .home-example figcaption strong { display: block; margin-top: 6px; color: var(--text); font: 700 clamp(20px, 1.6vw, 22px) / 1.15 KWThemeOxanium, KWHHeading, sans-serif; }
@media (max-width: 800px) {
#kw-home-final .commerce-home { grid-template-columns: minmax(0px, 1fr); }
#kw-home-final .commerce-example-column { justify-self: start; max-width: min(100%, 520px); }
:where(#commerce) .home-example { padding: 18px; }
:where(#commerce) .detail-shell .financial-path { margin: 24px 0px; }
:where(#commerce) .operation-graphic { gap: 12px; }
}
@media (max-width: 580px) {
:where(#commerce) .diagram-wrap { padding: 6px; }
:where(#commerce) .operation-graphic { padding: 15px 9px; }
:where(#commerce) .financial-path .wave-labels strong { font-size: 15px; }
:where(#commerce) .featured-workflow { min-height: 270px; }
}
@media (prefers-reduced-motion: reduce) {
:where(#commerce) .financial-path.in-view * { animation: auto ease 0s 1 normal none running none; }
}
.commerce-home { --bg: #151311; --surface: #211d1a; --raised: #302822; --line: #4d4239; --text: #f6f0e9; --body: #dbd1c6; --muted: #bcaea2; --accent: #f0ae79; --accent-soft: #3a2a20; --wire: #afa192; --rim: #715440; }

#kw-home-final .commerce-home { border-color: var(--rim); background: radial-gradient(ellipse at 84% 8%, #3d2c21, transparent 59%), linear-gradient(145deg, #1d1916, var(--bg)); }




.commerce-home .home-example { background: var(--surface); border-color: var(--rim); }














.commerce-home .financial-path { --node-active-fill: #533823; }
:where(#commerce) .workflow-icon { fill: rgb(201, 191, 179); stroke: none; display: block; }

:where(#commerce) .authority-condition { display: inline-flex; align-items: center; gap: 6px; }
:where(#commerce) .authority-condition .workflow-icon { width: 17px; height: 17px; }
:where(#commerce) .approval-gate circle { stroke: var(--wire); fill: var(--surface); stroke-width: 2; }
@media (prefers-reduced-motion: no-preference) {
:where(#commerce) .in-view .approval-gate circle { animation: approval-check var(--travel-duration) linear both var(--iterations); }
}
@keyframes approval-check { 
  0%, 17%, 32%, 100% { fill: var(--surface); stroke: var(--wire); }
  21%, 26% { fill: var(--node-active-fill); stroke: var(--accent); }
}
:where(#commerce) .featured-controls button { display: grid; place-items: center; padding: 0px; }
:where(#commerce) .featured-controls svg { display: block; fill: none; stroke: currentcolor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:where(#commerce) .featured-title > span { font-size: 0.9rem; }
:where(#commerce) .workflow-info strong { font-size: 1.125rem; }
:where(#commerce) .workflow-info small { font-size: 0.90625rem; }
@media (max-width: 580px) {
:where(#commerce) .workflow-info strong { font-size: 1rem; }
:where(#commerce) .workflow-info small { font-size: 0.8125rem; }
}
@media (max-width: 700px) {

}
:where(#commerce) .featured-workflow { display: grid; grid-template-columns: minmax(0px, 1fr); grid-template-rows: auto auto auto auto; align-content: space-between; }
:where(#commerce) .featured-top { grid-area: 1 / 1; }
:where(#commerce) .featured-slide { display: contents; }
:where(#commerce) .featured-slide > .featured-title { grid-area: 2 / 1; }
:where(#commerce) .featured-slide > .financial-path { grid-area: 3 / 1; }
:where(#commerce) .featured-bottom { grid-area: 4 / 1; }
:where(#commerce) .featured-slide > * { transition: opacity 160ms; }
:where(#commerce) .featured-slide[inert] > * { visibility: hidden; opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
:where(#commerce) .featured-slide > * { transition: none; }
}
:where(#commerce) .home-example { container-type: inline-size; }
:where(#commerce) .home-example .graphic-authority { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 9px; margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--line); color: var(--body); font: 600 14px / 1.3 KWHBody, sans-serif; }
:where(#commerce) .home-example .authority-unit, :where(#commerce) .home-example .authority-condition { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
:where(#commerce) .home-example .authority-unit svg { width: 20px; height: 20px; flex: 0 0 auto; }
:where(#commerce) .home-example .authority-connector { width: 18px; height: 1px; background: var(--wire); position: relative; }
:where(#commerce) .home-example .authority-connector::after { content: ""; position: absolute; right: 0px; top: -2px; width: 5px; height: 5px; border-right: 1px solid var(--wire); border-top: 1px solid var(--wire); transform: rotate(45deg); }
:where(#commerce) .home-example .authority-condition { margin-left: auto; padding: 3px 7px; border: 1px solid var(--rim); border-radius: 4px; background: var(--accent-soft); color: var(--accent); }
:where(#commerce) .home-example .authority-condition svg { width: 14px; height: 14px; }
:where(#commerce) .home-example .graphic-verify { display: flex; align-items: center; gap: 6px; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font: 600 14px / 1.3 KWHBody, sans-serif; }
:where(#commerce) .home-example .graphic-verify svg { width: 18px; height: 18px; flex: 0 0 auto; }
:where(#commerce) .home-example .graphic-verify strong { margin-left: auto; text-align: right; color: var(--text); font-weight: 600; }
@container (max-width: 390px) {
:where(#commerce) .home-example .authority-condition { margin-left: 0px; }
:where(#commerce) .home-example .graphic-verify { display: grid; grid-template-columns: 18px 1fr; }
:where(#commerce) .home-example .graphic-verify strong { grid-column: 2; margin: 0px; text-align: left; }
}
#kw-home-final .kao-home-copy p {font-size:18px}
#kw-home-final .kao-mappings {font-size:1.375rem}
/* Unfolded phones and compact tablets */
@media (min-width: 651px) and (max-width: 900px) {
  #kw-home-final .commerce-home {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(18px, 2.6vw, 24px);
    padding: clamp(18px, 2.65vw, 24px);
  }
  #kw-home-final .commerce-intro {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
  }
  #kw-home-final .commerce-intro .commerce-brands {
    gap: clamp(8px, 1.4vw, 12px);
    margin: 0;
  }
  #kw-home-final .commerce-brands span { gap: 4px; font-size: 18px; }
  #kw-home-final .commerce-brands img { width: 20px; height: 20px; }
  #kw-home-final .commerce-example-column { max-width: none; align-self: end; }
  #kw-home-final .commerce-example-column p { margin-bottom: 14px; }
}
@container (max-width: 245px) {
  #commerce .wave-labels strong { hyphens: auto; overflow-wrap: anywhere; }
}
