/* ch-levers-9-10 styles (round 3), prefix le-: l9-why, l9-proof, l9-how, l10-why, l10-proof, l10-how */

/* ---------- shared ---------- */
/* text floor: 14 px at every size; short labels get 15 px so sub-pixel rounding never takes them under 14 */
.le-scene .mx-src { font-size: 14.5px; }
.le-lab { margin: 0; font-size: clamp(15px, 1.12vw, 17px); line-height: 1.45; color: var(--s-fg); max-width: 32em; text-wrap: balance; }
.le-scene .mx-note, .le-scene .mx-steps li, .le-scene .mx-pit > span:last-child { text-wrap: pretty; }
.le-scene .le-key { color: var(--s-fg); }
.le-sep { color: var(--s-muted); }
.le-via { white-space: nowrap; }
.le-swap { display: grid; }
.le-swap > * { grid-area: 1 / 1; }
.le-copy { display: grid; gap: 10px; align-content: end; }
.le-copy .mx-src--line { margin-top: -4px; }

/* text over 3D: a scrim under the title and the side text, below the pinned labels */
.le-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--s-bg) 88%, transparent) 0, color-mix(in srgb, var(--s-bg) 40%, transparent) 20%, transparent 30%),
    radial-gradient(70% 62% at 0 0, color-mix(in srgb, var(--s-bg) 92%, transparent) 0, color-mix(in srgb, var(--s-bg) 55%, transparent) 45%, transparent 72%),
    radial-gradient(34% 26% at 100% 100%, color-mix(in srgb, var(--s-bg) 92%, transparent) 0, color-mix(in srgb, var(--s-bg) 70%, transparent) 45%, transparent 100%); }

/* labels pinned to 3D points (placed by settle() in the module) */
.le-lead { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; overflow: visible; pointer-events: none; }
.le-lead__l { stroke: rgb(255 255 255 / .55); stroke-width: 1; }
.le-lead__d { fill: #fff; }
.le-l3 { --c: #fff; padding: 5px 10px 5px 9px; border-radius: 4px; font-size: 15px; font-weight: 500; line-height: 1.25; color: #fff; opacity: 0;
  background: rgb(9 9 13 / .72); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 50%, transparent); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.le-l3::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); vertical-align: .06em; }
.le-l3--aqua { --c: #9CE7DD; }
.le-l3--warm { --c: #FF7F32; }
.le-l3--lilac { --c: #CDBDEB; }
.le-l3--blue { --c: #8DD8F3; }
.le-l3--green { --c: #6FD68C; }
.le-l3--red { --c: #FF6A50; }
.le-l3--biz { --c: #FFB27A; font-size: 16px; }
.le-l3--cap { --c: rgb(255 255 255 / .3); color: rgb(255 255 255 / .88); background: rgb(9 9 13 / .6); }
.le-l3--cap::before, .le-l3--val::before, .le-l3--ban::before, .le-l3--tick::before { display: none; }
.le-l3--head { --c: rgb(255 255 255 / .35); font-size: 16px; color: #fff; background: rgb(9 9 13 / .66); }
.le-l3--head::before { display: none; }
.le-legend { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; font-weight: 500; color: var(--s-fg); }
.le-legend__k::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; vertical-align: .06em; background: var(--c); box-shadow: 0 0 8px var(--c); }
.le-legend__k--aqua { --c: #9CE7DD; }
.le-legend__k--warm { --c: #FF7F32; }
.le-l3--tick { --c: #FFB27A; padding: 3px 8px; color: #FFD2B0; font-variant-numeric: tabular-nums; }
.le-l3--ban { background: #E5533D; color: #fff; box-shadow: 0 0 22px -4px rgb(229 83 61 / .8); padding: 5px 10px; }
.le-l3--val { --c: #FF7F32; display: grid; gap: 4px; width: max-content; max-width: 16em; padding: 8px 12px 9px; white-space: normal; }
.le-l3--lo { --c: #FF7F32; }
.le-l3__v { font-size: clamp(19px, 1.7vw, 27px); line-height: 1.1; font-weight: 500; letter-spacing: -.015em; font-variant-numeric: tabular-nums; color: #FFB27A; }
.le-l3__c { font-size: 14.5px; font-weight: 400; line-height: 1.38; color: rgb(255 255 255 / .8); text-wrap: pretty; }
.le-l3__c .le-sep { color: rgb(255 255 255 / .5); }
.le-l3__tag { display: none; margin-left: 8px; padding: 1px 7px; border-radius: 3px; background: #E5533D; color: #fff; }
.le-l3.is-ban .le-l3__tag { display: inline-block; }
.le-l3.is-ban .le-l3__n { color: rgb(255 255 255 / .55); text-decoration: line-through; }
.le-l3.is-ban { --c: #E5533D; }

/* ---------- l9-why: the switched-off map ---------- */
.le-map .mx-side { gap: 22px; }
.le-map .mx-side > * { grid-area: 1 / 1; }
.le-map .mx-side > .mx-note { align-self: start; color: var(--s-fg); }
.le-map__b2 { display: grid; gap: 22px; }
.le-tip { position: absolute; z-index: 3; white-space: nowrap; font-size: 15px; line-height: 1.3; color: rgb(255 255 255 / .86); pointer-events: none; opacity: 0; }
.le-tip__svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 2; overflow: visible; pointer-events: none; }
.le-tip__l { stroke: rgb(156 231 221 / .7); stroke-width: 1; }
.le-tip__d { fill: var(--c-aqua); stroke: #050506; stroke-width: 1.5; }
.le-gap { display: grid; gap: 6px; width: min(100%, 380px); padding-bottom: 30px; margin-top: 8px; }
.le-gap__l { font-size: 15px; line-height: 1.3; color: var(--s-fg); }
.le-gap__bar { position: relative; height: 22px; margin-bottom: 8px; border-radius: 3px; box-shadow: inset 0 0 0 1px var(--s-line); }
.le-gap__base, .le-gap__lift { position: absolute; top: 3px; bottom: 3px; background: radial-gradient(circle, var(--dot) 1.55px, transparent 1.95px) 0 0 / 5px 5px; clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease) .3s; }
.le-gap__base { left: 3px; width: calc(80% - 4px); }
.le-gap__bar--on .le-gap__base { --dot: var(--c-aqua); }
.le-gap__bar--off .le-gap__base { --dot: rgb(255 255 255 / .45); }
.le-gap__lift { left: 80%; width: calc(20% - 3px); --dot: var(--cta); transition-delay: 1.3s; }
.le-gap.is-on .le-gap__base, .le-gap.is-on .le-gap__lift { clip-path: inset(0 0 0 0); }
.le-gap__brace { position: relative; margin: -4px 0 0 80%; height: 9px; border: 1.5px solid var(--cta); border-top: 0; border-radius: 0 0 4px 4px; opacity: 0; transition: opacity .5s 1.9s; }
.le-gap.is-on .le-gap__brace { opacity: 1; }
.le-gap__brace span { position: absolute; right: -1px; top: 14px; white-space: nowrap; font-size: 15px; font-weight: 500; color: var(--cta); }

/* ---------- l9-proof, l10-why, l10-how: 3D worlds with the side text bottom left ---------- */
.le-shadow .mx-side, .le-cliff .mx-side, .le-bridge .mx-side { max-width: 30em; }
.le-bridge .le-copy--b3 { gap: 14px; }
.le-cap { margin: 0; font-size: 15px; line-height: 1.4; color: var(--s-muted); }
.le-cap--side { display: none; }

/* ---------- l9-how: the waterfall ---------- */
.le-wf .mx-vis { display: grid; }
.le-wf__card { box-sizing: border-box; width: 100%; max-width: 1060px; height: 100%; justify-self: center; padding: clamp(14px, 1.8vw, 24px) clamp(14px, 2vw, 28px) 12px; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 6px; }
.le-wf__box { position: relative; min-height: 0; }
.le-wf__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.le-wf__zero { stroke: #CFCCC5; stroke-width: 1; }
.le-wf__conn { stroke: #B9B6AF; stroke-width: 1; stroke-dasharray: 4 4; opacity: 0; transition: opacity .3s; }
.le-wf__conn.is-on { opacity: 1; }
.le-wf__tick { stroke: #CFCCC5; stroke-width: 1; }
.le-wf__lbl { opacity: 0; transition: opacity .45s; }
.le-wf__lbl.is-on { opacity: 1; }
.le-wf__n { font: 400 15px var(--font-sans); fill: var(--ink-2); }
.le-wf__a { font: 500 21px var(--font-sans); fill: var(--ink); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.le-wf__a--rose { fill: var(--c-rose-t); }
.le-wf__a--orange { fill: #C2561A; }
.le-wf__box.is-loss .le-wf__bar--rose { animation: le-glow 1.4s var(--ease) 1; }
@keyframes le-glow { 0% { filter: drop-shadow(0 0 0 rgb(199 149 134 / 0)); } 40% { filter: drop-shadow(0 0 12px rgb(199 149 134 / .9)); } 100% { filter: drop-shadow(0 0 0 rgb(199 149 134 / 0)); } }
.le-wf__badge { position: absolute; left: 75%; top: 2%; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 10px; border-radius: 4px; background: var(--cta); color: #fff; font-size: 16px; font-weight: 500; white-space: nowrap;
  box-shadow: 0 12px 26px -14px rgb(255 127 50 / .9); opacity: 0; transform: translate(-50%, 8px) scale(.7); transition: opacity .35s, transform .6s var(--ease-pop); }
.le-wf__badge.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.le-wf__bi { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 3px; background: rgb(255 255 255 / .22); }
.le-wf__src { padding-left: 2px; }
.le-wf__src--card { display: none; }   /* round 5: the chart's source sits in the text column under the sentence */
.le-wf__src--side { display: block; margin: 0; }
.le-wf .mx-side { grid-auto-flow: row; justify-self: center; width: min(100%, 1060px); }
.le-wf__copy { max-width: 1060px; }
.le-wf__copy .mx-note { max-width: 44em; color: var(--s-fg); }
.le-wf__copy .mx-steps li { max-width: 44em; }

/* ---------- l10-proof: Business settings with the only admin restricted, and the spend that keeps running ---------- */
.le-bsm .mx-vis { display: grid; align-items: center; }
.le-bsm__stage { position: relative; width: 100%; max-width: 860px; justify-self: center; padding-bottom: 86px; }
.le-bs { background: #fff; border-radius: 10px; overflow: hidden; color: #1c1e21; font-size: 15px; line-height: 1.3; box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 26px 60px -30px rgb(0 0 0 / .3); }
.le-bs__top { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 16px; border-bottom: 1px solid #E4E6EB; }
.le-bs__logo { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 7px; background: #0866FF; color: #fff; }
.le-bs__bar { display: block; flex: none; height: 8px; width: var(--w); max-width: 100%; border-radius: 4px; background: #DADDE1; }
.le-bs__bar--t { height: 10px; background: #BCC0C4; }
.le-bs__bar--s { height: 7px; background: #E4E6EB; }
.le-bs__sp { flex: 1; }
.le-bs__q, .le-bs__me { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #F0F2F5; }
.le-bs__me { background: #E4E6EB; }
.le-bs__body { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); }
.le-bs__nav { display: grid; align-content: start; gap: 4px; padding: 14px 10px; background: #F7F8FA; border-right: 1px solid #E4E6EB; }
.le-bs__ni { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 10px; border-radius: 6px; color: #606770; }
.le-bs__ni i { display: grid; place-items: center; flex: none; }
.le-bs__ni .le-bs__bar { flex: 1 1 auto; width: auto; max-width: var(--w); }
.le-bs__ni.is-on { background: #E7F0FF; color: #0866FF; }
.le-bs__ni.is-on .le-bs__bar { background: rgb(8 102 255 / .45); }
.le-bs__main { min-width: 0; padding: 18px 22px 20px; }
.le-bs__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.le-bs__h { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.le-bs__add { display: grid; place-items: center; flex: none; width: 62px; height: 36px; border-radius: 6px; background: #EDEEF0; color: #B5B8BC; cursor: not-allowed; }
.le-bs__search { display: flex; align-items: center; gap: 10px; height: 38px; margin-bottom: 8px; padding: 0 12px; border-radius: 6px; background: #F0F2F5; color: #8A8D91; }
.le-bs__search i { display: grid; }
.le-bs__row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .7fr) minmax(0, 1fr); align-items: center; gap: 12px; min-height: 60px; padding: 0 10px; border-bottom: 1px solid #F0F2F5; }
.le-bs__row--h { min-height: 36px; }
.le-bs__row--h .le-bs__bar { height: 7px; background: #E4E6EB; }
.le-bs__row--you { border-radius: 6px; background: #FFF5F2; box-shadow: inset 3px 0 0 #E5533D; }
.le-bs__who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.le-bs__av { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: #D5E2E6; }
.le-bs__av canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.le-bs__nm { display: grid; gap: 6px; min-width: 0; }
.le-bs__nm b { font-size: 16px; font-weight: 600; }
.le-bs__role { font-size: 15px; }
.le-bs__badge { justify-self: start; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px 0 8px; border-radius: 15px; background: #FBE3DD; color: #B23A26; font-size: 15px; font-weight: 600; white-space: nowrap; }
.le-bs__badge i { display: grid; }
.le-bs__badge.is-pulse { animation: le-pulse 1.1s var(--ease) 1; }
.le-bs__ghost { flex: none; width: 40px; height: 40px; box-sizing: border-box; border-radius: 50%; border: 1.5px dashed #C9CCD1; }
.le-bs__row--empty { grid-template-columns: 40px minmax(0, 1fr); opacity: .8; }
.le-bs__row--e2 { opacity: .4; border-bottom: 0; }
.le-bs__bar--ghost { height: 10px; box-sizing: border-box; background: transparent; border: 1.5px dashed #D3D6DA; }
.le-sp { position: absolute; right: -12px; bottom: 0; width: min(330px, 48%); box-sizing: border-box; padding: 16px 18px 14px; display: grid; gap: 8px; border-radius: 10px; background: #fff; color: #1c1e21; box-shadow: 0 1px 2px rgb(0 0 0 / .1), 0 30px 60px -22px rgb(0 0 0 / .38); }
.le-sp__hd { display: flex; align-items: center; gap: 8px; }
.le-sp__ic { display: grid; color: #0866FF; }
.le-sp__k { font-size: 15px; line-height: 1.3; color: #606770; }
.le-sp__v { font-size: clamp(30px, 2.8vw, 42px); line-height: 1.05; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.le-sp__chart { position: relative; height: 54px; }
.le-sp__svg { display: block; width: 100%; height: 100%; overflow: visible; }
.le-sp__area { fill: url(#le-p35); opacity: .55; }
.le-sp__line { fill: none; stroke: #0866FF; stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.le-sp__end { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; }
.le-sp__end svg { display: block; overflow: visible; }
.le-sp__dot { fill: #0866FF; stroke: #fff; stroke-width: 2; }
.le-sp__run { display: flex; align-items: center; gap: 9px; padding-top: 10px; border-top: 1px solid #E4E6EB; font-size: 15px; font-weight: 500; }
.le-sp__live { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #31A24C; animation: le-live 1.6s ease-out infinite; }
.le-sp__sw { position: relative; flex: none; margin-left: auto; width: 44px; height: 24px; border-radius: 12px; background: #0866FF; }
.le-sp__sw i { position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .3); }
.le-sp__sw.is-try { animation: le-sw-bg 1.15s 1; }
.le-sp__sw.is-try i { animation: le-sw 1.15s cubic-bezier(.3, .7, .3, 1) 1; }
@keyframes le-sw { 0% { transform: none; } 30%, 46% { transform: translateX(-20px); } 62% { transform: translateX(3px); } 76% { transform: translateX(-2px); } 100% { transform: none; } }
@keyframes le-sw-bg { 0%, 100% { background: #0866FF; } 30%, 46% { background: #BCC0C4; box-shadow: 0 0 0 4px rgb(229 83 61 / .28); } 62% { background: #0866FF; box-shadow: 0 0 0 0 rgb(229 83 61 / 0); } }
@keyframes le-live { 0% { box-shadow: 0 0 0 0 rgb(49 162 76 / .55); } 100% { box-shadow: 0 0 0 9px rgb(49 162 76 / 0); } }
@keyframes le-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgb(229 83 61 / 0); } 40% { box-shadow: 0 0 0 6px rgb(229 83 61 / .24); } }
/* narrow box: no side nav, the spend card sits under the window */
.le-narrow { padding-bottom: 0; display: grid; }
.le-narrow .le-bs__body { grid-template-columns: minmax(0, 1fr); }
.le-narrow .le-bs__nav, .le-narrow .le-bs__q { display: none; }
.le-narrow .le-bs__main { padding: 10px 12px 8px; }
.le-narrow .le-bs__row { grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; padding: 0 8px; }
.le-narrow .le-bs__row--empty { grid-template-columns: 40px minmax(0, 1fr); }
.le-narrow .le-bs__row--h { display: none; }
.le-narrow .le-sp { position: relative; right: auto; bottom: auto; width: auto; max-width: 360px; margin: -16px 12px 0 auto; justify-self: stretch; }
/* short box: drop detail step by step (text never shrinks) */
.le-t1 .le-bs__search, .le-t1 .le-bs__row--e2, .le-t1 .le-bs__row--h { display: none; }
.le-t1 .le-bs__head { margin-bottom: 6px; }
.le-t2 .le-bs__top { height: 38px; }
.le-t2 .le-bs__logo, .le-t2 .le-bs__q, .le-t2 .le-bs__me { width: 24px; height: 24px; }
.le-t2 .le-bs__main { padding: 8px 12px 6px; }
.le-t2 .le-bs__h { font-size: 18px; }
.le-t2 .le-bs__add { width: 48px; height: 28px; }
.le-t2 .le-bs__row { min-height: 46px; }
.le-t2 .le-bs__row--empty { min-height: 40px; grid-template-columns: 32px minmax(0, 1fr); }
.le-t2 .le-bs__av, .le-t2 .le-bs__ghost { width: 32px; height: 32px; }
.le-t2 .le-bs__nm .le-bs__bar { display: none; }
.le-t2 .le-bs__badge { height: 26px; padding: 0 9px 0 7px; }
.le-t2 .le-sp { padding: 10px 12px 9px; gap: 4px; }
.le-t2 .le-sp__v { font-size: 27px; }
.le-t2 .le-sp__chart { height: 30px; }
.le-t2 .le-sp__run { padding-top: 6px; }
.le-t2.le-narrow .le-sp { margin-top: -12px; }
.le-t2:not(.le-narrow) { padding-bottom: 60px; }
.le-t3 .le-bs__top, .le-t3 .le-bs__row--empty, .le-t3 .le-sp__chart { display: none; }
.le-t3:not(.le-narrow) { padding-bottom: 50px; }
.le-t3.le-narrow .le-sp { margin-top: -8px; }
.le-t4 .le-bs__main { padding: 6px 10px 4px; }
.le-t4 .le-bs__head { margin-bottom: 2px; }
.le-t4 .le-bs__row { min-height: 42px; }
.le-t4 .le-sp { grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 8px 12px; margin-top: -10px; }
.le-t4 .le-sp__ic { display: none; }
.le-t4 .le-sp__v { font-size: 24px; }
.le-t4 .le-sp__run { grid-column: 1 / -1; }
@media (prefers-reduced-motion: reduce) { .le-sp__live, .le-sp__sw.is-try, .le-sp__sw.is-try i, .le-bs__badge.is-pulse { animation: none; } }

/* ---------- compact: landscape below 960 x 620, down to 640 x 360 ---------- */
@media (orientation: landscape) and (max-width: 959px), (orientation: landscape) and (max-height: 619px) {
  .le-l3 { font-size: 14.5px; padding: 4px 8px; }
  .le-l3--val { max-width: 15em; padding: 6px 10px 7px; }
  .le-l3--val .le-l3__c { display: none; }
  .le-cap--side { display: block; }
  .scene .le-shadow, .scene .le-cliff, .scene .le-bridge { grid-template-columns: minmax(0, .4fr) minmax(0, .6fr); grid-template-rows: auto minmax(0, 1fr); column-gap: 0; }
  .le-shadow .mx-side, .le-cliff .mx-side, .le-bridge .mx-side { grid-column: 1; grid-row: 2; align-self: start; max-width: none; }
  .scene .le-bridge { grid-template-columns: minmax(0, .37fr) minmax(0, .63fr); }
  .le-scrim { background: linear-gradient(180deg, color-mix(in srgb, var(--s-bg) 88%, transparent) 0, transparent 30%),
    linear-gradient(90deg, color-mix(in srgb, var(--s-bg) 94%, transparent) 0, color-mix(in srgb, var(--s-bg) 90%, transparent) 40%, transparent 54%),
    radial-gradient(40% 30% at 100% 100%, color-mix(in srgb, var(--s-bg) 92%, transparent) 0, transparent 100%); }
  .le-l3__v { font-size: 19px; }
  .le-gap { padding-bottom: 26px; gap: 4px; }
  .le-gap__bar { height: 18px; margin-bottom: 4px; }
  .le-map .mx-side, .le-map__b2 { gap: 12px; }

  .scene .le-map { grid-template-columns: minmax(0, 1fr) minmax(0, 21em); }
  .le-gap { grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; align-items: center; width: 100%; }
  .le-gap__bar { margin-bottom: 0; }
  .le-gap__brace { grid-column: 2; margin-top: 0; }

  .scene .le-wf { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); column-gap: 22px; }
  .le-wf .mx-vis { grid-column: 1; grid-row: 2; }
  .le-wf .mx-side { grid-column: 2; grid-row: 2; align-self: start; justify-self: stretch; width: auto; }
  .le-wf__card { padding: 8px 10px 6px; grid-template-rows: minmax(0, 1fr); }
  .le-wf__src--card { display: none; }
  .le-wf__src--side { display: block; }
  .le-wf__n { font-size: 14.5px; }
  .le-wf__a { font-size: 16px; }
  .le-wf__badge { height: 30px; font-size: 14.5px; padding: 0 10px 0 7px; }

}

/* ---------- phone: portrait and narrower than 760 ---------- */
@media (max-width: 759px) and (orientation: portrait) {
  .le-scene .mx-src { font-size: 14.5px; }
  .le-lab { font-size: 15px; }
  .le-l3 { font-size: 14.5px; padding: 3px 7px; }
  .le-l3::before { width: 6px; height: 6px; margin-right: 5px; }
  .le-l3--val { max-width: 13.5em; padding: 5px 8px 6px; gap: 2px; }
  .le-l3__v { font-size: 17px; }
  .le-l3__c { font-size: 14px; line-height: 1.3; }
  .le-l3--biz { font-size: 14.5px; }
  .le-scrim { background: linear-gradient(180deg, color-mix(in srgb, var(--s-bg) 88%, transparent) 0, transparent 30%), linear-gradient(0deg, color-mix(in srgb, var(--s-bg) 92%, transparent) 0, color-mix(in srgb, var(--s-bg) 60%, transparent) 30%, transparent 46%); }

  .le-map .mx-side { gap: 12px; }
  .le-map .mx-side > .mx-note { align-self: start; }
  .le-map__b2 { gap: 12px; }
  .le-gap { width: 100%; gap: 4px; padding-bottom: 24px; }
  .le-gap__bar { height: 18px; margin-bottom: 4px; }
  .le-gap__l, .le-gap__brace span { font-size: 15px; }
  .le-tip { font-size: 15px; }

  .le-wf__n { font-size: 14px; }
  .le-wf__a { font-size: 14px; letter-spacing: -.015em; }
  .le-wf__badge { left: auto; right: 0; top: 34%; height: auto; max-width: 128px; padding: 6px 10px 6px 8px; white-space: normal; line-height: 1.25; font-size: 14.5px; transform: translate(0, 8px) scale(.7); }
  .le-wf__badge.is-on { transform: none; }

}

/* desktop frames under 800 px tall: the deck's bottom padding (11vh) is less than the 100 px bottom zone */
@media (orientation: landscape) and (min-width: 960px) and (min-height: 620px) {
  .le-scene .scene__inner.mx { padding-bottom: max(clamp(88px, 11vh, 132px), calc(var(--hud-bottom, 100px) + 8px)); }
}
.le-copy, .le-swap { align-content: start; }
.le-map__s { margin: 0; }
