/* Sepo Charts. Flat marks, recessive grid, text in the page's own colour. */
.sepo-chart {
  --sc-c1: var(--sc-1, #2a78d6); --sc-c2: var(--sc-2, #eb6834); --sc-c3: var(--sc-3, #1baf7a); --sc-c4: var(--sc-4, #eda100);
  --sc-c5: var(--sc-5, #e87ba4); --sc-c6: var(--sc-6, #008300); --sc-c7: var(--sc-7, #6250d6); --sc-c8: var(--sc-8, #e34948);
  --sc-surface: var(--sd-surface, Canvas);
  box-sizing: border-box; margin: 1.5em 0; max-width: 100%; font-size: 14px; line-height: 1.4;
}
.sepo-chart--dark {
  --sc-c1: var(--sc-1-d, #3987e5); --sc-c2: var(--sc-2-d, #d95926); --sc-c3: var(--sc-3-d, #199e70); --sc-c4: var(--sc-4-d, #c98500);
  --sc-c5: var(--sc-5-d, #d55181); --sc-c6: var(--sc-6-d, #008300); --sc-c7: var(--sc-7-d, #9085e9); --sc-c8: var(--sc-8-d, #e66767);
}
.sepo-chart .sepo-chart__title { text-align: left; font-weight: 700; font-size: 1.1em; margin: 0 0 .6em; }
.sepo-chart__plot { position: relative; }
.sepo-chart svg:not(.sepo-icon) { display: block; width: 100%; height: auto; overflow: visible; font-family: inherit; }
.sepo-chart svg { --sc-k: 1; }
.sepo-chart svg text { fill: currentColor; font-size: calc(12px * var(--sc-k)); }
.sepo-chart__grid line { stroke: currentColor; stroke-opacity: .12; stroke-width: 1; shape-rendering: crispEdges; }
.sepo-chart__grid line.is-zero { stroke-opacity: .45; }
.sepo-chart__grid text, .sepo-chart__xlabels text, .sepo-chart__ylabels text { fill-opacity: .72; }
.sepo-chart__axis-title { fill-opacity: .72; font-weight: 600; }
.sepo-chart svg .sepo-chart__value { font-weight: 600; font-size: calc(11.5px * var(--sc-k)); }
.sepo-chart__line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.sepo-chart__area { fill-opacity: .16; stroke: none; }
.sepo-chart__shade { fill-opacity: .12; stroke: none; pointer-events: none; }
.sepo-chart__target line { stroke: currentColor; stroke-opacity: .55; stroke-width: 1.25; stroke-dasharray: 4 4; }
.sepo-chart__pct-tick { fill-opacity: .72; }
.sepo-chart svg .sepo-chart__value--pct { font-weight: 700; }
.sepo-chart__swatch--line { height: 3px; width: 16px; border-radius: 2px; }
.sepo-chart__dot { stroke: var(--sc-surface); stroke-width: 2; }
.sepo-chart__hit { fill: transparent; cursor: crosshair; }
.sepo-chart path[data-tip], .sepo-chart__slice { cursor: pointer; transition: opacity .15s; }
.sepo-chart[data-hover] .sepo-chart__series path[data-tip]:not(.is-hover), .sepo-chart[data-hover] .sepo-chart__slice:not(.is-hover) { opacity: .45; }
.sepo-chart__series.is-off { display: none; }
.sepo-chart svg .sepo-chart__total { font-size: calc(26px * var(--sc-k)); font-weight: 700; }
.sepo-chart__total-label { fill-opacity: .72; }
.sepo-chart__tip { position: absolute; z-index: 5; pointer-events: none; padding: 6px 10px; border-radius: 6px; font-size: 13px; line-height: 1.35; white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)); background: #1d2327; color: #fff; }
.sepo-chart--dark .sepo-chart__tip { background: #f0efec; color: #111; }
.sepo-chart__tip[hidden] { display: none; }
.sepo-chart__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: .8em 0 0 !important; padding: 0 !important; list-style: none !important; }
.sepo-chart__legend li { margin: 0 !important; padding: 0 !important; display: inline-flex; align-items: center; gap: 6px; }
.sepo-chart__legend li::before, .sepo-chart__legend li::marker { content: none; }
.sepo-chart__key { display: inline-flex; align-items: center; gap: 6px; padding: 2px 4px; margin: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; border-radius: 4px; }
.sepo-chart__key:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.sepo-chart__key[aria-pressed="false"] { opacity: .5; text-decoration: line-through; }
.sepo-chart__swatch { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.sepo-chart__pct { opacity: .72; }
.sepo-chart__note { margin: .6em 0 0; font-size: .9em; opacity: .75; }
.sepo-chart__data { margin-top: .8em; }
.sepo-chart__data summary { cursor: pointer; font-size: .92em; }
.sepo-chart__scroll { overflow-x: auto; }
.sepo-chart__data table { border-collapse: collapse; margin: .6em 0 0; font-size: .92em; min-width: 50%; }
.sepo-chart__data th, .sepo-chart__data td { padding: 5px 10px; border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent); text-align: right; }
.sepo-chart__data th[scope="row"], .sepo-chart__data thead th:first-child { text-align: left; }
.sepo-chart-empty { padding: 10px 14px; border-radius: 8px; background: color-mix(in srgb, currentColor 6%, transparent); }
@media print { .sepo-chart__data { display: none; } }
@media (forced-colors: active) { .sepo-chart path[data-tip], .sepo-chart__slice { stroke: CanvasText; stroke-width: 1; } }

/* Organisation charts and family trees */
.sepo-tree__scroll { overflow-x: auto; overflow-y: hidden; padding: 2px 0 8px; -webkit-overflow-scrolling: touch; }
.sepo-tree__scroll:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 6px; }
.sepo-tree svg { width: auto; max-width: none; height: auto; margin: 0 auto; }
.sepo-tree__node rect { fill: color-mix(in srgb, var(--sc-c1) 9%, var(--sc-surface)); stroke: var(--sc-c1); stroke-width: 1.5; }
.sepo-tree__node.is-lead rect { fill: var(--sc-c1); }
.sepo-tree__node.is-lead text { fill: #fff; fill-opacity: 1; }
.sepo-chart svg .sepo-tree__name { font-weight: 700; font-size: 13px; }
.sepo-chart svg .sepo-tree__note { font-size: 11.5px; fill-opacity: .75; }
.sepo-tree__line, .sepo-tree__couple { fill: none; stroke: currentColor; stroke-opacity: .45; stroke-width: 1.5; }
.sepo-tree__couple { stroke: var(--sc-c2); stroke-opacity: 1; stroke-width: 3; }
.sepo-tree__list ul { margin: .3em 0 .3em 1.2em; padding: 0; }
.sepo-tree__list li span { opacity: .75; }

/* Ranking, bell curve, heatmap and gauge */
.sepo-bump__periods rect { fill: currentColor; fill-opacity: .85; }
.sepo-chart svg .sepo-bump__periods text { fill: var(--sc-surface); font-weight: 700; font-size: calc(11.5px * var(--sc-k)); }
.sepo-bump__line { fill: none; stroke-width: 2.5; stroke-opacity: .16; }
.sepo-bump__item.is-on .sepo-bump__line { stroke-opacity: 1; stroke-width: 3; }
.sepo-bump__dot { fill-opacity: .2; stroke: var(--sc-surface); stroke-width: 2; cursor: pointer; }
.sepo-bump__item:not(.is-on) .sepo-bump__dot { fill: currentColor; fill-opacity: .2; }
.sepo-bump__item.is-on .sepo-bump__dot { fill-opacity: 1; }
.sepo-chart svg .sepo-bump__name { fill-opacity: .55; font-size: calc(12px * var(--sc-k)); }
.sepo-chart svg .sepo-bump__item.is-on .sepo-bump__name { fill-opacity: 1; font-weight: 700; }
.sepo-bell__band { stroke: var(--sc-surface); stroke-width: 1.5; cursor: pointer; }
.sepo-bell__curve { fill: none; stroke: currentColor; stroke-width: 1.5; }
.sepo-bell__base, .sepo-bell__tick { stroke: currentColor; stroke-width: 1.2; }
.sepo-bell__cut { stroke: var(--sc-surface); stroke-width: 2; }
.sepo-chart svg .sepo-bell__pct { font-weight: 600; font-size: calc(12.5px * var(--sc-k)); }
.sepo-chart svg .sepo-bell__pct.is-in { fill: #fff; }
.sepo-chart--dark svg .sepo-bell__pct.is-in { fill: #0e1116; }
.sepo-chart svg .sepo-bell__axis { font-size: calc(12.5px * var(--sc-k)); }
.sepo-chart svg .sepo-bell__num { fill-opacity: .7; }
.sepo-heat__cells rect { cursor: pointer; }
.sepo-heat__cells rect.is-top { stroke: currentColor; stroke-width: 2; }
.sepo-heat__empty { fill: currentColor; fill-opacity: .04; }
.sepo-chart svg .sepo-heat__num { font-size: calc(11px * var(--sc-k)); font-weight: 600; }
.sepo-chart svg .sepo-heat__num.is-on { fill: #fff; }
.sepo-chart--dark svg .sepo-heat__num.is-on { fill: #0e1116; }
.sepo-heat__scale text { fill-opacity: .72; }
.sepo-gauge__track { fill: currentColor; fill-opacity: .07; }
.sepo-gauge__cards { list-style: none !important; margin: .4em 0 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; }
.sepo-gauge__cards li { margin: 0 !important; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--sc-me) 9%, var(--sc-surface)); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.sepo-gauge__name { display: inline-flex; align-items: center; gap: 7px; flex: 1; }
.sepo-gauge__cards strong { font-size: 1.1em; }
.sepo-gauge__change { flex-basis: 100%; font-size: .88em; opacity: .9; }
.sepo-gauge__change.is-up b, .sepo-stat__change.is-up { color: #16794a; }
.sepo-gauge__change.is-down b, .sepo-stat__change.is-down { color: #b3261e; }
.sepo-chart--dark .sepo-gauge__change.is-up b, .sepo-chart--dark .sepo-stat__change.is-up { color: #6fd3a0; }
.sepo-chart--dark .sepo-gauge__change.is-down b, .sepo-chart--dark .sepo-stat__change.is-down { color: #ff8f86; }

/* Infographics: each item takes its colour from --sc-me. Text stays in the page colour; coloured text is mixed toward it so it stays readable. */
.sepo-info { --sc-me: var(--sc-c1); --sc-ink: color-mix(in srgb, var(--sc-me) 72%, currentColor); }
.sepo-info ol, .sepo-info ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.sepo-info li { margin: 0 !important; padding: 0; }
.sepo-info li::before, .sepo-info li::marker { content: none; }
.sepo-info b { font-weight: 700; }
.sepo-info p { margin: .25em 0 0 !important; opacity: .8; font-size: .95em; }
.sepo-info .sepo-icon { display: block; flex: none; }
.sepo-info__badge { display: inline-grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: color-mix(in srgb, var(--sc-me) 16%, var(--sc-surface)); color: var(--sc-ink); }
.sepo-info.is-bg-accent { padding: 22px; border-radius: 18px; background: var(--sc-c1); color: #fff; --sc-surface: var(--sc-c1); }
.sepo-info.is-bg-accent .sepo-info__badge, .sepo-info.is-bg-accent .sepo-db { --sc-ink: #fff; }

/* Snake steps */
.sepo-snake { display: grid; grid-auto-rows: 1fr; }
.sepo-snake__i { position: relative; display: grid; grid-template-columns: 1fr 104px 1fr; align-items: center; min-height: 96px; }
.sepo-snake__num { grid-column: 2; grid-row: 1; justify-self: center; position: relative; z-index: 2; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--sc-surface); border: 9px solid color-mix(in srgb, var(--sc-me) 35%, var(--sc-surface)); color: var(--sc-ink); font-size: 1.5em; font-weight: 800; }
.sepo-snake__text { grid-row: 1; padding: 0 14px; border-bottom: 1px solid color-mix(in srgb, currentColor 25%, transparent); padding-bottom: 10px; }
.sepo-snake__i.is-right .sepo-snake__text { grid-column: 3; }
.sepo-snake__i.is-left .sepo-snake__text { grid-column: 1; text-align: right; }
.sepo-snake__bend { position: absolute; z-index: 1; top: 50%; height: 100%; width: 64px; border: 14px solid color-mix(in srgb, var(--sc-me) 45%, var(--sc-surface)); }
.sepo-snake__i.is-right .sepo-snake__bend { left: 50%; border-left: 0; border-radius: 0 999px 999px 0; }
.sepo-snake__i.is-left .sepo-snake__bend { right: 50%; border-right: 0; border-radius: 999px 0 0 999px; }
.sepo-snake__i.is-last .sepo-snake__bend { display: none; }

/* Vertical timeline */
.sepo-vt__i { position: relative; display: grid; grid-template-columns: 1fr 30px 1fr; gap: 0 18px; align-items: center; padding: 14px 0 !important; }
.sepo-vt__i::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 10px; transform: translateX(-50%); background: var(--sc-me); }
.sepo-vt__when { grid-column: 1; text-align: right; font-size: 1.6em; font-weight: 800; color: var(--sc-ink); line-height: 1.15; }
.sepo-vt__dot { grid-column: 2; position: relative; z-index: 1; justify-self: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sc-surface); border: 3px solid var(--sc-me); }
.sepo-vt__card { grid-column: 3; display: flex; align-items: center; gap: 14px; }
.sepo-vt__card .sepo-info__badge { width: 64px; height: 64px; }
.sepo-vt__i.is-flip .sepo-vt__when { grid-column: 3; grid-row: 1; text-align: left; }
.sepo-vt__i.is-flip .sepo-vt__card { grid-column: 1; grid-row: 1; flex-direction: row-reverse; text-align: right; }

/* Arrow timeline */
.sepo-at { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.sepo-at__i { display: grid; grid-template-rows: 1fr 30px 54px 30px 1fr; text-align: center; }
.sepo-at__arrow { grid-row: 3; display: grid; place-items: center; margin-right: -14px; padding: 0 22px 0 26px; background: var(--sc-me); color: #fff; font-weight: 800; font-size: 1.1em; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%); }
.sepo-chart--dark .sepo-at__arrow { color: #0e1116; }
/* White text needs a deeper shade of the lighter colours, such as yellow; dark pages get a lighter shade with dark text. */
.sepo-at__arrow, .sepo-proc__n { background: color-mix(in srgb, var(--sc-me) 80%, #000) !important; }
.sepo-chart--dark .sepo-at__arrow, .sepo-chart--dark .sepo-proc__n { background: color-mix(in srgb, var(--sc-me) 82%, #fff) !important; }
.sepo-at__i:first-child .sepo-at__arrow { clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%); border-radius: 6px 0 0 6px; }
.sepo-at__stem { justify-self: center; width: 4px; background: var(--sc-me); position: relative; }
.sepo-at__stem::before { content: ""; position: absolute; left: 50%; width: 14px; height: 14px; border-radius: 50%; transform: translateX(-50%); border: 3px solid var(--sc-me); background: var(--sc-surface); }
.sepo-at__i.is-up .sepo-at__stem { grid-row: 2; } .sepo-at__i.is-up .sepo-at__stem::before { top: -10px; }
.sepo-at__i.is-down .sepo-at__stem { grid-row: 4; } .sepo-at__i.is-down .sepo-at__stem::before { bottom: -10px; }
.sepo-at__body { padding: 6px 6px 14px; }
.sepo-at__i.is-up .sepo-at__body { grid-row: 1; align-self: end; }
.sepo-at__i.is-down .sepo-at__body { grid-row: 5; align-self: start; padding-top: 14px; }
.sepo-at__icon { display: block; margin: 0 auto 6px; color: var(--sc-ink); width: 26px; }

/* Process */
.sepo-proc { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; counter-reset: none; }
.sepo-proc__i { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px !important; border-radius: 14px; background: color-mix(in srgb, var(--sc-me) 9%, var(--sc-surface)); }
.sepo-proc__n { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: var(--sc-me); color: #fff; font-size: .8em; font-weight: 800; }
.sepo-chart--dark .sepo-proc__n { color: #0e1116; }
.sepo-proc__i:not(:last-child)::after { content: "" !important; position: absolute; right: -12px; top: 50%; width: 10px; height: 10px; border-top: 3px solid var(--sc-me); border-right: 3px solid var(--sc-me); transform: translateY(-50%) rotate(45deg); }

/* Stats */
.sepo-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.sepo-stat, .sepo-db--stat { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px !important; border-radius: 14px; background: color-mix(in srgb, var(--sc-me) 8%, var(--sc-surface)); }
.sepo-stat .sepo-info__badge, .sepo-db--stat .sepo-info__badge { width: 42px; height: 42px; margin-bottom: 4px; }
.sepo-stat__num { font-size: 2em; font-weight: 800; line-height: 1.1; color: var(--sc-ink); }
.sepo-stat__label { opacity: .8; }
.sepo-stat__change { font-size: .88em; font-weight: 700; }

/* Icon array */
.sepo-ia { display: grid; gap: 16px; }
.sepo-ia__head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.sepo-ia__head span { font-weight: 700; color: var(--sc-ink); white-space: nowrap; }
.sepo-ia__icons { display: flex; flex-wrap: wrap; gap: 4px; }
.sepo-ia__icons span { color: currentColor; opacity: .18; }
.sepo-ia__icons span.is-on { color: var(--sc-me); opacity: 1; }

/* Funnel */
.sepo-funnel li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(130px, 34%); align-items: stretch; gap: 14px; }
.sepo-funnel__label { align-self: center; padding: 4px 0; }
.sepo-funnel__shape { display: block; min-height: 52px; background: var(--sc-me); }
.sepo-funnel li + li { margin-top: 3px !important; }
.sepo-funnel__label span { display: block; opacity: .8; font-size: .92em; }

/* Cycle */
.sepo-cycle { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: 24px; align-items: center; }
.sepo-cycle__wheel { position: relative; aspect-ratio: 1; }
.sepo-cycle__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sepo-cycle__ring path { fill: none; stroke-width: 3.5; }
.sepo-cycle__node { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 4px; width: 96px; text-align: center; }
.sepo-cycle__node .sepo-info__badge { width: 56px; height: 56px; background: var(--sc-surface); border: 3px solid var(--sc-me); }
.sepo-cycle__node small { font-weight: 700; font-size: .85em; line-height: 1.2; }
.sepo-cycle__list { display: grid; gap: 10px; counter-reset: sepo-cy; }
.sepo-cycle__list li { position: relative; padding: 0 0 0 22px !important; }
.sepo-cycle__list li::before { content: "" !important; position: absolute; left: 0; top: .35em; width: 12px; height: 12px; border-radius: 50%; background: var(--sc-me); }

/* Progress */
.sepo-prog.is-rings { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; text-align: center; }
.sepo-prog__ring { position: relative; width: 120px; margin: 0 auto 8px; }
.sepo-prog__ring svg { display: block; width: 100%; transform: rotate(-90deg); }
.sepo-prog__bg { fill: none; stroke: currentColor; stroke-opacity: .1; stroke-width: 10; }
.sepo-prog__fg { fill: none; stroke: var(--sc-me); stroke-width: 10; stroke-linecap: round; }
.sepo-prog__ring span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 1.15em; }
.sepo-prog.is-bars { display: grid; gap: 14px; }
.sepo-prog__head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.sepo-prog__head span { font-weight: 700; color: var(--sc-ink); }
.sepo-prog__track { height: 12px; border-radius: 999px; background: color-mix(in srgb, currentColor 10%, transparent); overflow: hidden; }
.sepo-prog__track span { display: block; height: 100%; border-radius: 999px; background: var(--sc-me); }

/* Comparison */
.sepo-cmp { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; }
.sepo-cmp__col { padding: 18px !important; border-radius: 14px; background: color-mix(in srgb, var(--sc-me) 8%, var(--sc-surface)); }
.sepo-cmp__col h3 { margin: 0 0 10px !important; padding: 0 !important; font-size: 1.15em; color: var(--sc-ink); }
.sepo-cmp__col li { display: flex; gap: 8px; align-items: flex-start; padding: 5px 0 !important; }
.sepo-cmp__col li .sepo-icon { color: var(--sc-ink); margin-top: 1px; }
.sepo-cmp__vs { align-self: center; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: currentColor; font-weight: 800; text-transform: uppercase; }
.sepo-cmp__vs { color: var(--sc-surface); background: color-mix(in srgb, currentColor 0%, var(--sc-c1)); }

/* Designs made of blocks */
.sepo-design { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.sepo-db { grid-column: span 6; min-width: 0; }
.sepo-db.is-half { grid-column: span 3; }
.sepo-db.is-third { grid-column: span 2; }
.sepo-db.is-twothirds { grid-column: span 4; }
.sepo-db.is-center { text-align: center; }
.sepo-db__sub { display: block; font-weight: 700; color: var(--sc-ink); letter-spacing: .04em; }
.sepo-chart .sepo-db__h { color: inherit; margin: .1em 0 0 !important; font-size: 1.9em; line-height: 1.15; font-weight: 800; }
.sepo-db--icon, .sepo-db--step, .sepo-db--event { display: flex; gap: 14px; align-items: center; }
.sepo-db__n { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; border: 6px solid color-mix(in srgb, var(--sc-me) 35%, var(--sc-surface)); color: var(--sc-ink); font-weight: 800; }
.sepo-db--event { position: relative; padding-left: 26px !important; }
.sepo-db--event::before { content: ""; position: absolute; left: 7px; top: -14px; bottom: -14px; width: 4px; background: var(--sc-me); }
.sepo-db__dot { position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--sc-me); background: var(--sc-surface); }
.sepo-db--event > div { flex: 1; }
.sepo-db__date { display: block; font-weight: 800; color: var(--sc-ink); }
.sepo-db--note { display: flex; gap: 10px; align-items: center; padding: 12px 14px !important; border-radius: 12px; background: color-mix(in srgb, var(--sc-me) 10%, var(--sc-surface)); }
.sepo-db--note .sepo-icon { color: var(--sc-ink); }
.sepo-db--note p { margin: 0 !important; opacity: 1; }
.sepo-db--image img { display: block; width: 100%; height: auto; border-radius: 12px; }
.sepo-db--divider hr { border: 0; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); margin: 4px 0; }
.sepo-db--spacer { height: 16px; }
.sepo-db--chart .sepo-chart { margin: 0; }

/* Narrow spaces: infographics become one column. Measured on the infographic itself, so it also works in narrow columns and sidebars. */
.sepo-info { container-type: inline-size; }
@container (max-width: 560px) {
  .sepo-snake__i { grid-template-columns: 76px 1fr; gap: 0 14px; }
  .sepo-snake__num { grid-column: 1; }
  .sepo-snake__i .sepo-snake__text, .sepo-snake__i.is-left .sepo-snake__text, .sepo-snake__i.is-right .sepo-snake__text { grid-column: 2; text-align: left; }
  .sepo-snake__bend, .sepo-snake__i.is-left .sepo-snake__bend, .sepo-snake__i.is-right .sepo-snake__bend { left: 36px; right: auto; width: 0; border: 0; border-left: 6px solid color-mix(in srgb, var(--sc-me) 45%, var(--sc-surface)); border-radius: 0; }
  .sepo-vt__i, .sepo-vt__i.is-flip { grid-template-columns: 30px 1fr; gap: 4px 14px; }
  .sepo-vt__i::after { left: 15px; }
  .sepo-vt__dot { grid-column: 1; grid-row: 1 / span 2; }
  .sepo-vt__when, .sepo-vt__i.is-flip .sepo-vt__when { grid-column: 2; grid-row: 1; text-align: left; font-size: 1.25em; }
  .sepo-vt__card, .sepo-vt__i.is-flip .sepo-vt__card { grid-column: 2; grid-row: 2; flex-direction: row; text-align: left; }
  .sepo-at { grid-template-columns: 1fr; gap: 10px; }
  .sepo-at__i, .sepo-at__i.is-down { grid-template-rows: auto auto; text-align: left; }
  .sepo-at__arrow, .sepo-at__i:first-child .sepo-at__arrow { grid-row: 1; justify-self: start; height: 40px; margin: 0; padding: 0 28px 0 16px; clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%); border-radius: 6px 0 0 6px; }
  .sepo-at__stem { display: none; }
  .sepo-at__i .sepo-at__body, .sepo-at__i.is-up .sepo-at__body, .sepo-at__i.is-down .sepo-at__body { grid-row: 2; padding: 6px 0 0; }
  .sepo-at__icon { margin: 0 0 4px; }
  .sepo-proc__i:not(:last-child)::after { right: 50%; top: auto; bottom: -12px; transform: translateX(50%) rotate(135deg); }
  .sepo-cycle { grid-template-columns: 1fr; }
  .sepo-cycle__wheel { max-width: 300px; width: 100%; margin: 0 auto; }
  .sepo-cmp { grid-template-columns: 1fr; }
  .sepo-cmp__vs { justify-self: center; }
  .sepo-db.is-half, .sepo-db.is-third, .sepo-db.is-twothirds { grid-column: span 6; }
  .sepo-funnel li { grid-template-columns: minmax(0, 1fr) minmax(110px, 40%); }
}
.sepo-chart svg.sepo-icon { display: block; flex: none; overflow: visible; max-width: none; }
.sepo-chart--dark .sepo-snake__num, .sepo-chart--dark .sepo-db__n { border-color: color-mix(in srgb, var(--sc-me) 55%, var(--sc-surface)); }
.sepo-chart--dark .sepo-snake__bend { border-color: color-mix(in srgb, var(--sc-me) 65%, var(--sc-surface)); }
.sepo-chart--dark .sepo-info__badge { background: color-mix(in srgb, var(--sc-me) 24%, var(--sc-surface)); }

/* Style choices for blocks in a design */
.sepo-db.is-right { text-align: right; }
.sepo-db.is-center.sepo-db--icon, .sepo-db.is-center.sepo-db--step, .sepo-db.is-center.sepo-db--note { flex-direction: column; align-items: center; }
.sepo-db.is-right.sepo-db--icon, .sepo-db.is-right.sepo-db--step, .sepo-db.is-right.sepo-db--note { flex-direction: row-reverse; }
.sepo-db.is-center.sepo-db--stat { align-items: center; }
.sepo-db.is-right.sepo-db--stat { align-items: flex-end; }
.sepo-db.is-center .sepo-prog__head, .sepo-db.is-right .sepo-prog__head { text-align: left; }
.sepo-db.is-center.sepo-db--chart .sepo-chart__title { text-align: center; }
.sepo-db.is-center.sepo-db--image img { margin: 0 auto; width: auto; max-width: 100%; }
.sepo-db.is-right.sepo-db--image img { margin-left: auto; width: auto; max-width: 100%; }
.sepo-db.is-v-middle { align-self: center; }
.sepo-db.is-v-bottom { align-self: end; }
.sepo-db.is-fill-tint { background: color-mix(in srgb, var(--sc-me) 10%, var(--sc-surface)); }
.sepo-db.is-fill-line { background: transparent; border: 1.5px solid color-mix(in srgb, var(--sc-me) 45%, var(--sc-surface)); }
.sepo-db.is-fill-solid { --sc-solid: color-mix(in srgb, var(--sc-me) 80%, #000); background: var(--sc-solid); color: #fff; --sc-ink: currentColor; }
.sepo-chart--dark .sepo-db.is-fill-solid { --sc-solid: color-mix(in srgb, var(--sc-me) 82%, #fff); }
.sepo-chart--dark .sepo-db.is-fill-solid { color: #0e1116; }
.sepo-db.is-fill-solid .sepo-info__badge, .sepo-db.is-fill-solid .sepo-prog__track { background: color-mix(in srgb, currentColor 18%, transparent); }
.sepo-db.is-fill-solid .sepo-prog__track span, .sepo-db.is-fill-solid .sepo-db__dot { background: currentColor; }
.sepo-db.is-fill-solid .sepo-db__n, .sepo-db.is-fill-solid .sepo-db__dot { border-color: color-mix(in srgb, currentColor 45%, transparent); }
.sepo-db.is-fill-solid.sepo-db--event::before { background: currentColor; }
.sepo-db.is-fill-solid .sepo-stat__change, .sepo-db.is-fill-solid .sepo-gauge__change b { color: inherit; }
.sepo-db[class*="is-fill-"] { padding: 14px 16px; border-radius: 14px; }
.sepo-db.is-fill-tint.sepo-db--event::before, .sepo-db.is-fill-solid.sepo-db--event::before, .sepo-db.is-fill-line.sepo-db--event::before { left: 15px; top: 0; bottom: 0; }
.sepo-db.is-fill-tint .sepo-db__dot, .sepo-db.is-fill-solid .sepo-db__dot, .sepo-db.is-fill-line .sepo-db__dot { left: 8px; top: 18px; }
.sepo-db.is-pad-s { padding: 8px 10px !important; }
.sepo-db.is-pad-m { padding: 18px 20px !important; }
.sepo-db.is-pad-l { padding: 30px 32px !important; }
.sepo-db.is-round-square, .sepo-db.is-round-square img { border-radius: 0 !important; }
.sepo-db.is-round-pill { border-radius: 28px !important; }
.sepo-db.is-round-pill img { border-radius: 22px; }
.sepo-db.is-size-s { font-size: .875em; }
.sepo-db.is-size-l { font-size: 1.15em; }
.sepo-db.is-size-xl { font-size: 1.4em; }
.sepo-db--spacer.is-size-s { height: 6px; }
.sepo-db--spacer.is-size-l { height: 36px; }
.sepo-db--spacer.is-size-xl { height: 64px; }
.sepo-db.is-ink-colour { color: var(--sc-ink); }
.sepo-db.is-space-s { margin-top: 6px; }
.sepo-db.is-space-m { margin-top: 18px; }
.sepo-db.is-space-l { margin-top: 36px; }
.sepo-db--event[class*="is-fill-"], .sepo-db--event[class*="is-pad-"] { padding-left: 34px !important; }

/* Style choices for the frame of any chart, infographic or design */
.sepo-chart.is-width-medium { max-width: 880px; margin-left: auto; margin-right: auto; }
.sepo-chart.is-width-narrow { max-width: 640px; margin-left: auto; margin-right: auto; }
.sepo-chart.is-talign-center > .sepo-chart__title, .sepo-chart.is-talign-center > .sepo-chart__note { text-align: center; }
.sepo-chart.is-talign-right > .sepo-chart__title, .sepo-chart.is-talign-right > .sepo-chart__note { text-align: right; }
.sepo-chart.is-tsize-s > .sepo-chart__title { font-size: .95em; }
.sepo-chart.is-tsize-l > .sepo-chart__title { font-size: 1.4em; }
.sepo-chart.is-tsize-xl > .sepo-chart__title { font-size: 1.85em; line-height: 1.2; }
.sepo-chart.is-fsize-s { font-size: .9em; }
.sepo-chart.is-fsize-l { font-size: 1.12em; }
.sepo-chart.is-fsize-xl { font-size: 1.28em; }
.sepo-chart.is-bg-tint, .sepo-chart.is-bg-line, .sepo-chart.is-bg-accent { padding: 22px; border-radius: 18px; }
.sepo-chart.is-bg-tint { background: color-mix(in srgb, var(--sc-c1) 6%, var(--sc-surface)); }
.sepo-chart.is-bg-line { border: 1.5px solid color-mix(in srgb, currentColor 16%, transparent); }
.sepo-chart.is-pad-s[class*="is-bg-"] { padding: 12px; }
.sepo-chart.is-pad-l[class*="is-bg-"] { padding: 36px; }
.sepo-chart.is-round-square, .sepo-chart.is-round-square :is(.sepo-proc__i, .sepo-stat, .sepo-cmp__col, .sepo-gauge__cards li, .sepo-db, .sepo-db img, .sepo-heat__cells rect) { border-radius: 0 !important; }
.sepo-chart.is-round-square .sepo-heat__cells rect { rx: 0; }
.sepo-chart.is-round-pill[class*="is-bg-"] { border-radius: 32px; }
.sepo-chart.is-round-pill :is(.sepo-proc__i, .sepo-stat, .sepo-cmp__col, .sepo-gauge__cards li, .sepo-db[class*="is-fill-"], .sepo-db--stat, .sepo-db--note) { border-radius: 26px; }
.sepo-chart.is-gap-tight :is(.sepo-proc, .sepo-stats, .sepo-ia, .sepo-prog, .sepo-cmp, .sepo-design, .sepo-gauge__cards, .sepo-cycle__list) { gap: 6px; }
.sepo-chart.is-gap-roomy :is(.sepo-proc, .sepo-stats, .sepo-ia, .sepo-prog, .sepo-cmp, .sepo-design, .sepo-gauge__cards, .sepo-cycle__list) { gap: 26px; }
.sepo-chart.is-gap-tight .sepo-vt__i { padding: 6px 0 !important; }
.sepo-chart.is-gap-roomy .sepo-vt__i { padding: 26px 0 !important; }
.sepo-chart.is-gap-tight .sepo-snake__i { min-height: 82px; }
.sepo-chart.is-gap-roomy .sepo-snake__i { min-height: 124px; }
.sepo-chart.is-gap-roomy .sepo-funnel li + li { margin-top: 10px !important; }
/* Cards inside infographics: solid colour, an outline, or no card at all */
/* Solid colours are deepened on light pages and lightened on dark ones, so white or dark text on them stays readable. */
.sepo-chart.is-cards-solid :is(.sepo-proc__i, .sepo-stat, .sepo-cmp__col, .sepo-gauge__cards li, .sepo-db--stat, .sepo-db--note) { --sc-solid: color-mix(in srgb, var(--sc-me) 80%, #000); background: var(--sc-solid); color: #fff; --sc-ink: currentColor; }
.sepo-chart--dark.is-cards-solid :is(.sepo-proc__i, .sepo-stat, .sepo-cmp__col, .sepo-gauge__cards li, .sepo-db--stat, .sepo-db--note) { --sc-solid: color-mix(in srgb, var(--sc-me) 82%, #fff); }
.sepo-chart.is-cards-solid p, .sepo-db.is-fill-solid p, .sepo-chart.is-cards-solid .sepo-stat__label { opacity: 1; }
.sepo-chart--dark.is-cards-solid :is(.sepo-proc__i, .sepo-stat, .sepo-cmp__col, .sepo-gauge__cards li, .sepo-db--stat, .sepo-db--note) { color: #0e1116; }
.sepo-chart.is-cards-solid :is(.sepo-proc__i, .sepo-stat, .sepo-db--stat) .sepo-info__badge { background: color-mix(in srgb, currentColor 18%, transparent); }
.sepo-chart.is-cards-solid .sepo-proc__n { background: #fff !important; color: var(--sc-solid); }
.sepo-chart--dark.is-cards-solid .sepo-proc__n { background: #0e1116 !important; }
.sepo-chart.is-cards-solid :is(.sepo-stat__change, .sepo-gauge__change b) { color: inherit !important; }
.sepo-chart.is-cards-solid .sepo-gauge__cards .sepo-chart__swatch { outline: 2px solid currentColor; }
.sepo-chart.is-cards-line :is(.sepo-proc__i, .sepo-stat, .sepo-cmp__col, .sepo-gauge__cards li, .sepo-db--stat, .sepo-db--note) { background: transparent; border: 1.5px solid color-mix(in srgb, var(--sc-me) 45%, var(--sc-surface)); }
.sepo-chart.is-cards-plain :is(.sepo-proc__i, .sepo-stat, .sepo-cmp__col, .sepo-gauge__cards li, .sepo-db--stat, .sepo-db--note) { background: transparent; padding-left: 0 !important; padding-right: 0 !important; }
/* Icon size */
.sepo-chart.is-isize-s .sepo-info__badge { width: 40px !important; height: 40px !important; }
.sepo-chart.is-isize-s .sepo-info__badge svg { width: 20px; height: 20px; }
.sepo-chart.is-isize-l .sepo-info__badge { width: 72px !important; height: 72px !important; }
.sepo-chart.is-isize-l .sepo-info__badge svg { width: 36px; height: 36px; }
.sepo-chart.is-isize-s :is(.sepo-ia__icons, .sepo-at__icon) svg { width: 18px; height: 18px; }
.sepo-chart.is-isize-l :is(.sepo-ia__icons, .sepo-at__icon) svg { width: 34px; height: 34px; }
.sepo-chart.is-isize-l .sepo-at__icon { width: 34px; }
/* Items centred */
.sepo-chart.is-ialign-center :is(.sepo-proc__i, .sepo-stat, .sepo-db--stat) { align-items: center; text-align: center; }
.sepo-chart.is-ialign-center .sepo-cmp__col { text-align: center; }
.sepo-chart.is-ialign-center .sepo-cmp__col li { justify-content: center; }
.sepo-chart.is-ialign-center .sepo-ia__head, .sepo-chart.is-ialign-center .sepo-prog__head { justify-content: center; gap: 12px; }
.sepo-chart.is-ialign-center .sepo-ia__icons { justify-content: center; }
.sepo-chart > .sepo-chart__title { color: var(--sc-title, inherit); }
.sepo-at__i:last-child .sepo-at__arrow { margin-right: 0; }

/* Where the icon or number sits beside the text in a block, and how they line up */
.sepo-design .sepo-db.is-ip-left { flex-direction: row; }
.sepo-design .sepo-db.is-ip-right { flex-direction: row-reverse; justify-content: flex-end; }
.sepo-design .sepo-db.is-ip-top { flex-direction: column; align-items: flex-start; }
.sepo-design .sepo-db.is-ip-top.is-center { align-items: center; }
.sepo-design .sepo-db.is-ip-top.is-right { align-items: flex-end; }
.sepo-design .sepo-db.is-center:is(.is-ip-left, .is-ip-right), .sepo-design .sepo-db.is-right:is(.is-ip-left, .is-ip-right) { justify-content: center; }
.sepo-design .sepo-db.is-right.is-ip-left { justify-content: flex-end; }
.sepo-design .sepo-db.is-right.is-ip-right { justify-content: flex-start; }
.sepo-design .sepo-db.is-iv-top:not(.is-ip-top) { align-items: flex-start; }
.sepo-db > div { min-width: 0; }
.sepo-db--icon b, .sepo-db--step b, .sepo-db--event b { display: block; line-height: 1.3; }
