/* tpl: what the design-system page templates add to the shared reference files (src/shared/layouts/TemplateLayout.astro).
   Component visuals drawn for the template pages (Pivot Table family, Tailwind 3 theme), the feature-page topic prose,
   the scene layers driven by tpl.js. Every rule is scoped to .sdsx .page-tpl. */

/* ---------------------------------------------------------------- feature page topics: grounds alternate by position */
.sdsx.page-tpl main > section.tpl-topic:nth-of-type(even){background:rgb(var(--cs-900))}
.sdsx.page-tpl main > section.tpl-topic:nth-of-type(odd){background:rgb(var(--cs-950))}
.sdsx.page-tpl .tpl-prose > p{margin:0 0 14px}
.sdsx.page-tpl .tpl-prose > ul{list-style:none;padding:0;margin:4px 0 16px;display:grid;gap:10px}
.sdsx.page-tpl .tpl-prose > ul > li{position:relative;padding-left:28px;color:rgb(var(--cs-300));line-height:1.55}
.sdsx.page-tpl .tpl-prose > ul > li:before{content:"";position:absolute;left:0;top:3px;width:18px;height:18px;border-radius:999px;background:rgb(var(--cs-brand) / .1)}
.sdsx.page-tpl .tpl-prose > ul > li:after{content:"";position:absolute;left:6px;top:7px;width:6px;height:9px;border:solid rgb(var(--cs-brand));border-width:0 2px 2px 0;transform:rotate(45deg)}
.sdsx.page-tpl .tpl-prose code{font-family:var(--font-mono);font-size:.9em;background:rgb(var(--cs-850, var(--cs-900)));padding:1px 5px;border-radius:4px}
.sdsx.page-tpl .tpl-sub{border-top:1px solid rgb(var(--cs-800));margin-top:32px;padding-top:28px}
.sdsx.page-tpl .tpl-sub h3{font-family:var(--font-heading);font-size:20px;font-weight:600;letter-spacing:0;margin:0 0 6px;color:rgb(var(--cs-50))}
.sdsx.page-tpl .tpl-sub p{margin:0 0 16px;color:rgb(var(--cs-400))}
.sdsx.page-tpl .tpl-ds--solo{grid-template-columns:minmax(0,760px)}
.sdsx.page-tpl .tpl-gs-t{margin:14px 0 8px;color:rgb(var(--cs-400));font-size:14px;line-height:1.5}
.sdsx.page-tpl .tpl-gs-t b{color:rgb(var(--cs-100));font-weight:600}
.sdsx.page-tpl .tpl-gs-t:first-of-type{margin-top:0}
.sdsx.page-tpl .tpl-rvb--nostory .rvb-q{grid-column:span 1}
.sdsx.page-tpl .tpl-proof-q{align-self:stretch}
.sdsx.page-tpl .gai3.tpl-gai--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.sdsx.page-tpl .gai3.tpl-gai--1{grid-template-columns:minmax(0,560px)}
@media (max-width:760px){.sdsx.page-tpl .gai3.tpl-gai--2{grid-template-columns:minmax(0,1fr)}}
.sdsx.page-tpl .rs > .sf:not(.sf-pop){width:100%}
.sdsx.page-tpl .tpl-vg{display:flex;align-items:center}
.sdsx.page-tpl .tpl-vg > *{width:100%}

/* ---------------------------------------------------------------- scenes (tpl.js): stacked layers, step strip */
.sdsx.page-tpl .tpl-stack{display:grid;position:relative}
.sdsx.page-tpl .tpl-stack > .tpl-layer{grid-area:1/1;transition:opacity .45s cubic-bezier(.4,0,.2,1)}
.sdsx.page-tpl .tpl-stack > .tpl-layer:not(.is-on){opacity:0;visibility:hidden}
.sdsx.page-tpl .tpl-stack > .tpl-layer--over{z-index:3;align-self:start;justify-self:start}
.sdsx.page-tpl [data-tpl].is-fade .tpl-stack{opacity:0;transition:opacity .6s cubic-bezier(.7,0,.84,0)}
.sdsx.page-tpl [data-tpl] .tpl-stack{transition:opacity .4s cubic-bezier(.16,1,.3,1)}
.sdsx.page-tpl .tpl-hw{max-width:1040px}
@media (prefers-reduced-motion:reduce){.sdsx.page-tpl .tpl-stack > .tpl-layer{transition:none}}

/* ---------------------------------------------------------------- Pivot Table (Tailwind 3) */
.sdsx.page-tpl .tpv{background:#fff;border:1px solid var(--sf-line);border-radius:8px;overflow:hidden;text-align:left;width:100%}
.sdsx.page-tpl .tpv.sf-shadow,.sdsx.page-tpl .tpc.sf-shadow{border-color:transparent}
.sdsx.page-tpl .tpv-t{font-size:13px;line-height:18px}
.sdsx.page-tpl .tpv-t > *{height:32px;padding:0 10px;min-width:0;overflow:hidden;text-overflow:ellipsis}
.sdsx.page-tpl .tpv-t > :nth-child(n){border-left:1px solid var(--sf-line)}
.sdsx.page-tpl .tpv-t .s-hd{color:var(--sf-sub);font-weight:600;background:#fff}
.sdsx.page-tpl .tpv-t .tpv-corner{border-left:0}
.sdsx.page-tpl .tpv-t .s-rh{border-left:0;background:#fff;color:var(--sf-text);gap:6px}
.sdsx.page-tpl .tpv-t .s-rh.tpv-l1{padding-left:34px;color:var(--sf-sub)}
.sdsx.page-tpl .tpv-t .s-v{color:var(--sf-sub);font-variant-numeric:tabular-nums}
.sdsx.page-tpl .tpv-t .tpv-sub{font-weight:600;color:var(--sf-text)}
.sdsx.page-tpl .tpv-t .s-gt{background:var(--sf-soft);border-left:0;font-weight:600}
.sdsx.page-tpl .tpv-t .s-gt.s-v{border-left:1px solid var(--sf-line)}
.sdsx.page-tpl .tpv-t > :nth-last-child(-n+99).s-gt{border-bottom:0}
.sdsx.page-tpl .tpv-t .tpv-cg{justify-content:flex-start;gap:6px;border-left:1px solid var(--sf-line)}
.sdsx.page-tpl .tpv-x{font-size:12px;color:var(--sf-muted);width:14px;flex:none}
.sdsx.page-tpl .tpv-rl{overflow:hidden;text-overflow:ellipsis}
.sdsx.page-tpl .tpv-t .tpv-hi{background:#dcfce7;color:#166534}
.sdsx.page-tpl .tpv-t .tpv-lo{background:#fee2e2;color:#991b1b}
.sdsx.page-tpl .tpv-t .tpv-sel{background:var(--sf-primary-50);box-shadow:inset 0 0 0 1px var(--sf-primary)}
.sdsx.page-tpl .tpv--sm .tpv-t{font-size:12px}
.sdsx.page-tpl .tpv--sm .tpv-t > *{height:28px;padding:0 8px}
.sdsx.page-tpl .tpv--sm .tpv-t .s-rh.tpv-l1{padding-left:28px}
/* grouping bar: filters across the top, values | columns, then rows */
.sdsx.page-tpl .tpv-gb{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);border-bottom:1px solid var(--sf-line);background:#fff}
.sdsx.page-tpl .tpv-gbz{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-height:40px;padding:6px 8px;min-width:0}
.sdsx.page-tpl .tpv-gbz--f{grid-column:1/-1;border-bottom:1px solid var(--sf-line)}
.sdsx.page-tpl .tpv-gbz--v{border-right:1px solid var(--sf-line)}
.sdsx.page-tpl .tpv-gbz--r{grid-column:1/-1;border-top:1px solid var(--sf-line)}
.sdsx.page-tpl .tpv-gb--chart .tpv-gbz--r{justify-content:flex-start}
.sdsx.page-tpl .tpv-ph{color:var(--sf-faint);font-size:12px}
.sdsx.page-tpl .tpv-pill{display:inline-flex;align-items:center;gap:4px;height:26px;padding:0 6px 0 8px;border:1px solid var(--sf-line2);border-radius:4px;background:var(--sf-soft);color:var(--sf-sub);font-size:12px;font-weight:500;white-space:nowrap}
.sdsx.page-tpl .tpv-pill .sfi{font-size:12px;color:var(--sf-muted)}
.sdsx.page-tpl .tpv-chsel{margin-left:auto;display:inline-flex;align-items:center;gap:8px;height:28px;padding:0 8px 0 10px;border:1px solid var(--sf-line2);border-radius:6px;background:#fff;font-size:12px;color:var(--sf-text)}
.sdsx.page-tpl .tpv-split{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:12px;align-items:start}
.sdsx.page-tpl .tpv-both{display:grid;gap:12px}
@media (max-width:600px){.sdsx.page-tpl .tpv-split{grid-template-columns:minmax(0,1fr)}.sdsx.page-tpl .tpv-split .tfl{display:none}}
/* narrow screens: keep the first columns readable, hide the rest of the value columns */
@media (max-width:520px){.sdsx.page-tpl .tpv-t{font-size:12px}.sdsx.page-tpl .tpv-t > *{padding:0 6px}.sdsx.page-tpl .tpv-t .s-rh.tpv-l1{padding-left:24px}}

/* ---------------------------------------------------------------- Pivot Chart */
.sdsx.page-tpl .tpc{background:#fff;border:1px solid var(--sf-line);border-radius:8px;overflow:hidden;width:100%}
.sdsx.page-tpl .tpc .sf-chart{width:100%;height:auto;border-radius:0}

/* ---------------------------------------------------------------- field list */
.sdsx.page-tpl .tfl{background:#fff;border:1px solid var(--sf-line);border-radius:8px;overflow:hidden;font-size:12px;width:100%}
.sdsx.page-tpl .tfl-h{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid var(--sf-line);font-size:14px}
.sdsx.page-tpl .tfl-b{display:grid;gap:0}
.sdsx.page-tpl .tfl-f{display:grid;gap:6px;padding:10px 12px;border-bottom:1px solid var(--sf-line)}
.sdsx.page-tpl .tfl-s{height:28px;font-size:12px}
.sdsx.page-tpl .tfl-i{display:flex;align-items:center;gap:8px;color:var(--sf-text)}
.sdsx.page-tpl .tfl-a{display:grid;grid-template-columns:1fr 1fr}
.sdsx.page-tpl .tfl-z{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-height:72px;padding:8px 10px;border-bottom:1px solid var(--sf-line);border-right:1px solid var(--sf-line)}
.sdsx.page-tpl .tfl-z:nth-child(2n){border-right:0}
.sdsx.page-tpl .tfl-zh{display:flex;align-items:center;gap:6px;color:var(--sf-muted);font-weight:600;font-size:11px;text-transform:uppercase;letter-spacing:.04em}

/* ---------------------------------------------------------------- member filter dialog (Tailwind 3) */
.sdsx.page-tpl .tmf{width:240px;background:#fff;border-radius:8px;font-size:13px;margin:76px 0 0 12px}
.sdsx.page-tpl .tmf-h{padding:12px 14px 8px;font-weight:600;font-size:14px}
.sdsx.page-tpl .tmf-b{display:grid;gap:8px;padding:4px 14px 12px}
.sdsx.page-tpl .tmf-b .sf-in{height:30px;font-size:12px}
.sdsx.page-tpl .tmf-i{display:flex;align-items:center;gap:8px}
.sdsx.page-tpl .tmf-f{display:flex;justify-content:flex-end;gap:8px;padding:10px 14px;border-top:1px solid var(--sf-line)}

/* ---------------------------------------------------------------- AI AssistView prompt over a pivot (AI-powered Pivot Table) */
.sdsx.page-tpl .tai{width:min(300px,calc(100% - 24px));margin:12px;font-size:13px;border-radius:8px}
.sdsx.page-tpl .tai .sf-aiv-b{display:grid;gap:10px;padding:12px}
.sdsx.page-tpl .tai .sf-aiv-p{justify-self:end;max-width:92%;background:var(--sf-soft2);border-radius:8px;padding:8px 10px}
.sdsx.page-tpl .tpl-stack > .tpl-layer--right{justify-self:end;align-self:end}
.sdsx.page-tpl .tpl-ask{display:grid;gap:10px;width:100%}
.sdsx.page-tpl .tpl-ask .tai{width:100%;margin:0;box-shadow:none;border:1px solid var(--sf-line)}
.sdsx.page-tpl .tpl-ask .tai .sf-aiv-h{display:none}
.sdsx.page-tpl .tpl-ask .tai .sf-aiv-b{padding:10px}
.sdsx.page-tpl .tpc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%}
.sdsx.page-tpl .tpc-grid figure{margin:0;display:grid;gap:6px}
.sdsx.page-tpl .tpc-grid figcaption{font-size:12px;color:rgb(var(--cs-500));text-align:center}
.sdsx.page-tpl .tpl-prose a:not(.btn){color:rgb(var(--cs-brand-strong));font-weight:600}
.sdsx.page-tpl .tpl-prose a:not(.btn):hover{text-decoration:underline;text-underline-offset:3px}
.sdsx.page-tpl .tpl-prose .dd-links{margin:4px 0 8px}
/* link rows the generated pages style in gen.css (not loaded by template pages) */
.sdsx.page-tpl .gen-sc-links{display:flex;flex-wrap:wrap;gap:6px 20px;margin-top:auto}
.sdsx.page-tpl .gen-tl-links{display:flex;flex-wrap:wrap;gap:6px 20px;margin-top:16px}
.sdsx.page-tpl .gs2.gen-gs1{grid-template-columns:minmax(0,1fr)}
/* the hero pivot table on phones: smaller type so five columns fit */
@media (max-width:520px){.sdsx.page-tpl .tpl-hw .tpv-t{font-size:11px}.sdsx.page-tpl .tpl-hw .tpv-t>*{padding:0 4px;height:28px}.sdsx.page-tpl .tpl-hw .tpv-t .s-rh.tpv-l1{padding-left:18px}.sdsx.page-tpl .tpl-hw .tpv-x{width:10px;font-size:10px}}

/* ---------------------------------------------------------------- resources (ResourceLinks) and related links: grid3-*.css
   has them, but framework homes do not load grid3; same rules, scoped to template pages */
.sdsx.page-tpl .rsx{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:32px}
.sdsx.page-tpl .rsx h3{display:flex;align-items:center;gap:10px;margin:0 0 6px;padding-bottom:12px;border-bottom:1px solid rgb(var(--cs-800));font-size:16px}
.sdsx.page-tpl .rsx h3 .ico{width:18px;height:18px;color:rgb(var(--cs-brand))}
.sdsx.page-tpl .rsx ul{list-style:none;margin:0;padding:0}
.sdsx.page-tpl .rsx a{display:inline-block;padding:7px 0;font-size:15px;color:rgb(var(--cs-300))}
.sdsx.page-tpl .rsx a:hover{color:rgb(var(--cs-brand-strong));text-decoration:underline;text-underline-offset:3px}
.sdsx.page-tpl .af-rel{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;padding-top:20px;border-top:1px solid rgb(var(--cs-800));font-size:15px}
.sdsx.page-tpl .af-rel>span{color:rgb(var(--cs-300));font-weight:600}
.sdsx.page-tpl .af-rel a{color:rgb(var(--cs-brand-strong));text-decoration:underline #0046d14d;text-underline-offset:4px}
.sdsx.page-tpl .rs-fw{margin-top:36px}
@media (max-width:480px){.sdsx.page-tpl .rsx{grid-template-columns:1fr;gap:20px}}
.sdsx.page-tpl .sx-head{display:flex;flex-direction:column;gap:16px;max-width:820px}
.sdsx.page-tpl .gfx-foot{display:flex;align-items:center;gap:14px}
/* framework-home hero picture for platforms without AI tools: two component pictures, overlapped */
.sdsx.page-tpl .tpl-hpair{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:16px;padding:24px;border-radius:20px;background:linear-gradient(160deg,#eef3ff,#f7f9fc)}
.sdsx.page-tpl .tpl-hpair > div{background:#fff;border-radius:10px;box-shadow:0 1px 2px #0000000f,0 12px 32px -8px #0f172a2e;overflow:hidden}
.sdsx.page-tpl .tpl-hpair .sf{border:0}
.sdsx.page-tpl .faq-a ul{margin:8px 0 0;padding-left:20px;display:grid;gap:6px}
/* product home: the live page's bullets under an in-depth feature */
.sdsx.page-tpl .tpl-dd-list{margin:6px 0 0;padding-left:20px;display:grid;gap:4px;list-style:disc;color:rgb(var(--cs-400));font-size:15.5px;line-height:1.6}
.sdsx.page-tpl .dd-item p + .tpl-dd-list{margin-top:8px}
/* generic component pictures (gen.css): small text at 4.5:1 (the pictures' palette uses 700 shades, sds-pages/gen/visuals-app.mjs) */
.sdsx.page-tpl .gv .gstat span{color:#15803d}
.sdsx.page-tpl .gv .gli small{color:#4b5563}
.sdsx.page-tpl .gv .gkfull > small{color:#4b5563}
.sdsx.page-tpl .gv .gbprop .sf-av{color:#fff}
/* ===== framework homes: real screenshots, platform hero, customer stories, resource cards ===== */
/* screenshot (visual kind "shot"): a demo or showcase app, optionally in a browser frame */
.sdsx.page-tpl .tpx-pic{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden;background:#fff}
.sdsx.page-tpl .tpx-pic img{display:block;width:100%;height:100%;min-height:0;flex:1;object-fit:cover;object-position:top left}
.sdsx.page-tpl .tpx-bar{display:flex;align-items:center;gap:6px;flex:none;height:28px;padding:0 10px;background:#f3f5f9;border-bottom:1px solid rgb(var(--cs-800))}
.sdsx.page-tpl .tpx-bar i{width:8px;height:8px;border-radius:50%;background:#d6dbe4}
.sdsx.page-tpl .tpx-url{margin-left:6px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px 10px;border-radius:999px;background:#fff;box-shadow:inset 0 0 0 1px rgb(var(--cs-800));font-family:var(--font-mono);font-size:10.5px;color:rgb(var(--cs-450))}
.sdsx.page-tpl .core-vis--pic{height:196px;padding:0!important;background:#fff!important}
.sdsx.page-tpl .scx-th--pic{height:auto;aspect-ratio:16/9;margin:0;padding:0!important;border-radius:var(--radius-md) var(--radius-md) 0 0;background:#fff}
.sdsx.page-tpl .aix-stage .tp-panel > .tpx-pic{height:380px;border-bottom:1px solid rgb(var(--cs-800))}
@media (max-width:680px){.sdsx.page-tpl .aix-stage .tp-panel > .tpx-pic{height:260px}}
/* hero (visual kind "app-hero"): the platform's showcase app, the component marked, the assistant writing its code */
.sdsx.page-tpl .tpx-hero .tpx-app{margin-left:48px;border-radius:var(--radius-lg);overflow:hidden;background:#fff;box-shadow:0 1px 2px #121a2b0d,0 24px 48px -24px #0814324d,0 0 0 1px rgb(var(--cs-800))}
.sdsx.page-tpl .tpx-shot{position:relative;line-height:0}
.sdsx.page-tpl .tpx-shot img{display:block;width:100%;height:auto}
.sdsx.page-tpl .tpx-mark{position:absolute;border-radius:8px;box-shadow:0 0 0 2px rgb(var(--cs-brand)),0 0 0 6px rgb(var(--cs-brand) / 18%);transition:opacity .45s cubic-bezier(.16,1,.3,1),transform .45s cubic-bezier(.16,1,.3,1)}
.sdsx.page-tpl .tpx-lbl{position:absolute;top:-11px;right:10px;padding:2px 7px;border-radius:var(--radius-xs);background:rgb(var(--cs-brand));color:#fff;font-family:var(--font-mono);font-size:11px;font-weight:600;line-height:1.5;white-space:nowrap}
.sdsx.page-tpl .tpx-hero .tpl-layer{transition:opacity .4s cubic-bezier(.16,1,.3,1),transform .4s cubic-bezier(.16,1,.3,1)}
.js .sdsx.page-tpl .tpx-hero .tpl-layer:not(.is-on){opacity:0;transform:translateY(6px)}
.js .sdsx.page-tpl .tpx-hero .tpx-mark:not(.is-on){transform:scale(.98)}
.sdsx.page-tpl .tpx-hero.is-fade .tpl-layer{opacity:0;transition-duration:.6s}
.sdsx.page-tpl .tpx-hero .rx-calls li{opacity:1}
.sdsx.page-tpl .tpx-code{margin:0 0 10px;padding:8px 10px;border-radius:8px;background:#ffffff0d;font-family:var(--font-mono);font-size:11.5px;line-height:1.6;color:#c9d2e0;overflow:hidden}
.sdsx.page-tpl .tpx-code p{display:grid;grid-template-columns:12px 1fr;gap:6px;white-space:pre;overflow:hidden;text-overflow:ellipsis}
.sdsx.page-tpl .tpx-code p i{font-style:normal;color:#5b6b85}
.sdsx.page-tpl .tpx-code p.add{color:#e6edf7}
.sdsx.page-tpl .tpx-code p.add i{color:#5ee0a6}
.sdsx.page-tpl .tpx-code b{font-weight:500;color:#7dd3fc}
.sdsx.page-tpl .tpx-code em{font-style:normal;color:#fcd34d}
@media (width<=1080px){.sdsx.page-tpl .tpx-hero .tpx-app{margin-left:0}}
@media (prefers-reduced-motion:reduce){.sdsx.page-tpl .tpx-hero .tpl-layer{transition:none}}
/* customer stories under "Production-ready" */
.sdsx.page-tpl .tps-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 24px;margin-bottom:20px}
.sdsx.page-tpl .tps-head h3{font-family:var(--font-heading);font-size:20px;font-weight:600;letter-spacing:-.01em}
.sdsx.page-tpl .tps-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.sdsx.page-tpl .tps-card{display:flex;flex-direction:column;overflow:hidden;border-radius:14px;background:#fff;box-shadow:var(--hairline),0 1px 2px #121a2b0a;transition:box-shadow .2s var(--ease),transform .2s var(--ease)}
.sdsx.page-tpl .tps-card:hover{transform:translateY(-2px);box-shadow:var(--hairline),0 16px 32px -20px #0814324d}
.sdsx.page-tpl .tps-img{display:block;aspect-ratio:16/9;overflow:hidden;background:rgb(var(--cs-900))}
.sdsx.page-tpl .tps-img img{display:block;width:100%;height:100%;object-fit:cover}
.sdsx.page-tpl .tps-body{display:flex;flex-direction:column;gap:8px;flex:1;padding:18px 20px 20px}
.sdsx.page-tpl .tps-k{font-family:var(--font-mono);font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:rgb(var(--cs-brand-strong))}
.sdsx.page-tpl .tps-body b{font-size:16.5px;font-weight:600;line-height:1.4;color:rgb(var(--cs-100))}
.sdsx.page-tpl .tps-c{display:flex;flex-wrap:wrap;gap:6px}
.sdsx.page-tpl .tps-c span{padding:2px 8px;border-radius:999px;background:rgb(var(--cs-900));box-shadow:inset 0 0 0 1px rgb(var(--cs-800));font-size:12.5px;color:rgb(var(--cs-400))}
.sdsx.page-tpl .tps-body .link-arrow{margin-top:auto;padding-top:4px}
.sdsx.page-tpl .tps-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (width<=1080px){.sdsx.page-tpl .tps-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (width<=680px){.sdsx.page-tpl .tps-grid,.sdsx.page-tpl .tps-grid--2{grid-template-columns:minmax(0,1fr)}}
/* resources as cards (framework homes) */
.sdsx.page-tpl .rsc{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.sdsx.page-tpl .rsc-card{display:flex;flex-direction:column;gap:10px;padding:22px 22px 18px;border-radius:14px;background:#fff;box-shadow:var(--hairline),0 1px 2px #121a2b0a}
.sdsx.page-tpl .rsc-card h3{display:flex;align-items:center;gap:12px;font-size:17px;font-weight:600;color:rgb(var(--cs-100))}
.sdsx.page-tpl .rsc-card p{font-size:14.5px;line-height:1.55;color:rgb(var(--cs-450))}
.sdsx.page-tpl .rsc-card ul{display:grid;gap:2px;margin-top:auto;padding-top:6px;list-style:none}
.sdsx.page-tpl .rsc-card .link-arrow{display:inline-flex;padding:5px 0;font-size:14.5px}
.sdsx.page-tpl .section--muted .rsc-card{box-shadow:var(--hairline)}
@media (width<=1080px){.sdsx.page-tpl .rsc{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (width<=680px){.sdsx.page-tpl .rsc{grid-template-columns:minmax(0,1fr)}}
.sdsx.page-tpl .tpx-hero .rx-ide-h > span:first-of-type{white-space:nowrap}
.sdsx.page-tpl .tpx-hero .rx-mcp{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* ProductHeader on template pages, as on the React components reference: below 860px the trial button gives way to the
   in-page links (the older pages keep the 2026-11-18 name + trial row); on phones the links scroll sideways */
@media (max-width:860px){
  body.sds-theme .sdsx.page-tpl .sds-prow .hp-trial,body.sds-theme .sdsx.page-tpl .sds-prow .hp-expert{display:none}
  body.sds-theme .sdsx.page-tpl .sds-prow .hp-name{flex-shrink:0;max-width:44%}
  body.sds-theme .sdsx.page-tpl .sds-prow .hp-links{display:flex;flex:0 1 auto;min-width:0;margin-left:auto;justify-content:flex-start}
}
@media (max-width:600px){
  body.sds-theme .sdsx.page-tpl .sds-prow .hp-name{max-width:38%;font-size:14.5px}
  body.sds-theme .sdsx.page-tpl .sds-prow .hp-links{justify-content:flex-start;overflow-x:auto;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,#000 88%,transparent)}
  body.sds-theme .sdsx.page-tpl .sds-prow .hp-links::-webkit-scrollbar{display:none}
  body.sds-theme .sdsx.page-tpl .sds-prow .hp-links > a{flex-shrink:0}
}
@media (max-width:860px){
  body.sds-theme .sdsx.page-tpl .sds-prow .logo{display:none}
  body.sds-theme .sdsx.page-tpl .sds-prow .hp-name{margin-left:0;padding-left:0;border-left:0;margin-right:16px}
  body.sds-theme .sdsx.page-tpl .sds-prow .hp-links{overflow-x:auto;scrollbar-width:none}
  body.sds-theme .sdsx.page-tpl .sds-prow .hp-links::-webkit-scrollbar{display:none}
  body.sds-theme .sdsx.page-tpl .sds-prow .hp-links > a{flex-shrink:0}
}
/* four in-page links (the reference has three): the external links give way below 1180px */
@media (max-width:1180px){body.sds-theme .sdsx.page-tpl .sds-prow .hp-links > .hp-ext,body.sds-theme .sdsx.page-tpl .sds-prow .hp-sep{display:none}}
/* ===== web platform homes, review 2 (2026-11-19) ===== */
/* hero: the live announcement above the kicker, the note and links under the buttons, linked proof */
.sdsx.page-tpl .tph-ann{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:-2px 0 14px;font-size:13.5px;line-height:1.45;color:rgb(var(--cs-450))}
.sdsx.page-tpl .tph-ann-k{padding:1px 8px;border-radius:999px;background:rgb(var(--cs-brand-subtle));color:rgb(var(--cs-brand-strong));font-family:var(--font-mono);font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.sdsx.page-tpl .tph-ann a{display:inline-flex;align-items:center;gap:4px;font-weight:600;color:rgb(var(--cs-brand-strong))}
.sdsx.page-tpl .tph-ann a .ico{width:14px;height:14px}
.sdsx.page-tpl .tph-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 22px;margin:-6px 0 22px;font-size:14px;color:rgb(var(--cs-450))}
.sdsx.page-tpl .tph-note{display:inline-flex;align-items:center;gap:6px}
.sdsx.page-tpl .tph-note .ico{width:15px;height:15px;color:#15803d}
.sdsx.page-tpl .tph-meta .link-arrow{font-size:14px}
.sdsx.page-tpl .rh-proof li > a{display:flex;flex-direction:column;gap:2px;color:inherit}
.sdsx.page-tpl .rh-proof li > a:hover b{color:rgb(var(--cs-brand-strong))}
.sdsx.page-tpl .rh-proof li > a span{text-decoration:underline;text-decoration-color:rgb(var(--cs-700));text-underline-offset:3px}
/* drawn card visuals added for the platform homes (tree grid, kanban, diagram, date picker) */
.sdsx.page-tpl .tpc-tree .tpc-l1{padding-left:28px!important}
.sdsx.page-tpl .tpc-tree .sfi{margin-right:4px;color:var(--sf-muted)}
.sdsx.page-tpl .tpc-kan{--kc:3;font-size:12px}
.sdsx.page-tpl .tpc-kan .s-kh{height:34px;padding:9px 8px}
.sdsx.page-tpl .tpc-kan .sf-kcard{padding:6px 9px}
.sdsx.page-tpl .tpc-kan .sf-kcard b,.sdsx.page-tpl .tpc-kan .sf-kcard span{font-size:11.5px;line-height:17px}
.sdsx.page-tpl .tpc-kan .tpc-kdrag{transform:rotate(-3deg) translateY(-2px);box-shadow:0 8px 18px -8px #0814324d;border-color:#4f46e5}
.sdsx.page-tpl .tpc-dia{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 0 0 1px var(--sf-line)}
.sdsx.page-tpl .tpc-dia svg{display:block;width:100%;height:auto}
.sdsx.page-tpl .tpc-dia text{font:500 11px/1 var(--font-sans,Inter,sans-serif);fill:#1f2937}
.sdsx.page-tpl .tpc-dia .tpc-sm{font-size:10px;fill:#64748b}
.sdsx.page-tpl .tpc-dia .tpc-dot{fill:#fff}
.sdsx.page-tpl .tpc-dp{display:flex;flex-direction:column;gap:6px;max-width:260px}
.sdsx.page-tpl .tpc-dpi{display:flex;justify-content:space-between;align-items:center;height:30px;padding:0 10px;background:#fff;border:1px solid #4f46e5;border-radius:6px;font-size:12.5px}
.sdsx.page-tpl .tpc-cal{background:#fff;border-radius:8px;box-shadow:0 0 0 1px var(--sf-line),0 10px 24px -14px #0814324d;padding:8px 10px}
.sdsx.page-tpl .tpc-calh{display:flex;align-items:center;gap:6px;margin-bottom:4px;font-size:12px}
.sdsx.page-tpl .tpc-calh b{margin-right:auto}
.sdsx.page-tpl .tpc-calg{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;text-align:center;font-size:11px;line-height:20px}
.sdsx.page-tpl .tpc-calg span:nth-child(-n+7){color:var(--sf-muted)}
.sdsx.page-tpl .tpc-calg .on{background:#4f46e5;color:#fff;border-radius:999px}
.sdsx.page-tpl .tpc-calg .now{color:#4f46e5;font-weight:700}
/* showcase thumbnail as on the reference: an inset gradient panel with the app's screenshot as a window inside */
.sdsx.page-tpl .scx-th--pic{height:158px;aspect-ratio:auto;margin:12px 12px 0;padding:14px 14px 0!important;border-radius:10px;overflow:hidden;background:radial-gradient(80% 70% at 20% 10%,#0057ff17,#0000 70%),linear-gradient(160deg,#eef4ff,#f7f9fc)}
.sdsx.page-tpl .scx-th > .tpx-pic{border-radius:8px 8px 0 0;box-shadow:0 0 0 1px #0f172a12,0 12px 28px -14px #0814324d}
/* AI components: tabs keep their own height (a short list does not stretch to the stage) */
/* AI tab list: five or more tabs fill the stage height in equal rows (as on the reference); fewer keep their own height with roomier rows */
.sdsx.page-tpl .aix{align-items:start}
.sdsx.page-tpl .aix-list{align-self:start;grid-auto-rows:min-content}
.sdsx.page-tpl .aix--5 .aix-list{align-self:stretch;grid-auto-rows:1fr}
.sdsx.page-tpl .aix:not(.aix--5) .aix-list [role=tab]{padding:22px 22px}
/* Smart TextArea / Speech to Text scenes: sf.css's one-line .sf-in loads after react3.css, so restore their text boxes */
.sdsx.page-tpl .stx-ta{height:150px;margin-top:10px;padding:6px 8px;font-size:14px;line-height:1.55;display:block;white-space:normal}
.sdsx.page-tpl .stt-ta{height:150px;padding:8px 12px 12px;font-size:14px;line-height:1.55;display:block;white-space:normal}
/* resources: card titles on one line */
.sdsx.page-tpl .rsc-card h3{white-space:nowrap}
/* Resources title ("Syncfusion ASP.NET Core resources") on one line from tablet width up */
@media (min-width:600px){.sdsx.page-tpl #resources .sh-title{white-space:nowrap;max-width:none}}
/* sticky product row links (#ai-components, #ui-kits …): the section heading stops 40px below the row (row height 72px,
   56px on phones; the section's own top padding is --section-py) */
.sdsx.page-tpl.has-prow section[id]{scroll-margin-top:max(0px,calc(72px + 40px - var(--section-py,72px)))}
@media (max-width:859px){.sdsx.page-tpl.has-prow section[id]{scroll-margin-top:max(0px,calc(56px + 40px - var(--section-py,48px)))}}
/* chrome.css skips rendering far sections (content-visibility:auto, 900px placeholder); on these pages the row jumps
   to them, and the placeholder heights made the jump overshoot on phones, so they render normally */
.sdsx.page-tpl.has-prow main > section[id]{content-visibility:visible;contain-intrinsic-size:none}
/* framework-home hero (RxHero) panels other than chart and grid: compact like the popular cards, so the two panels
   keep about the chart's and grid's height beside the AI AssistView */
.sdsx.page-tpl .rx .sf-schw,.sdsx.page-tpl .rx .sf-gantt,.sdsx.page-tpl .rx .sf-piv,.sdsx.page-tpl .rx .sf-kan{background:#fff;border:1px solid var(--sf-line);border-radius:8px;overflow:hidden;font-size:12px}
.sdsx.page-tpl .rx .sf-sch{grid-template-columns:64px repeat(var(--days,3),1fr);border-left:0}
.sdsx.page-tpl .rx .sf-sch .s-dh{height:42px;padding:4px 6px;font-size:11px;line-height:16px}
.sdsx.page-tpl .rx .sf-sch .s-dh b{font-size:13px;line-height:18px}
.sdsx.page-tpl .rx .sf-sch .s-tc,.sdsx.page-tpl .rx .sf-sch .s-wc{height:48px}
.sdsx.page-tpl .rx .sf-sch .s-tc{font-size:11px}
.sdsx.page-tpl .rx .sf-appt{padding:3px 6px;border-radius:6px}
.sdsx.page-tpl .rx .sf-appt b,.sdsx.page-tpl .rx .sf-appt span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sdsx.page-tpl .rx .sf-appt b{font-size:12px;line-height:16px}
.sdsx.page-tpl .rx .sf-appt span{font-size:10.5px;line-height:15px}
.sdsx.page-tpl .rx .sf-gantt .s-gh{height:44px}
.sdsx.page-tpl .rx .sf-gantt .s-gr{height:34px}
.sdsx.page-tpl .rx .sf-gantt .s-gl .s-gr span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.sdsx.page-tpl .rx .sf-gantt .s-gl .s-gh span,.sdsx.page-tpl .rx .sf-gantt .s-gl .s-gr span{padding:0 6px}
.sdsx.page-tpl .rx .sf-gantt .s-tl{grid-template-rows:22px 22px}
.sdsx.page-tpl .rx .sf-gantt .s-tl .s-w span{padding-left:6px;font-size:11px;line-height:22px;overflow:hidden;text-overflow:ellipsis}
.sdsx.page-tpl .rx .sf-gantt .s-tl .s-d span{font-size:10px;line-height:22px}
.sdsx.page-tpl .rx .sf-piv>*{height:32px;padding:0 10px}
.sdsx.page-tpl .rx .sf-kan{gap:6px;padding:8px}
.sdsx.page-tpl .rx .sf-kan .s-kh{height:32px;padding:8px}
.sdsx.page-tpl .rx .sf-kan .s-kc{gap:6px;padding:6px}
.sdsx.page-tpl .rx .sf-kcard{padding:6px 8px}
.sdsx.page-tpl .rx .sf-kcard b,.sdsx.page-tpl .rx .sf-kcard span{font-size:11.5px;line-height:16px}
.sdsx.page-tpl .rx .sf-kcard span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.sdsx.page-tpl .rx .rx-kdrag{transform:rotate(-2deg);box-shadow:0 8px 18px -8px #0814324d;border-color:#4f46e5}
.sdsx.page-tpl .rx .sf-kan .s-kc,.sdsx.page-tpl .rx .sf-kan .s-kh,.sdsx.page-tpl .rx .sf-kcard{min-width:0}
/* showcase card titles are the apps' exact titles from showcase.syncfusion.com: a size smaller on narrow phones so long ones fit in three lines */
@media (max-width:400px){.sdsx.page-tpl .scx-body h3{font-size:16px!important;line-height:1.3}}
/* ===== platform page fixes (issue document, 2026-11-20) ===== */
/* proof row: labels stay on one line ("ASP.NET MVC controls"); the G2 count line takes the hover color too */
.sdsx.page-tpl .rh-proof span{white-space:nowrap}
.sdsx.page-tpl .rh-proof li > a:hover span{color:rgb(var(--cs-brand-strong));text-decoration-color:currentColor}
/* showcase: the whole screenshot inside the inset panel (no crop at the bottom) */
.sdsx.page-tpl .scx-th--pic{height:auto;padding:12px!important}
.sdsx.page-tpl .scx-th > .tpx-pic{height:auto;border-radius:8px}
.sdsx.page-tpl .scx-th > .tpx-pic img{height:auto;flex:none;object-fit:contain}
/* resources: links follow the card text (top), not pushed to the card bottom */
.sdsx.page-tpl .rsc-card ul{margin-top:0}
/* AI components without the copy block (four or fewer): the list fills the stage height in equal rows */
.sdsx.page-tpl .aix--nocopy .aix-list{align-self:stretch;grid-auto-rows:1fr}
.sdsx.page-tpl .aix--nocopy .aix-vis{border-bottom:0}
/* and the stage a little lower, so its rows are not stretched far apart */
@media (min-width:1081px){.sdsx.page-tpl .aix--nocopy .aix-c{height:340px}}
/* ===== design review round 2 (React redline, 2026-11-20): pages with polish: true (main.tpl-r2) ===== */
/* Gantt card: finish-to-start connectors between the bars (card-gantt-deps) */
.sdsx .sf-gantt .gx{position:absolute;left:calc(var(--x) - 5px);top:-50%;bottom:calc(50% + 6px);width:5px;border:solid #64748b;border-width:1.5px 0 0 1.5px;border-radius:3px 0 0 0;pointer-events:none}
.sdsx .sf-gantt .gx::after{content:"";position:absolute;left:-4.5px;bottom:-1px;border:4px solid transparent;border-top:5px solid #64748b;border-bottom:0}
/* single products: the licensing line under the heading, as every section's subtitle */
.sdsx .tpl-r2 .solo-head{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px}
/* AI components: Speech to Text demo centred in its panel */
.sdsx .tpl-r2 .aix-c--stt{display:flex;align-items:center;justify-content:center}
/* FAQ: answer lists with bullets */
.sdsx .tpl-r2 .faq-a ul{list-style:disc;padding-left:22px}
.sdsx .tpl-r2 .faq-a li{margin:4px 0}
.sdsx .tpl-r2 .faq-a li::marker{color:rgb(var(--cs-500))}
/* showcase: the detail page's own image, whole, in a fixed 16:9 frame (a wider image is centred with thin bands, never cropped) */
.sdsx .tpl-r2 .scx-th > .tpx-pic{aspect-ratio:16/9;width:100%;height:auto;background:#fff}
.sdsx .tpl-r2 .scx-th > .tpx-pic img{width:100%;height:100%;flex:1;aspect-ratio:auto;object-fit:contain;object-position:center}
@media (max-width:480px){
  /* hero scene: the grid, the AI panel and the assistant only (the chart is left out), the grid without its middle column */
  .sdsx .tpl-r2 .rx .rx-main > .rx-c:first-child:not(:only-child){display:none}
  .sdsx .tpl-r2 .rx .sf-grid{--gc:minmax(0,1fr) 96px!important}
  .sdsx .tpl-r2 .rx .sf-grid .sf-r > span:nth-child(2){display:none}
}
@media (max-width:600px){
  /* customer logos: the strip in two rows at twice the size */
  .sdsx .tpl-r2 .rh-logos{overflow:hidden;align-items:flex-start}
  .sdsx .tpl-r2 .rh-logos .mono-label{align-self:center}
  .sdsx .tpl-r2 .rh-logos .logo-strip{width:200%;max-width:none;height:auto;margin:0;align-self:flex-start;flex:none}
  .sdsx .tpl-r2 .rh-logos::after{content:"";display:block;width:100%;aspect-ratio:570/68;margin-top:10px;background:url(https://cdn.syncfusion.com/content/images/home-v4/trusted-companies-mono-img-v1.webp) right center/200% auto no-repeat}
  /* UI kit: both buttons full width, as in the hero */
  .sdsx .tpl-r2 #ui-kits .btn{width:100%;justify-content:center}
  /* AI-assisted tools: only the open tool's window takes space */
  .sdsx .tpl-r2 #ai-tools .tp-panel:not(.on){display:none}
}
/* production tiles: two columns on phones and tablets */
@media (min-width:360px) and (max-width:1080px){.sdsx .tpl-r2 .prod-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sdsx .tpl-r2 .prod-grid > li{padding:16px}}
/* closing CTA: check icons at the first line of a wrapped item */
.sdsx.page-tpl.is-r2 .cta .mono-checks li{align-items:flex-start}
.sdsx.page-tpl.is-r2 .cta .mono-checks li .ico{margin-top:2px;flex-shrink:0}
/* chat button: the icon only on phones, so it covers less of the page */
@media (max-width:600px){body.is-r2 .chat-button span{display:none}body.is-r2 .chat-button{padding:12px!important;border-radius:50%!important}}
/* hero proof row (framework homes): each item as wide as its content with even spacing and dividers; values and
   labels never wrap (two lines per item at most); a row that does not fit wraps whole items instead of squeezing them */
@media (min-width:600px){
  body.sds-theme .sdsx.page-tpl .rh-proof{display:flex;flex-wrap:wrap;row-gap:14px;width:auto;max-width:none}
  body.sds-theme .sdsx.page-tpl .rh-proof li{flex:none;margin-right:20px;padding-right:20px}
  body.sds-theme .sdsx.page-tpl .rh-proof li:last-child{margin-right:0;padding-right:0}
  body.sds-theme .sdsx.page-tpl .rh-proof b,body.sds-theme .sdsx.page-tpl .rh-proof span{white-space:nowrap}
}
@media (min-width:1081px) and (max-width:1400px){
  body.sds-theme .sdsx.page-tpl .rh-proof li{margin-right:14px;padding-right:14px}
  body.sds-theme .sdsx.page-tpl .rh-proof b{font-size:18px}
}
/* single products: document tiles keep their one-line description. The document column takes more of the card's width;
   below 1320px the two columns stack (the design system stacks them below 1080px); tiles keep their half width */
@media (min-width:1320px){.sdsx.page-tpl .solo-grid{grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr)}}
@media (max-width:1319px){.sdsx.page-tpl .solo-grid{grid-template-columns:minmax(0,1fr)}}
@media (min-width:1081px){.sdsx.page-tpl .solo-docs b+span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}
/* ===== sticky product row fitted by priority (tpl.js adds .prow-fit and hides items with .fit-hide) =====
   Every item keeps its full label; the script removes items lowest priority first until the row fits:
   What's new, Talk to an expert, Docs, Demos, UI Kits (Resources instead), Resources; then AI and Showcase turn into
   icons (.pr-compact) and the full product name wraps to two lines (.pr-wrap). Free trial is always shown. */
body.sds-theme .sdsx.page-tpl .sds-prow.prow-fit .hd-prod{flex-wrap:nowrap;overflow:hidden}
body.sds-theme .sdsx.page-tpl .sds-prow.prow-fit .hp-name{flex:none;max-width:none;overflow:visible;text-overflow:clip;white-space:nowrap}
body.sds-theme .sdsx.page-tpl .sds-prow.prow-fit .hp-links{display:flex!important;flex:none;min-width:0;overflow:visible;-webkit-mask-image:none;mask-image:none;margin-left:auto}
body.sds-theme .sdsx.page-tpl .sds-prow.prow-fit .hp-links > a{display:inline-flex!important;flex:none;align-items:center;gap:6px;white-space:nowrap}
body.sds-theme .sdsx.page-tpl .sds-prow.prow-fit .hp-sep{display:inline-block!important;flex:none}
body.sds-theme .sdsx.page-tpl .sds-prow.prow-fit .hp-expert,body.sds-theme .sdsx.page-tpl .sds-prow.prow-fit .hp-trial{display:inline-flex!important;flex:none;white-space:nowrap}
body.sds-theme .sdsx.page-tpl .sds-prow.prow-fit [data-prodrow] .fit-hide.fit-hide{display:none!important}
.sdsx .sds-prow .hp-ic{display:none;width:18px;height:18px}
body.sds-theme .sdsx.page-tpl .sds-prow.prow-fit .pr-compact .hp-links > a[data-k=ai],body.sds-theme .sdsx.page-tpl .sds-prow.prow-fit .pr-compact .hp-links > a[data-k=showcase]{padding-left:9px;padding-right:9px}
.sdsx .sds-prow .pr-compact .hp-ic{display:block}
.sdsx .sds-prow .pr-compact .hp-lb{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
body.sds-theme .sdsx.page-tpl .sds-prow.prow-fit .pr-wrap .hp-name{flex:0 1 auto;min-width:0;white-space:normal;line-height:1.25;margin-right:10px}
/* phones: a compact Free trial button */
@media (max-width:600px){body.sds-theme .sdsx.page-tpl .sds-prow.prow-fit .hp-trial{margin-left:10px;padding:0 12px;height:34px;font-size:13px}body.sds-theme .sdsx.page-tpl .sds-prow.prow-fit .hp-links > a{padding-left:8px;padding-right:8px}}
/* sizes inside the fitted row change at once (only colours and shadows animate), so the fit measures final widths */
body.sds-theme .sdsx.page-tpl .sds-prow.prow-fit [data-prodrow] *{transition-property:color,background-color,border-color,box-shadow,text-decoration-color!important}
/* framework home hero on tablets and phones (one column below 1081px): every block centred, the breadcrumb stays
   left-aligned where it is; desktop (two columns) is unchanged */
@media (max-width:1080px){
  .sdsx.page-tpl .rh .rh-copy{text-align:center;display:flex;flex-direction:column;align-items:center}
  .sdsx.page-tpl .rh .rh-copy > .hcrumbs{align-self:stretch;text-align:left}
  .sdsx.page-tpl .rh .rh-k{justify-content:center;flex-wrap:wrap}
  .sdsx.page-tpl .rh .rh-h1,.sdsx.page-tpl .rh .rh-lede{margin-left:auto;margin-right:auto}
  .sdsx.page-tpl .rh .rh-copy .actions{justify-content:center}
  .sdsx.page-tpl .rh .tph-meta{justify-content:center}
  body.sds-theme .sdsx.page-tpl .rh .rh-proof{justify-content:center;margin-left:auto;margin-right:auto}
  .sdsx.page-tpl .rh .rh-proof li{align-items:center;text-align:center}
  .sdsx.page-tpl .rh .rh-in > .rx{justify-self:center;margin-left:auto;margin-right:auto}
  .sdsx.page-tpl .rh .rh-logos{text-align:center}
}
/* phones: the two-by-two proof grid with its items centred in their cells */
@media (max-width:599px){
  body.sds-theme .sdsx.page-tpl .rh .rh-proof{justify-items:center;width:100%}
}
/* hero on tablets and phones: a little more line height in the heading; tablets: a wider description and the note
   row a little lower under the buttons; phones (buttons full width, 680px and below): the note under the trial button */
.sdsx.page-tpl .tph-note--under{display:none}
@media (max-width:1080px){.sdsx.page-tpl .rh .rh-h1{line-height:1.2}}
@media (min-width:681px) and (max-width:1080px){
  .sdsx.page-tpl .rh .rh-lede{max-width:680px}
  .sdsx.page-tpl .rh .tph-meta{margin-top:2px;gap:8px 24px}
}
@media (max-width:680px){
  .sdsx.page-tpl .rh .actions .tph-note--under{display:flex;justify-content:center;width:100%;margin:-2px 0 2px;font-size:14px;color:rgb(var(--cs-450))}
  .sdsx.page-tpl .rh .tph-meta .tph-note{display:none}
  .sdsx.page-tpl .rh .tph-meta{margin-top:2px}
}
/* phones: the proof grid's two columns share one divider line (items fill their cells, text centred) */
@media (max-width:599px){
  body.sds-theme .sdsx.page-tpl .rh .rh-proof{justify-items:stretch;column-gap:0}
  body.sds-theme .sdsx.page-tpl .rh .rh-proof li{margin-right:0;padding:0 12px;border-right:0}
  body.sds-theme .sdsx.page-tpl .rh .rh-proof--4 li:nth-child(odd){border-right:1px solid rgb(var(--cs-800))}
  body.sds-theme .sdsx.page-tpl .rh .rh-proof:not(.rh-proof--4) li:not(:last-child){border-right:1px solid rgb(var(--cs-800))}
  body.sds-theme .sdsx.page-tpl .rh .rh-proof:not(.rh-proof--4) li{padding:0 6px}
}
/* sticky product row, as on the React components reference (one header box, two rows): when the hero leaves the
   screen the product row rises into a white bar over the site header (chrome.css draws the bar); scrolling back plays it
   in reverse. 320ms (fade 220ms); the product row is clipped to the header's height. No motion under reduced motion.
   Master: the site header itself does not move or fade (header and footer get font changes only), so the bar keeps
   its own white ground instead of borrowing the header's. */
.sdsx.page-tpl .sds-prow > [data-prodrow]{transform:none!important;opacity:1!important;transition:visibility 0s linear 320ms!important}
.sdsx.page-tpl .sds-prow.is-on > [data-prodrow]{transition:visibility 0s!important}
body.sds-theme .sdsx.page-tpl .sds-prow.prow-fit > [data-prodrow] > *{transform:translateY(var(--sds-hh,68px));opacity:0;transition:transform 320ms cubic-bezier(.4,0,.2,1),opacity 220ms cubic-bezier(.4,0,.2,1),color .15s,background-color .15s,box-shadow .15s!important}
body.sds-theme .sdsx.page-tpl .sds-prow.prow-fit.is-on > [data-prodrow] > *{transform:none;opacity:1}
body.sds-theme .sdsx.page-tpl .sds-prow.prow-fit.sds-instant > [data-prodrow] > *{transition:none!important}
@media (prefers-reduced-motion:reduce){body.sds-theme .sdsx.page-tpl .sds-prow.prow-fit > [data-prodrow] > *{transition:none!important}}
/* hero buttons + note row (.rh-cta): desktop lays them out as before; tablets centre the pair as one box with both rows
   starting at the trial button; phones keep the full-width buttons and the centred links */
.sdsx.page-tpl .rh .rh-cta{display:contents}
@media (max-width:1080px){
  .sdsx.page-tpl .rh .rh-cta{display:grid;justify-items:start;row-gap:20px;width:fit-content;max-width:100%}
  .sdsx.page-tpl .rh .rh-cta .actions{justify-content:flex-start}
  .sdsx.page-tpl .rh .rh-cta .tph-meta{justify-content:flex-start;margin-bottom:0}
}
@media (max-width:680px){
  .sdsx.page-tpl .rh .rh-cta{width:100%;justify-items:stretch}
  .sdsx.page-tpl .rh .rh-cta .tph-meta{justify-content:center}
}
/* AI components tab row (tablets and phones): an edge with more tabs beyond it fades, so the row reads as scrollable */
@media (max-width:1080px){
  .sdsx.page-tpl .aix-list.aix-more-r{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 56px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 56px),transparent)}
  .sdsx.page-tpl .aix-list.aix-more-l{-webkit-mask-image:linear-gradient(90deg,transparent,#000 56px);mask-image:linear-gradient(90deg,transparent,#000 56px)}
  .sdsx.page-tpl .aix-list.aix-more-l.aix-more-r{-webkit-mask-image:linear-gradient(90deg,transparent,#000 56px,#000 calc(100% - 56px),transparent);mask-image:linear-gradient(90deg,transparent,#000 56px,#000 calc(100% - 56px),transparent)}
  .sdsx.page-tpl .aix-list{scroll-padding-inline:24px}
}
/* FAQ eyebrow (design system: every section opens with a SectionHeader; the FAQ is a centred block) */
.sdsx.page-tpl .faq-head p.eyebrow{max-width:none;margin:0 auto 14px;font-family:var(--font-mono);font-size:12.5px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;line-height:1.5;color:rgb(var(--cs-brand-strong))}
/* product homes, review round 3 (main.tpl-r2 .gh2 is only on product homes) */
/* grid swap values (.gv, design-system grid) clash with gen.css .gv (generic visual wrapper): keep the grid's stacked, end-aligned values */
.sdsx.page-tpl .sf .gv{display:inline-grid;justify-items:end;width:auto;min-width:0;container-type:normal;text-align:inherit}
/* banner: even spacing between breadcrumb, kicker, title, lede, buttons, install command and visual; readable title leading */
.sdsx.page-ph2 .gh2-h1{line-height:1.1}
@media (max-width:1023px){
  .sdsx.page-ph2 .gh2 .hcrumbs{margin-bottom:20px}
  .sdsx.page-ph2 .gh2-copy{gap:20px}
  .sdsx.page-ph2 .gh2-h1{line-height:1.16;letter-spacing:-.02em}
  .sdsx.page-ph2 .gh2-cta{margin-top:4px}
  .sdsx.page-ph2 .gh2 .hw{margin-top:44px}
  .sdsx.page-ph2 .gh2 .hw-steps{margin-top:20px}
  .sdsx.page-ph2 .gh2 .hw .hw-t2{display:none}
}
@media (max-width:600px){
  .sdsx.page-ph2 .gh2-copy{gap:18px}
  .sdsx.page-ph2 .gh2-h1{line-height:1.22}
  .sdsx.page-ph2 .gh2-lede{font-size:16.5px;line-height:1.6}
  .sdsx.page-ph2 .gh2 .gh-npm{align-self:stretch;justify-content:space-between}
  .sdsx.page-ph2 .gh2 .hw{margin-top:36px}
}
/* proof row on tablets and phones: one bordered block of equal tiles (no stray dividers); full rows for 4 or 5 facts */
@media (max-width:1023px){
  .sdsx.page-ph2 .gh2-proof{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:1px;max-width:720px;margin-left:auto;margin-right:auto;background:rgb(var(--cs-800));border:1px solid rgb(var(--cs-800));border-radius:12px;overflow:hidden}
  .sdsx.page-ph2 .gh2-proof li,.sdsx.page-ph2 .gh2-proof li:first-child,.sdsx.page-ph2 .gh2-proof li:nth-child(4){grid-column:span 3;border:0;background:#fff;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:14px 10px;text-align:center;min-width:0}
  .sdsx.page-ph2 .gh2-proof:has(> li:nth-child(5)) li{grid-column:span 4}
  .sdsx.page-ph2 .gh2-proof:has(> li:nth-child(5)) li:nth-child(n+4){grid-column:span 6}
  .sdsx.page-ph2 .gh2-proof span{font-size:13.5px;line-height:1.4}
}
@media (max-width:600px){
  .sdsx.page-ph2 .gh2-proof li,.sdsx.page-ph2 .gh2-proof li:first-child,.sdsx.page-ph2 .gh2-proof li:nth-child(4),.sdsx.page-ph2 .gh2-proof:has(> li:nth-child(5)) li,.sdsx.page-ph2 .gh2-proof:has(> li:nth-child(5)) li:nth-child(n+4){grid-column:span 6}
  .sdsx.page-ph2 .gh2-proof:has(> li:nth-child(5)) li:nth-child(5){grid-column:span 12}
  .sdsx.page-ph2 .gh2-proof b{font-size:19px}
  .sdsx.page-ph2 .gh2-proof span{font-size:13px}
}
/* showcase cards: the detail page's 16:9 image whole (no crop), framed like the reference card */
.sdsx.page-ph2 #showcase .scx-th{height:auto;padding:14px!important}
.sdsx.page-ph2 .scx-th .tpx-pic{display:block;aspect-ratio:16/9;border-radius:8px;overflow:hidden;box-shadow:0 0 0 1px rgb(var(--cs-800))}
.sdsx.page-ph2 .scx-th .tpx-pic img{width:100%;height:100%;object-fit:contain;background:#fff}
/* AI developer tabs (a scrolling row below 1081px): edge fades when more tabs are off screen (tpl.js centres the selected tab) */
@media (max-width:1080px){
  .sdsx.page-tpl .gdv-list{scroll-padding-inline:24px;scroll-behavior:smooth}
  .sdsx.page-tpl .gdv-list.aix-more-r{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 56px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 56px),transparent)}
  .sdsx.page-tpl .gdv-list.aix-more-l{-webkit-mask-image:linear-gradient(90deg,transparent,#000 56px);mask-image:linear-gradient(90deg,transparent,#000 56px)}
  .sdsx.page-tpl .gdv-list.aix-more-l.aix-more-r{-webkit-mask-image:linear-gradient(90deg,transparent,#000 56px,#000 calc(100% - 56px),transparent);mask-image:linear-gradient(90deg,transparent,#000 56px,#000 calc(100% - 56px),transparent)}
}
/* feature list: the design system reference's own layout (grid4-ctl.css: CSS columns 3 × 300px, one column on phones,
   af--one / af--two when a filter leaves one or two groups, chips in one scrolling row on phones). No overrides here. */
/* section action button (Browse all showcase apps): the reference's outlined gdv-btn */
.sdsx.page-ph2 .scx-head .btn--section{color:rgb(var(--cs-brand-strong));box-shadow:inset 0 0 0 1.5px rgb(var(--cs-brand) / 40%),0 6px 16px -10px #003cc873;transition:background-color .15s var(--ease),box-shadow .15s var(--ease);background:#fff;gap:8px}
.sdsx.page-ph2 .scx-head .btn--section .ico{width:16px;height:16px;color:rgb(var(--cs-brand))}
.sdsx.page-ph2 .scx-head .btn--section .btn-go{width:14px;height:14px;transition:transform .15s var(--ease);margin-left:2px}
.sdsx.page-ph2 .scx-head .btn--section:hover{background:rgb(var(--cs-brand-subtle));box-shadow:inset 0 0 0 1.5px rgb(var(--cs-brand)),0 10px 22px -12px #003cc88c}
.sdsx.page-ph2 .scx-head .btn--section:hover .btn-go{transform:translate(3px)}
.sdsx.page-ph2 .scx-head .btn--section:focus-visible{outline:2px solid rgb(var(--cs-brand));outline-offset:2px}
@media (prefers-reduced-motion:reduce){.sdsx.page-ph2 .scx-head .btn--section:hover .btn-go{transform:none}}
/* one "For your users" capability (React Button: Smart Paste): the visual with its title and text beside it */
@media (min-width:761px){
  .sdsx.page-ph2 .gai3.tpl-gai--1{grid-template-columns:minmax(0,1fr)}
  .sdsx.page-ph2 .tpl-gai--1 .gai3-item{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);grid-template-rows:auto auto;column-gap:clamp(32px,4vw,64px);align-content:center}
  .sdsx.page-ph2 .tpl-gai--1 .gai3-vis{grid-row:1/3;margin-bottom:0;min-height:0}
  .sdsx.page-ph2 .tpl-gai--1 h4{align-self:end;font-size:22px}
  .sdsx.page-ph2 .tpl-gai--1 .gai3-item > p{align-self:start;font-size:16px}
}
/* "For your users" (2–3 capabilities): equal frames whose cards fill them, so the visuals, titles and text line up */
@media (min-width:961px){
  .sdsx.page-ph2 .gai3:not(.tpl-gai--1):has(.cvx-u) .gai3-vis{height:448px;min-height:0;align-items:stretch;justify-content:stretch}
  .sdsx.page-ph2 .gai3:not(.tpl-gai--1):has(.cvx-u) .gai3-item{display:grid;grid-template-rows:auto auto 1fr;row-gap:10px}
  .sdsx.page-ph2 .gai3:not(.tpl-gai--1):has(.cvx-u) .gai3-item h4{margin-top:12px}
}
/* tablets: one capability per row, visual beside its title and text (no narrow, left-hung column) */
@media (min-width:761px) and (max-width:960px){
  .sdsx.page-ph2 .gai3{max-width:none}
  .sdsx.page-ph2 .gai3-item{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);grid-template-rows:auto auto;column-gap:40px;align-content:center}
  .sdsx.page-ph2 .gai3-vis{grid-row:1/3;margin-bottom:0}
  .sdsx.page-ph2 .gai3-item h4{align-self:end}
  .sdsx.page-ph2 .gai3-item > p{align-self:start}
}
/* sticky product row on template pages (platform homes and product homes): pinned to the viewport, not sticky. A
   sticky bar can only travel inside .sdsx, which ends where the site footer begins, so at the footer the row scrolled
   away while the site header stayed (its own row slid up), leaving an empty white strip. Fixed, it stays over the
   footer too; the bar is 0 px high either way, so nothing in the layout moves. */
.sdsx.page-tpl .sds-prow{position:fixed;top:0;left:0;right:0}

/* content redline 2026-11-23 (redesigned framework homes): Popular components heading centered; standalone SDKs box centered
   with both columns as small chips, about 55/45, stacking below 900px; FAQ trial link on its own line; resources "also"
   rows in one panel with pill links */
.sdsx.page-tpl #components .sh.sh--center{margin-left:auto;margin-right:auto;align-items:center;text-align:center;max-width:820px}
.sdsx.page-tpl #components .sh.sh--center .sh-lede{max-width:720px;margin-left:auto;margin-right:auto}
.sdsx.page-tpl .solo--center .solo-head{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px}
.sdsx.page-tpl .solo--center .solo-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
.sdsx.page-tpl .solo--center .solo-col{align-items:center;text-align:center}
.sdsx.page-tpl .solo--center .solo-chips{display:flex;flex-wrap:wrap;justify-content:center;margin-left:auto;margin-right:auto}
.sdsx.page-tpl .solo--center .solo-col:first-child .solo-chips{max-width:460px}
.sdsx.page-tpl .solo--center .solo-col:last-child .solo-chips{max-width:470px}
@media (max-width:900px){.sdsx.page-tpl .solo--center .solo-grid{grid-template-columns:minmax(0,1fr)}}
.sdsx .faq-a .faq-cta{margin-top:16px}
.sdsx .faq-a .faq-cta a{display:inline-flex;align-items:center;gap:6px;font-weight:600}
.sdsx .rs-band{margin:44px auto 0;max-width:900px;width:fit-content;padding:22px 28px;border-radius:14px;background:rgb(var(--cs-900));box-shadow:0 0 0 1px rgb(var(--cs-800));display:flex;flex-direction:column;gap:14px}
.sdsx.page-tpl .rs-band .af-rel{margin:0;padding:0;border:0;justify-content:flex-start;gap:10px}
.sdsx.page-tpl .rs-band .af-rel+.af-rel{padding-top:14px;border-top:1px solid rgb(var(--cs-800))}
.sdsx.page-tpl .rs-band .af-rel>span{min-width:140px;text-align:right;margin-right:6px;color:rgb(var(--cs-300))}
.sdsx.page-tpl .rs-band .af-rel a{display:inline-flex;align-items:center;padding:6px 14px;border-radius:999px;background:#fff;box-shadow:inset 0 0 0 1px rgb(var(--cs-800));text-decoration:none;font-weight:500;font-size:14.5px}
@media (max-width:640px){.sdsx .rs-band{width:auto;padding:18px 16px}.sdsx.page-tpl .rs-band .af-rel{justify-content:center}.sdsx.page-tpl .rs-band .af-rel>span{min-width:0;flex-basis:100%;text-align:center;margin:0}}
/* framework home hero (content redline 2026-11-23): the Gantt tag sits over the task list, not the date header; phones
   show one card, the AI Assist card with its finished conversation (tpl.js) */
.sdsx .tpl-r2 .rx .rx-c--gantt>.rx-lbl{right:auto;left:10px}
@media (max-width:480px){.sdsx .tpl-r2 .rx .rx-main,.sdsx .tpl-r2 .rx .rx-ide{display:none}}
/* page performance (redesigned framework homes): sections after the hero are laid out and painted only when they come
   near the viewport, so style and layout work at load (and per animation frame) covers the hero, not the whole page.
   "auto" keeps each section's real height once it has been rendered. */
.sdsx.page-tpl.has-prow main.tpl-fh>section:not(:first-child){content-visibility:auto;contain-intrinsic-size:auto 900px}
.sdsx.page-tpl.has-prow main.tpl-fh.cv-all>section:not(:first-child){content-visibility:visible}
/* accessibility (redesigned framework homes): avatar initials in the AI components chat visual meet 4.5:1 (white on the
   header avatar 5.7:1, message avatar 6.9:1) */
.sdsx main.tpl-fh .sf-chat-h .cu-av{background:#5b54d6}
.sdsx main.tpl-fh .sf-msg .s-av{color:#4b5563}
