/* AURIFORTH /aimotion — AI Motion suite: shared design system (all four pages load this first).
   Apple visual language: #fff / #f5f5f7 / #fbfbfd surfaces, #1d1d1f text, #6e6e73 secondary, #d2d2d7 hairlines,
   #0071e3 actions, #0066cc links, pill buttons, 18–28px cards, translucent bars; Sarabun for Thai.
   CSP-safe: no inline styles anywhere — dynamic values go through CSSOM. Contract: SUITE.md (source folder). */

@font-face { font-family: "Sarabun"; src: url("/aimotion/fonts/Sarabun-Regular.woff2") format("woff2"), url("/aimotion/fonts/Sarabun-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Sarabun"; src: url("/aimotion/fonts/Sarabun-SemiBold.woff2") format("woff2"), url("/aimotion/fonts/Sarabun-SemiBold.woff") format("woff"); font-weight: 600 700; font-display: swap; }

:root {
  --bg: #ffffff; --bg-alt: #f5f5f7; --bg-soft: #fbfbfd; --fill: #e8e8ed; --fill-hover: #dcdce1;
  --text: #1d1d1f; --text-2: #6e6e73; --text-3: #6e6e73; --line: #d2d2d7;
  --blue: #0071e3; --blue-hover: #0077ed; --link: #0066cc; --link-dark: #2997ff;
  --red: #e30000; --alert: #ff3b30; --green: #34c759; --green-ink: #1c7a33;
  --tint-blue: #e8f2fc; --tint-green: #e9f8ee;
  --latin: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font: var(--latin);
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --r-xs: 8px; --r-sm: 12px; --r-md: 18px; --r-lg: 22px; --r-xl: 28px;
  --shadow: 0 2px 6px rgba(0, 0, 0, .04), 0 10px 30px rgba(0, 0, 0, .06);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
  --top-h: 52px; --nav-h: 64px; --max: 1180px;
  --pad-l: max(22px, env(safe-area-inset-left)); --pad-r: max(22px, env(safe-area-inset-right));
  --safe-b: env(safe-area-inset-bottom, 0px);
  --demo-accent: #af52de; --demo-ink: #8944ab; --training-accent: #ff2d55; --training-ink: #d6003a;
  --ease: cubic-bezier(.28, .11, .32, 1);
}
html[lang="th"] { --font: "Sarabun", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 16px); background: var(--bg-alt); }
body { margin: 0; min-height: 100vh; min-height: calc(100vh / var(--z, 1)); font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -.022em;
  color: var(--text); background: var(--bg-alt); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
html[lang="th"] body { letter-spacing: 0; line-height: 1.6; }
img, svg, canvas { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
b, strong { font-weight: 600; }
em { font-style: normal; }
h1, h2, h3 { font-weight: 600; margin: 0; }
p { margin: 0; }
/* no lone short word on the last line: headings balance, running text wraps "pretty" (Safari 18+, Chrome 130+) */
h1, h2, h3, h4, summary, figcaption { text-wrap-style: balance; }
p, li, dd { text-wrap-style: pretty; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: -999px; top: 8px; z-index: 100; background: var(--bg); color: var(--text); padding: 10px 16px; border-radius: 980px; box-shadow: var(--shadow); }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid rgba(0, 125, 250, .6); outline-offset: 2px; border-radius: 6px; }
::selection { background: rgba(0, 113, 227, .18); }
.mt-12 { margin-top: 12px !important; } .mt-16 { margin-top: 16px !important; }
.is-hidden { visibility: hidden; }

/* ---------- buttons, chips, segmented controls ---------- */
button { font: inherit; letter-spacing: inherit; color: var(--text); background: var(--fill); border: 0; border-radius: 980px;
  padding: 10px 18px; min-height: 44px; font-size: 15px; line-height: 1.25; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
button:where(:hover:not(:disabled)) { background: var(--fill-hover); }
button:active:not(:disabled) { transform: scale(.98); }
button:disabled { cursor: default; color: var(--text-3); background: var(--fill); opacity: .7; }
.btn-primary { background: var(--blue); color: #fff; font-weight: 400; }
.btn-primary:hover:not(:disabled) { background: var(--blue-hover); }
button:where(.active, [aria-pressed="true"]) { background: var(--text); color: #fff; }

/* ---------- top bar (Apple local-nav style) ---------- */
.topbar { position: fixed; z-index: 40; top: 0; left: 0; right: 0; height: calc(var(--top-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--pad-r) 0 var(--pad-l); display: flex; align-items: center; gap: 18px;
  background: rgba(251, 251, 253, .94); border-bottom: 1px solid rgba(0, 0, 0, .1); color: var(--text); font-family: var(--latin); letter-spacing: -.01em; }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .topbar { background: rgba(251, 251, 253, .78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
}
.topbar__brand { display: flex; align-items: center; gap: 14px; flex: none; min-width: 0; }
.topbar__logo { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.topbar__logo img { width: 20px; height: 16px; object-fit: contain; }
.logo-light { display: none; }
.topbar__word { font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.topbar__unit { font-size: 12px; color: var(--text-2); padding-left: 2px; }
.lang-switch { display: inline-flex; flex: none; padding: 2px; border-radius: 980px; background: var(--fill); }
.lang-btn { min-height: 32px; min-width: 44px; padding: 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .02em; background: transparent; color: #424245; border-radius: 980px; }
.lang-btn:where(:hover) { background: rgba(0, 0, 0, .05); color: var(--text); }
.lang-btn[aria-pressed="true"], .lang-btn[aria-pressed="true"]:hover { background: var(--bg); color: var(--text); box-shadow: var(--shadow-sm); }
.on-dark .topbar { background: rgba(22, 22, 23, .92); border-bottom-color: rgba(255, 255, 255, .08); color: #f5f5f7; }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .on-dark .topbar { background: rgba(22, 22, 23, .72); } }
.on-dark .logo-dark { display: none; } .on-dark .logo-light { display: block; }
.on-dark .topbar__unit { color: #a1a1a6; }
.on-dark .lang-switch { background: rgba(255, 255, 255, .14); }
.on-dark .lang-btn { color: #d2d2d7; }
.on-dark .lang-btn:where(:hover) { background: rgba(255, 255, 255, .1); color: #fff; }
.on-dark .lang-btn[aria-pressed="true"] { background: #f5f5f7; color: var(--text); }

/* form fields */
input[type="number"], select { font: inherit; font-size: 17px; color: var(--text); background: var(--bg); border: 1px solid #86868b;
  border-radius: var(--r-sm); min-height: 48px; padding: 10px 14px; width: 100%; letter-spacing: 0; }
input[type="number"] { font-variant-numeric: tabular-nums; }
select { -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; background-size: 12px 8px; }
input[type="number"]:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 125, 250, .25); }



/* ---------- states shared by every page ---------- */
.i18n-pending main, .i18n-pending .nav, .i18n-pending .suite, .i18n-pending .suite-foot { visibility: hidden; }
.nw { white-space: nowrap; }
.is-hidden { visibility: hidden; }
/* viewer pause (html.is-paused) and off-screen blocks (.is-offscreen): hold every CSS loop on its current frame */
.is-paused *, .is-paused *::before, .is-paused *::after,
.is-offscreen, .is-offscreen *, .is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }

/* ---------- header layout: brand · suite navigation · language ---------- */
.topbar { gap: 16px; }
.topbar .lang-switch { margin-left: 0; }

/* ---------- suite navigation (Apple segmented control; compact menu below 1000px) ---------- */
.suite { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
.suite ul { list-style: none; margin: 0; padding: 0; }
.suite__list { display: flex; gap: 2px; padding: 3px; border-radius: 980px; background: var(--fill); }
.suite__list li { display: flex; }
.suite__link { display: flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 980px; font-size: 13px; line-height: 1.2;
  color: #424245; white-space: nowrap; font-family: var(--font); letter-spacing: -.01em; transition: background-color .2s var(--ease), color .2s var(--ease); }
html[lang="th"] .suite__link { letter-spacing: 0; }
.suite__link:hover { color: var(--text); background: rgba(0, 0, 0, .05); text-decoration: none; }
.suite__link[aria-current="page"] { background: var(--bg); color: var(--text); font-weight: 600; box-shadow: var(--shadow-sm); }
.suite__menu { display: none; position: relative; min-width: 0; }
.suite__toggle { display: flex; align-items: center; gap: 8px; min-height: 40px; max-width: 100%; padding: 0 14px; border-radius: 980px; background: var(--fill);
  font-size: 13px; font-weight: 600; cursor: pointer; list-style: none; user-select: none; -webkit-tap-highlight-color: transparent; font-family: var(--font); }
.suite__toggle::-webkit-details-marker { display: none; }
.suite__toggle::marker { content: ""; }
.suite__toggle::after { content: ""; flex: none; width: 7px; height: 7px; margin: -3px 0 0 2px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); transition: transform .2s var(--ease); }
.suite__menu[open] .suite__toggle::after { transform: translateY(3px) rotate(-135deg); }
.suite__current { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suite__panel { position: fixed; left: 0; right: 0; top: calc(var(--top-h) + env(safe-area-inset-top, 0px)); z-index: 39; display: grid; gap: 2px;
  padding: 10px var(--pad-r) 16px var(--pad-l); background: #fbfbfd; border-bottom: 1px solid rgba(0, 0, 0, .1); box-shadow: 0 18px 40px rgba(0, 0, 0, .08); }
.suite__panel .suite__link { min-height: 48px; padding: 0 14px; border-radius: var(--r-sm); font-size: 17px; white-space: normal; }
.suite__panel .suite__link[aria-current="page"] { background: var(--bg-alt); box-shadow: none; }
@media (max-width: 999px) {
  .suite { justify-content: flex-end; }
  .suite__list { display: none; }
  .suite__menu { display: block; }
}
.on-dark .suite__list, .on-dark .suite__toggle { background: rgba(255, 255, 255, .14); color: #f5f5f7; }
.on-dark .suite__link { color: #d2d2d7; }
.on-dark .suite__link:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.on-dark .suite__list .suite__link[aria-current="page"] { background: #f5f5f7; color: var(--text); }
.on-dark .suite__panel { background: #161617; border-bottom-color: rgba(255, 255, 255, .08); }
.on-dark .suite__panel .suite__link[aria-current="page"] { background: rgba(255, 255, 255, .12); color: #fff; }
@media (max-width: 1199px) { .topbar__unit { display: none; } }
@media (max-width: 734px) {
  :root { --top-h: 48px; --pad-l: max(16px, env(safe-area-inset-left)); --pad-r: max(16px, env(safe-area-inset-right)); }
  .topbar { gap: 10px; }
  .topbar__brand { gap: 10px; }
}
@media (max-width: 379px) { .topbar__word { display: none; } .suite__toggle { padding: 0 12px; } }

/* ---------- page layout for module pages (the CCTV deck uses .deck/.slide from cctv/cctv.css) ---------- */
main.page { display: block; padding-top: calc(var(--top-h) + env(safe-area-inset-top, 0px)); }
.section { padding: 88px var(--pad-r) 88px var(--pad-l); background: var(--bg); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: #000; color: #f5f5f7; }
.section > *, .wrap { max-width: var(--max); margin-left: auto; margin-right: auto; }
.eyebrow { font-size: 17px; font-weight: 600; color: var(--text-2); margin: 0 0 8px; }
.section--dark .eyebrow { color: #a1a1a6; }
.headline { font-size: clamp(40px, 6.4vw, 80px); line-height: 1.05; font-weight: 700; letter-spacing: -.015em; margin: 6px 0 20px; }
.title { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.07; font-weight: 700; letter-spacing: -.012em; margin: 4px 0 14px; }
html[lang="th"] .headline { font-weight: 600; line-height: 1.22; letter-spacing: 0; font-size: clamp(34px, 5.6vw, 70px); }
html[lang="th"] .title { font-weight: 600; line-height: 1.25; letter-spacing: 0; font-size: clamp(28px, 3.9vw, 50px); }
.headline em, .title em { color: var(--blue); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .headline em, .title em { background: linear-gradient(90deg, #0071e3, #7d5bf0 60%, #c13ccf); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
  .section--dark .headline em, .section--dark .title em { background-image: linear-gradient(90deg, #2997ff, #a78bfa 60%, #ff6bd6); }
}
.section .lead { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.42; color: var(--text-2); max-width: 820px; }
.section--dark .lead { color: #d2d2d7; }
.footnote { font-size: 12px; line-height: 1.6; color: var(--text-2); margin-top: 22px; }
.footnote a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- components ---------- */
.card { background: var(--bg); border-radius: var(--r-xl); padding: 24px; min-width: 0; }
.section--alt .card, .card--alt { background: var(--bg-alt); }
.section--alt .card { background: var(--bg); }
.section--dark .card { background: #1d1d1f; color: #f5f5f7; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1068px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.seg { display: inline-flex; gap: 2px; padding: 3px; background: var(--fill); border-radius: 980px; max-width: 100%; overflow-x: auto; }
.seg__btn { background: transparent; color: var(--text); min-height: 38px; padding: 8px 16px; font-size: 13px; white-space: nowrap; }
.seg__btn:where(:hover) { background: rgba(0, 0, 0, .05); }
.seg__btn[aria-pressed="true"], .seg__btn.active { background: var(--bg); color: var(--text); box-shadow: var(--shadow-sm); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 980px; background: var(--bg-alt); font-size: 14px; line-height: 1.35; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 980px; font-size: 12px; font-weight: 600; color: var(--green-ink); background: var(--tint-green); white-space: nowrap; }
.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.5; background: var(--bg); border-radius: var(--r-lg); overflow: hidden; }
.table th, .table td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid #e8e8ed; }
.table th { font-size: 13px; font-weight: 600; background: var(--bg-soft); }
.table tr:last-child td { border-bottom: 0; }
.scroller { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; max-width: 100%; }
.scroller:focus-visible { outline: 3px solid rgba(0, 125, 250, .6); outline-offset: -3px; }
.media { position: relative; overflow: hidden; border-radius: var(--r-md); background: #000; color: #fff; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media > img, .media > video, .media > canvas, .media__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.pause-btn { display: grid; place-items: center; width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 50%; }

/* ---------- shared module components (moved from the module stylesheets; modules keep only their variants) ---------- */
.section--alt .callout { background: var(--bg); }
.pill:hover { text-decoration: none; background: var(--fill-hover); }
.pill.pill--primary { background: var(--blue); color: #fff; }
.pill.pill--primary:hover { background: var(--blue-hover); }
.audience { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 22px; }
.audience__label { font-size: 14px; font-weight: 600; color: var(--text-2); margin-right: 2px; }
.chapters__count { font-size: 13px; font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; margin-right: 4px; }
.chapters__jump { display: flex; min-width: 0; }
.chapters__btn { flex: none; display: grid; place-items: center; width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 50%; }
.chapters__btn svg { display: block; }
.pause-btn .i-play { display: none; }
.pause-btn[aria-pressed="true"] .i-pause { display: none; }
.pause-btn[aria-pressed="true"] .i-play { display: block; }
.chapters__toast { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); padding: 8px 14px; border-radius: 980px; background: rgba(29, 29, 31, .92); color: #fff; font-size: 13px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .3s; }
.chapters__toast.is-on { opacity: 1; }
.title em, .headline em { padding: .06em 0 .14em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* (Thai descender fix for gradient em: see .title em, .headline em above) */
/* a page that opens on a dark section keeps the area behind the fixed bar dark (set by suite.js) */
main.page.page--dark-top { background: #000; }
@media print { main.page.page--dark-top { background: #fff; } }

/* ---------- footer ---------- */
.suite-foot { padding: 28px var(--pad-r) calc(36px + env(safe-area-inset-bottom, 0px)) var(--pad-l); background: var(--bg-alt); border-top: 1px solid var(--line);
  font-size: 12px; line-height: 1.6; color: var(--text-2); }
.suite-foot > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.suite-foot__legal { margin-top: 10px; }
.suite-foot__site { margin-top: 10px; }
.suite-foot__site a { color: var(--link); }
.suite-foot__site a::after { content: " ›"; }

/* ---------- reduced motion, print ---------- */
@media (prefers-reduced-motion: reduce) { .suite__toggle::after, .suite__link { transition: none; } }
@media print {
  .topbar, .skip, .lang-switch, .suite, .pause-btn { display: none !important; }
  main.page { padding-top: 0; }
  .section { padding: 0 0 10mm; break-inside: auto; }
  .section--dark { background: #fff !important; color: var(--text) !important; }
  .headline em, .title em { background: none !important; -webkit-text-fill-color: currentColor !important; color: var(--link) !important; }
}

/* ---------- one baseline per text row (owner rule; checked by qa/baseline_scan.js) ---------- */
/* header: wordmark, suite links / menu and TH·EN share a baseline; the row is centred in the bar by padding */
.topbar { align-items: baseline; padding-top: calc(env(safe-area-inset-top, 0px) + (var(--top-h) - var(--top-row, 40px)) / 2); }
.topbar__brand, .topbar__logo { align-items: baseline; }
.topbar__logo img { align-self: center; }
.suite__list, .suite__list li, .lang-switch { align-items: baseline; }  /* pills keep their text centred inside */
.audience { align-items: baseline; }

/* ---------- wordmark = link to the hub (/aimotion/) ---------- */
a.topbar__logo { color: inherit; border-radius: 8px; transition: opacity .2s var(--ease); }
a.topbar__logo:hover { text-decoration: none; opacity: .72; }
a.topbar__logo:focus-visible { outline-offset: 4px; }

/* ---------- end-of-demo block: "← Overview" + "Next: <demo> →" (1 → 2 → 3 → 4 → hub) ---------- */
.suite-next { padding: 64px var(--pad-r) 72px var(--pad-l); background: var(--bg-alt); }
.suite-next__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px; }
.suite-next__label { grid-column: 1 / -1; font-size: 17px; font-weight: 600; color: var(--text-2); margin: 0 0 4px; }
.suite-next__card { position: relative; display: flex; align-items: center; gap: 20px; min-width: 0; min-height: 128px; padding: 22px 26px; border-radius: var(--r-xl);
  background: var(--bg); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, .04); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.suite-next__card:hover { text-decoration: none; box-shadow: var(--shadow); transform: translateY(-2px); }
.suite-next__card:active { transform: translateY(0) scale(.99); }
.suite-next__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 auto; }
.suite-next__k { font-size: 14px; font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; }
.suite-next__t { font-size: 24px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; overflow-wrap: anywhere; }
html[lang="th"] .suite-next__t { letter-spacing: 0; line-height: 1.35; }
.suite-next__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--fill); color: var(--text); }
.suite-next__card--next .suite-next__icon { background: var(--blue); color: #fff; }
.suite-next__icon svg { display: block; width: 20px; height: 20px; }
.suite-next__thumb { flex: none; width: 168px; aspect-ratio: 16 / 9; border-radius: var(--r-sm); overflow: hidden; background: var(--bg-alt); }
.suite-next__thumb img { width: 100%; height: 100%; object-fit: cover; }
.suite-next--end .suite-next__inner { grid-template-columns: minmax(0, 1fr); }
.section--alt + .suite-next, .suite-next--white { background: var(--bg); }
.section--alt + .suite-next .suite-next__card, .suite-next--white .suite-next__card { background: var(--bg-alt); }
/* inside the CCTV deck (slide 11): no band of its own */
.suite-next.suite-next--inline { padding: 0; background: none; margin-top: 32px; }
.suite-next--inline .suite-next__inner { max-width: none; }
.suite-next .suite-next__label { font-size: 17px; line-height: 1.4; font-weight: 600; color: var(--text-2); margin: 0 0 4px; letter-spacing: 0; }
.suite-restart { margin-top: 16px; }
@media (max-width: 900px) {
  .suite-next__inner { grid-template-columns: minmax(0, 1fr); }
  .suite-next__card--next { order: -1; }
  .suite-next__label { order: -2; }
}
@media (max-width: 560px) {
  .suite-next { padding-top: 48px; padding-bottom: 56px; }
  .suite-next__card { min-height: 96px; padding: 18px 20px; gap: 14px; }
  .suite-next__t { font-size: 21px; }
  .suite-next__thumb { width: 96px; }
}
@media (max-width: 379px) { .suite-next__thumb { display: none; } }
@media (prefers-reduced-motion: reduce) { .suite-next__card { transition: none; } .suite-next__card:hover { transform: none; } }
@media print { .suite-next { display: none !important; } }

/* ---------- large displays (1440p / 4K monitors, TVs at 100 % scaling) ----------
   Every page carries html.aim-scale: from 2200 px wide (and tall enough) the whole page is zoomed, so a 2560 or 3840 px
   window shows the same composition as a ~1920 px one instead of a small column of text. --z mirrors the zoom for the few
   rules that use viewport units (100vh inside a zoomed page would otherwise be z × the screen) and for scripts
   (AIMSuite.zoom()). Scripts measure with getBoundingClientRect / clientX / innerHeight (screen px) and convert to CSS px
   with this factor where they write sizes or positions back. */
:root { --z: 1; }
@media (min-width: 2200px) and (min-height: 1000px) { html.aim-scale { --z: 1.25; zoom: 1.25; } }
@media (min-width: 2800px) and (min-height: 1400px) { html.aim-scale { --z: 1.6; zoom: 1.6; } }
@media (min-width: 3400px) and (min-height: 1700px) { html.aim-scale { --z: 2; zoom: 2; } }
@media print { html.aim-scale { --z: 1; zoom: 1; } }
