/* each feature section's own opening and closing (kfeat.js). */

/* ---- what the motif covers ---- */
[data-ki-phone] { transition: opacity .5s ease; }
[data-ki-cover] [data-ki-phone] { opacity: 0 !important; transition: opacity .25s ease; }
html.ki-dockoff .ks.ktry-dock { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
[data-kf-hide] [data-kf-src] { opacity: 0 !important; transition: none !important; }
/* phones: the words page leaves room at its top for the motif, which names the feature */
html.kp-narrow [data-ki-end] .kps-end { padding-top: var(--ki-words-top, 250px); }
html.kp-narrow [data-ki-end] .kps-card .kps-eb { display: none; }
html.kp-narrow [data-ki-cover]:not([data-ki-end]) .kps-cap { opacity: 0; }

/* ---- the layer ---- */
.kf { display: none; position: absolute; inset: 0; z-index: 46; overflow: hidden; pointer-events: auto; cursor: default; contain: layout paint;
  font-family: var(--font, 'Lama Sans', system-ui, sans-serif); -webkit-tap-highlight-color: transparent; color: #0F1D22; }
html.kp-narrow .kf { z-index: 20; }
.kf[data-state="story"] { display: none !important; }
html.kp-narrow .kf[data-state="end"] { pointer-events: none; }
.kf-sheet { position: absolute; inset: 0; pointer-events: none; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.kf-bg { position: absolute; inset: 0; }
.kf-fx { position: absolute; inset: 0; pointer-events: none; }
.kf-box { position: absolute; left: 0; top: 0; box-sizing: border-box; line-height: 1.2; }
.kf-slot { position: relative; flex: none; }
.kf-c { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; margin: 0 !important; }
.kf-c * { pointer-events: none; }
.kf-pill { border-radius: .5em; transition: background-color .4s, box-shadow .4s; }
.kf[data-pend] .kf-pill { background: #fff; box-shadow: 0 0 0 .8em #fff, 0 1em 2em rgba(0,0,0,.25); }

.kf-btns { position: absolute; left: 0; right: 0; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; opacity: 0; visibility: hidden; z-index: 5; pointer-events: auto; }
html.kp-narrow .kf-btns { display: none; }
.kf-btns button { min-height: 52px; padding: 0 22px; border: 0; border-radius: 26px; font: 800 16px/1.15 var(--font, 'Lama Sans', system-ui, sans-serif);
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.kf-btns svg { width: 19px; height: 19px; flex: none; }
.kf-btns .kf-again { background: #fff; color: #0F1D22; box-shadow: 0 1px 2px rgba(15,29,34,.1), 0 8px 22px rgba(15,29,34,.12); }
.kf-btns .kf-again:hover { background: #F4F7F8; }
.kf-btns .kf-try { background: #0BBAD8; color: #04242B; box-shadow: 0 10px 26px rgba(11,186,216,.35); }
.kf-btns .kf-try:hover { background: #2BC6E0; }
/* wide screens: the sign-off plays over the finished scene and covers nothing */
.kf[data-state="signoff"], .kf[data-state="signed"] { pointer-events: none; }
.kf[data-state="signoff"] .kf-sheet, .kf[data-state="signed"] .kf-sheet, .kf[data-state="signoff"] > .kf-c, .kf[data-state="signed"] > .kf-c { display: none; }
.kf[data-state="signed"] .kf-btns { opacity: 1; visibility: visible; justify-content: flex-start; width: max-content; }
.kf[data-state="signoff"] .kf-btns { opacity: 0; visibility: hidden; }
.kf[data-state="signoff"] .kf-try, .kf[data-state="signed"] .kf-try { display: none; }
.kf[data-state="signed"] .kf-btns { width: max-content; justify-content: flex-start; }
.kf[data-state="signed"] .kf-btns button { min-height: 48px; padding: 0 22px 0 18px; font-size: 15px; white-space: nowrap; }
.kf[data-state="signed"] .kf-btns[data-compact] button { min-height: 38px; padding: 0 18px 0 14px; font-size: 14px; }
.kz { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 6; }
.kz-halo { border-radius: 50%; background: radial-gradient(circle, var(--c) 0%, transparent 68%); z-index: 5; }
.kz-scan { border-radius: 14px; }
.kz-scan .c { position: absolute; width: 34px; height: 34px; border: 5px solid #0BBAD8; filter: drop-shadow(0 0 6px rgba(11,186,216,.6)); }
.kz-scan .tl { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 12px 0 0 0; }
.kz-scan .tr { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 12px 0 0; }
.kz-scan .bl { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 12px; }
.kz-scan .br { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 12px 0; }
.kz-scan .beam { position: absolute; top: 10px; bottom: 10px; left: 0; width: 4px; margin-left: -2px; border-radius: 2px; background: #0BBAD8; box-shadow: 0 0 10px 4px rgba(11,186,216,.7), 0 0 34px 10px rgba(11,186,216,.3); }
.kz-rcard { display: flex; align-items: flex-end; gap: 9px; padding: 18px 18px 16px; box-sizing: border-box; border-radius: 18px; background: #fff; box-shadow: 0 3px 8px rgba(15,29,34,.1), 0 16px 34px rgba(15,29,34,.16); }
.kz-rcard i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #A58BF6, #7C5CE6); transform-origin: 50% 100%; }
.kz-rcard i:last-child { background: linear-gradient(180deg, #4FD6EC, #0BBAD8); }
.kz-bub { display: grid; place-items: center; width: 150px; height: 46px; border-radius: 18px; border-start-start-radius: 5px; background: #fff; box-shadow: 0 2px 5px rgba(15,29,34,.1), 0 12px 26px rgba(15,29,34,.14); }
.kz-bub .d { position: absolute; display: flex; gap: 9px; } .kz-bub .d i { width: 12px; height: 12px; border-radius: 50%; background: #A9B4BB; }
.kz-bub .t { position: absolute; width: 46px; height: 27px; opacity: 0; } .kz-bub .t svg { width: 100%; height: 100%; display: block; }
.kz-van .kfc-van { padding-bottom: 2.6em; }
.kz-van .kfc-cargo { width: 21em; height: 8.5em; flex: none; }
.kz-van .kfc-cab { height: 10.5em; width: 9.5em; }
.kf[dir="rtl"] .kz-van .kfc-cab svg { transform: scaleX(-1); }
.kz-tick { width: 84px; height: 70px; }
.kz-tick svg { width: 100%; height: 100%; overflow: visible; }
.kz-tick path { fill: none; stroke: #233C86; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; }
.kz-tick .kfd-pencil { font-size: 13px; }
.kz-beam { width: 4px; margin-left: -2px; border-radius: 2px; background: #0BBAD8; box-shadow: 0 0 8px 3px rgba(11,186,216,.7), 0 0 30px 8px rgba(11,186,216,.3); }
.kz-ok { width: 46px; height: 46px; border-radius: 50%; background: #0BBAD8; display: grid; place-items: center; box-shadow: 0 4px 10px rgba(11,186,216,.4); }
.kz-ok svg { width: 64%; height: 64%; }
.kz-box .kfs-bx { font-size: 10px; }
.kz-bell { width: 34px; height: 38px; }
.kz-bell span { position: absolute; inset: 0; transform-origin: 50% 6%; } .kz-bell span svg { width: 100%; height: 100%; display: block; }
.kz-bell b { position: absolute; top: -4px; inset-inline-end: -8px; width: 28px; height: 28px; border-radius: 50%; background: #E5484D; color: #fff; font: 800 15px/28px var(--font, 'Lama Sans', sans-serif); text-align: center; }
.kz-trail svg { display: block; overflow: visible; }
.kz-trail .t { fill: none; stroke: #0BBAD8; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 2 12; }
.kz-trail .m { fill: none; stroke: #fff; stroke-width: 14; stroke-dasharray: 1 1; }
.kz-plane { width: 120px; height: 70px; filter: drop-shadow(0 6px 6px rgba(70,50,10,.25)); }
.kz-plane svg { width: 100%; height: 100%; display: block; }
.kz-rc { background: #fff; box-shadow: 0 3px 8px rgba(70,35,5,.2); display: flex; flex-direction: column; gap: 7px; padding: 10px 9px; box-sizing: border-box; transform-origin: 50% 100%;
  clip-path: inset(0 0 0 0); border-radius: 2px 2px 0 0; }
.kz-rc i { display: block; height: 6px; border-radius: 2px; background: #DCE3E8; } .kz-rc i.s { width: 60%; }
.kz-coin { width: 104px; height: 104px; perspective: 600px; font-size: 8px; }
.kz-coin .kfx-coin { position: absolute; inset: 0; transform-style: preserve-3d; }
.kz-sig { width: 70px; height: 44px; border-radius: 14px; background: #3A3468; display: grid; place-items: center; box-shadow: 0 0 0 2px rgba(255,255,255,.12), 0 8px 18px rgba(0,0,0,.3); }
.kz-sig { border-radius: 22px; }
.kz-sig > svg { width: 60px; height: 45px; } .kz-sig .b { fill: #6E668F; }
.kz-sig > b { position: absolute; top: -12px; inset-inline-end: -12px; width: 32px; height: 32px; border-radius: 50%; background: #34C27A; display: grid; place-items: center; }
.kz-sig > b svg { width: 70%; height: 70%; }
.kz-team { display: flex; font-size: 8px; }
.kz-team .kft-av { width: 66px; height: 66px; margin-inline: 0 -10px; }
.kz-team .kft-face { box-shadow: 0 0 0 3px #fff, 0 6px 14px rgba(15,29,34,.2); }
.kz-bars { display: flex; align-items: flex-end; gap: 4px; width: 50px; height: 34px; }
.kz-bars i { flex: 1; height: var(--h); border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg, #A58BF6, #7C5CE6); transform-origin: 50% 100%; }
.kz-bars i:last-child { background: linear-gradient(180deg, #4FD6EC, #0BBAD8); }
.kz-ring { border-radius: 18px; border: 4px solid #8B6CF0; box-sizing: border-box; }
.kz-hand { width: 48px; height: 58px; filter: drop-shadow(0 3px 4px rgba(15,29,34,.25)); transform-origin: 30% 10%; }
.kz-hand svg { width: 100%; height: 100%; display: block; }
.kf[data-dark] .kf-btns .kf-again { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.kf-btns button:focus-visible { outline: 3px solid #7FE3F2; outline-offset: 3px; }

/* =========================================================================
   Selling online: a message arrives
   ========================================================================= */
.kf[data-m="orders"] .kf-bg { background: radial-gradient(rgba(15,29,34,.07) 1.3px, transparent 1.6px) 0 0 / 22px 22px, linear-gradient(180deg, #F5EEE4, #EFE6D9); }
.kfo { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.kfo-type { position: absolute; inset-inline-start: 0; top: 0; height: 3.6em; padding: 0 1.5em; box-sizing: border-box; border-radius: 1.8em; border-start-start-radius: .4em;
  background: #fff; display: flex; align-items: center; gap: .55em; box-shadow: 0 .1em .25em rgba(15,29,34,.08), 0 .8em 2em rgba(15,29,34,.08); }
.kfo-type i { width: .85em; height: .85em; border-radius: 50%; background: #A9B4BB; }
.kfo-msg { position: relative; background: #fff; border-radius: 1.5em; border-start-start-radius: .35em; padding: 1.4em 1.7em 2.4em; box-sizing: border-box; max-width: 40em;
  box-shadow: 0 .12em .3em rgba(15,29,34,.08), 0 1.2em 2.8em rgba(15,29,34,.12); }
.kfo-tail { position: absolute; top: 0; inset-inline-start: -1em; width: 1.2em; height: 1.3em; background: #fff; clip-path: polygon(100% 0, 0 0, 100% 100%); }
.kf[dir="rtl"] .kfo-tail { clip-path: polygon(0 0, 100% 0, 0 100%); }
.kfo-eb { margin-bottom: 1em; }
.kfo-tick { position: absolute; inset-inline-end: 1.3em; bottom: .8em; width: 2.2em; height: 1.3em; color: #9AA5AD; }
.kfo-tick svg { width: 100%; height: 100%; display: block; }

/* =========================================================================
   Order tracking: the van
   ========================================================================= */
.kf[data-m="courier"] .kf-bg { background: linear-gradient(180deg, #E3F4F5 0%, #D7EEF3 70%, #CFE8EE 100%); }
.kfc-road { position: absolute; left: 0; right: 0; height: 120px; background: linear-gradient(180deg, #59636C 0 100px, #4B545C 100px 112px, #D9CDB4 112px 122px, #E8DCC6 122px); }
.kfc-road::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; background: #E9DFCB; }
.kfc-road.kfc-real::before, .kfc-road.kfc-real::after { display: none; }
/* phones: the van carries the headline into the words page, so the page does not repeat it */
html.kp-narrow [data-kf-keeph][data-ki-end] .kps-card h3 { display: none; }
.kfc-road::after { content: ""; position: absolute; left: 0; right: 0; top: 44px; height: 6px; background: repeating-linear-gradient(90deg, #F3EEDF 0 46px, transparent 46px 92px); opacity: .9; }
html.kp-narrow .kfc-road { background: linear-gradient(180deg, #59636C 0 64px, #4B545C 64px 72px, #D9CDB4 72px 80px, #E8DCC6 80px); }
html.kp-narrow .kfc-road::after { top: 28px; }
.kfc { position: relative; }
.kfc-rig { position: relative; }
.kfc-van { position: relative; display: flex; align-items: flex-end; padding-bottom: 2.6em; transform-origin: 50% 100%; }
.kfc-cargo { position: relative; flex: 1 1 auto; min-width: 0; box-sizing: border-box; padding: 1.6em 1.8em 2.6em; border-radius: 1.4em; background: #FFFFFF;
  box-shadow: inset 0 -.5em 0 #E4EDEF, 0 .2em .4em rgba(6,20,28,.08); display: flex; flex-direction: column; align-items: flex-start; gap: 1em; }
.kfc-stripe { position: absolute; inset-inline: 0; bottom: 1.1em; height: .55em; background: #1597A9; opacity: .9; }
.kfc-cab { position: relative; flex: none; width: 10.5em; height: 12em; margin-inline-start: -.2em; }
.kfc-cab svg { width: 100%; height: 100%; display: block; }
.kf[dir="rtl"] .kfc-cab svg { transform: scaleX(-1); }
.kfc-w { position: absolute; bottom: 0; width: 5.6em; height: 5.6em; }
.kfc-w svg { width: 100%; height: 100%; display: block; overflow: visible; }
.kfc-w1 { inset-inline-start: 4em; }
.kfc-w2 { inset-inline-end: 2.6em; }
.kf-spokes { transform-box: view-box; transform-origin: 0 0; }
.kfc-puff { position: absolute; bottom: 1em; inset-inline-start: -1.5em; width: 2.6em; height: 2.6em; border-radius: 50%; background: #EDE6D6; opacity: 0; }
.kfc-p2 { inset-inline-start: -.4em; bottom: 1.8em; width: 2em; height: 2em; }
.kfc-p3 { inset-inline-start: -2.6em; bottom: 2.4em; width: 1.6em; height: 1.6em; }

/* =========================================================================
   Debts: the notebook page
   ========================================================================= */
.kf[data-m="debts"] .kf-bg { background:
    repeating-linear-gradient(180deg, transparent 0 39px, rgba(70,110,170,.22) 39px 40px) 0 22px / 100% 100%,
    linear-gradient(90deg, rgba(90,60,20,.12), transparent 60px), #FBF6E6; }
html.kp-narrow .kf[data-m="debts"] .kf-bg { background:
    repeating-linear-gradient(180deg, transparent 0 31px, rgba(70,110,170,.22) 31px 32px) 0 14px / 100% 100%,
    linear-gradient(90deg, rgba(90,60,20,.12), transparent 40px), #FBF6E6; }
.kf[dir="rtl"][data-m="debts"] .kf-bg { background-position: 0 22px, 0 0, 0 0; }
.kfd-margin { position: absolute; top: 0; bottom: 0; inset-inline-start: 7vw; width: 2px; background: rgba(200,70,70,.42); }
html.kp-narrow .kfd-margin { inset-inline-start: 22px; }
.kfd-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(60,40,10,.0), rgba(60,40,10,.35)); opacity: 0; pointer-events: none; }
.kf[dir="rtl"] .kfd-shade { background: linear-gradient(270deg, rgba(60,40,10,.0), rgba(60,40,10,.35)); }
.kfd { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 1.6em; padding: 0 1em; }
.kfd-card { position: absolute; inset: -1.6em -1em; border-radius: 1em; opacity: 0;
  background: repeating-linear-gradient(180deg, transparent 0 2.2em, rgba(70,110,170,.22) 2.2em 2.3em) 0 1.2em / 100% 100%, #FBF6E6;
  box-shadow: 0 .2em .5em rgba(70,40,10,.18), 0 1.4em 3em rgba(70,40,10,.22); transition: opacity .5s; }
.kfd-card::before { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: 1.4em; width: .12em; background: rgba(200,70,70,.42); }
.kf[data-pend] .kfd-card { opacity: 1; }
.kfd-top { position: relative; z-index: 1; display: flex; align-items: center; gap: 1.6em; }
.kfd-tally { width: 7em; height: 3.5em; overflow: visible; }
.kfd-tally path { fill: none; stroke: #233C86; stroke-width: 5.5; stroke-linecap: round; stroke-dasharray: 1 1; }
.kfd-tally path.x { stroke: #B8322A; }
.kfd-rows { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .5em; width: 34em; max-width: 100%; margin-top: -.4em; }
.kfd-row { display: flex; align-items: baseline; gap: .7em; margin: 0; color: #233C86; font-size: 2.1em; font-weight: 600; font-style: italic; line-height: 1.25; letter-spacing: .01em; white-space: nowrap; }
.kf[lang="ar"] .kfd-row { font-style: normal; letter-spacing: 0; }
.kfd-row small { font-size: .62em; font-weight: 600; opacity: .8; }
.kfd-row .ld { flex: 1; min-width: 1.5em; border-bottom: .09em dotted rgba(35,60,134,.45); transform: translateY(-.25em); }
.kfd-row b { font-weight: 700; font-style: italic; border-bottom: .07em solid #233C86; padding-bottom: .02em; }
.kfd-row.owe b { color: #B8322A; border-color: #B8322A; }
html.kp-narrow .kfd-row { font-size: 2.3em; }
.kfd-pencil { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; pointer-events: none; z-index: 3; }
.kfd-pencil i { position: absolute; left: 0; bottom: 0; width: 13em; height: 1.15em; transform-origin: 0 50%; transform: rotate(-58deg); border-radius: .2em;
  background: linear-gradient(90deg, #2B2B2B 0 .5em, #E9C29A .5em 2.2em, #F6C94A 2.2em 11.4em, #C9CDD2 11.4em 11.9em, #E98FA0 11.9em); clip-path: polygon(0 50%, 2.2em 0, 100% 0, 100% 100%, 2.2em 100%); }
.kf[dir="rtl"] .kfd-pencil i { transform: scaleX(-1) rotate(-58deg); }

/* =========================================================================
   Add products: the tag and the scan beam
   ========================================================================= */
.kf[data-m="products"] .kf-bg { background: linear-gradient(180deg, #F2F5EC 0%, #E8ECE0 100%); }
.kfp { position: relative; display: flex; flex-direction: column; align-items: center; }
.kfp-string { position: relative; width: .18em; height: 4.5em; background: #8C7B66; border-radius: .1em; }
.kfp-string::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 100vh; background: inherit; }
.kfp-tag { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.1em; padding: 2.4em 2.4em 2.2em; border-radius: 1.4em; background: #fff;
  box-shadow: 0 .15em .4em rgba(15,29,34,.08), 0 1.4em 3em rgba(15,29,34,.12); transform-origin: 50% -4.5em; }
.kfp-hole { position: absolute; top: .9em; left: 50%; width: 1em; height: 1em; margin-left: -.5em; border-radius: 50%; background: #E8ECE0; box-shadow: inset 0 .1em .2em rgba(0,0,0,.15); }
.kfp-bars { position: relative; width: 24em; height: 4.8em; color: #0F1D22; }
.kfp-bars svg { width: 100%; height: 100%; display: block; fill: currentColor; }
.kfp-lit { position: absolute; inset: 0; color: #0BBAD8; opacity: 0; }
.kfp-lit svg { filter: drop-shadow(0 0 .35em rgba(11,186,216,.7)); }
.kfp-ok { position: absolute; top: -1.1em; inset-inline-end: -1.1em; width: 3em; height: 3em; border-radius: 50%; background: #0BBAD8; display: grid; place-items: center; box-shadow: 0 .4em 1em rgba(11,186,216,.4); }
.kfp-ok svg { width: 62%; height: 62%; }
.kfp-beam { position: absolute; top: -1.6em; bottom: -1.6em; left: 0; width: .3em; margin-left: -.15em; border-radius: .15em; background: #0BBAD8; opacity: 0;
  box-shadow: 0 0 .5em .15em rgba(11,186,216,.75), 0 0 2.4em .6em rgba(11,186,216,.35); }
.kfp-sweep { position: absolute; top: 0; bottom: 0; left: 0; width: 5px; margin-left: -2.5px; background: #0BBAD8; opacity: 0; z-index: 3;
  box-shadow: 0 0 10px 3px rgba(11,186,216,.8), 0 0 60px 18px rgba(11,186,216,.35); }

/* =========================================================================
   Stock: the boxes
   ========================================================================= */
.kf[data-m="stock"] .kf-bg, .kfs-tile { background: #F5EEDB; }
.kfs-pallet i.kfs-floor { position: absolute; left: -100vw; right: -100vw; top: 1.7em; height: 100vh; width: auto; border-radius: 0; z-index: -1; background: linear-gradient(180deg, #E9DCBD 0, #EFE4CA 40px, #F1E7D0 100%); box-shadow: inset 0 3px 0 rgba(120,80,30,.12); }
.kfs-tile { position: absolute; display: block; }
.kfs { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.6em; }
.kfs-stack { position: relative; display: flex; flex-direction: column; align-items: center; }
.kfs-row { display: flex; align-items: flex-end; justify-content: center; position: relative; }
.kfs-bx { position: relative; display: block; border-radius: .45em; background: linear-gradient(180deg, #DDAA6E 0%, #CF9B5E 100%); box-shadow: inset 0 -.35em 0 rgba(120,70,20,.16), inset 0 .5em 0 rgba(255,255,255,.12); }
.kfs-bx::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 18%; transform: translateX(-50%); background: #EFD3A6; opacity: .75; }
.kfs-bx i { position: absolute; left: 10%; top: 14%; width: 22%; height: 9%; border-radius: .3em; background: rgba(90,50,15,.35); }
.r3 .kfs-bx { width: 11em; height: 8em; }
.r2 .kfs-bx { width: 13em; height: 8.6em; }
.r1 .kfs-bx { width: 13.4em; height: 100%; }
.kfs-row.r1 { height: 10em; }
.kfs-label { position: absolute; left: 50%; top: 50%; translate: -50% -50%; padding: 1.1em 1.4em; border-radius: .6em; background: #fff;
  box-shadow: 0 .2em .5em rgba(70,40,10,.2); outline: .15em dashed rgba(15,29,34,.18); outline-offset: -.6em; }
.kf[data-pend] .kfs-label { display: none; }
.kfs-pallet { position: relative; width: 42em; height: 1.8em; margin-top: -1.6em; display: flex; justify-content: space-between; align-items: flex-end; }
.kfs-pallet::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: .9em; border-radius: .25em; background: #B98A57; }
.kfs-pallet i { position: relative; width: 4em; height: 1em; border-radius: .2em; background: #9C7244; }

/* =========================================================================
   Alerts: the bell and the notification
   ========================================================================= */
.kf[data-m="alerts"] .kf-bg { background: linear-gradient(180deg, #FCF3EA 0%, #F7ECDF 100%); border-radius: 0 0 28px 28px; box-shadow: 0 10px 30px rgba(60,35,10,.14); }
.kfa { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2.2em; }
.kfa-note { position: relative; box-sizing: border-box; padding: 1.4em 1.6em 1.6em; border-radius: 1.6em; background: #fff; display: flex; flex-direction: column; align-items: flex-start; gap: .9em;
  box-shadow: 0 .15em .4em rgba(60,35,10,.08), 0 1.4em 3em rgba(60,35,10,.14); max-width: 40em; }
.kfa-bellw { position: relative; width: 9em; height: 9.8em; }
.kfa-bell { position: absolute; inset: 0; transform-origin: 50% 6%; }
.kfa-bell svg { width: 100%; height: 100%; display: block; }
.kfa-dot { position: absolute; top: .4em; inset-inline-end: .4em; min-width: 2.6em; height: 2.6em; border-radius: 1.3em; background: #E5484D; color: #fff; font: 800 1.5em/1 var(--font, 'Lama Sans', sans-serif);
  display: grid; place-items: center; font-size: 1.5em; width: 1.75em; height: 1.75em; box-shadow: 0 0 0 .15em #FCF3EA; }
.kfa-wave { position: absolute; top: 20%; width: 3.4em; height: 5em; border: .45em solid #F59F3A; border-radius: 50%; opacity: 0; }
.kfa-wave.l { inset-inline-start: -2.8em; border-color: transparent; border-inline-start-color: #F59F3A; }
.kfa-wave.r { inset-inline-end: -2.8em; border-color: transparent; border-inline-end-color: #F59F3A; }
.kfa-grip { display: none; }
.kf[data-m="alerts"] .kf-sheet::after { content: ""; position: absolute; left: 50%; bottom: 14px; width: 64px; height: 6px; margin-left: -32px; border-radius: 3px; background: rgba(60,35,10,.22); }

/* =========================================================================
   Send over Konto: the paper plane over the city
   ========================================================================= */
.kf[data-m="send"] .kfn-half { background: rgba(248,238,212,.95); backface-visibility: hidden; }
.kfn-half.top { bottom: 50%; }
.kfn-half.bot { top: 50%; }
.kfn { position: relative; }
.kfn-fly { position: absolute; left: 0; top: 0; display: flex; align-items: center; }
.kfn-ban { position: relative; box-sizing: border-box; padding: 1.3em 1.6em 1.5em; background: #FFFDF7; border-radius: .5em 1.2em 1.2em .5em; display: flex; flex-direction: column; align-items: center; gap: .8em;
  box-shadow: 0 .15em .4em rgba(70,50,10,.1), 0 1.2em 2.6em rgba(70,50,10,.16); border: .18em solid #F1E2BE; transform-origin: 100% 50%; }
.kf[dir="rtl"] .kfn-ban { border-radius: 1.2em .5em .5em 1.2em; transform-origin: 0 50%; }
.kfn-rope { width: 3em; height: 2em; flex: none; overflow: visible; }
.kfn-rope path { stroke: #8C7B66; stroke-width: 1.6; fill: none; vector-effect: non-scaling-stroke; }
.kf[dir="rtl"] .kfn-rope { transform: scaleX(-1); }
.kfn-plane { width: 7.5em; height: 4.4em; flex: none; filter: drop-shadow(0 .5em .6em rgba(70,50,10,.22)); }
.kf[dir="rtl"] .kfn-plane { transform: scaleX(-1); }
.kfn-trail { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: visible; z-index: -1; pointer-events: none; }
.kfn-trail path.t { fill: none; stroke: #0BBAD8; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 12; opacity: 0; }
.kfn-trail path.m { fill: none; stroke: #fff; stroke-width: 14; stroke-dasharray: 1 1; }

/* =========================================================================
   Invoices & receipts: the printer
   ========================================================================= */
.kf[data-m="papers"] .kfr-half { background: linear-gradient(180deg, #F7E5C4 0%, #F4D8A6 100%) fixed; background-attachment: scroll; }
.kfr-half { --zz: 14px; }
.kfr-half.top { bottom: auto; height: calc(var(--kfr-mid, 50%) + var(--zz));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--zz)), 97.5% 100%, 95% calc(100% - var(--zz)), 92.5% 100%, 90% calc(100% - var(--zz)), 87.5% 100%, 85% calc(100% - var(--zz)), 82.5% 100%, 80% calc(100% - var(--zz)), 77.5% 100%, 75% calc(100% - var(--zz)), 72.5% 100%, 70% calc(100% - var(--zz)), 67.5% 100%, 65% calc(100% - var(--zz)), 62.5% 100%, 60% calc(100% - var(--zz)), 57.5% 100%, 55% calc(100% - var(--zz)), 52.5% 100%, 50% calc(100% - var(--zz)), 47.5% 100%, 45% calc(100% - var(--zz)), 42.5% 100%, 40% calc(100% - var(--zz)), 37.5% 100%, 35% calc(100% - var(--zz)), 32.5% 100%, 30% calc(100% - var(--zz)), 27.5% 100%, 25% calc(100% - var(--zz)), 22.5% 100%, 20% calc(100% - var(--zz)), 17.5% 100%, 15% calc(100% - var(--zz)), 12.5% 100%, 10% calc(100% - var(--zz)), 7.5% 100%, 5% calc(100% - var(--zz)), 2.5% 100%, 0 calc(100% - var(--zz))); }
.kfr-half.bot { top: calc(var(--kfr-mid, 50%) - 1px); background-position: 0 calc(-1 * var(--kfr-mid, 50%));
  clip-path: polygon(0 0, 2.5% var(--zz), 5% 0, 7.5% var(--zz), 10% 0, 12.5% var(--zz), 15% 0, 17.5% var(--zz), 20% 0, 22.5% var(--zz), 25% 0, 27.5% var(--zz), 30% 0, 32.5% var(--zz), 35% 0, 37.5% var(--zz), 40% 0, 42.5% var(--zz), 45% 0, 47.5% var(--zz), 50% 0, 52.5% var(--zz), 55% 0, 57.5% var(--zz), 60% 0, 62.5% var(--zz), 65% 0, 67.5% var(--zz), 70% 0, 72.5% var(--zz), 75% 0, 77.5% var(--zz), 80% 0, 82.5% var(--zz), 85% 0, 87.5% var(--zz), 90% 0, 92.5% var(--zz), 95% 0, 97.5% var(--zz), 100% 0, 100% 100%, 0 100%); }
.kf[data-m="papers"] .kfr-half { background: #F5DCAD; }
.kfr { position: relative; display: flex; flex-direction: column; align-items: center; }
.kfr-printer { position: relative; z-index: 2; width: 34em; height: 11em; filter: drop-shadow(0 .8em .7em rgba(70,35,5,.3)); }
.kfr-printer svg { width: 100%; height: 100%; display: block; }
.kfr-out { position: relative; z-index: 1; margin-top: -2em; width: 31em; overflow: hidden; padding: 0 1.5em 2em; box-sizing: content-box; }
.kfr-rc { position: relative; box-sizing: border-box; width: 100%; padding: 3em 2em 2.6em; background: #FFFFFF; display: flex; flex-direction: column; align-items: center; gap: 1em;
  box-shadow: 0 .4em 1em rgba(70,35,5,.18); --zz: .9em;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--zz)), 95% 100%, 90% calc(100% - var(--zz)), 85% 100%, 80% calc(100% - var(--zz)), 75% 100%, 70% calc(100% - var(--zz)), 65% 100%, 60% calc(100% - var(--zz)), 55% 100%, 50% calc(100% - var(--zz)), 45% 100%, 40% calc(100% - var(--zz)), 35% 100%, 30% calc(100% - var(--zz)), 25% 100%, 20% calc(100% - var(--zz)), 15% 100%, 10% calc(100% - var(--zz)), 5% 100%, 0 calc(100% - var(--zz))); }
.kfr-rc::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2.2em; background: linear-gradient(180deg, rgba(0,0,0,.12), transparent); }
.kfr-rule { display: block; width: 100%; height: 0; border-top: .16em dashed rgba(15,29,34,.25); }
.kfr-bars { width: 18em; height: 3em; color: #0F1D22; }
.kfr-bars svg { width: 100%; height: 100%; display: block; fill: currentColor; }
.kf[data-pend] .kfr-rule:nth-of-type(2), .kf[data-pend] .kfr-bars { display: none; }

/* =========================================================================
   Currencies: the coin
   ========================================================================= */
.kf[data-m="currencies"] .kf-bg { background: radial-gradient(ellipse at 50% 40%, #FDF2DE 0%, #F8E4C2 70%, #F4DBB3 100%); }
.kfx { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.4em; }
.kfx-toss { position: relative; width: 13em; height: 13em; perspective: 60em; }
.kfx-coin { position: absolute; inset: 0; transform-style: preserve-3d; }
.kfx-f { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: radial-gradient(circle at 38% 32%, #FFF3C4 0%, #FFD66B 30%, #F2B23A 70%, #D9902A 100%);
  box-shadow: inset 0 0 0 .55em #E9A93A, inset 0 0 0 .8em #FFE7A0, inset 0 -.6em 1.2em rgba(150,80,10,.35), 0 .8em 1.6em rgba(120,70,10,.25); }
.kfx-f::after { content: ""; position: absolute; inset: 1.5em; border-radius: 50%; border: .2em dashed rgba(170,100,20,.45); }
.kfx-f b { font: 900 5.6em/1 'Lama Sans', system-ui, sans-serif; color: #A8661A; text-shadow: 0 .03em 0 #FFF3C4; letter-spacing: -.02em; }
.kfx-f.b { transform: rotateY(180deg); background: radial-gradient(circle at 38% 32%, #F4FFF6 0%, #BFE9C9 30%, #7CC79A 70%, #4E9F72 100%);
  box-shadow: inset 0 0 0 .55em #5DAE7E, inset 0 0 0 .8em #D7F3DE, inset 0 -.6em 1.2em rgba(20,80,40,.3), 0 .8em 1.6em rgba(20,80,40,.22); }
.kfx-f.b::after { border-color: rgba(30,100,60,.4); }
.kfx-f.b b { font-size: 3.4em; color: #1E6B44; text-shadow: 0 .03em 0 #F4FFF6; }
.kfx-shadow { width: 9em; height: 1.3em; margin-top: -1.2em; border-radius: 50%; background: rgba(120,70,10,.25); filter: blur(.25em); opacity: .5; }

/* =========================================================================
   Works without internet: the signal drops
   ========================================================================= */
.kf[data-m="offline"] .kf-bg, .kfo2-strip { background: #2A2650; }
.kfo2-strip { position: absolute; left: 0; right: 0; display: block; }
.kfo2-strip:nth-child(odd) { background: #2C2852; }
.kfo2 { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.5em; }
.kfo2-ph { width: 13em; padding: .7em; border-radius: 2.4em; background: #141B22; box-shadow: 0 0 0 .2em #3A3468, 0 1.4em 3em rgba(0,0,0,.35); }
.kfo2-scr { border-radius: 1.8em; background: #F4F7FA; overflow: hidden; padding: .9em .9em 1.2em; height: 15.5em; box-sizing: border-box; }
.kfo2-bar { position: relative; display: flex; justify-content: flex-end; align-items: center; height: 1.6em; margin-bottom: .9em; }
.kfo2-isl { position: absolute; left: 50%; top: .1em; width: 4.2em; height: 1.2em; margin-left: -2.1em; border-radius: .6em; background: #141B22; }
.kfo2-sig { width: 1.8em; height: 1.35em; overflow: visible; }
.kfo2-sig .b { fill: #0F1D22; transform-box: fill-box; }
.kfo2-sig .x { fill: none; stroke: #E5484D; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 1 1; }
.kfo2-list { display: flex; flex-direction: column; }
.kfo2-row { position: relative; display: block; height: 2.6em; margin-bottom: .6em; border-radius: .8em; background: #fff; box-shadow: 0 .1em .25em rgba(15,29,34,.06); flex: none; transform-origin: 50% 0; }
.kfo2-row i { position: absolute; display: block; border-radius: .3em; background: #DCE3E8; }
.kfo2-row .ic { left: .6em; top: .6em; width: 1.4em; height: 1.4em; border-radius: 50%; }
.kfo2-row .l1 { left: 2.6em; top: .65em; width: 4.4em; height: .5em; }
.kfo2-row .l2 { left: 2.6em; top: 1.45em; width: 2.8em; height: .45em; background: #E8EDF0; }
.kfo2-row .am { right: .7em; top: .9em; width: 2.2em; height: .6em; background: #9FE2B9; }
.kf[dir="rtl"] .kfo2-row .ic { left: auto; right: .6em; } .kf[dir="rtl"] .kfo2-row .l1, .kf[dir="rtl"] .kfo2-row .l2 { left: auto; right: 2.6em; } .kf[dir="rtl"] .kfo2-row .am { right: auto; left: .7em; }
.kfo2-new { box-shadow: 0 0 0 .16em #34C27A, 0 .4em 1em rgba(20,120,70,.18); overflow: hidden; }
.kfo2-new .ok { left: .55em; top: .55em; width: 1.5em; height: 1.5em; border-radius: 50%; background: #34C27A; display: grid; place-items: center; }
.kf[dir="rtl"] .kfo2-new .ok { left: auto; right: .55em; }
.kfo2-new .ok svg { width: 70%; height: 70%; }
.kfo2-new .am { background: #34C27A; }

/* =========================================================================
   Team: people join
   ========================================================================= */
.kf[data-m="team"] .kf-bg { background: linear-gradient(90deg, #EFE6D8 0%, #EFE6D8 50%, #E8ECEF 50%, #E8ECEF 100%); }
.kft { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.6em; }
.kft-row { display: flex; align-items: center; justify-content: center; }
.kft-av { position: relative; width: 8.4em; height: 8.4em; margin-inline: -.6em; border-radius: 50%; }
.kft-seat { position: absolute; inset: 0; border-radius: 50%; border: .2em dashed rgba(15,29,34,.25); }
.kft-face { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 .4em #fff, 0 .8em 1.6em rgba(15,29,34,.16); }
.kft-av.c0 .kft-face { background: #F6D9B8; } .kft-av.c1 .kft-face { background: #CFE3EA; } .kft-av.c2 .kft-face { background: #E6D6F2; } .kft-av.c3 .kft-face { background: #D7EBCF; }
.kft-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.kft-av:nth-child(2) { z-index: 2; } .kft-av:nth-child(3) { z-index: 3; } .kft-av:nth-child(4) { z-index: 4; }

/* =========================================================================
   Recap and reports: the chart
   ========================================================================= */
.kf[data-m="reports"] .kf-bg, .kfq-col { background: #F3E8EF; }
.kfq-col { position: absolute; top: 0; bottom: 0; display: block; transform-origin: 50% 100%; }
.kfq-col:nth-child(odd) { background: #F1E5ED; }
.kfq { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.6em; }
.kfq-chart { position: relative; width: 32em; height: 15em; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 1.5em; box-sizing: border-box; }
.kfq-bar { position: relative; width: 4.4em; height: var(--h); transform-origin: 50% 100%; }
.kfq-bar b { position: absolute; inset: 0; border-radius: .9em .9em .3em .3em; background: linear-gradient(180deg, #A58BF6 0%, #7C5CE6 100%); }
.kfq-bar:last-of-type b { background: linear-gradient(180deg, #4FD6EC 0%, #0BBAD8 100%); }
.kfq-line { position: absolute; left: 1.5em; top: 0; width: 29em; height: 15em; overflow: visible; }
.kfq-line path { fill: none; stroke: #0F1D22; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; }
.kf[dir="rtl"] .kfq-line { transform: scaleX(-1); }
.kfq-dot { position: absolute; top: -1.4em; inset-inline-end: 2.9em; width: 1.6em; height: 1.6em; border-radius: 50%; background: #0F1D22; box-shadow: 0 0 0 .35em #fff; }
.kfq-base { position: absolute; left: 0; right: 0; bottom: -.4em; height: .35em; border-radius: .2em; background: rgba(15,29,34,.18); }

/* =========================================================================
   Easy to learn: a guide
   ========================================================================= */
.kf[data-m="learn"] .kf-bg { background: #F3F7F9; }
.kf[data-m="learn"][data-dark] .kf-bg { background: radial-gradient(ellipse at 50% 30%, #22345C 0%, #1A294A 70%); }
.kfl { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.8em; }
.kfl-steps { display: flex; gap: .7em; }
.kfl-steps i { width: 4.4em; height: .55em; border-radius: .3em; background: linear-gradient(#0BBAD8, #0BBAD8) 0 0 / 0% 100% no-repeat, #DCE3E8; }
.kf[dir="rtl"] .kfl-steps i { background-position: 100% 0; }
.kf[data-dark] .kfl-steps i { background-color: rgba(255,255,255,.18); }
.kfl-target { position: relative; padding: 1.1em 1.5em; border-radius: 1.2em; background: #fff; box-shadow: 0 .15em .4em rgba(15,29,34,.08), 0 1em 2.4em rgba(15,29,34,.1); }
.kf[data-dark] .kfl-target { background: #26375F; box-shadow: 0 1em 2.4em rgba(0,0,0,.3); }
.kfl-ring { position: absolute; inset: -.55em; border-radius: 1.6em; border: .28em solid #8B6CF0; }
.kfl-tip { position: relative; box-sizing: border-box; padding: 1.5em 1.8em; border-radius: 1.4em; background: #fff; border: .2em solid #F2A65A; max-width: 40em; margin-top: -.4em;
  box-shadow: 0 1.2em 2.6em rgba(15,29,34,.16); }
.kfl-arrow { position: absolute; top: -1em; left: 50%; width: 1.6em; height: 1.6em; margin-left: -.8em; background: #fff; border-top: .2em solid #F2A65A; border-left: .2em solid #F2A65A; transform: rotate(45deg); border-radius: .2em 0 0 0; }
.kfl-hand { position: absolute; top: 1.6em; inset-inline-start: calc(50% + 8.5em); width: 5.6em; height: 6.7em; z-index: 4; transform-origin: 30% 10%; filter: drop-shadow(0 .5em .6em rgba(15,29,34,.25)); }
.kfl-hand svg { width: 100%; height: 100%; display: block; }
.kf[dir="rtl"] .kfl-hand svg { transform: scaleX(-1); }

@media (prefers-reduced-motion: reduce) { .kfd-card { transition: none; } }
/* a dark section (Easy to learn on phones): the tip is dark, its words light */
.kf[data-dark] .kfl-tip, .kf[data-dark] .kfl-arrow { background: #24345C; }
.kf[data-dark] .kfl-tip { box-shadow: 0 1.2em 2.6em rgba(0,0,0,.35); }
.kf[data-pend] .kfl-tip { display: none; }
.kfs-floor { transition: opacity .4s; }
.kf[data-pend] .kfs-floor { opacity: 0 !important; }
.kf > .kf-c { z-index: 10; }
/* phones: the small phone of the offline motif is as present as on wide screens */
html.kp-narrow .kfo2-ph { width: 17em; }
html.kp-narrow .kfo2-scr { height: 19.5em; }

/* =========================================================================
   Order tracking, the opening: the scene's own layers pan with the van (kfeat.js, SHOT)
   ========================================================================= */
.courier[data-kfcam] .cu-layer { will-change: transform, translate; }
.kfv { position: absolute; left: 0; top: 0; pointer-events: none; will-change: transform; }
.kfv > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; display: block; }
.kfv-side { position: absolute; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; }
.kfv-mir .kfv-side { transform: scaleX(-1); align-items: flex-end; }
.kfv-card { position: absolute; z-index: 12; pointer-events: none; }
.kfv-card-bg { position: absolute; inset: 0; border-radius: 14px; background: #FFFFFF; box-shadow: 0 2px 4px rgba(6,20,28,.1), 0 14px 30px rgba(6,20,28,.18); }
.kfv-card > .kf-c { z-index: 1; }
.kfv-side { gap: 12px; }
.courier .cu-beats { transition: opacity .45s ease; }
.courier[data-kfcam] .cu-beats { opacity: 0; }
/* the van is on the road, nearer than everyone on the pavement: in front of the story's actors (the courier, the parcel and the cash carry z-index 1 to 3) */
.cu-actors > .kfv { z-index: 10; }
