/* topic pages (pages/topic.py: /ai-agents/, /zatca-einvoicing/, /healthcare-systems/ and /en/...): the hero with its
   product scene, the specialist strip, the bento and its visuals (.tpv-*), the flows (.tpf-*), the use-case tabs, the
   form panel, FAQ, closing call and phone bar. One file for both directions: logical properties, [dir] where a side
   matters. The site's palette (ink, white, greys; the header, footer, phone bar and main pill buttons as everywhere) plus
   one colour per field (topics.json 'accent' -> body.tp-acc--<name>, below): the hero's glow, the scenes' checks and
   states, the strip's marks, the flows' pulse, the tab indicator, the visuals' highlights, the form's chips and focus, the
   FAQ numbers and the closing band. */

/* ---------------------------------------------------------------- tokens */
.shf-page-topic {
  --tp-surf: #FFFFFF; --tp-surf2: #F6F6F7; --tp-line: rgba(20, 20, 22, .1); --tp-ink: #131417; --tp-mute: #5B5E66;
  --tp-dot: rgba(20, 20, 22, .09); --tp-shadow: 0 18px 40px -26px rgba(15, 16, 20, .45), 0 2px 6px -2px rgba(15, 16, 20, .08);
  --tp-mono: var(--shf-ff);   /* Tajarib everywhere, code too (site.css) */
  --tp-ease: cubic-bezier(.2, .8, .2, 1);
  --tp-dir: 1;
}
[dir="rtl"] .shf-page-topic, .shf-page-topic[dir="rtl"], html[dir="rtl"] body.shf-page-topic { --tp-dir: -1; }
[data-bs-theme=dark] .shf-page-topic {
  --tp-surf: #1A1B1E; --tp-surf2: #212327; --tp-line: rgba(255, 255, 255, .1); --tp-ink: #F0F1F3; --tp-mute: #A6AAB2;
  --tp-dot: rgba(255, 255, 255, .07); --tp-shadow: 0 18px 40px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .03);
}
.shf-page-topic .sd2-page, .shf-page-topic .sd2-page.container-2200 { background: transparent; }
.shf-page-topic, .shf-page-topic .sd2-page { --sd2-accent: currentColor; }   /* no coloured text (the owner's rule) */
html[dir="rtl"] .shf-page-topic main :is(h1, h2, h3) { letter-spacing: 0 !important; }
.tp-flip { transform: scaleX(var(--tp-dir)); }

/* ---------------------------------------------------------------- the field's colour (README «Topic pages»: the palette)
   --tp-a       on light surfaces: text on white and on the page background passes AA (4.5:1), and so does white on it
   --tp-a-ink   on the ink panels (hero, form, closing call) and in dark mode: AA on ink, and ink text on it
   --tp-a-soft  a light tint; --tp-a-deep a deep one (dark mode's tint, the closing band)
   The sections use the mode-aware names: --tp-accent (text, marks and fills on the page's own surfaces and the scenes'
   windows), --tp-accent-on-ink (on the ink panels, both modes), --tp-accent-soft (tints) and --tp-accent-contrast (text on
   a solid --tp-accent fill). Pages live today: violet (AI agents), green (ZATCA), teal (healthcare); the others are the
   roll-out pages' colours, defined and not used yet. */
.tp-acc--violet   { --tp-a: #5B4BDB; --tp-a-ink: #A99BFF; --tp-a-soft: #EDEFFE; --tp-a-deep: #29294B; }
.tp-acc--green    { --tp-a: #0B7A53; --tp-a-ink: #4CD39A; --tp-a-soft: #DDF8E8; --tp-a-deep: #0A3723; }
.tp-acc--teal     { --tp-a: #087982; --tp-a-ink: #4CC9CF; --tp-a-soft: #D6F8FB; --tp-a-deep: #02353A; }
.tp-acc--coral    { --tp-a: #BD4238; --tp-a-ink: #E47D70; --tp-a-soft: #FEEBE8; --tp-a-deep: #47211C; }   /* booking-systems (roll-out) */
.tp-acc--cobalt   { --tp-a: #3364DB; --tp-a-ink: #789DE9; --tp-a-soft: #E9F0FF; --tp-a-deep: #1E2D4C; }   /* custom-software (roll-out) */
.tp-acc--rose     { --tp-a: #BE3588; --tp-a-ink: #D97BAD; --tp-a-soft: #FEEAF3; --tp-a-deep: #432033; }   /* mobile-app-development (roll-out) */
.tp-acc--azure    { --tp-a: #0074A4; --tp-a-ink: #52A9D9; --tp-a-soft: #E2F3FE; --tp-a-deep: #063248; }   /* web-ecommerce (roll-out) */
.tp-acc--magenta  { --tp-a: #AC3CB1; --tp-a-ink: #C880CA; --tp-a-soft: #FDE9FD; --tp-a-deep: #3D223E; }   /* salla-zid-stores (roll-out) */
.tp-acc--gold     { --tp-a: #7B6C01; --tp-a-ink: #B1A02E; --tp-a-soft: #F5F1D7; --tp-a-deep: #352E02; }   /* power-bi-data-analysis (roll-out) */
.tp-acc--orange   { --tp-a: #B24E01; --tp-a-ink: #E3814A; --tp-a-soft: #FEECE3; --tp-a-deep: #462311; }   /* mvp-development (roll-out) */
.tp-acc--lime     { --tp-a: #497A04; --tp-a-ink: #7AB146; --tp-a-soft: #E8F6DE; --tp-a-deep: #223412; }   /* whatsapp-automation (roll-out) */
.tp-acc--orchid   { --tp-a: #8F48CE; --tp-a-ink: #B188DF; --tp-a-soft: #F4ECFE; --tp-a-deep: #352546; }   /* ai-solutions (roll-out) */
.tp-acc--amber    { --tp-a: #9B5F02; --tp-a-ink: #D78C29; --tp-a-soft: #FFEDDB; --tp-a-deep: #412706; }   /* engineering-construction-systems (roll-out) */
.tp-acc--slate    { --tp-a: #52708F; --tp-a-ink: #87A1BD; --tp-a-soft: #E9F1FA; --tp-a-deep: #262F38; }   /* business-development (roll-out) */
.tp-acc--crimson  { --tp-a: #C9305F; --tp-a-ink: #E27A8F; --tp-a-soft: #FFEAED; --tp-a-deep: #472028; }   /* digital-projects (roll-out) */
.shf-page-topic { --tp-accent: var(--tp-a, #1D1D1D); --tp-accent-on-ink: var(--tp-a-ink, #F4F5F7); --tp-accent-soft: var(--tp-a-soft, #F2F2F2); --tp-accent-contrast: #FFFFFF; }
[data-bs-theme=dark] .shf-page-topic { --tp-accent: var(--tp-a-ink, #F4F5F7); --tp-accent-soft: var(--tp-a-deep, #212121); --tp-accent-contrast: #0C0D10; }

/* ---------------------------------------------------------------- section panels and heads */
.tp-panel { padding: 100px 0; }
.tp-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: end; gap: 20px 64px; margin-bottom: 48px; }
.tp-head__main .at-btn { margin-bottom: 14px !important; }
.tp-h2 { font-size: clamp(30px, 3.5vw, 54px); font-weight: 600; line-height: 1.15; color: var(--at-neutral-900); max-width: 21ch; text-wrap: balance; }
html[dir="rtl"] .tp-h2 { line-height: 1.32; }
.tp-head__lead { margin: 0; max-width: 42ch; font-size: 18px; line-height: 1.65; color: var(--at-neutral-500); justify-self: end; }
html[dir="rtl"] .tp-head__lead { font-size: 19px; }
.shf-page-topic main .at-btn.common-black > i { color: var(--tp-accent); }

/* ---------------------------------------------------------------- 1. hero */
.tp-hero { padding: 30px 0 34px; }
.tp-hero .sd2-hero__top { margin-bottom: 20px; }
/* the field's glow, instead of the warm one: beside the copy and above the stage (the photo would hide it behind the
   stage, the theme's place for it), so the field's colour reaches the title on every width */
.tp-hero .sd2-hero__glow { width: min(62vw, 820px); height: min(62vw, 820px); top: -35%; background: radial-gradient(circle, color-mix(in srgb, var(--tp-accent-on-ink) 30%, transparent) 0%, color-mix(in srgb, var(--tp-accent-on-ink) 9%, transparent) 42%, transparent 68%); filter: blur(10px); }
html[dir="rtl"] .tp-hero .sd2-hero__glow { right: -12%; left: auto; }
html[dir="ltr"] .tp-hero .sd2-hero__glow { left: -12%; right: auto; }
.tp-crumb__home { color: inherit; }
.tp-crumb__home:hover, .tp-crumb__home:focus { color: #F4F5F7; }
.tp-crumb__home:focus-visible { outline: 2px solid #FEFEFE; outline-offset: 3px; border-radius: 4px; }
.tp-crumb { gap: 10px; font-size: 14px; font-weight: 600; color: rgba(244, 245, 247, .7); }
.tp-crumb__sep { opacity: .45; }
.tp-status { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border: 1px solid var(--sd2-line); border-radius: 100px; font-size: 13px; font-weight: 600; color: #F4F5F7; }
.tp-status .sd2-status__dot, .tp-kicker__dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--tp-accent-on-ink); box-shadow: 0 0 12px color-mix(in srgb, var(--tp-accent-on-ink) 70%, transparent); animation: tpPulse 2s ease-in-out infinite; }
@keyframes tpPulse { 50% { opacity: .35; } }
.tp-hero__main { display: grid; grid-template-columns: minmax(0, 37fr) minmax(0, 63fr); gap: 32px 44px; align-items: center; }
.tp-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; font-size: 14px; font-weight: 600; color: rgba(244, 245, 247, .74); }
html[dir="rtl"] .tp-kicker { font-size: 16px; }
.tp-hero__title { margin: 0 0 20px; font-size: clamp(34px, 3.3vw, 52px) !important; font-weight: 600; line-height: 1.1 !important; letter-spacing: -0.035em; color: #F4F5F7; text-wrap: balance; }
html[dir="rtl"] .tp-hero__title { line-height: 1.3 !important; }
/* Arabic titles drawn in Tajarib with its stretched letters (pages/topic.py title_html, tools/title_art.py): the drawing
   scales with the title's font size and never past the column; the title text stays for search engines and screen readers */
.tp-title-art { display: block; width: min(100%, var(--w)); height: auto; margin-block: .08em .04em; overflow: visible; }
.tp-title-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tp-hero__lead { max-width: 36ch; margin: 0 0 30px; font-size: 18px; line-height: 1.7; color: rgba(244, 245, 247, .76); text-wrap: pretty; }
html[dir="rtl"] .tp-hero__lead { font-size: 19px; line-height: 1.75; }
.tp-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; }
.tp-btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 22px; font-size: 16px; white-space: nowrap; }
.tp-btn__ico { display: inline-flex; line-height: 0; }
.tp-btn__ico .shf-ico, .tp-btn__ico svg { width: 18px; height: 18px; }
.tp-btn--light, .tp-btn--light:hover, .tp-btn--light:focus { background: #FEFEFE; color: #1D1D1D; }
.tp-btn--line, .tp-btn--line:hover, .tp-btn--line:focus { background: transparent; color: #F4F5F7; box-shadow: inset 0 0 0 1px rgba(244, 245, 247, .38); }
.tp-btn--line:hover { box-shadow: inset 0 0 0 1px rgba(244, 245, 247, .8); }
.tp-hero .at-btn:focus-visible, .tp-cta .at-btn:focus-visible, .tp-call:focus-visible { outline: 2px solid #FEFEFE; outline-offset: 3px; }
.tp-call { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 2px; font-size: 16px; font-weight: 600; color: #F4F5F7; border-bottom: 1px solid rgba(244, 245, 247, .35); }
.tp-call:hover, .tp-call:focus { color: #F4F5F7; border-color: #F4F5F7; }
.tp-intro .tp-call, .tp-intro .tp-call:hover, .tp-intro .tp-call:focus { color: var(--at-neutral-900); border-bottom: 0; text-decoration: underline; text-decoration-color: var(--tp-accent); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.tp-intro .tp-call:focus-visible { outline: 2px solid var(--tp-accent); outline-offset: 3px; }
.tp-call__ico { display: inline-flex; line-height: 0; }
.tp-call__ico .shf-ico { width: 17px; height: 17px; }
.tp-hero__stage { position: relative; min-width: 0; container: tpstage / inline-size; }
/* the stage: a photo of the field in a rounded frame (decorative), the scene standing on its reading-side part. From 768px
   the scene covers the photo but for its outer column and its top: the person stands in that column (the Arabic file
   has them at the left edge, the English one is its mirror), facing the scene. The frame reaches toward the panel's
   edge where the container leaves room (--tp-bleed), so the column stays wide on every width; a light ink shade under
   the scene's inner edge and foot only. Phones: the photo is a band the scene overlaps at its foot (below). */
.tp-hero__stage--photo { --tp-scw: 86cqi; padding-block: 22px 0; }
.tp-photo { position: absolute; top: 0; bottom: 26px; inset-inline-start: 9%; inset-inline-end: calc(-1 * var(--tp-bleed, 0px)); overflow: hidden; border-radius: 28px; background: #16181E; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.tp-photo picture { display: contents; }
.tp-photo__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: calc(50% + 50% * var(--tp-dir)) var(--tp-py, 40%); filter: saturate(.94); }
.tp-photo__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 13, 16, .5) 0%, rgba(12, 13, 16, 0) 18%), linear-gradient(calc(var(--tp-dir) * 90deg), rgba(12, 13, 16, .4) 0%, rgba(12, 13, 16, 0) 30%); }
.tp-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(90% 70% at calc(50% + 20% * var(--tp-dir)) 100%, color-mix(in srgb, var(--tp-accent-on-ink) 22%, transparent), transparent 70%); mix-blend-mode: screen; pointer-events: none; }
.tp-hero__stage--photo .tp-sc { margin-inline: 0 auto; font-size: min(16px, calc(var(--tp-scw) / 44)); }
@media (min-width: 992px) { .tp-hero { --tp-bleed: max(0px, min(120px, (100vw - 960px) / 2 - 24px)); } }
@media (min-width: 1200px) { .tp-hero { --tp-bleed: max(0px, min(120px, (100vw - 1140px) / 2 - 24px)); } }
@media (min-width: 1400px) { .tp-hero { --tp-bleed: max(0px, min(120px, (100vw - 1782px) / 2 - 8px)); } }
/* on the photo, the invoice's own ink parts get a backing so their light text stays clear */
.tp-hero__stage--photo .tp-inv__modes { background: rgba(12, 13, 16, .78); border-color: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tp-hero__stage--photo .tp-mode { color: rgba(244, 245, 247, .78); }
.tp-hero__stage--photo .tp-inv__side { padding: 1em 1em 1.1em; border-radius: 1em; background: rgba(12, 13, 16, .8); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tp-hero__stage--photo .tp-xml { background: rgba(4, 5, 7, .7); }

/* ---------------------------------------------------------------- the scenes: shared (sizes in em; 1em = the stage's width / 44, at most 15px)
   The small text (labels, times, codes, sub-lines) keeps a 9px floor: font-size: max(<em>, 9px), so it stays legible
   where the scene is drawn small (992-1199px, narrow phones); the em sizes rule wherever the scene is larger. */
.tp-sc {
  --s-bg: #FFFFFF; --s-bg2: #F3F4F6; --s-ink: #15171C; --s-mute: #646973; --s-line: rgba(16, 18, 24, .1); --s-chip: #ECEEF1;
  --s-shadow: 0 2.2em 3.6em -1.6em rgba(0, 0, 0, .75), 0 .3em .8em -.2em rgba(0, 0, 0, .3);
  position: relative; width: 44em; max-width: 100%; margin-inline: auto; font-size: min(15px, calc(100cqi / 44));
  color: var(--s-ink); line-height: 1.45; text-align: start; -webkit-user-select: none; user-select: none;
}
/* the theme styles every p (16px, 500, neutral-500): inside the scenes, visuals and flows a paragraph is the text around it */
:where(.tp-sc, .tpv, .tpf) p { margin: 0; color: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; letter-spacing: inherit; }
/* the hero is an ink panel in both colour modes: its scene keeps the light windows (and the light-surface accent) in dark
   mode too, so the product stands out from the photo as it does in light mode */
[data-bs-theme=dark] .tp-hero .tp-sc { --tp-accent: var(--tp-a, #1D1D1D); --tp-accent-contrast: #FFFFFF; }
.tp-sc b { font-weight: 700; }
.tp-sc code { font-family: var(--tp-mono); font-size: .86em; color: inherit; background: none; padding: 0; }
/* the one soft glow: warm, behind the product, as in the site's pictures */
.tp-sc__glow { position: absolute; inset: 8% 6% 4%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--tp-accent-on-ink) 26%, transparent), color-mix(in srgb, var(--tp-accent-on-ink) 9%, transparent) 55%, transparent 75%); filter: blur(1.2em); pointer-events: none; }
.tp-win { position: absolute; display: flex; flex-direction: column; overflow: hidden; border-radius: 1.15em; background: var(--s-bg); box-shadow: var(--s-shadow); }
[data-bs-theme=dark] .tp-win { box-shadow: var(--s-shadow), inset 0 0 0 1px rgba(255, 255, 255, .07); }
.tp-win__bar { display: flex; align-items: center; gap: .75em; padding: .8em 1.1em; border-bottom: 1px solid var(--s-line); }
.tp-spin { display: inline-block; width: 1em; height: 1em; border-radius: 50%; border: .14em solid currentColor; border-inline-end-color: transparent; opacity: .55; }
.tp-live { display: inline-block; width: .5em; height: .5em; margin-inline-end: .4em; border-radius: 50%; background: currentColor; animation: tpPulse 2s ease-in-out infinite; }

/* the timeline (js/topic.js): without JavaScript or with reduced motion (no .tp-arm on <html>), the first run shows
   complete. Armed (.tp-arm, set before the first paint; the markup already holds the first armed frame, pages/topic.py
   armed()), a run's parts appear when their step comes (data-at), transient ones only until data-until; runs alternate
   with a fade. */
.tp-scn { display: var(--scn-d, block); }
html:not(.tp-arm) .tp-sc .tp-scn:not([data-scn="0"]), .tp-arm .tp-sc .tp-scn:not(.is-cur) { display: none; }
html:not(.tp-arm) .tp-sc [data-until] { display: none !important; }
.tp-arm .tp-sc [data-until]:not(.is-on) { display: none !important; }
.tp-sc [data-at] { transition: opacity .45s ease, transform .6s var(--tp-ease), visibility 0s linear 0s; }
.tp-arm .tp-sc [data-at]:not(.is-on) { opacity: 0; visibility: hidden; transform: translate3d(0, .5em, 0); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
.tp-sc .tp-scn.is-cur { transition: opacity .4s ease; }
.tp-sc.is-out .tp-scn.is-cur { opacity: 0; }
.tp-sc.is-paused *, .tp-sc.is-paused *::before, .tp-sc.is-paused *::after { animation-play-state: paused !important; }

/* ---------------------------------------------------------------- scene: agent console (/ai-agents/) */
.tp-sc--agent { height: 35.5em; }
.tp-ag { top: 0; bottom: 3.4em; inset-inline-start: 0; inset-inline-end: 2.2em; }
.tp-ag__mark { display: grid; place-items: center; flex: none; width: 2.2em; height: 2.2em; border-radius: .7em; background: var(--tp-accent); color: var(--tp-accent-contrast); }
.tp-ag__mark svg { width: 1.25em; height: 1.25em; }
.tp-ag__name { display: flex; flex-direction: column; line-height: 1.25; }
.tp-ag__name b { font-size: .93em; }
.tp-ag__name small { display: flex; align-items: center; font-size: max(.74em, 9px); color: var(--s-mute); }
.tp-ag__chan { display: inline-flex; align-items: center; gap: .4em; margin-inline-start: auto; padding: .3em .7em; border-radius: 100px; background: var(--s-bg2); font-size: max(.74em, 9px); font-weight: 600; }
.tp-ag__chan .shf-ico { width: 1.05em; height: 1.05em; }
.tp-ag__body { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 13.2em; min-height: 0; }
.tp-ag__main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.tp-ag__chat { position: relative; flex: 1; min-height: 0; padding: 1em 1.1em; overflow: hidden; }
.tp-ag__compose { display: flex; align-items: center; gap: .8em; margin: 0 1.1em .9em; padding: .55em .6em .55em .9em; border-radius: 100px; border: 1px solid var(--s-line); font-size: max(.72em, 9px); color: var(--s-mute); }
html[dir="rtl"] .tp-ag__compose { padding: .55em .9em .55em .6em; }
.tp-ag__compose span { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tp-ag__compose b { flex: none; padding: .35em .9em; border-radius: 100px; background: var(--s-ink); color: var(--s-bg); font-size: max(.95em, 9px); }
.tp-ag__chat .tp-scn { --scn-d: flex; flex-direction: column; gap: .62em; }
.tp-ag__typing { position: absolute; top: 1em; inset-inline-start: 1.1em; display: inline-flex; gap: .3em; padding: .75em .9em; border-radius: 1em; border-end-start-radius: .3em; background: var(--s-chip); }
.tp-ag__typing i { width: .42em; height: .42em; border-radius: 50%; background: var(--s-mute); animation: tpDots 1.1s ease-in-out infinite; }
.tp-ag__typing i:nth-child(2) { animation-delay: .15s; } .tp-ag__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tpDots { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-.18em); } }
.tp-bub { position: relative; max-width: 88%; padding: .62em .85em .55em; border-radius: 1em; font-size: .86em; line-height: 1.6; }
.tp-bub p { margin: 0; }
.tp-bub--in { align-self: flex-start; border-end-start-radius: .3em; background: var(--s-chip); }
.tp-bub--out { align-self: flex-end; border-end-end-radius: .3em; background: var(--s-ink); color: var(--s-bg); }
.tp-bub__time { display: block; margin-top: .15em; font-size: max(.78em, 9px); color: var(--s-mute); text-align: end; }
.tp-bub--out .w { opacity: 1; transition: opacity .3s ease calc(var(--i) * 55ms); }
.tp-arm .tp-sc .tp-bub--out:not(.is-on) .w { opacity: 0; transition: none; }
.tp-bub .w { white-space: nowrap; }   /* a word never splits at its hyphen (R-2207) */
.tp-tcs { display: flex; flex-direction: column; gap: .38em; }
.tp-tc { display: grid; grid-template-columns: 1.5em minmax(0, auto) minmax(0, 1fr) auto; align-items: center; gap: .55em; padding: .5em .7em; border-radius: .75em; background: var(--s-bg2); border: 1px solid var(--s-line); font-size: max(.78em, 9px); }
.tp-tc__ico { position: relative; display: grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--tp-accent); color: var(--tp-accent-contrast); }
.tp-tc__ico .tp-spin { position: absolute; width: 1.5em; height: 1.5em; border-width: .15em; color: var(--tp-accent); opacity: 0; }
.tp-tc__ico .tp-ok { width: 1em; height: 1em; }
.tp-tc__t { font-weight: 700; white-space: nowrap; }
.tp-tc .tp-tc__c { overflow: hidden; font-size: max(.86em, 9px); color: var(--s-mute); white-space: nowrap; text-overflow: ellipsis; }
html[dir="rtl"] .tp-tc__c { text-align: right; }
.tp-tc__r { padding: .15em .6em; border-radius: 100px; background: var(--s-bg); border: 1px solid var(--s-line); font-weight: 600; white-space: nowrap; }
/* a call runs, then returns: the spinner turns, the dot fills, the result shows */
.tp-arm .tp-sc .tp-tc.is-on .tp-tc__ico { animation: tpCallDot 1s var(--tp-ease) both; }
.tp-arm .tp-sc .tp-tc.is-on .tp-tc__ico .tp-spin { animation: tpSpin .7s linear 0s 1 both; }
.tp-arm .tp-sc .tp-tc.is-on .tp-tc__r { animation: tpResult .45s var(--tp-ease) .7s both; }
@keyframes tpCallDot { 0%, 60% { background: transparent; color: transparent; } 100% { background: var(--tp-accent); color: var(--tp-accent-contrast); } }
@keyframes tpSpin { 0% { opacity: 1; transform: rotate(0); } 90% { opacity: 1; } 100% { opacity: 0; transform: rotate(360deg); } }
@keyframes tpResult { from { opacity: 0; transform: translateX(calc(var(--tp-dir) * -.4em)); } to { opacity: 1; transform: none; } }
.tp-ag__rail { display: flex; flex-direction: column; padding: 1em 1em; border-inline-start: 1px solid var(--s-line); background: var(--s-bg2); overflow: hidden; }
.tp-ag__rail .tp-scn { --scn-d: flex; flex-direction: column; }
.tp-rail__h { margin: 0 0 .55em; font-size: max(.7em, 9px); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--s-mute); }
html[dir="rtl"] .tp-rail__h { letter-spacing: 0; font-size: max(.76em, 9px); }
.tp-rail__h--hand { margin-top: 1.1em; }
.tp-srcs { display: flex; flex-direction: column; gap: .35em; }
.tp-srcs li { display: flex; align-items: center; gap: .45em; padding: .45em .55em; border-radius: .6em; background: var(--s-bg); border: 1px solid var(--s-line); font-size: max(.76em, 9px); font-weight: 600; }
.tp-srcs li > span:nth-child(2) { flex: 1; min-width: 0; }
.tp-srcs svg { flex: none; width: 1.15em; height: 1.15em; }
.tp-srcs .tp-ok { color: var(--tp-accent); }
.tp-src__ico { display: inline-flex; color: var(--s-mute); }
/* in the rail a source is listed from the start and lights up when used */
.tp-arm .tp-sc .tp-srcs li[data-at]:not(.is-on) { visibility: visible; opacity: .38; transform: none; }
.tp-arm .tp-sc .tp-srcs li[data-at]:not(.is-on) .tp-ok { opacity: 0; }
.tp-hand { display: flex; flex-wrap: wrap; align-items: center; gap: .45em .55em; padding: .6em; border-radius: .7em; background: var(--s-bg); border: 1px solid var(--s-line); }
.tp-hand small { flex-basis: 100%; font-size: max(.7em, 9px); line-height: 1.45; color: var(--s-mute); }
.tp-hand__who { display: inline-flex; align-items: center; gap: .35em; font-size: max(.74em, 9px); font-weight: 700; }
.tp-hand__who svg { width: 1.15em; height: 1.15em; }
.tp-sw { position: relative; flex: none; width: 2.1em; height: 1.2em; border-radius: 100px; background: var(--s-line); transition: background .3s ease; }
.tp-sw i { position: absolute; top: .15em; inset-inline-start: .15em; width: .9em; height: .9em; border-radius: 50%; background: var(--s-bg); box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .35s var(--tp-ease); }
.tp-hand:not(.tp-hand--idle) .tp-sw { background: var(--tp-accent); }
.tp-hand:not(.tp-hand--idle) .tp-sw i { transform: translateX(calc(var(--tp-dir) * .9em)); }
.tp-arm .tp-sc .tp-hand[data-at]:not(.is-on) { visibility: visible; opacity: 1; transform: none; }
.tp-arm .tp-sc .tp-hand[data-at]:not(.is-on) .tp-sw { background: var(--s-line); }
.tp-arm .tp-sc .tp-hand[data-at]:not(.is-on) .tp-sw i { transform: none; }
.tp-arm .tp-sc .tp-hand[data-at]:not(.is-on) .tp-hand__who, .tp-arm .tp-sc .tp-hand[data-at]:not(.is-on) .tp-hand__sum { opacity: 0; }
.tp-hand__who, .tp-hand__sum { transition: opacity .4s ease .2s; }
.tp-ag__foot { display: flex; align-items: center; gap: .8em; min-height: 2.5em; padding: .6em 1.5em; border-top: 1px solid var(--s-line); background: var(--s-bg2); font-size: max(.66em, 9px); }
.tp-ag__foot-h { flex: none; font-weight: 700; color: var(--s-mute); }
.tp-ag__foot .tp-scn { min-width: 0; }
.tp-ag__log { display: flex; gap: .7em; margin: 0; min-width: 0; white-space: nowrap; }
.tp-ag__log span { overflow: hidden; text-overflow: ellipsis; }
.tp-ag__log code { font-size: 1em; color: var(--s-mute); }
.tp-ag__card { position: absolute; bottom: 0; inset-inline-end: 0; width: 16.5em; }
.tp-float { display: flex; align-items: center; gap: .7em; padding: .8em .95em; border-radius: .95em; background: var(--s-bg); box-shadow: var(--s-shadow); }
[data-bs-theme=dark] .tp-float { box-shadow: var(--s-shadow), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.tp-float > span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.tp-float small { font-size: max(.74em, 9px); color: var(--s-mute); }
.tp-float b { font-size: .86em; }
.tp-float__ico { display: grid; place-items: center; flex: none; width: 2em; height: 2em; border-radius: 50%; background: var(--tp-accent); color: var(--tp-accent-contrast); }
.tp-float__ico svg { width: 1.1em; height: 1.1em; }

/* ---------------------------------------------------------------- scene: tax invoice and its Phase 2 journey (/zatca-einvoicing/) */
.tp-sc--inv { height: 33.6em; }
.tp-inv__modes { position: absolute; top: 0; inset-inline-start: 0; display: flex; gap: .4em; padding: .3em; border-radius: 100px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.tp-mode { padding: .38em .85em; border-radius: 100px; font-size: max(.74em, 9px); font-weight: 700; color: rgba(244, 245, 247, .6); white-space: nowrap; transition: background .35s ease, color .35s ease; }
html:not(.tp-arm) .tp-sc .tp-mode[data-scn-tab="0"], .tp-mode.is-cur { background: var(--tp-accent-on-ink); color: #0C0D10; }
.tp-inv__stage { position: absolute; top: 3.1em; bottom: 0; inset-inline: 0; }
.tp-inv__set { --scn-d: grid; grid-template-columns: 24em minmax(0, 1fr); gap: 1.5em; height: 100%; }
.tp-paper { position: relative; align-self: start; padding: 1.3em 1.35em 1.1em; border-radius: .9em; background: #FFFFFF; color: #1A1C21; box-shadow: var(--s-shadow); font-size: .82em; }
.tp-paper__head { display: flex; justify-content: space-between; gap: 1em; padding-bottom: .8em; border-bottom: 2px solid #1A1C21; }
.tp-paper__type b { display: block; font-size: 1.32em; line-height: 1.25; }
.tp-paper__type small, .tp-paper__no small { display: block; font-size: max(.8em, 9px); color: #6A6E77; }
.tp-paper__no { text-align: end; }
.tp-paper__no code { font-size: max(.9em, 9px); font-weight: 700; }
.tp-paper__parties { display: grid; grid-template-columns: 1fr 1fr; gap: .8em; padding: .8em 0; border-bottom: 1px solid #E3E5E9; }
.tp-pp { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.tp-pp small { font-size: max(.78em, 9px); color: #6A6E77; }
.tp-pp b { font-size: max(.95em, 9px); }
.tp-pp__vat { font-size: max(.74em, 9px); color: #4D5159; }
.tp-pp__vat code { font-size: 1em; }
.tp-paper__lines { width: 100%; margin: .55em 0 .2em; border-collapse: collapse; font-size: max(.86em, 10px); }
.tp-paper__lines th { padding: .35em 0; font-size: max(.82em, 9.5px); font-weight: 600; color: #6A6E77; text-align: start; border-bottom: 1px solid #E3E5E9; }
.tp-paper__lines td { padding: .38em 0; border-bottom: 1px dashed #E3E5E9; }
.tp-paper__lines :is(th, td):not(:first-child) { text-align: end; padding-inline-start: .6em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tp-paper__lines tr[data-at] { transition-delay: calc(var(--i) * 90ms); }
.tp-paper__tot { margin-inline-start: auto; width: 74%; padding-top: .3em; }
.tp-paper__tot p { display: flex; justify-content: space-between; gap: 1em; margin: 0; padding: .2em 0; font-size: max(.88em, 9px); }
.tp-paper__tot b { font-variant-numeric: tabular-nums; }
.tp-paper__tot .is-total { margin-top: .25em; padding-top: .45em; border-top: 2px solid #1A1C21; font-size: 1em; }
.tp-paper__foot { display: flex; align-items: center; gap: .9em; margin-top: .8em; padding-top: .8em; border-top: 1px solid #E3E5E9; }
.tp-paper__qr { flex: none; width: 5.2em; height: 5.2em; }
.tp-qr { display: block; width: 100%; height: 100%; }
.tp-qr .tpv-qrsvg__bg { fill: #FFFFFF; }
.tp-qr .tpv-qrsvg__fg { fill: #1A1C21; }
.tp-arm .tp-sc .tp-paper__qr[data-at]:not(.is-on) { visibility: visible; opacity: 1; transform: none; }
.tp-arm .tp-sc .tp-paper__qr[data-at]:not(.is-on) .tp-qr { opacity: .08; filter: blur(.12em); }
.tp-paper__qr .tp-qr { transition: opacity .6s ease, filter .6s ease; }
.tp-paper__ids { display: flex; flex-direction: column; gap: .3em; min-width: 0; }
.tp-paper__ids code { overflow: hidden; font-size: max(.76em, 9px); color: #4D5159; white-space: nowrap; text-overflow: ellipsis; }
.tp-paper__ids b { color: #1A1C21; }
.tp-stamp { position: absolute; bottom: 3.2em; inset-inline-end: -1.4em; display: flex; flex-direction: column; align-items: center; padding: .55em 1em; border: .2em solid var(--tp-a, #1A1C21); border-radius: .5em; color: var(--tp-a, #1A1C21); transform: rotate(-9deg); background: rgba(255, 255, 255, .9); line-height: 1.15; }
.tp-stamp b { font-size: 1.35em; line-height: 1.3; }   /* Tajarib's taller lines: the two lines keep apart */
.tp-stamp small { margin-top: .5em; font-family: var(--tp-mono); font-size: max(.72em, 9px); font-weight: 700; letter-spacing: .18em; line-height: 1.3; }
.tp-sc .tp-stamp[data-at] { transition: opacity .25s ease, transform .5s cubic-bezier(.3, 1.6, .5, 1), visibility 0s; }
.tp-arm .tp-sc .tp-stamp[data-at]:not(.is-on) { transform: rotate(-9deg) scale(1.6); }
.tp-arm .tp-sc .tp-stamp.is-on { transform: rotate(-9deg); }
.tp-inv__side { display: flex; flex-direction: column; gap: 1.1em; min-width: 0; color: #F4F5F7; }
.tp-track { position: relative; display: flex; flex-direction: column; gap: .2em; padding-top: .2em; }
.tp-track::before { content: ""; position: absolute; top: 1.2em; bottom: 1.2em; inset-inline-start: .74em; width: 1px; background: rgba(255, 255, 255, .16); }
.tp-trk { position: relative; display: grid; grid-template-columns: 1.5em minmax(0, 1fr); column-gap: .7em; padding: .45em 0; }
.tp-trk__dot { grid-row: span 2; display: grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--tp-accent-on-ink); color: #0C0D10; box-shadow: 0 0 0 .3em #0C0D10; }
.tp-trk__dot svg { width: .95em; height: .95em; }
.tp-trk__t { font-size: .86em; font-weight: 700; line-height: 1.35; }
.tp-trk__c { font-size: max(.7em, 9px); color: rgba(244, 245, 247, .55); }
html[dir="rtl"] .tp-trk__c { text-align: right; }
/* a step is listed from the start, dim, and lights up when the invoice reaches it */
.tp-arm .tp-sc .tp-trk[data-at]:not(.is-on) { visibility: visible; transform: none; opacity: .34; }
.tp-arm .tp-sc .tp-trk[data-at]:not(.is-on) .tp-trk__dot { background: #2A2D33; color: transparent; }
.tp-trk__dot { transition: background .4s ease, color .4s ease; }
.tp-arm .tp-sc .tp-trk.is-on .tp-trk__dot { animation: tpRing 1s var(--tp-ease) 1; }
@keyframes tpRing { 0% { box-shadow: 0 0 0 .3em #0C0D10, 0 0 0 .3em color-mix(in srgb, var(--tp-accent-on-ink) 60%, transparent); } 100% { box-shadow: 0 0 0 .3em #0C0D10, 0 0 0 1.1em transparent; } }
.tp-xml { position: relative; align-self: stretch; margin: 0; min-height: 0; padding: .9em 1em 1em; overflow: hidden; border-radius: .9em; background: #08090B; border: 1px solid rgba(255, 255, 255, .1); font-family: var(--tp-mono); font-size: max(.68em, 9px); line-height: 1.75; color: rgba(244, 245, 247, .55); white-space: pre; text-align: left; }
.tp-xml__h { display: block; margin-bottom: .5em; font-size: max(.92em, 9px); color: rgba(244, 245, 247, .62); letter-spacing: .04em; }
.tp-xml__l { display: block; margin-inline: -.6em; padding: .05em .6em; overflow: hidden; text-overflow: ellipsis; border-radius: .3em; transition: background .3s ease, color .3s ease; }
.tp-sc[data-step="0"] .tp-scn.is-cur .tp-xml__l[data-hl="0"], .tp-sc[data-step="1"] .tp-scn.is-cur .tp-xml__l[data-hl="1"],
.tp-sc[data-step="2"] .tp-scn.is-cur .tp-xml__l[data-hl="2"], .tp-sc[data-step="3"] .tp-scn.is-cur .tp-xml__l[data-hl="3"],
.tp-sc[data-step="4"] .tp-scn.is-cur .tp-xml__l[data-hl="4"] { background: color-mix(in srgb, var(--tp-accent-on-ink) 18%, transparent); color: #F4F5F7; box-shadow: inset calc(var(--tp-dir) * -.18em) 0 0 var(--tp-accent-on-ink); }

/* ---------------------------------------------------------------- scene: a clinic's day (/healthcare-systems/) */
.tp-sc--clinic { height: 36em; }
.tp-cl { position: absolute; inset: 0; }
.tp-phone { position: absolute; top: .4em; inset-inline-start: 0; z-index: 2; width: 15.4em; height: 31.5em; padding: .5em; border-radius: 2.5em; background: #050608; box-shadow: var(--s-shadow), inset 0 0 0 1px rgba(255, 255, 255, .14); }
.tp-phone__notch { position: absolute; top: 1em; left: 50%; z-index: 1; width: 4.6em; height: 1.2em; margin-left: -2.3em; border-radius: 100px; background: #050608; }
.tp-phone__scr { display: flex; flex-direction: column; gap: .75em; height: 100%; padding: 2.7em .95em 1em; overflow: hidden; border-radius: 2.05em; background: var(--s-bg); }
.tp-ph__top { margin: 0; font-size: 1.02em; }
.tp-ph__doc { display: flex; align-items: center; gap: .6em; padding: .6em; border-radius: .9em; background: var(--s-bg2); }
.tp-ph__doc > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.tp-ph__doc b { font-size: .86em; }
.tp-ph__doc small { font-size: max(.72em, 9px); color: var(--s-mute); }
.tp-ph__av { display: grid; place-items: center; flex: none; width: 2.3em; height: 2.3em; border-radius: 50%; background: var(--s-ink); color: var(--s-bg); font-weight: 700; font-size: .9em; }
.tp-ph__days { display: grid; grid-template-columns: repeat(3, 1fr); gap: .35em; }
.tp-ph__day { padding: .5em .2em; border-radius: .65em; border: 1px solid var(--s-line); font-size: max(.7em, 9px); font-weight: 600; text-align: center; white-space: nowrap; }
.tp-ph__day.is-on { background: var(--tp-accent); border-color: var(--tp-accent); color: var(--tp-accent-contrast); }
.tp-ph__lbl { margin: .1em 0 -.3em; font-size: max(.7em, 9px); font-weight: 700; color: var(--s-mute); }
.tp-ph__slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4em; }
.tp-ph__slot { padding: .55em 0; border-radius: .65em; border: 1px solid var(--s-line); font-size: max(.74em, 9px); font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }
.tp-ph__slot.is-taken { color: var(--s-mute); text-decoration: line-through; background: var(--s-bg2); border-color: transparent; }   /* struck and greyed, still legible */
.tp-ph__slot--pick { background: var(--tp-accent); border-color: var(--tp-accent); color: var(--tp-accent-contrast); }
.tp-arm .tp-sc .tp-ph__slot--pick[data-at]:not(.is-on) { visibility: visible; opacity: 1; transform: none; background: transparent; border-color: var(--s-line); color: var(--s-ink); }
.tp-ph__slot--pick { transition: background .3s ease, color .3s ease, border-color .3s ease; }
.tp-ph__ins { display: flex; align-items: center; justify-content: space-between; padding: .55em .7em; border-radius: .7em; background: var(--s-bg2); font-size: max(.74em, 9px); font-weight: 600; }
.tp-ph__ins b { display: inline-flex; align-items: center; gap: .3em; }
.tp-ph__ins svg { width: 1.1em; height: 1.1em; color: var(--tp-accent); }
.tp-ph__note { margin: 0; font-size: max(.68em, 9px); line-height: 1.5; color: var(--s-mute); text-align: center; }
.tp-ph__btn { display: flex; align-items: center; justify-content: center; margin-top: auto; padding: .75em; border-radius: 100px; background: var(--tp-accent); color: var(--tp-accent-contrast); font-size: max(.8em, 9px); font-weight: 700; }
.tp-ph__btn > span { display: inline-flex; align-items: center; gap: .35em; }
.tp-ph__btn svg { width: 1.1em; height: 1.1em; }
.tp-cl__cards { position: absolute; top: 0; inset-inline-start: 16.4em; inset-inline-end: 0; display: flex; flex-direction: column; gap: 1em; }
.tp-card2 { padding: .95em 1.05em; border-radius: 1em; background: var(--s-bg); box-shadow: var(--s-shadow); }
[data-bs-theme=dark] .tp-card2 { box-shadow: var(--s-shadow), inset 0 0 0 1px rgba(255, 255, 255, .07); }
.tp-card2__h { display: flex; align-items: baseline; justify-content: space-between; gap: .8em; margin: 0 0 .65em; }
.tp-card2__h b { font-size: .86em; }
.tp-card2__h small { font-size: max(.7em, 9px); color: var(--s-mute); white-space: nowrap; }
.tp-board ul { display: flex; flex-direction: column; gap: .35em; }
.tp-q { display: grid; grid-template-columns: 3.2em minmax(0, 1fr) auto; align-items: center; gap: .6em; padding: .45em .55em; border-radius: .7em; background: var(--s-bg2); }
.tp-q code { font-size: max(.78em, 9px); font-weight: 700; }
.tp-q__p { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.tp-q__p b { flex: none; min-width: max-content; font-size: max(.8em, 9px); white-space: nowrap; }   /* initials never cut; the sub-line under them truncates */
.tp-q__p small { overflow: hidden; font-size: max(.68em, 9px); color: var(--s-mute); white-space: nowrap; text-overflow: ellipsis; }
.tp-q__s { padding: .22em .65em; border-radius: 100px; font-size: max(.68em, 9px); font-weight: 700; white-space: nowrap; border: 1px solid var(--s-line); background: var(--s-bg); }
.tp-q__s--in { background: var(--tp-accent); border-color: var(--tp-accent); color: var(--tp-accent-contrast); }
.tp-q__s--done { color: var(--s-mute); }
.tp-q__s--wait { border-style: dashed; }
.tp-q--new { box-shadow: inset 0 0 0 1.5px var(--tp-accent); }
/* the row's state pills share one cell: the column is as wide as the widest of them, and the one showing sits at the row end */
.tp-q__ss { display: grid; justify-items: end; align-items: center; }
.tp-q__ss > .tp-q__s { grid-area: 1 / 1; }
.tp-file__flag { display: inline-flex; align-items: center; gap: .4em; margin: 0 0 .6em; padding: .25em .6em; border-radius: 100px; border: 1px dashed var(--s-ink); font-size: max(.7em, 9px); font-weight: 700; }
.tp-file__flag svg { width: 1.1em; height: 1.1em; }
.tp-file ol { display: flex; flex-direction: column; gap: .2em; }
.tp-f { display: grid; grid-template-columns: 1.9em minmax(0, 1fr) auto; align-items: center; gap: .55em; padding: .35em 0; }
.tp-file ol > li:not(:last-child) .tp-f { border-bottom: 1px solid var(--s-line); }
.tp-f__ico { display: grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: .55em; background: var(--s-bg2); color: var(--s-ink); }
.tp-f__ico svg { width: 1.1em; height: 1.1em; }
.tp-f--new .tp-f__ico { background: var(--tp-accent); color: var(--tp-accent-contrast); }
.tp-f__t { font-size: max(.76em, 9px); font-weight: 600; line-height: 1.35; }
.tp-f__d { font-size: max(.68em, 9px); color: var(--s-mute); white-space: nowrap; }
.tp-remind { position: absolute; bottom: 0; inset-inline-start: 7.6em; z-index: 3; display: flex; align-items: flex-start; gap: .65em; width: 22em; padding: .8em .95em; border-radius: 1em; border-start-start-radius: .3em; background: var(--s-bg); box-shadow: var(--s-shadow); }
[data-bs-theme=dark] .tp-remind { box-shadow: var(--s-shadow), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.tp-remind__ico { display: grid; place-items: center; flex: none; width: 2em; height: 2em; border-radius: 50%; background: var(--tp-accent); color: var(--tp-accent-contrast); }
.tp-remind__ico .shf-ico { width: 1.1em; height: 1.1em; }
.tp-remind p { margin: 0; font-size: max(.78em, 9px); line-height: 1.55; }
.tp-remind b { display: block; font-size: max(.92em, 9px); }
.tp-arm .tp-sc .tp-q__s[data-at] { transform: none; }
/* a new row on the board and a new entry in the file are added, not revealed in a reserved gap: the holder opens from zero
   height (the rows and the card under it glide), then the row fades in; it closes at once when the run starts again */
.tp-ins { display: grid; grid-template-rows: 1fr; }
.tp-ins > * { min-height: 0; overflow: hidden; }
.tp-arm .tp-sc .tp-ins[data-at] { transform: none; transition: none; }
.tp-arm .tp-sc .tp-ins[data-at]:not(.is-on) { grid-template-rows: 0fr; transform: none; }
.tp-arm .tp-sc .tp-ins[data-at].is-on { transition: grid-template-rows .5s var(--tp-ease), opacity .4s ease .12s, visibility 0s; }

/* scenes on narrow stages: fewer parts, larger type (the stage is the hero's scene column, or the full width on phones) */
@container tpstage (max-width: 560px) {
  .tp-sc, .tp-hero__stage--photo .tp-sc { width: 24em; margin-inline: auto; font-size: min(16px, calc(96cqi / 24)); }
  .tp-sc--agent { height: 33.5em; }
  .tp-ag { inset-inline-end: 0; bottom: 4em; }
  .tp-ag__body { grid-template-columns: minmax(0, 1fr); }
  .tp-ag__rail { display: none; }
  .tp-ag__chan span { display: none; }
  .tp-ag__card { width: 17em; inset-inline-end: auto; inset-inline-start: 50%; transform: translateX(calc(var(--tp-dir) * -50%)); }
  .tp-ag__foot { display: none; }
  .tp-tc { grid-template-columns: 1.5em minmax(0, 1fr) auto; }
  .tp-tc__c { display: none; }
  .tp-sc--inv { height: 37em; }
  .tp-inv__set { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; gap: .9em; }
  .tp-paper { font-size: .8em; }
  .tp-inv__side { gap: 0; }
  .tp-xml { display: none; }
  .tp-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4em; }
  .tp-track::before { top: .75em; bottom: auto; inset-inline: 1em; width: auto; height: 1px; }
  .tp-trk { grid-template-columns: 1fr; justify-items: center; row-gap: .35em; text-align: center; padding: 0; }
  .tp-trk__dot { grid-row: auto; }
  .tp-trk__t { font-size: .72em; }
  .tp-trk__c { display: none; }
  .tp-inv__modes { inset-inline: 0; justify-content: center; width: max-content; margin-inline: auto; }
  .tp-sc--clinic { height: 34em; }
  .tp-phone { width: 12.9em; height: 27.2em; }
  .tp-phone__scr { padding-top: 2.5em; gap: .6em; }
  .tp-cl__cards { inset-inline-start: 13.5em; top: 1.2em; }
  .tp-ph__note { display: none; }
  .tp-file { display: none; }
  .tp-card2__h small { display: none; }
  .tp-stamp { inset-inline-end: .9em; bottom: .9em; font-size: .9em; }
  .tp-q { grid-template-columns: minmax(0, 1fr) auto; gap: .5em; padding-inline: .5em; }
  .tp-q code { display: none; }
  .tp-q__s { padding-inline: .5em; }
  .tp-remind { inset-inline-start: auto; inset-inline-end: 0; width: 17em; }
}

/* ---------------------------------------------------------------- 2. the specialist strip */
.tp-strip { padding: 34px 0 28px; }
/* the band's first part: the page's full lead (moved from the hero), our facts and the call link */
.tp-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 14px 48px; margin-bottom: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--at-neutral-100); }
.tp-intro__lead { margin: 0; max-width: 64ch; font-size: 20px; font-weight: 500; line-height: 1.7; color: var(--at-neutral-900); text-wrap: pretty; }
html[dir="rtl"] .tp-intro__lead { font-size: 21px; line-height: 1.8; }
.tp-intro__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 0; margin: 0; font-size: 14px; color: var(--at-neutral-500); }
html[dir="rtl"] .tp-intro__meta { font-size: 15px; }
.tp-intro__meta > * + *::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 12px; border-radius: 50%; background: var(--at-neutral-300); vertical-align: middle; }
.tp-intro__meta .tp-call { margin-inline-start: 18px; font-size: 15px; }
.tp-intro__meta .tp-call::before { display: none; }
.tp-intro__meta .tp-call__ico { color: var(--tp-accent); }
.tp-strip__in { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px 34px; }
.tp-strip__label { margin: 0; padding-inline-end: 30px; border-inline-end: 1px solid var(--at-neutral-100); font-size: 14px; font-weight: 600; color: var(--at-neutral-500); white-space: nowrap; }
html[dir="rtl"] .tp-strip__label { font-size: 15px; }
.tp-strip__marks { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; }
.tp-mark { display: inline-flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 600; line-height: 1.3; color: var(--at-neutral-900); }
html[lang="en"] .tp-mark { font-size: 17px; letter-spacing: -0.01em; }
/* dots: every mark has one before it and the list is clipped by one dot's room at its start, so a wrapped line never
   opens with a dot */
.tp-strip--dots .tp-strip__marks { margin-inline-start: -38px; clip-path: inset(-4px -4px -4px 38px); }
html[dir="rtl"] .tp-strip--dots .tp-strip__marks { clip-path: inset(-4px 38px -4px -4px); }
.tp-strip--dots .tp-mark::before { content: ""; display: inline-block; flex: none; width: 6px; height: 6px; margin-inline: 16px; border-radius: 50%; background: var(--tp-accent); }
.tp-mark__s { padding: 3px 8px; border-radius: 6px; background: var(--at-neutral-50); font-family: var(--tp-mono); font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--at-neutral-500); }
[data-bs-theme=dark] .tp-mark__s { background: #1E1F22; }
/* ZATCA: the terms as code-like tokens */
.tp-strip--mono .tp-strip__marks { gap: 10px; }
.tp-strip--mono .tp-mark { position: relative; min-height: 36px; padding: 6px 13px 6px 18px; border-radius: 9px; border: 1px solid var(--at-neutral-100); font-size: 16px; }
html[dir="rtl"] .tp-strip--mono .tp-mark { padding: 6px 18px 6px 13px; }
.tp-strip--mono .tp-mark::after { content: ""; position: absolute; inset-block: 8px; inset-inline-start: 7px; width: 3px; border-radius: 2px; background: var(--tp-accent); }
.tp-strip--mono .tp-mark:nth-child(2) { font-family: var(--tp-mono); font-size: 14px; }
/* Health: soft pills */
.tp-strip--soft .tp-strip__marks { gap: 10px; }
.tp-strip--soft .tp-mark { padding: 7px 15px 7px 13px; border-radius: 100px; background: var(--tp-accent-soft); font-size: 16px; }
.tp-strip--soft .tp-mark::after { order: -1; content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tp-accent); }
.tp-strip--soft .tp-mark__s { background: var(--at-neutral-0); }

/* ---------------------------------------------------------------- 3. the bento and its cards */
.tp-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); gap: 16px; }
.tp-card { grid-column: span 4; display: flex; flex-direction: column; min-width: 0; padding: 10px; border-radius: 26px; background: var(--at-neutral-50); }
.tp-card__vis { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; min-height: 230px; padding: 26px 22px; border-radius: 18px;
  background-color: var(--at-neutral-50); background-image: radial-gradient(var(--tp-dot) 1px, transparent 1.2px); background-size: 14px 14px; overflow: hidden; }
.tp-card__txt { padding: 16px 16px 14px; }
.tp-card__t { margin: 0 0 8px; font-size: 21px; font-weight: 700; line-height: 1.35; color: var(--at-neutral-900); text-wrap: balance; }
.tp-card__d { font-size: 16px; line-height: 1.65; color: var(--at-neutral-500); max-width: 52ch; }
/* layout a (AI): a tall answer card, then pairs; b (ZATCA): API and onboarding, a tall QR card, a wide alert; c (health): a tall booking card, a wide privacy card */
.tp-bento--a > :nth-child(1) { grid-column: span 7; grid-row: span 2; }
.tp-bento--a > :nth-child(2), .tp-bento--a > :nth-child(3) { grid-column: span 5; }
.tp-bento--b > :nth-child(1) { grid-column: span 5; }
.tp-bento--b > :nth-child(2) { grid-column: span 7; }
.tp-bento--b > :nth-child(3) { grid-row: span 2; }
.tp-bento--b > :nth-child(6) { grid-column: span 8; }
.tp-bento--c > :nth-child(1) { grid-row: span 2; }
.tp-bento--c > :nth-child(6) { grid-column: span 12; flex-direction: row; align-items: stretch; }
.tp-bento--c > :nth-child(6) .tp-card__vis { flex: 0 0 52%; }
.tp-bento--c > :nth-child(6) .tp-card__txt { align-self: center; padding: 26px 34px; }
.tp-bento--a > :nth-child(1) .tp-card__vis, .tp-bento--b > :nth-child(3) .tp-card__vis, .tp-bento--c > :nth-child(1) .tp-card__vis { min-height: 380px; }
/* the tall cards' visuals take more of their room */
.tp-bento--a > :nth-child(1) .tpv-cite { max-width: 560px; padding: 24px; gap: 16px; }
.tp-bento--a > :nth-child(1) .tpv-cite__q { font-size: 16px; padding: 12px 16px; }
.tp-bento--a > :nth-child(1) .tpv-cite__a p { font-size: 18px; }
html[dir="rtl"] .tp-bento--a > :nth-child(1) .tpv-cite__a p { font-size: 20px; }
.tp-bento--b > :nth-child(3) .tpv-qr { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 16px; max-width: 330px; }
.tp-bento--b > :nth-child(3) .tpv-qrsvg { width: 150px; height: 150px; }
.tp-bento--b > :nth-child(3) .tpv-qr__f { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; width: 100%; }
.tp-bento--b > :nth-child(3) .tpv-qr__f li:nth-child(9) { grid-column: 1 / -1; }   /* tag 9 (the simplified invoice's) has the long name */
@media (min-width: 1200px) {
  .tp-bento--a > :nth-child(1) .tpv, .tp-bento--b > :nth-child(3) .tpv, .tp-bento--c > :nth-child(1) .tpv { zoom: 1.22; }
}
.tp-bento--c > :nth-child(1) .tpv-slots { max-width: 340px; padding: 20px; gap: 14px; }

/* ---------------------------------------------------------------- the visuals (.tpv): small product screens on the cards and tabs */
.tpv { position: relative; width: 100%; max-width: 400px; margin: 0; padding: 14px; border-radius: 16px; background: var(--tp-surf); box-shadow: var(--tp-shadow); color: var(--tp-ink); font-size: 14px; line-height: 1.5; text-align: start; }
.tpv code { font-family: var(--tp-mono); font-size: 12px; color: var(--tp-mute); background: none; padding: 0; }
.tpv-head { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; color: var(--tp-mute); }
.tpv-foot { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--tp-line); font-size: 12.5px; color: var(--tp-mute); font-variant-numeric: tabular-nums; }
html[dir="rtl"] .tpv-foot { text-align: right; }
.tpv-pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 100px; border: 1px solid var(--tp-line); font-size: 12px; font-weight: 700; white-space: nowrap; color: var(--tp-ink); }
.tpv-pill--ink { background: var(--tp-ink); border-color: var(--tp-ink); color: var(--tp-surf); }
.tpv-pill--ok, .tpv-pill--in { background: var(--tp-accent); border-color: var(--tp-accent); color: var(--tp-accent-contrast); }
.tpv-pill--ok::before { content: ""; width: 9px; height: 5px; margin-inline-end: 6px; border: 2px solid currentColor; border-top: 0; border-inline-end: 0; transform: rotate(-45deg) translateY(-1px); }
html[dir="rtl"] .tpv-pill--ok::before { border-left: 2px solid currentColor; border-right: 0; }
.tpv-pill--wait { border-style: dashed; color: var(--tp-mute); }
.tpv-pill--warn { border: 1.5px dashed var(--tp-ink); }
.tpv-pill--off { color: var(--tp-mute); }
/* chat */
.tpv-chat { display: flex; flex-direction: column; gap: 8px; }
.tpv-msg { max-width: 86%; }
.tpv-msg p { margin: 0; padding: 9px 13px; border-radius: 15px; font-size: 14px; line-height: 1.55; }
.tpv-msg small { display: block; margin-top: 5px; font-size: 12px; color: var(--tp-mute); }
.tpv-msg--in { align-self: flex-start; }
.tpv-msg--in p { background: var(--tp-surf2); border-end-start-radius: 5px; }
.tpv-msg--out { align-self: flex-end; }
.tpv-msg--out p { background: var(--tp-ink); color: var(--tp-surf); border-end-end-radius: 5px; }
.tpv-msg p[lang="ar"] { font-family: var(--shf-ff); font-size: 16px; }
.tpv-intent { display: inline-flex; align-items: center; align-self: flex-start; gap: 8px; margin-top: 2px; padding: 6px 12px; border-radius: 100px; border: 1px dashed var(--tp-accent); background: var(--tp-accent-soft); font-size: 13px; font-weight: 700; }
.tpv-intent__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tp-accent); }
/* tools */
.tpv-tools { display: flex; flex-direction: column; gap: 7px; }
.tpv-tool { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--tp-surf2); }
.tpv-tool__ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--tp-accent); color: var(--tp-accent-contrast); }
.tpv-tool__ico svg { width: 15px; height: 15px; }
.tpv-tool__t { display: flex; flex-direction: column; min-width: 0; font-size: 13.5px; font-weight: 700; line-height: 1.35; }
.tpv-tool__t code { overflow: hidden; font-size: 11.5px; font-weight: 400; white-space: nowrap; text-overflow: ellipsis; }
html[dir="rtl"] .tpv-tool__t code { text-align: right; }
.tpv-tool__r { padding: 3px 9px; border-radius: 100px; background: var(--tp-surf); border: 1px solid var(--tp-line); font-size: 12px; font-weight: 700; white-space: nowrap; }
/* cite */
.tpv-cite { display: flex; flex-direction: column; gap: 12px; max-width: 470px; padding: 18px; }
.tpv-cite__q { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 14px; border-radius: 100px; background: var(--tp-surf2); font-size: 15px; font-weight: 600; }
.tpv-cite__ico { display: inline-flex; color: var(--tp-mute); }
.tpv-cite__a { display: grid; grid-template-columns: 3px minmax(0, 1fr); gap: 14px; padding: 4px 2px; }
.tpv-cite__mark { border-radius: 3px; background: var(--tp-accent); }
.tpv-cite__a p { margin: 0; font-size: 16px; line-height: 1.75; }
html[dir="rtl"] .tpv-cite__a p { font-size: 17px; }
.tpv-cite__a sup { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-inline-start: 4px; border-radius: 50%; background: var(--tp-accent); color: var(--tp-accent-contrast); font-size: 11px; font-weight: 700; top: -.5em; }
.tpv-cite__src { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 1px solid var(--tp-line); }
.tpv-cite__src li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; }
.tpv-cite__n { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 6px; border: 1px solid var(--tp-line); font-size: 11px; }
.tpv-cite__s { margin-inline-start: auto; color: var(--tp-mute); font-weight: 500; }
/* rows */
.tpv-rows ul { display: flex; flex-direction: column; gap: 6px; }
.tpv-row { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 9px 11px; border-radius: 12px; background: var(--tp-surf2); font-size: 13.5px; }
.tpv-row__t { flex: 1; display: flex; flex-direction: column; min-width: 0; overflow: hidden; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.tpv-row__t small { overflow: hidden; font-size: 12px; font-weight: 500; color: var(--tp-mute); white-space: nowrap; text-overflow: ellipsis; }
.tpv-row__n { flex: none; min-width: 64px; font-family: var(--tp-mono); font-size: 12px; font-weight: 700; color: var(--tp-mute); }
.tpv-row__v { flex: none; font-family: var(--tp-mono); font-size: 12px; font-weight: 700; color: var(--tp-mute); }
.tpv-row__dot { flex: none; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--tp-ink); }
.tpv-row__dot--ok, .tpv-row__dot--on { background: var(--tp-accent); border-color: var(--tp-accent); }
.tpv-row__dot--warn { border-style: dashed; }
.tpv-row__arrow { display: inline-flex; flex: none; color: var(--tp-mute); }
.tpv-rows--route .tpv-row__t { flex: 1; }
.tpv-rows--queue .tpv-row__n { min-width: 46px; }
.tpv-switch { position: relative; flex: none; width: 38px; height: 22px; border-radius: 100px; background: var(--tp-line); }
.tpv-switch i { position: absolute; top: 3px; inset-inline-start: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--tp-surf); box-shadow: 0 1px 2px rgba(0, 0, 0, .3); transition: transform .4s var(--tp-ease); }
.tpv-switch--on { background: var(--tp-accent); }
.tpv-switch--on i { transform: translateX(calc(var(--tp-dir) * 16px)); }
/* search */
.tpv-search__q { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--tp-ink); font-size: 14.5px; font-weight: 600; }
.tpv-search__q svg { flex: none; }
.tpv-search ul { display: flex; flex-direction: column; gap: 10px; }
.tpv-search li { display: grid; grid-template-columns: minmax(0, 1fr) 32px; grid-template-areas: "t w" "b b"; gap: 6px 10px; font-size: 13.5px; font-weight: 600; }
.tpv-search__t { grid-area: t; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tpv-search__w { grid-area: w; font-family: var(--tp-mono); font-size: 11.5px; color: var(--tp-mute); text-align: end; }
.tpv-search__bar { grid-area: b; height: 5px; border-radius: 5px; background: var(--tp-surf2); overflow: hidden; }
.tpv-search__bar i { display: block; width: calc(var(--w) * 100%); height: 100%; border-radius: inherit; background: var(--tp-accent); transform-origin: var(--tp-origin, left); transition: transform 1s var(--tp-ease) calc(.15s + var(--i) * .12s); }
html[dir="rtl"] .tpv-search__bar i { --tp-origin: right; }
/* code */
.tpv-code { margin: 0; padding: 16px 18px; background: #0E0F12; color: #C9CCD2; font-family: var(--tp-mono); font-size: 12.5px; line-height: 1.95; white-space: pre; overflow: hidden; text-align: left; }
[data-bs-theme=dark] .tpv-code { background: #08090A; box-shadow: var(--tp-shadow), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.tpv-code code { color: inherit; font-size: inherit; }
.tpv-code__l { display: block; overflow: hidden; text-overflow: ellipsis; }
.tpv-code__l--req { color: #F4F5F7; }
.tpv-code__l--ok { padding-inline-start: 1.2em; color: #9AA0AA; }
/* steps */
.tpv-steps { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 6px; max-width: 520px; padding: 18px 16px; }
.tpv-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
.tpv-step::before { content: ""; position: absolute; top: 13px; inset-inline-start: calc(-50% + 16px); inset-inline-end: calc(50% + 16px); height: 2px; background: var(--tp-line); }
.tpv-step:first-child::before { display: none; }
.tpv-step.is-done::before, .tpv-step.is-cur::before { background: var(--tp-accent); }
.tpv-step__dot { position: relative; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--tp-line); background: var(--tp-surf); color: var(--tp-surf); }
.tpv-step__dot svg { width: 15px; height: 15px; }
.tpv-step.is-done .tpv-step__dot { background: var(--tp-accent); border-color: var(--tp-accent); color: var(--tp-accent-contrast); }
.tpv-step.is-cur .tpv-step__dot { border-color: var(--tp-accent); }
.tpv-step.is-cur .tpv-step__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--tp-accent); animation: tpPulse 1.6s ease-in-out infinite; }
.tpv-step__t { font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.tpv-step__s { font-family: var(--tp-mono); font-size: 11px; color: var(--tp-mute); }
.tpv-step.is-todo .tpv-step__t { color: var(--tp-mute); font-weight: 600; }
/* qr */
.tpv-qr { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: start; gap: 18px; max-width: 360px; padding: 18px; }
.tpv-qr__code { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tpv-qrsvg { display: block; width: 120px; height: 120px; }
.tpv-qrsvg__bg { fill: var(--tp-surf); }
.tpv-qrsvg__fg { fill: var(--tp-ink); }
.tpv-qr__cap { font-family: var(--tp-mono); font-size: 11px; color: var(--tp-mute); }
.tpv-qr__f { display: flex; flex-direction: column; gap: 5px; }
.tpv-qr__f li { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; line-height: 1.3; }
.tpv-qr__n { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 6px; background: var(--tp-accent); color: var(--tp-accent-contrast); font-family: var(--tp-mono); font-size: 11px; }
.tpv-qr__f li:nth-child(n+6) .tpv-qr__n { background: transparent; color: var(--tp-accent); box-shadow: inset 0 0 0 1px var(--tp-accent); }
/* slots */
.tpv-slots { display: flex; flex-direction: column; gap: 12px; max-width: 320px; padding: 16px; }
.tpv-doc { display: flex; align-items: center; gap: 10px; }
.tpv-doc > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.tpv-doc small { font-size: 12.5px; color: var(--tp-mute); }
.tpv-doc__av { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--tp-ink); color: var(--tp-surf); font-weight: 700; }
.tpv-days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tpv-day { padding: 8px 4px; border-radius: 10px; border: 1px solid var(--tp-line); font-size: 12.5px; font-weight: 700; text-align: center; white-space: nowrap; }
.tpv-day.is-on { background: var(--tp-accent); border-color: var(--tp-accent); color: var(--tp-accent-contrast); }
.tpv-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tpv-slot { padding: 9px 0; border-radius: 10px; border: 1px solid var(--tp-line); font-size: 13px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.tpv-slot.is-taken { color: var(--tp-mute); text-decoration: line-through; background: var(--tp-surf2); border-color: transparent; }
.tpv-slot.is-pick { background: var(--tp-accent); border-color: var(--tp-accent); color: var(--tp-accent-contrast); }
/* timeline */
.tpv-timeline ol { position: relative; display: flex; flex-direction: column; gap: 4px; }
.tpv-timeline ol::before { content: ""; position: absolute; top: 14px; bottom: 14px; inset-inline-start: 6px; width: 1px; background: var(--tp-line); }
.tpv-tl { position: relative; display: grid; grid-template-columns: 13px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 7px 0; }
.tpv-tl__dot { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--tp-ink); background: var(--tp-surf); }
.tpv-tl.is-new .tpv-tl__dot { border-color: var(--tp-accent); background: var(--tp-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tp-accent) 22%, transparent); }
.tpv-tl__t { font-size: 13.5px; font-weight: 700; line-height: 1.4; }
.tpv-tl__d { font-size: 12px; color: var(--tp-mute); white-space: nowrap; }
.tpv-flag { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; padding: 4px 10px; border-radius: 100px; border: 1.5px dashed var(--tp-ink); font-size: 12px; font-weight: 700; }
/* bars */
.tpv-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.tpv-kpi { display: flex; flex-direction: column; padding: 9px 12px; border-radius: 12px; background: var(--tp-surf2); }
.tpv-kpi small { font-size: 12px; color: var(--tp-mute); }
.tpv-kpi b { font-size: 22px; font-weight: 700; line-height: 1.2; }
html[dir="rtl"] .tpv-kpi b { text-align: right; }
.tpv-bars { display: flex; flex-direction: column; gap: 10px; }
.tpv-bars li { display: grid; grid-template-columns: 96px minmax(0, 1fr) 40px; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.tpv-bar__track { height: 10px; border-radius: 10px; background: var(--tp-surf2); overflow: hidden; }
.tpv-bar__track i, .tpv-cols i { display: block; border-radius: inherit; background: var(--tp-ink); }
.tpv-bar__track i, .tpv-cols li:last-child i { background: var(--tp-accent); }
.tpv-bar__track i { width: calc(var(--v) * 100%); height: 100%; transform-origin: var(--tp-origin, left); transition: transform 1.1s var(--tp-ease) calc(.15s + var(--i) * .1s); }
html[dir="rtl"] .tpv-bar__track i { --tp-origin: right; }
.tpv-bar__l { font-family: var(--tp-mono); font-size: 12px; color: var(--tp-mute); text-align: end; }
.tpv-cols { display: grid; grid-template-columns: repeat(6, 1fr); align-items: end; gap: 8px; height: 110px; }
.tpv-cols li { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; font-size: 11.5px; font-weight: 600; color: var(--tp-mute); }
.tpv-cols i { width: 100%; height: calc(var(--v) * 84%); border-radius: 7px 7px 3px 3px; transform-origin: bottom; transition: transform 1s var(--tp-ease) calc(.15s + var(--i) * .08s); }
.tpv-cols li:last-child i { box-shadow: 0 0 0 3px color-mix(in srgb, var(--tp-accent) 22%, transparent); }
/* alert */
.tpv-alert { max-width: 470px; padding: 18px; border: 1.5px dashed var(--tp-ink); box-shadow: none; }
.tpv-alert__top { display: flex; align-items: center; gap: 10px; }
.tpv-alert__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--tp-ink); color: var(--tp-surf); }
.tpv-alert__top b { font-size: 15px; }
.tpv-alert__top code { margin-inline-start: auto; font-weight: 700; }
.tpv-alert__d { margin: 12px 0 14px; font-size: 14px; line-height: 1.6; color: var(--tp-mute); }
.tpv-alert__fix { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 100px; background: var(--tp-accent); color: var(--tp-accent-contrast); font-size: 13.5px; font-weight: 700; }
/* receipt */
.tpv-receipt { max-width: 300px; padding: 18px 18px 16px; border-radius: 6px 6px 16px 16px; font-size: 13.5px; }
.tpv-receipt::before { content: ""; position: absolute; top: -6px; left: 0; right: 0; height: 12px; background: radial-gradient(circle at 6px 0, transparent 6px, var(--tp-surf) 6.5px) 0 0 / 12px 12px repeat-x; }
.tpv-rc__title { margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px dashed var(--tp-line); font-weight: 700; text-align: center; }
.tpv-receipt ul { display: flex; flex-direction: column; gap: 6px; }
.tpv-receipt li { display: flex; justify-content: space-between; gap: 12px; }
.tpv-rc__vat { color: var(--tp-mute); font-size: 12.5px; }
.tpv-rc__total { display: flex; justify-content: space-between; margin: 10px 0 0; padding-top: 10px; border-top: 1.5px solid var(--tp-ink); font-size: 15px; }
.tpv-rc__qr { display: flex; justify-content: center; margin-top: 12px; }
.tpv-rc__qr .tpv-qrsvg { width: 72px; height: 72px; }
/* entrances when the visual comes into view (js/topic.js adds .is-seen; without it, the final state) */
.tp-js [data-tp-live]:not(.is-seen) .tpv-search__bar i, .tp-js [data-tp-live]:not(.is-seen) .tpv-bar__track i { transform: scaleX(0); }
.tp-js [data-tp-live]:not(.is-seen) .tpv-cols i { transform: scaleY(0); }

/* ---------------------------------------------------------------- 4. flows (the systems pages' diagram language) */
.tpf { position: relative; }
.tpf-node { position: relative; display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 16px 18px; border-radius: 14px; background: var(--at-neutral-0); border: 1px solid var(--at-neutral-200); color: var(--at-neutral-900); transition: border-color .4s ease, box-shadow .4s ease; }
[data-bs-theme=dark] .tpf-node { border-color: #34363B; background: #121315; }
.tpf-node__n { font-family: var(--tp-mono); font-size: 12px; font-weight: 700; color: var(--at-neutral-500); }
.tpf-node__t { font-size: 18px; font-weight: 700; line-height: 1.35; }
.tpf-node__s { font-size: 14px; line-height: 1.5; color: var(--at-neutral-500); }
.tpf-node--ink { background: #121316; border-color: #121316; color: #F4F5F7; }
.tpf-node--ink .tpf-node__n, .tpf-node--ink .tpf-node__s { color: rgba(244, 245, 247, .62); }
[data-bs-theme=dark] .tpf-node--ink { background: #F2F3F5; border-color: #F2F3F5; color: #121316; }
[data-bs-theme=dark] .tpf-node--ink .tpf-node__n, [data-bs-theme=dark] .tpf-node--ink .tpf-node__s { color: #50535B; }
.tpf-node--ext { border-style: dashed; border-width: 1.5px; }
.tpf-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tpf-chips li { padding: 4px 10px; border-radius: 100px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); font-size: 12.5px; font-weight: 600; }
[data-bs-theme=dark] .tpf-chips li { background: rgba(0, 0, 0, .06); border-color: rgba(0, 0, 0, .12); }
.tpf-tagpill { align-self: flex-start; padding: 2px 8px; border-radius: 6px; background: var(--at-neutral-900); color: var(--at-neutral-0); font-family: var(--tp-mono); font-size: 11.5px; font-weight: 700; }
/* a wire: a line with an arrowhead and a packet that travels it while the diagram is in view */
.tpf-wire { position: relative; align-self: stretch; min-width: 0; }
.tpf-wire__line { position: absolute; top: 50%; inset-inline: 6px 8px; height: 1.5px; background: var(--at-neutral-300); }
[data-bs-theme=dark] .tpf-wire__line { background: #4A4D54; }
.tpf-wire__line::after { content: ""; position: absolute; top: -4px; inset-inline-end: -1px; border: 5px solid transparent; border-inline-start: 7px solid var(--at-neutral-300); border-inline-end: 0; }
[data-bs-theme=dark] .tpf-wire__line::after { border-inline-start-color: #4A4D54; }
.tpf-wire__pkt { position: absolute; top: 50%; inset-inline-start: 2px; width: 9px; height: 9px; margin-top: -4px; border-radius: 50%; background: var(--tp-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tp-accent) 22%, transparent); opacity: 0; }
.tpf.is-live .tpf-wire__pkt { animation: tpPkt var(--tpf-cycle, 6s) linear infinite; animation-delay: calc(var(--w, 0) * var(--tpf-step, 1.2s)); }
@keyframes tpPkt { 0% { opacity: 0; transform: translateX(0); } 2% { opacity: 1; } 14% { opacity: 1; transform: translateX(calc(var(--tp-dir) * var(--tpf-len, 40px))); } 16%, 100% { opacity: 0; transform: translateX(calc(var(--tp-dir) * var(--tpf-len, 40px))); } }
.tpf.is-live .tpf-node { animation: tpLit var(--tpf-cycle, 6s) ease infinite; animation-delay: calc(var(--k, 0) * var(--tpf-step, 1.2s) - .1s); }
@keyframes tpLit { 0%, 18%, 100% { box-shadow: none; } 4%, 12% { border-color: var(--tp-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tp-accent) 20%, transparent), 0 14px 30px -18px rgba(0, 0, 0, .5); } }
/* pipeline (ZATCA): your system -> the integration layer -> Fatoora -> clearance / reporting -> archive */
.tpf-pipe { --tpf-len: 34px; display: grid; grid-template-columns: minmax(0, .95fr) 48px minmax(0, 1.5fr) 48px minmax(0, .95fr) 52px minmax(0, 1.25fr) 52px minmax(0, .95fr); align-items: center; padding: 34px 30px; border-radius: 26px; background-color: var(--at-neutral-50); background-image: radial-gradient(var(--tp-dot) 1px, transparent 1.2px); background-size: 16px 16px; }
.tpf-cell { min-width: 0; }
.tpf-cell .tpf-node { min-height: 150px; justify-content: flex-start; }
.tpf-fork { display: flex; flex-direction: column; gap: 14px; }
.tpf-fork > .tpf-node__n { margin-bottom: -6px; }
.tpf-fork .tpf-node { min-height: 0; padding: 14px 16px; }
.tpf-fork .tpf-node__t { font-size: 16px; }
.tpf-fork .tpf-node__s { font-size: 13.5px; }
.tpf-node--end { border-style: solid; }
.tpf-wire--fork .tpf-wire__line, .tpf-wire--join .tpf-wire__line { inset-inline: 6px 50%; }
.tpf-wire--fork::before, .tpf-wire--join::before { content: ""; position: absolute; inset-inline-start: 50%; top: 27%; bottom: 27%; width: 1.5px; background: var(--at-neutral-300); }
.tpf-wire--fork::after { content: ""; position: absolute; inset-inline: 50% 8px; top: 27%; bottom: 27%; border-top: 1.5px solid var(--at-neutral-300); border-bottom: 1.5px solid var(--at-neutral-300); }
.tpf-wire--join .tpf-wire__line { inset-inline: 50% 8px; }
.tpf-wire--join::after { content: ""; position: absolute; inset-inline: 6px 50%; top: 27%; bottom: 27%; border-top: 1.5px solid var(--at-neutral-300); border-bottom: 1.5px solid var(--at-neutral-300); }
[data-bs-theme=dark] .tpf-wire--fork::before, [data-bs-theme=dark] .tpf-wire--join::before { background: #4A4D54; }
[data-bs-theme=dark] .tpf-wire--fork::after, [data-bs-theme=dark] .tpf-wire--join::after { border-color: #4A4D54; }
.tpf-wire--fork .tpf-wire__line::after { display: none; }
.tpf-wire--fork .tpf-wire__pkt, .tpf-wire--join .tpf-wire__pkt { --tpf-len: 14px; }
/* hub (AI): channels -> the agent <-> data and tools; a person below the agent; the audit line under it all */
.tpf-hub { --tpf-len: 44px; --tpf-cycle: 5s; display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1.1fr) 64px minmax(0, 1fr); align-items: center; padding: 34px 30px 26px; border-radius: 26px; background-color: var(--at-neutral-50); background-image: radial-gradient(var(--tp-dot) 1px, transparent 1.2px); background-size: 16px 16px; }
.tpf-lane { padding: 16px; border-radius: 18px; background: var(--at-neutral-0); border: 1px solid var(--at-neutral-100); }
[data-bs-theme=dark] .tpf-lane { background: #0E0F10; border-color: #26282C; }
.tpf-lane__t { margin: 0 0 12px; font-size: 13px; font-weight: 700; color: var(--at-neutral-500); }
.tpf-lane ul { display: flex; flex-direction: column; gap: 8px; }
.tpf-node--sm { flex-direction: row; align-items: center; justify-content: space-between; padding: 11px 14px; border-radius: 12px; animation: none !important; }
.tpf-node--sm .tpf-node__t { font-size: 15px; }
.tpf-node__tag { font-family: var(--tp-mono); font-size: 11.5px; font-weight: 700; color: var(--at-neutral-500); }
.tpf-hub__in { --k: 0; }
.tpf-hub__mid { display: flex; flex-direction: column; align-items: stretch; }
.tpf-core { --k: 1; position: relative; padding: 22px 22px 20px; border-radius: 20px; background: #121316; color: #F4F5F7; overflow: hidden; }
[data-bs-theme=dark] .tpf-core { background: #F2F3F5; color: #121316; }
.tpf-core__pulse { position: absolute; top: 18px; inset-inline-end: 18px; width: 10px; height: 10px; border-radius: 50%; background: var(--tp-accent-on-ink); box-shadow: 0 0 10px var(--tp-accent-on-ink); animation: tpPulse 1.6s ease-in-out infinite; }
[data-bs-theme=dark] .tpf-core__pulse { background: var(--tp-a, currentColor); box-shadow: none; }
.tpf-core__t { margin: 0 0 14px; font-size: 22px; font-weight: 700; }
.tpf-core__steps { display: flex; flex-direction: column; gap: 8px; }
.tpf-core__steps li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 11px; background: rgba(255, 255, 255, .08); font-size: 15px; font-weight: 600; }
[data-bs-theme=dark] .tpf-core__steps li { background: rgba(0, 0, 0, .06); }
.tpf-core__steps span { font-family: var(--tp-mono); font-size: 11.5px; opacity: .6; }
.tpf.is-live .tpf-core__steps li { animation: tpStep 4.5s ease infinite; animation-delay: calc(var(--i) * .7s); }
@keyframes tpStep { 0%, 30%, 100% { background: rgba(255, 255, 255, .08); } 8%, 22% { background: rgba(255, 255, 255, .2); } }
.tpf-hub .tpf-wire--down { height: 46px; }
.tpf-hub .tpf-wire--down .tpf-wire__line { top: 6px; bottom: 8px; inset-inline-start: 50%; inset-inline-end: auto; width: 0; height: auto; background: none; border-inline-start: 1.5px dashed var(--at-neutral-300); }
.tpf-hub .tpf-wire--down .tpf-wire__line::after { top: auto; bottom: -2px; inset-inline-end: auto; inset-inline-start: -6px; border: 5px solid transparent; border-top: 7px solid var(--at-neutral-300); border-bottom: 0; }
[data-bs-theme=dark] .tpf-hub .tpf-wire--down .tpf-wire__line { border-inline-start-color: #4A4D54; }
[data-bs-theme=dark] .tpf-hub .tpf-wire--down .tpf-wire__line::after { border-top-color: #4A4D54; }
.tpf-hub .tpf-wire--down .tpf-wire__pkt { top: 4px; inset-inline-start: calc(50% - 4px); margin: 0; }
.tpf-hub.is-live .tpf-wire--down .tpf-wire__pkt { animation-name: tpPktDown; }
@keyframes tpPktDown { 0% { opacity: 0; transform: none; } 2% { opacity: 1; } 14% { opacity: 1; transform: translateY(32px); } 16%, 100% { opacity: 0; transform: translateY(32px); } }
.tpf-wire--both .tpf-wire__line { inset-inline: 8px 8px; }
.tpf-wire--both .tpf-wire__line::before { content: ""; position: absolute; top: -4px; inset-inline-start: -1px; border: 5px solid transparent; border-inline-end: 7px solid var(--at-neutral-300); border-inline-start: 0; }
[data-bs-theme=dark] .tpf-wire--both .tpf-wire__line::before { border-inline-end-color: #4A4D54; }
.tpf-node--human { --k: 2; flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 10px; border-style: dashed; border-width: 1.5px; }
.tpf-node--human .tpf-node__t { font-size: 16px; }
.tpf-hub__log { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin: 22px 0 0; padding: 14px 18px; border-radius: 14px; background: var(--at-neutral-0); border: 1px solid var(--at-neutral-100); font-size: 15px; font-weight: 600; }
[data-bs-theme=dark] .tpf-hub__log { background: #0E0F10; border-color: #26282C; }
.tpf-hub__logdot { flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--tp-accent); }
/* journey (health): stations on one line, a dot walks it */
.tpf-journey { padding: 40px 30px 34px; border-radius: 26px; background-color: var(--at-neutral-50); background-image: radial-gradient(var(--tp-dot) 1px, transparent 1.2px); background-size: 16px 16px; }
.tpf-journey__rail { position: absolute; top: 61px; inset-inline-start: calc(30px + (100% - 60px) / var(--n) / 2); inset-inline-end: calc(30px + (100% - 60px) / var(--n) / 2); height: 2px; container-type: inline-size; }
.tpf-journey__line { position: absolute; inset: 0; background: var(--at-neutral-300); }
[data-bs-theme=dark] .tpf-journey__line { background: #3A3D43; }
.tpf-journey__walker { position: absolute; top: -6px; inset-inline-start: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--tp-accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--tp-accent) 22%, transparent); opacity: 0; }
.tpf-journey.is-live .tpf-journey__walker { animation: tpWalk 7.5s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes tpWalk { 0% { opacity: 0; transform: translateX(0); } 4% { opacity: 1; transform: translateX(0); } 86% { opacity: 1; transform: translateX(calc(var(--tp-dir) * 100cqi)); } 94%, 100% { opacity: 0; transform: translateX(calc(var(--tp-dir) * 100cqi)); } }
.tpf-journey__list { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 16px; }
.tpf-station { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.tpf-station__pin { position: relative; display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: 50%; background: var(--at-neutral-0); border: 1.5px solid var(--at-neutral-900); }
.tpf-station__pin i { width: 12px; height: 12px; border-radius: 50%; background: var(--tp-accent); }
.tpf-journey.is-live .tpf-station__pin { animation: tpStation 7.5s ease infinite; animation-delay: calc(.3s + var(--i) * 7.5s * .82 / (var(--n) - 1)); }
@keyframes tpStation { 0%, 12%, 100% { box-shadow: 0 0 0 0 transparent; border-color: var(--at-neutral-900); } 3% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--tp-accent) 24%, transparent); border-color: var(--tp-accent); } }
.tpf-station__n { font-family: var(--tp-mono); font-size: 12px; font-weight: 700; color: var(--at-neutral-500); }
.tpf-station__t { margin: 0; font-size: 19px; font-weight: 700; color: var(--at-neutral-900); }
.tpf-station__s { margin: 0; font-size: 14px; line-height: 1.55; color: var(--at-neutral-500); }
.tpf-station__tag { margin-top: 6px; padding: 4px 11px; border-radius: 100px; border: 1.5px dashed var(--at-neutral-300); font-size: 12.5px; font-weight: 700; color: var(--at-neutral-900); }

/* ---------------------------------------------------------------- 5. use-case tabs */
.tp-tabs { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px 36px; align-items: start; }
.tp-tabs__list { display: flex; flex-direction: column; gap: 6px; }
.tp-tab { display: flex; align-items: center; gap: 14px; width: 100%; padding: 15px 18px; border: 0; border-radius: 16px; background: transparent; color: var(--at-neutral-500); font: inherit; font-size: 17px; font-weight: 600; text-align: start; cursor: pointer; transition: background .3s ease, color .3s ease; }
html[dir="rtl"] .tp-tab { font-size: 18px; }
.tp-tab:hover { background: var(--tp-accent-soft); color: var(--at-neutral-900); }
.tp-tab { position: relative; }
.tp-tab[aria-selected="true"] { background: var(--at-neutral-900); color: var(--at-neutral-0); }
.tp-tab[aria-selected="true"]::before { content: ""; position: absolute; inset-block: 12px; inset-inline-start: 0; width: 4px; border-radius: 4px; background: var(--tp-a-ink, currentColor); }
.tp-tab[aria-selected="true"] .tp-tab__n { color: var(--tp-a-ink, currentColor); opacity: 1; }
[data-bs-theme=dark] .tp-tab[aria-selected="true"]::before { background: var(--tp-a, currentColor); }
[data-bs-theme=dark] .tp-tab[aria-selected="true"] .tp-tab__n { color: inherit; }   /* the bar carries the colour: the light tab is too light for small teal text */
.tp-tab:focus-visible { outline: 2px solid var(--at-neutral-900); outline-offset: 3px; }
.tp-tab__n { font-family: var(--tp-mono); font-size: 12px; opacity: .7; }
.tp-tabs__panels { display: grid; gap: 16px; }
.tp-js .tp-tabp { grid-area: 1 / 1; }
.tp-tabp { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: stretch; gap: 16px; padding: 10px; border-radius: 26px; background: var(--at-neutral-50); transition: opacity .35s ease, visibility 0s; }
.tp-js .tp-tabp.is-off { visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility 0s linear .2s; }
.tp-tabp:focus-visible { outline: 2px solid var(--at-neutral-900); outline-offset: 3px; }
.tp-tabp__txt { display: flex; flex-direction: column; justify-content: center; padding: 32px 30px; }
.tp-tabp__t { margin: 0 0 18px; font-size: clamp(22px, 2vw, 28px); font-weight: 700; line-height: 1.35; color: var(--at-neutral-900); text-wrap: balance; }
.tp-tabp__pts { display: flex; flex-direction: column; gap: 12px; }
.tp-tabp__pts li { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; line-height: 1.55; color: var(--at-neutral-900); }
.tp-tabp__pts .tp-check { flex: none; width: 22px; height: 22px; margin-top: 2px; padding: 4px; border-radius: 50%; background: var(--tp-accent); color: var(--tp-accent-contrast); }
.tp-tabp__link { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: 22px; font-size: 16px; font-weight: 700; color: var(--at-neutral-900); text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 1px; }
.tp-tabp__link:hover, .tp-tabp__link:focus { color: var(--at-neutral-900); }
html[dir="rtl"] .tp-tabp__link svg { transform: scaleX(-1); }
.tp-tabp__vis { display: flex; align-items: center; justify-content: center; min-height: 300px; padding: 30px 24px; border-radius: 18px; background-color: var(--at-neutral-0); background-image: radial-gradient(var(--tp-dot) 1px, transparent 1.2px); background-size: 14px 14px; }
[data-bs-theme=dark] .tp-tabp__vis { background-color: #101113; }
.tp-tabp__screen { display: flex; justify-content: center; width: 100%; }
/* a tab's photo (illustrative, with its alt text) and the tab's small product visual standing on it */
.tp-tabp__vis--photo { position: relative; align-items: flex-end; justify-content: flex-end; min-height: 460px; padding: 0; overflow: hidden; background: #16181E; }
.tp-tabp__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tp-tabp__vis--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 13, 16, .62) 0%, rgba(12, 13, 16, 0) 58%); pointer-events: none; }
.tp-tabp__vis--photo .tp-tabp__screen { position: relative; z-index: 1; justify-content: flex-end; padding: 22px; }
.tp-tabp__vis--photo .tpv { max-width: 372px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7), 0 2px 8px -2px rgba(0, 0, 0, .2); }
.tp-tabp:not(.is-off) .tpv { animation: tpRise .6s var(--tp-ease) both; }
/* on the photo, from 992px the card keeps to the photo's lower part, under the people's faces and hands (the photo fills
   the frame's height there, so only the card's height decides what it covers): the chats, rows and receipt are compact,
   an item marked "onPhoto": false in topics.json is left out (tpv-offphoto: the pharmacy's first result, the receipt's
   VAT line), the reception queue shows three rows and the receipt puts its QR beside the lines and the total */
@media (min-width: 992px) {
  .tp-tabp__vis--photo .tpv-offphoto { display: none; }
  .tp-tabp__vis--photo .tpv-rows--queue li:nth-child(n+4) { display: none; }
  .tp-tabp__vis--photo :is(.tpv-chat, .tpv-rows) { padding: 12px; }
  .tp-tabp__vis--photo .tpv-head { margin-bottom: 6px; }
  .tp-tabp__vis--photo .tpv-rows ul { gap: 5px; }
  .tp-tabp__vis--photo .tpv-row { padding: 6px 10px; }
  .tp-tabp__vis--photo .tpv-chat { gap: 6px; }
  .tp-tabp__vis--photo .tpv-msg { max-width: 92%; }
  .tp-tabp__vis--photo .tpv-msg p { padding: 7px 12px; }
  .tp-tabp__vis--photo .tpv-receipt { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; padding: 13px 16px 11px; line-height: 1.4; }
  .tp-tabp__vis--photo .tpv-receipt > * { grid-column: 1; }
  .tp-tabp__vis--photo .tpv-receipt .tpv-rc__title { grid-column: 1 / -1; margin-bottom: 6px; padding-bottom: 6px; }
  .tp-tabp__vis--photo .tpv-receipt ul { gap: 4px; }
  .tp-tabp__vis--photo .tpv-receipt .tpv-rc__total { margin-top: 7px; padding-top: 7px; }
  .tp-tabp__vis--photo .tpv-receipt .tpv-rc__qr { grid-column: 2; grid-row: 2 / span 2; align-self: end; margin: 0; }
  .tp-tabp__vis--photo .tpv-receipt .tpv-rc__qr .tpv-qrsvg { width: 64px; height: 64px; }
}
@keyframes tpRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- 6. products */
.tp-products .shf-pf-grid { margin-top: 0; }

/* ---------------------------------------------------------------- 7. the form panel (ink) with contact-1's form on a white card */
.tp-formp { scroll-margin-top: 100px; padding: 84px 0 78px; background: var(--sd2-ink, #0C0D10); color: #F4F5F7; }
.tp-formp__gridbg { -webkit-mask-image: radial-gradient(ellipse 70% 80% at 20% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 70% 80% at 20% 30%, #000 10%, transparent 70%); opacity: .45; }
.tp-formp__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: "head card" "rest card"; gap: 30px 72px; align-items: start; }
.tp-formp__head { grid-area: head; }
.tp-formp__card { grid-area: card; }
.tp-formp__rest { grid-area: rest; }
.tp-formp__free { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 14px; font-weight: 600; color: rgba(244, 245, 247, .74); }
html[dir="rtl"] .tp-formp__free { font-size: 15px; }
.tp-formp__title { margin: 0 0 14px; font-size: clamp(32px, 3.4vw, 54px); font-weight: 600; line-height: 1.15; color: #F4F5F7; text-wrap: balance; }
html[dir="rtl"] .tp-formp__title { line-height: 1.3; }
.tp-formp__title:focus { outline: none; }
.tp-formp__sub { max-width: 40ch; margin: 0; font-size: 18px; line-height: 1.65; color: rgba(244, 245, 247, .72); }
.tp-formp__h { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(244, 245, 247, .6); }
html[dir="rtl"] .tp-formp__h { letter-spacing: 0; font-size: 15px; }
.tp-formp__steps { display: flex; flex-direction: column; border-top: 1px solid var(--sd2-line); }
.tp-formp__steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--sd2-line); }
.tp-formp__steps b { display: block; font-size: 18px; color: #F4F5F7; }
.tp-formp__steps small { display: block; margin-top: 3px; font-size: 15px; line-height: 1.6; color: rgba(244, 245, 247, .66); }
.tp-formp__n { font-family: var(--tp-mono); font-size: 13px; font-weight: 700; color: var(--tp-accent-on-ink); padding-top: 4px; }
.tp-formp__facts { display: flex; flex-wrap: wrap; margin: 22px 0 0; font-size: 14px; color: rgba(244, 245, 247, .62); }
.tp-formp__facts span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 12px; border-radius: 50%; background: currentColor; vertical-align: middle; opacity: .7; }
html[dir="rtl"] .tp-formp__facts { font-size: 15px; }
/* our clients (clients.py strip): white logos on the ink panel; 4 x 2 here */
.tp-formp .shf-clients-strip { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--sd2-line); }
.tp-formp .shf-clients-strip__label { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: rgba(244, 245, 247, .72); }
html[dir="rtl"] .tp-formp .shf-clients-strip__label { font-size: 15px; }
.tp-formp .shf-clients-strip__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); --k: 44px; }
.tp-formp .shf-clients-strip__item { display: flex; align-items: center; justify-content: center; min-width: 0; height: 72px; padding: 0 6px; }
.tp-formp .shf-clients-strip__item:not(:nth-child(4n + 1)) { border-inline-start: 1px solid var(--sd2-line); }
.tp-formp .shf-clients-strip__item:nth-child(n + 5) { border-top: 1px solid var(--sd2-line); }
.tp-formp .shf-clients__logo { max-width: 100%; opacity: .84; }
/* the card and the fields (as the current pages' form card) */
.shf-lp-form-card { padding: 34px 34px 28px; border-radius: 24px; background: var(--at-neutral-0); color: var(--at-neutral-900); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
[data-bs-theme=dark] .shf-lp-form-card { background: #15171B; border: 1px solid rgba(255, 255, 255, .1); }
#formError.shf-form-error { margin-bottom: 18px; }
.shf-lp-form { --shf-lp-line: #8A8A8A; }
[data-bs-theme=dark] .shf-lp-form { --shf-lp-line: #6B6B6B; }
.shf-lp-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 26px; }
.shf-lp-field { display: flex; flex-direction: column; min-width: 0; }
.shf-lp-form__grid .shf-lp-field:nth-child(n+3) { grid-column: 1 / -1; }
.tp-form > .shf-lp-field { margin-top: 22px; }
.shf-lp-field__label { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--at-neutral-900); cursor: pointer; }
html[lang="en"] .shf-lp-field__label { font-size: 13px; }
.shf-lp-form .sec-4-about-form__input { width: 100%; padding: 10px 0 11px; font-size: 17px; line-height: 1.5; color: var(--at-neutral-900); letter-spacing: 0; background: transparent; border: 0; border-bottom: 1px solid var(--shf-lp-line); border-radius: 0; transition: border-color .25s ease, box-shadow .25s ease; }
html[dir="rtl"] .shf-lp-form .sec-4-about-form__input[dir="ltr"] { text-align: right; }
.shf-lp-form .sec-4-about-form__input:hover { border-bottom-color: var(--at-neutral-500); }
.shf-lp-form .sec-4-about-form__input:focus { outline: none; border-bottom-color: var(--tp-accent); box-shadow: 0 1px 0 0 var(--tp-accent); }
.shf-lp-form .sec-4-about-form__input::placeholder { font-size: 15px; color: var(--at-neutral-500); opacity: 1; }
.shf-lp-form .sec-4-about-form__textarea { min-height: 84px; resize: vertical; line-height: 1.6; }
.shf-lp-form .sec-4-about-form__input[aria-invalid="true"] { border-bottom-color: #DC2626; box-shadow: 0 1px 0 0 #DC2626; }
.shf-lp-field__err { margin: 7px 0 0; font-size: 13px; font-weight: 500; line-height: 1.5; color: #B91C1C; }
.shf-lp-field__err[hidden] { display: none; }
[data-bs-theme=dark] .shf-lp-field__err { color: #FCA5A5; }
.shf-lp-send { width: 100%; justify-content: center; margin-top: 26px; padding: 18px 28px; font-size: 17px; gap: 10px; }
.shf-lp-send:focus { color: #FEFEFE; }
[data-bs-theme=dark] .shf-lp-send, [data-bs-theme=dark] .shf-lp-send:hover, [data-bs-theme=dark] .shf-lp-send:focus { background-color: #FEFEFE; color: #1D1D1D; }
.shf-lp-send:focus-visible { outline: 2px solid var(--at-neutral-900); outline-offset: 3px; }
.shf-lp-form.is-sending .shf-lp-send { opacity: .6; cursor: progress; }
.shf-lp-form__note { margin: 12px 0 0; font-size: 13px; text-align: center; color: var(--at-neutral-500); }
/* the quick brief chips (buttons, never submitted: they write a line into the brief) */
.tp-chips { margin-top: 26px; padding: 16px 16px 6px; border-radius: 16px; background: var(--at-neutral-50); }
[data-bs-theme=dark] .tp-chips { background: #1C1E22; }
.tp-chips__hint { margin: 0 0 12px; font-size: 13.5px; color: var(--at-neutral-500); }
.tp-chips__g { margin-bottom: 12px; }
.tp-chips__l { margin: 0 0 8px; font-size: 13.5px; font-weight: 700; color: var(--at-neutral-900); }
.tp-chips__row { display: flex; flex-wrap: wrap; gap: 7px; }
.tp-chip { padding: 8px 14px; border: 1px solid var(--at-neutral-200); border-radius: 100px; background: var(--at-neutral-0); color: var(--at-neutral-900); font: inherit; font-size: 14px; font-weight: 600; line-height: 1.3; cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease; }
[data-bs-theme=dark] .tp-chip { border-color: #3A3D43; background: #15171B; }
.tp-chip:hover { border-color: var(--tp-accent); }
.tp-chip[aria-pressed="true"] { background: var(--tp-accent); border-color: var(--tp-accent); color: var(--tp-accent-contrast); }
.tp-chip:focus-visible { outline: 2px solid var(--tp-accent); outline-offset: 2px; }

/* ---------------------------------------------------------------- 8. FAQ (faqs.html accordion, js/topic.js) */
.tp-faqs .tp-h2 { max-width: 12ch; }
.shf-lp-acc .at-faq-item { border-radius: 18px !important; background: var(--at-neutral-50); padding: 8px 26px; }
.shf-lp-acc .at-faq-header { padding: 14px 0; align-items: center; }
.shf-lp-acc .at-faq-button { font-size: 21px; line-height: 1.4; text-align: start; padding-inline: 0 50px; color: var(--at-neutral-900); font-family: inherit; }
.shf-lp-acc .at-faq-button::before { content: ""; position: absolute; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; border: 1px solid var(--at-neutral-100); background: none; }
.shf-lp-acc .at-faq-button::after { content: ""; position: absolute; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 0;
  background: linear-gradient(currentColor, currentColor) center / 14px 1.8px no-repeat, linear-gradient(currentColor, currentColor) center / 1.8px 14px no-repeat; transition: transform .35s ease; line-height: 1; }
.shf-lp-acc .at-faq-button[aria-expanded="true"]::after { transform: rotate(45deg); }
html[dir="rtl"] .shf-lp-acc .at-faq-button::before { left: 0; right: auto; }
html[dir="rtl"] .shf-lp-acc .at-faq-button::after { left: 10px; right: auto; }
html[dir="ltr"] .shf-lp-acc .at-faq-button::before { right: 0; left: auto; }
html[dir="ltr"] .shf-lp-acc .at-faq-button::after { right: 10px; left: auto; }
.shf-lp-acc .at-faq-button:focus-visible { outline: 2px solid var(--at-neutral-900); outline-offset: 6px; border-radius: 6px; }
.shf-lp-acc .at-faq-number { flex: none; display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 50%; background: var(--tp-accent); color: var(--tp-accent-contrast); font-size: 15px; font-weight: 700; line-height: 1; }
.shf-lp-acc .at-faq-body { padding: 0 44px 18px; }
.tp-js .shf-lp-faq:not(.is-open) .shf-lp-faq__panel { display: none; }
.shf-lp-acc .at-faq-body p { margin: 0; font-size: 17px; line-height: 1.75; color: var(--at-neutral-700, #404040); }
[data-bs-theme=dark] .shf-lp-acc .at-faq-body p { color: var(--at-neutral-500); }

/* ---------------------------------------------------------------- 9. the closing call (ink) */
.tp-cta { padding: 76px 0 !important; border: 0 !important; background-color: var(--tp-a-deep, #0C0D10) !important; background-image: radial-gradient(70% 120% at 85% 0%, color-mix(in srgb, var(--tp-accent-on-ink) 26%, transparent), transparent 62%), linear-gradient(160deg, transparent 30%, rgba(12, 13, 16, .55) 100%) !important; color: #F4F5F7; }
html[dir="rtl"] .tp-cta { background-image: radial-gradient(70% 120% at 15% 0%, color-mix(in srgb, var(--tp-accent-on-ink) 26%, transparent), transparent 62%), linear-gradient(200deg, transparent 30%, rgba(12, 13, 16, .55) 100%) !important; }
.tp-cta__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; gap: 30px 60px; }
.tp-cta__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 15px; font-weight: 600; color: var(--tp-accent-on-ink); }
.tp-cta__eyebrow svg { width: 13px; height: 13px; }
html[dir="ltr"] .tp-cta__eyebrow svg { transform: scaleX(-1); }
.tp-cta__title { margin: 0 0 18px; font-size: clamp(32px, 3.8vw, 60px) !important; font-weight: 600; line-height: 1.12 !important; color: #F4F5F7; text-wrap: balance; }
html[dir="rtl"] .tp-cta__title { line-height: 1.32 !important; }
.tp-cta__text { max-width: 46ch; font-size: 18px; line-height: 1.65; color: rgba(244, 245, 247, .72); }
.tp-cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; justify-self: end; }
.tp-cta__btn { gap: 10px; color: #1D1D1D; background: #FEFEFE; font-size: 16px; padding-block: 14px; }
.tp-cta__btn:focus, .tp-cta__btn:hover { color: #1D1D1D; background: #FEFEFE; }
.tp-cta__circle, .tp-cta__circle:hover, .tp-cta__circle:focus { color: #1D1D1D; background: #FEFEFE; }
.tp-cta__circle:focus-visible { outline: 2px solid #FEFEFE; outline-offset: 3px; }
html[dir="rtl"] .tp-cta__circle svg { transform: scaleX(-1); }
.tp-cta__tel { font-size: 20px; font-weight: 600; color: #F4F5F7; border-bottom: 1px solid var(--tp-accent-on-ink); }
.tp-cta__tel:hover, .tp-cta__tel:focus { color: #F4F5F7; border-color: #F4F5F7; }
.tp-cta__tel:focus-visible { outline: 2px solid #FEFEFE; outline-offset: 3px; }

/* ---------------------------------------------------------------- the phone bar (as the current pages, plus the form), < 992px */
.shf-lp-bar { display: none; }
@media (max-width: 991.98px) {
  .shf-lp-bar { position: fixed; z-index: 99990; inset-inline: 0; bottom: 0; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(245, 244, 240, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid rgba(0, 0, 0, .08); }
  [data-bs-theme=dark] .shf-lp-bar { background: rgba(10, 13, 16, .9); border-top-color: rgba(255, 255, 255, .1); }
  .tp-bar__btn { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; min-height: 48px; padding: 0 8px; border-radius: 100px; font-size: 15px; font-weight: 600; white-space: nowrap; color: #1D1D1D; background: #FEFEFE; box-shadow: inset 0 0 0 1px rgba(29, 29, 29, .22); }
  .tp-bar__btn span { display: inline-flex; line-height: 0; }
  .tp-bar__btn .shf-ico { width: 17px; height: 17px; }
  .tp-bar__btn:hover, .tp-bar__btn:focus { color: #1D1D1D; }
  [data-bs-theme=dark] .tp-bar__btn, [data-bs-theme=dark] .tp-bar__btn:hover, [data-bs-theme=dark] .tp-bar__btn:focus { background: #1D1D1D; color: #FEFEFE; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24); }
  .tp-bar__btn--form { flex-grow: 1.35; background: #1D1D1D; color: #FEFEFE; box-shadow: none; }
  .tp-bar__btn--form:hover, .tp-bar__btn--form:focus { color: #FEFEFE; }
  [data-bs-theme=dark] .tp-bar__btn--form, [data-bs-theme=dark] .tp-bar__btn--form:hover, [data-bs-theme=dark] .tp-bar__btn--form:focus { background: #FEFEFE; color: #1D1D1D; box-shadow: none; }
  .tp-bar__btn:focus-visible { outline: 2px solid var(--at-neutral-900); outline-offset: 2px; }
  body.shf-page-topic { padding-bottom: 70px; }
  html { scroll-padding-bottom: calc(90px + env(safe-area-inset-bottom)); }   /* a focused field or link never ends under the bar */
  body.shf-page-topic .back-to-top-wrapper, body.shf-page-topic #back_to_top { bottom: 84px !important; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1399.98px) {
  /* laptops (1200-1399): a narrower copy column, so the scene and the photo's column both keep their room */
  .tp-hero__main { grid-template-columns: minmax(0, 36fr) minmax(0, 64fr); gap: 32px 30px; }
  .tp-hero__title { font-size: clamp(32px, 3vw, 40px) !important; }
  .tpf-pipe { grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1.45fr) 40px minmax(0, 1fr) 46px minmax(0, 1.3fr) 46px minmax(0, 1fr); padding: 28px 22px; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* small laptops and tablets in landscape keep the two columns, so the scene is on the first screen. The container is
     960px here, so the copy column narrows (31%; the English titles a size down, so they keep to two or three lines) and
     the scene takes the stage but for the photo's outer column, which must still show the person's face: the face's far
     edge lies at 16% of the photo, whose scale follows the frame's width (91% of the stage plus --tp-bleed), so the scene
     is 85.5% of the stage + 84% of the bleed - 15px (about 12px per em at 1024px, 13.5px at 1180px; at most 95%) */
  .tp-hero__main { grid-template-columns: minmax(0, 31fr) minmax(0, 69fr); gap: 24px; }
  .tp-hero__title { font-size: 34px !important; }
  html[lang="en"] .tp-hero__title { font-size: 30px !important; }
  .tp-hero__lead { font-size: 17px !important; }
  .tp-hero__stage--photo { --tp-scw: min(95cqi, calc(85.5cqi + .84 * var(--tp-bleed, 0px) - 15px)); }
  .tp-pp__vat code { display: block; }   /* the invoice's VAT numbers on their own line: near 992px they would wrap or not by font */
}
@media (max-width: 991.98px) {
  /* the hero turns: the copy, then the photo and its scene at full width, on the copy's edge */
  .tp-hero__main { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .tp-hero__copy { max-width: 720px; }
  .tp-hero__lead { max-width: 52ch; }
  .tp-hero__stage { width: 100%; max-width: 820px; margin-inline: 0 auto; }
  .tp-hero__stage--photo { --tp-scw: 84cqi; }
}
@media (max-width: 1199.98px) {
  .tp-intro { grid-template-columns: minmax(0, 1fr); }
  .tp-intro__meta { justify-content: flex-start; }
  .tp-head { grid-template-columns: minmax(0, 1fr); }
  .tp-head__lead { justify-self: start; }
  .tp-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-bento > .tp-card { grid-column: span 1 !important; grid-row: auto !important; }
  .tp-bento--a > :nth-child(1), .tp-bento--b > :nth-child(2), .tp-bento--c > :nth-child(6) { grid-column: 1 / -1 !important; }
  /* two full-width cards per layout, so the half-width ones pair up (no hole); b fills the space beside its first card */
  .tp-bento--a > :nth-child(6), .tp-bento--b > :nth-child(6), .tp-bento--c > :nth-child(1) { grid-column: 1 / -1 !important; }
  .tp-bento--b { grid-auto-flow: row dense; }
  .tp-bento .tp-card__vis { min-height: 230px !important; }
  /* the pipeline turns: top to bottom */
  .tpf-pipe { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .tpf-pipe .tpf-cell .tpf-node { min-height: 0; }
  .tpf-pipe .tpf-wire { height: 40px; }
  .tpf-pipe .tpf-wire__line { top: 6px; bottom: 8px; inset-inline-start: 50%; inset-inline-end: auto; width: 1.5px; height: auto; }
  .tpf-pipe .tpf-wire__line::after { top: auto; bottom: -2px; inset-inline-end: auto; inset-inline-start: -4px; border: 5px solid transparent; border-top: 7px solid var(--at-neutral-300); border-bottom: 0; }
  [data-bs-theme=dark] .tpf-pipe .tpf-wire__line::after { border-top-color: #4A4D54; }
  .tpf-pipe .tpf-wire__pkt { top: 4px; inset-inline-start: calc(50% - 4px); margin: 0; }
  .tpf-pipe.is-live .tpf-wire__pkt { animation-name: tpPktDown; }
  .tpf-pipe .tpf-wire--fork::before, .tpf-pipe .tpf-wire--join::before, .tpf-pipe .tpf-wire--fork::after, .tpf-pipe .tpf-wire--join::after { display: none; }
  .tpf-pipe .tpf-wire--fork .tpf-wire__line, .tpf-pipe .tpf-wire--join .tpf-wire__line { inset-inline-start: 50%; }
  .tpf-pipe .tpf-wire--fork .tpf-wire__line::after { display: block; }
  .tpf-fork { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .tpf-fork > .tpf-node__n { grid-column: 1 / -1; margin: 0; }
  /* the hub turns: channels, the agent with the person, data and tools, the log */
  .tpf-hub { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .tpf-hub > .tpf-wire--in, .tpf-hub > .tpf-wire--both { height: 40px; }
  .tpf-hub > .tpf-wire--in .tpf-wire__line, .tpf-hub > .tpf-wire--both .tpf-wire__line { top: 6px; bottom: 8px; inset-inline-start: 50%; inset-inline-end: auto; width: 1.5px; height: auto; }
  .tpf-hub > .tpf-wire .tpf-wire__line::after { top: auto; bottom: -2px; inset-inline-end: auto; inset-inline-start: -4px; border: 5px solid transparent; border-top: 7px solid var(--at-neutral-300); border-bottom: 0; }
  .tpf-hub > .tpf-wire--both .tpf-wire__line::before { top: -2px; inset-inline-start: -4px; border: 5px solid transparent; border-bottom: 7px solid var(--at-neutral-300); border-top: 0; }
  .tpf-hub > .tpf-wire .tpf-wire__pkt { top: 4px; inset-inline-start: calc(50% - 4px); margin: 0; }
  .tpf-hub.is-live > .tpf-wire .tpf-wire__pkt { animation-name: tpPktDown; }
  .tpf-lane ul { flex-direction: row; flex-wrap: wrap; }
  .tpf-lane .tpf-node--sm { flex: 1 1 180px; }
  .tp-tabs { grid-template-columns: minmax(0, 1fr); }
  .tp-tabs__list { flex-direction: row; flex-wrap: wrap; }
  .tp-tab { width: auto; padding: 11px 16px; border-radius: 100px; border: 1px solid var(--at-neutral-100); font-size: 15px; }
  html[dir="rtl"] .tp-tab { font-size: 16px; }
  .tp-tab[aria-selected="true"] { border-color: var(--at-neutral-900); }
  .tp-tab[aria-selected="true"]::before { inset-block: auto; top: 50%; inset-inline-start: 6px; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; }
  .tp-cta__grid { grid-template-columns: minmax(0, 1fr); }
  .tp-cta__actions { justify-self: start; }
}
@media (max-width: 991.98px) {
  .tp-panel { padding: 70px 0; }
  .tpf-journey { padding: 34px 18px 28px; }
  .tpf-journey__rail { inset-inline-start: calc(18px + (100% - 36px) / var(--n) / 2); inset-inline-end: calc(18px + (100% - 36px) / var(--n) / 2); top: 55px; }
  .tpf-journey__list { gap: 10px; }
  .tpf-station__t { font-size: 17px; }
  .tpf-station__s { font-size: 13px; }
  .tp-hero { padding: 28px 0 30px; }
  .tp-hero__main { gap: 26px; }
  .tp-formp { padding: 56px 0 50px; }
  .tp-formp__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "card" "rest"; gap: 26px; }
  .tp-formp__card { max-width: 640px; }
  .tp-tabp { grid-template-columns: minmax(0, 1fr); }
  .tp-tabp__vis { min-height: 0; }
  .tp-tabp__txt { padding: 26px 24px; }
  .shf-lp-acc .at-faq-body { padding: 0 0 16px; }
}
@media (max-width: 767.98px) {
  .tp-panel { padding: 56px 0; }
  /* the journey turns: a line down the reading side */
  .tpf-journey { padding: 26px 22px; }
  .tpf-journey__rail { display: none; }
  .tpf-journey__list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tpf-station { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-areas: "pin n" "pin t" "pin s" "pin tag"; column-gap: 16px; row-gap: 2px; align-items: start; justify-items: start; padding-bottom: 22px; text-align: start; position: relative; }
  .tpf-station::before { content: ""; position: absolute; top: 46px; bottom: 0; inset-inline-start: 21px; width: 2px; background: var(--at-neutral-300); }
  .tpf-station:last-child::before { display: none; }
  .tpf-station__pin { grid-area: pin; margin: 0; }
  .tpf-station__n { grid-area: n; }
  .tpf-station__t { grid-area: t; }
  .tpf-station__s { grid-area: s; }
  .tpf-station__tag { grid-area: tag; }
  .tpf-journey.is-live .tpf-station__pin { animation-delay: calc(var(--i) * 1.3s); }
  .tp-head { margin-bottom: 30px; }
  .tp-head__lead { font-size: 17px !important; }
  .tp-hero .sd2-hero__top { margin-bottom: 18px; padding-bottom: 12px; }
  .tp-hero__title { margin-bottom: 14px; font-size: 32px !important; }
  html[dir="rtl"] .tp-hero__title { font-size: 31px !important; line-height: 1.32 !important; }
  .tp-kicker { margin-bottom: 14px; }
  .tp-hero__lead { font-size: 17px !important; line-height: 1.65 !important; margin-bottom: 20px; }
  .tp-hero__actions { gap: 8px; }
  .tp-hero__actions .tp-btn { flex: 1 1 auto; justify-content: center; gap: 7px; padding: 13px 12px; font-size: 15px; }
  .tp-hero__stage { width: auto; margin-inline: -8px; }
  .tp-hero__stage--photo { padding-top: 0; }
  .tp-photo { position: relative; inset: auto; aspect-ratio: 16 / 10; border-radius: 20px; }
  .tp-photo__img { object-position: 50% 32%; }
  .tp-photo__shade { background: linear-gradient(to top, rgba(12, 13, 16, .6) 0%, rgba(12, 13, 16, 0) 38%); }
  .tp-photo::after { background: radial-gradient(90% 70% at 50% 100%, color-mix(in srgb, var(--tp-accent-on-ink) 22%, transparent), transparent 70%); }
  .tp-hero__stage--photo .tp-sc { margin-top: -22%; }
  .tp-intro { margin-bottom: 20px; padding-bottom: 20px; }
  .tp-intro__lead, html[dir="rtl"] .tp-intro__lead { font-size: 18px; line-height: 1.75; }
  .tp-intro__meta { font-size: 14px !important; }
  .tp-intro__meta .tp-call { margin-inline-start: 0; margin-top: 4px; }
  .tp-intro__meta .tp-call + * { flex-basis: 100%; }
  .tp-intro__meta .tp-call + *::before, .tp-intro__meta > .tp-call::before { display: none; }
  .tp-tabp__vis--photo { min-height: 0; display: block; background: transparent; overflow: visible; }
  .tp-tabp__vis--photo .tp-tabp__img { position: relative; display: block; aspect-ratio: 4 / 3; height: auto; border-radius: 14px; }
  .tp-tabp__vis--photo::after { display: none; }
  .tp-tabp__vis--photo .tp-tabp__screen { margin-top: -64px; padding: 0 10px 4px; justify-content: center; }
  .tp-strip { padding: 20px 0; }
  .tp-strip__in { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tp-strip__label { padding: 0; border: 0; }
  .tp-mark { font-size: 16px; }
  .tp-strip--dots .tp-strip__marks { margin-inline-start: -26px; clip-path: inset(-4px -4px -4px 26px); }
  html[dir="rtl"] .tp-strip--dots .tp-strip__marks { clip-path: inset(-4px 26px -4px -4px); }
  .tp-strip--dots .tp-mark::before { margin-inline: 10px; }
  .tp-bento { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tp-bento > .tp-card { grid-column: auto !important; }
  .tp-bento--c > :nth-child(6) { flex-direction: column; }
  .tp-bento--c > :nth-child(6) .tp-card__txt { padding: 16px 16px 14px; }
  .tp-card { border-radius: 22px; }
  .tp-card__vis { min-height: 0 !important; padding: 22px 14px; }
  .tp-card__t { font-size: 20px; }
  .tpv { font-size: 13px; }
  .tpv-qr { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .tpv-qrsvg { width: 96px; height: 96px; }
  .tpv-steps { padding: 14px 8px; }
  .tpv-step__t { font-size: 11.5px; }
  .tpv-step__s { display: none; }
  .tpv-row__n { min-width: 52px; }
  .tpf-pipe, .tpf-hub, .tpf-journey { padding: 16px; border-radius: 20px; }
  .tpf-fork { grid-template-columns: minmax(0, 1fr); }
  .tpf-node__t { font-size: 17px; }
  .tp-tabp__txt { padding: 18px 14px 10px; }
  .tp-tabp__t { font-size: 22px; }
  .tp-tabp__pts li { font-size: 16px; }
  .tp-tabp__vis { padding: 22px 12px; }
  .tp-formp__title { font-size: 32px; }
  .shf-lp-form-card { padding: 24px 18px 20px; border-radius: 20px; }
  .shf-lp-form__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .tp-chips { padding: 14px 12px 4px; }
  .tp-chip { font-size: 13.5px; padding: 7px 12px; }
  .tp-formp .shf-clients-strip__list { --k: 38px; }
  .tp-formp .shf-clients-strip__item { height: 62px; }
  .shf-lp-acc .at-faq-item { padding: 4px 16px; }
  .shf-lp-acc .at-faq-button { font-size: 17px; }
  .tp-cta { padding: 44px 0 !important; }
  .tp-cta__title { font-size: 30px !important; }
}
@media (max-width: 575.98px) {
  /* phones: the phone bar (always on screen) carries WhatsApp, the form and Call, so the hero leaves its two buttons to it
     and the photo and the scene come up */
  .tp-hero__actions { display: none; }
  .tp-hero__lead { margin-bottom: 18px !important; }
  .tpv-rows--table .tpv-row__n { display: none; }
  /* the band's facts stack, one a line, so a wrapped line never opens with a separator */
  .tp-intro__meta { gap: 2px 0; }
  .tp-intro__meta > span { flex-basis: 100%; }
  .tp-intro__meta > * + *::before { display: none; }
  .tp-formp__facts { flex-direction: column; gap: 2px; }   /* the form panel's facts too */
  .tp-formp__facts span + span::before { display: none; }
  /* a long English step row (5 steps) shows its short codes; the titles stay for screen readers */
  html[dir="ltr"] .tpv-steps--codes .tpv-step__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  html[dir="ltr"] .tpv-steps--codes .tpv-step__s { display: block; font-weight: 700; color: var(--tp-ink); }
  html[dir="ltr"] .tpv-steps--codes .is-todo .tpv-step__s { font-weight: 600; color: var(--tp-mute); }
}
@media (max-width: 429.98px) and (max-height: 760px) {
  .tp-photo { aspect-ratio: 2 / 1; }   /* short phones: a lower band, so the scene's first card still shows */
}
@media (max-width: 429.98px) {
  .tp-hero .sd2-status { display: none; }
  .tp-hero .sd2-hero__top { margin-bottom: 12px; }
  .tp-hero__title, html[dir="rtl"] .tp-hero__title { font-size: 28px !important; }
  .tp-hero__lead { font-size: 15.5px !important; margin-bottom: 14px !important; }
}
@media (max-width: 380px) {
  .tp-bar__btn { font-size: 14px; gap: 5px; padding: 0 6px; }
  .tp-bar__btn span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-sc *, .tp-sc *::before, .tp-sc *::after, .tpf *, .tpf *::before, .tpf *::after, .tpv, .tpv *, .tpv *::before, .tpv *::after,
  .tp-status .sd2-status__dot, .tp-kicker__dot { animation: none !important; transition: none !important; }
  .tp-tabp, .tp-tab, .tp-chip { transition: none; }
  .tpf-wire__pkt, .tpf-journey__walker { display: none; }
}

/* ==== scene sitectl ==== */
.tp-sc--sitectl .tp-q { grid-template-columns: 4em minmax(0, 1fr) auto; }
.tp-sc--sitectl .tp-f__d { direction: ltr; unicode-bidi: isolate; }
.tp-sc--sitectl .tp-ph__slot--pick { white-space: nowrap; }
@container tpstage (max-width: 560px) {
  .tp-sc--sitectl .tp-q { grid-template-columns: minmax(0, 1fr) auto; }
  .tp-sc--sitectl .tp-q > code { display: none; }
  .tp-sc--sitectl .tp-q { gap: .4em; padding-inline: .45em; }
  .tp-sc--sitectl .tp-cl__cards { inset-inline-start: 13.2em; }
  .tp-sc--sitectl .tp-card2 { padding-inline: .7em; }
  .tp-sc--sitectl .tp-q__s { padding-inline: .5em; }
  .tp-sc--sitectl .tp-q__p b { font-size: max(.74em, 9px); }
}
/* ==== end scene sitectl ==== */

/* ==== scene revenue ==== */
/* the clinic template's markup and rules are used as they are; no overrides needed */
/* ==== end scene revenue ==== */

/* ==== scene launch ==== */
.tp-sc--launch .tp-beta__t { font-size: max(.98em, 9px); font-weight: 700; line-height: 1.3; color: #1A1C21; }
.tp-sc--launch .tp-pp__vat { font-family: inherit; }
.tp-sc--launch[data-step="5"] .tp-scn.is-cur .tp-xml__l[data-hl="5"] { background: color-mix(in srgb, var(--tp-accent-on-ink) 18%, transparent); color: #F4F5F7; box-shadow: inset calc(var(--tp-dir) * -.18em) 0 0 var(--tp-accent-on-ink); }
.tp-sc--launch .tp-stamp b { line-height: 1.3; }
.tp-sc--launch .tp-stamp small { margin-top: .6em; line-height: 1.3; }
.tp-sc--launch .tp-stamp { bottom: 3.2em; }   /* clear of the estimate's total */
/* ==== end scene launch ==== */
/* ==== scene wainbox ==== */
.tp-sc--wainbox .wa-top { display: flex; align-items: center; gap: .55em; margin: 0; padding: .45em .55em; border-radius: .9em; background: var(--s-bg2); }
.tp-sc--wainbox .wa-top > span:last-child { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.tp-sc--wainbox .wa-top b { font-size: .86em; white-space: nowrap; }
.tp-sc--wainbox .wa-top small { font-size: max(.68em, 9px); color: var(--s-mute); white-space: nowrap; }
.tp-sc--wainbox .wa-chat { display: flex; flex-direction: column; gap: .6em; flex: 1; min-height: 0; padding: .7em .35em; border-radius: .9em; background: var(--tp-accent-soft); }
.tp-sc--wainbox .wa-b { max-width: 86%; margin: 0; font-size: max(.76em, 9px); line-height: 1.45; }
.tp-sc--wainbox .wa-b > p { margin: 0; }
.tp-sc--wainbox .wa-b--me { margin-left: auto; padding: .5em .75em; border-radius: .9em; background: var(--tp-accent); color: var(--tp-accent-contrast); }
.tp-sc--wainbox .wa-b--bot { margin-right: auto; padding: .5em .65em; border-radius: .9em; background: var(--s-bg); color: var(--s-ink); box-shadow: 0 0 0 1px var(--s-line); }
.tp-sc--wainbox .wa-qrs { display: flex; flex-direction: column; gap: .3em; margin-top: .5em; }
.tp-sc--wainbox .wa-qr { padding: .32em .5em; border-radius: 100px; border: 1px solid var(--tp-accent); color: var(--tp-accent); font-size: max(.9em, 9px); font-weight: 700; text-align: center; white-space: nowrap; transition: background .3s ease, color .3s ease; }
.tp-sc--wainbox .wa-qr--pick.is-on { background: var(--tp-accent); color: var(--tp-accent-contrast); }
.tp-arm .tp-sc--wainbox .wa-qr--pick[data-at]:not(.is-on) { visibility: visible; opacity: 1; transform: none; }
.tp-sc--wainbox .wa-b--ok p { display: flex; align-items: flex-start; gap: .35em; }
.tp-sc--wainbox .wa-b--ok p svg { flex: none; width: 1.2em; height: 1.2em; margin-top: .1em; color: var(--tp-accent); }
.tp-sc--wainbox .wa-pay { display: block; margin-top: .5em; padding: .35em .5em; border-radius: 100px; background: var(--s-ink); color: var(--s-bg); font-size: max(.9em, 9px); font-weight: 700; text-align: center; }
.tp-sc--wainbox .tp-file__flag { max-width: 100%; white-space: normal; border-radius: .9em; line-height: 1.35; }
.tp-sc--wainbox .tp-f__d { font-variant-numeric: tabular-nums; font-weight: 700; }
.tp-sc--wainbox .tp-remind { width: 21em; }
/* ==== end scene wainbox ==== */
/* ==== scene kpi ==== */
.tp-sc--kpi .tp-ph__day { display: flex; flex-direction: column; gap: .1em; padding: .45em .2em; line-height: 1.25; }
.tp-sc--kpi .tp-ph__day b { font-size: 1.35em; font-variant-numeric: tabular-nums; }
.tp-sc--kpi .tp-ph__day small { font-size: max(.95em, 9px); font-weight: 600; opacity: .8; }
.tp-sc--kpi .tp-ph__slots { grid-template-columns: repeat(6, 1fr); align-items: end; gap: .45em; height: 5.2em; padding-bottom: 0; border-bottom: 1px solid var(--s-line); }
.tp-sc--kpi .tp-ph__slot { height: var(--h); padding: 0; border: 0; border-radius: .35em .35em 0 0; background: var(--s-bg2); }
.tp-sc--kpi .tp-ph__slot--pick { background: var(--tp-accent); }
.tp-arm .tp-sc.tp-sc--kpi .tp-ph__slot--pick[data-at]:not(.is-on) { background: var(--s-bg2); border: 0; }
.tp-sc--kpi .tp-ph__slot { transition: background .3s ease; }
.tp-sc--kpi .tp-f--neg .tp-f__ico { background: #B42318; color: #fff; }
.tp-sc--kpi .tp-f--neg .tp-f__t, .tp-sc--kpi .tp-f--neg .tp-f__d { color: #B42318; font-weight: 700; }
@container tpstage (max-width: 560px) {
  .tp-sc--kpi .tp-q { grid-template-columns: 2.2em minmax(0, 1fr) auto; gap: .3em; padding-inline: .4em; }
  .tp-sc--kpi .tp-q__s { padding-inline: .35em; font-size: max(.62em, 9px); }
  .tp-sc--kpi .tp-q code { font-size: max(.7em, 9px); }
  .tp-sc--kpi .tp-q__p b { font-size: max(.72em, 9px); }
}
/* ==== end scene kpi ==== */
/* ==== scene mvp ==== */
.tp-sc--mvp .tp-chip { display: inline-block; padding: .08em .6em; border-radius: 100px; font-size: max(.74em, 9px); font-weight: 700; line-height: 1.5; white-space: nowrap; }
.tp-sc--mvp .tp-chip--in { background: var(--tp-a-soft, #FEECE3); color: var(--tp-a, #B24E01); }
.tp-sc--mvp .tp-chip--later { background: #EEF0F3; color: #5B5F68; }
.tp-sc--mvp .tp-paper__lines tr.is-later td:first-child, .tp-sc--mvp .tp-paper__lines tr.is-later td:last-child { color: #6A6E77; }
.tp-sc--mvp .tp-paper__lines td:nth-child(2), .tp-sc--mvp .tp-paper__lines th:nth-child(2) { text-align: center; }
.tp-sc--mvp .tp-paper__lines tr.is-later td:first-child { text-decoration: line-through; text-decoration-color: rgba(106, 110, 119, .45); }
.tp-sc--mvp .tp-paper__lines td { padding-block: .3em; }
.tp-sc--mvp .tp-stamp b { line-height: 1.3; }
.tp-sc--mvp .tp-stamp small { margin-top: .6em; line-height: 1.3; }
.tp-sc--mvp[data-step="5"] .tp-scn.is-cur .tp-xml__l[data-hl="5"] { background: color-mix(in srgb, var(--tp-accent-on-ink) 18%, transparent); color: #F4F5F7; box-shadow: inset calc(var(--tp-dir) * -.18em) 0 0 var(--tp-accent-on-ink); }
.tp-sc--mvp .tp-paper__qr { width: 4.4em; height: 4.4em; }
.tp-sc--mvp .tp-paper__ids { max-inline-size: 8.6em; }
.tp-sc--mvp .tp-paper__ids .tp-beta__t { font-size: max(.9em, 9px); line-height: 1.3; }
.tp-sc--mvp .tp-stamp { bottom: .6em; font-size: .85em; }
/* ==== end scene mvp ==== */
/* ==== scene workflow ==== */
.tp-sc--workflow .tp-q { grid-template-columns: 4em minmax(0, 1fr) auto; }
.tp-sc--workflow .tp-f__d { direction: ltr; unicode-bidi: isolate; }
.tp-sc--workflow .tp-ph__slot--pick { white-space: nowrap; }
.tp-sc--workflow .tp-f__t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@container tpstage (max-width: 560px) {
  .tp-sc--workflow .tp-q { grid-template-columns: minmax(0, 1fr) auto; }
  .tp-sc--workflow .tp-q > code { display: none; }
  .tp-sc--workflow .tp-q { gap: .4em; padding-inline: .45em; }
  .tp-sc--workflow .tp-cl__cards { inset-inline-start: 13.2em; }
  .tp-sc--workflow .tp-card2 { padding-inline: .7em; }
  .tp-sc--workflow .tp-q__s { padding-inline: .5em; }
  .tp-sc--workflow .tp-q__p b { font-size: max(.74em, 9px); }
}
/* ==== end scene workflow ==== */
/* ==== scene app ==== */
.tp-sc--app .tp-ph__doc { padding: .5em .55em; }
.tp-sc--app .tp-ph__doc > span:nth-child(2) { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; line-height: 1.3; }
.tp-sc--app .tp-ph__doc .tp-ph__slot { display: block; flex: none; margin-inline-start: auto; padding: .4em .5em; white-space: nowrap; }
.tp-sc--app .tp-ph__addr { flex-direction: column; align-items: flex-start; gap: .15em; }
.tp-sc--app .tp-ph__addr b { font-size: max(.9em, 9px); color: var(--s-mute); font-weight: 600; }
.tp-sc--app .tp-ph__tot { display: grid; justify-items: end; }
.tp-sc--app .tp-ph__tot > span { grid-area: 1 / 1; }
.tp-sc--app .tp-q__p small { direction: ltr; unicode-bidi: plaintext; text-align: start; }
.tp-sc--app .tp-ph__doc { gap: .45em; }
.tp-sc--app .tp-ph__doc b { font-size: .8em; overflow-wrap: anywhere; }
/* ==== end scene app ==== */
/* ==== scene order ==== */
.tp-sc--order { height: 35.4em; }
.tp-sc--order .tp-paper__head { padding-bottom: .7em; }
.tp-sc--order .tp-paper__tot p { padding: .15em 0; }
.tp-sc--order .tp-pp__vat { font-family: inherit; }
.tp-sc--order[data-step="5"] .tp-scn.is-cur .tp-xml__l[data-hl="5"] { background: color-mix(in srgb, var(--tp-accent-on-ink) 18%, transparent); color: #F4F5F7; box-shadow: inset calc(var(--tp-dir) * -.18em) 0 0 var(--tp-accent-on-ink); }
.tp-sc--order .tp-stamp b { line-height: 1.3; }
.tp-sc--order .tp-stamp small { margin-top: .6em; line-height: 1.3; }
/* the stamp sits a little lower than the template's, clear of the order total */
.tp-sc--order .tp-stamp { bottom: 3.2em; }
@container tpstage (max-width: 560px) {
  .tp-sc--order { height: 39.4em; }
  .tp-sc--order .tp-track { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .2em; }
  .tp-sc--order .tp-trk__t { font-size: max(.66em, 9px); white-space: nowrap; }
}
/* ==== end scene order ==== */
/* ==== scene store ==== */
.tp-sc--store .tp-f__d { direction: ltr; unicode-bidi: isolate; }
.tp-sc--store .tp-f__d .tp-q__s { font-size: max(.62em, 9px); }
.tp-sc--store .tp-ph__slot { white-space: nowrap; }
@container tpstage (max-width: 560px) {
  .tp-sc--store .tp-q { grid-template-columns: minmax(0, 1fr) auto; gap: .4em; padding-inline: .45em; }
  .tp-sc--store .tp-q > code { display: none; }
  .tp-sc--store .tp-cl__cards { inset-inline-start: 13.2em; }
  .tp-sc--store .tp-card2 { padding-inline: .7em; }
  .tp-sc--store .tp-q__s { padding-inline: .5em; }
  .tp-sc--store .tp-q__p b { font-size: max(.74em, 9px); }
}
/* ==== end scene store ==== */
