/* CanvasAI Engine page: examples as demos of the editor sidebar beside the page it edits. */

.ab-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 768px) { .ab-groups { grid-template-columns: repeat(5, 1fr); } }
.ab-groups .tile { min-height: 5.5rem; }

.ab-group { scroll-margin-top: 6rem; }
.ab-group + .ab-group { margin-top: 5rem; }
.ab-group-head { max-width: 46rem; margin-bottom: 2.5rem; }
.ab-group-head h3 { font-size: var(--t-2xl); font-weight: 700; margin-bottom: .5rem; }
.ab-group-head p { color: var(--site-muted); margin-bottom: 0; }

/* One example per row: the explanation, then the demo. Rows alternate sides. */
.ab-row { display: grid; gap: 1.5rem; align-items: center; scroll-margin-top: 6rem; }
.ab-row + .ab-row { margin-top: 3.5rem; }
.ab-row > * { min-width: 0; }
@media (min-width: 768px) {
	.ab-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; }
	.ab-row.is-flip .ab-demo { order: -1; }
}
@media (min-width: 1200px) { .ab-row { gap: 4rem; } }
.ab-row-text h4 { font-size: var(--t-xl); font-weight: 700; margin-bottom: .5rem; }
.ab-intro { color: var(--site-muted); margin-bottom: 1.25rem; }
.ab-facts { margin: 0; display: grid; gap: .875rem; font-size: var(--t-sm); }
.ab-facts > div { border-inline-start: 2px solid var(--site-line); padding-inline-start: .875rem; }
.ab-facts dt { font-weight: 700; color: var(--site-ink); }
.ab-facts dd { margin: .125rem 0 0; color: var(--site-muted); overflow-wrap: anywhere; }
.ab-facts q { color: var(--site-ink); }

/* The demo frame, its steps and the play control. */
.ab-demo { container-type: inline-size; margin: 0; border: 1px solid var(--site-line); border-radius: var(--site-radius); background: var(--site-band); padding: .75rem; }
.ab-demo-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .75rem; }
.ab-demo-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; flex: 1 1 auto; font-size: var(--t-2xs); line-height: 1.4; }
.ab-demo-steps li { padding: .125rem .5rem; border-radius: var(--r-pill); border: 1px solid var(--site-line); background: #fff; color: var(--site-muted); font-weight: 600; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.ab-demo-steps li.is-done { color: var(--site-accent-text); border-color: rgba(26, 115, 232, .35); }
.ab-demo-steps li.is-current { background: var(--site-accent); border-color: var(--site-accent); color: #fff; }
.ab-play { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border-radius: var(--r-pill); border: 1px solid var(--site-line); background: #fff; color: var(--site-ink); font-weight: 600; font-size: var(--t-xs); cursor: pointer; }
.ab-play span { display: inline-flex; align-items: center; gap: .375rem; }
.ab-play span[hidden] { display: none; }
.ab-play:hover { border-color: var(--site-accent); color: var(--site-accent-text); }
.ab-play:focus-visible, .ab-btn:focus-visible, .ab-chat-body:focus-visible { outline: 2px solid var(--site-accent); outline-offset: 2px; }

.ab-demo-stage { display: grid; gap: .75rem; }
.ab-canvas { position: relative; height: 15rem; min-width: 0; }
.ab-chat { height: 23rem; }
@container (min-width: 540px) {
	.ab-demo-stage { grid-template-columns: minmax(0, 1fr) 16rem; }
	.ab-canvas { height: auto; min-height: 15rem; }
	.ab-chat { height: 26rem; }
}

/* The sidebar. */
.ab-chat { display: flex; flex-direction: column; min-width: 0; border: 1px solid #dcdcde; border-radius: 10px; background: #fff; color: #1e1e1e; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 12.5px; line-height: 1.5; box-shadow: 0 18px 40px -28px rgba(11, 13, 15, .45); overflow: hidden; }
.ab-chat-bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .5rem .75rem; border-bottom: 1px solid #e0e0e0; font-weight: 600; font-size: 13px; }
.ab-chat-tag { font-size: 11px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #50575e; background: #fff; border: 1px solid var(--site-line); border-radius: 999px; padding: .125rem .5rem; }
.ab-chat-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth; padding: .75rem; display: flex; flex-direction: column; gap: .625rem; }
.ab-chat-body > * { flex: none; }
.ab-chat-body.is-scrolled { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 2.75rem); mask-image: linear-gradient(to bottom, transparent 0, #000 2.75rem); }
.ab-user { align-self: flex-end; max-width: 88%; background: #f0f0f0; border-radius: 10px; padding: .5rem .75rem; margin: 0; }
.ab-turn { display: grid; gap: .375rem; }
.ab-who { display: flex; align-items: center; gap: .375rem; color: #50575e; font-size: 12px; margin: 0; }
.ab-who i { display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: #f0f0f1; color: #1e1e1e; font-size: 11px; }
.ab-reply { margin: 0; }
.ab-note { margin: 0; font-size: 12px; color: #1e7f4f; }

.ab-working { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; color: #50575e; font-size: 12px; }
.ab-working li { display: flex; align-items: center; gap: .5rem; }
.ab-working li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #c3c4c7; border-top-color: #3858e9; animation: ab-spin .8s linear infinite; }
.ab-working li.is-done { color: #1e1e1e; }
.ab-working li.is-done::before { border-color: #1e7f4f; background: #1e7f4f; animation: none; }

.ab-card { border: 1px solid #dcdcde; border-radius: 8px; padding: .75rem; display: grid; gap: .5rem; }
.ab-card-title { font-weight: 600; margin: 0; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.ab-card-sub { margin: -.375rem 0 0; color: #50575e; }
.ab-applied { flex: none; font-size: 11px; font-weight: 600; color: #0a6b38; background: #e6f4ea; border-radius: 999px; padding: .125rem .5rem; }
.ab-applied.is-undone { color: #50575e; background: #f0f0f1; }
.ab-sitewide { border-top: 1px solid #e0e0e0; padding-top: .5rem; margin: 0; }
.ab-sitewide strong { display: block; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.ab-sitewide span { color: #50575e; }
.ab-changes { list-style: none; margin: 0; padding: 0; display: grid; gap: .375rem; }
.ab-changes li { display: grid; grid-template-columns: auto 1fr auto; gap: .5rem; align-items: start; }
.ab-changes li > span, .ab-user, .ab-reply, .ab-notes li span:first-child { min-width: 0; overflow-wrap: anywhere; }
.ab-check { width: 16px; height: 16px; margin-top: 2px; border-radius: 2px; background: #3858e9; color: #fff; display: inline-grid; place-items: center; font-size: 11px; }
.ab-kind { font-size: 11px; color: #50575e; background: #f0f0f1; border-radius: 4px; padding: 0 .375rem; margin-top: 2px; }
.ab-changes del { color: #50575e; }
.ab-changes ins { text-decoration: underline; }
.ab-show { color: #2145e6; text-decoration: underline; }
.ab-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem; padding-top: .25rem; }
.ab-btn { display: inline-flex; align-items: center; gap: .375rem; min-height: 30px; padding: 0 .625rem; border-radius: 2px; font: inherit; font-weight: 600; font-size: 12.5px; border: 1px solid #3858e9; color: #2145e6; background: #fff; }
.ab-btn.is-primary { background: #3858e9; color: #fff; }
.ab-btn.is-link { border-color: transparent; padding: 0 .25rem; }
.ab-btn.is-danger { background: #cc1818; border-color: #cc1818; color: #fff; }
button.ab-btn { cursor: default; }
button.ab-btn.is-cue { cursor: pointer; box-shadow: 0 0 0 3px rgba(56, 88, 233, .35); animation: ab-cue 1.2s ease-in-out infinite; }
button.ab-btn.is-danger.is-cue { box-shadow: 0 0 0 3px rgba(204, 24, 24, .3); }
.ab-ask { background: #f0f6fc; border-color: #c5d9ed; }
.ab-ask p { margin: 0; }
.ab-ask strong { color: #0a4b78; }
.ab-confirm { background: #fcf9e8; border-color: #f0e3a4; }
.ab-confirm p { margin: 0; }

.ab-composer { flex: none; border-top: 1px solid #e0e0e0; padding: .5rem .625rem .625rem; display: grid; gap: .375rem; }
.ab-selected { margin: 0; font-size: 11px; color: #50575e; }
.ab-composer-box { display: flex; align-items: flex-end; gap: .5rem; min-height: 3.25rem; border: 1px solid #949494; border-radius: 4px; padding: .375rem .375rem .375rem .5rem; }
.ab-composer-text, .ab-composer-ph { flex: 1 1 auto; min-width: 0; align-self: flex-start; max-height: 3.375rem; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; font-size: 12px; line-height: 1.4; }
.ab-composer-ph { color: #757575; }
.ab-composer-text:empty, .ab-composer-box.has-text .ab-composer-ph { display: none; }
.ab-send { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 4px; background: #dcdcde; color: #fff; font-size: 13px; transition: background-color .2s ease; }
.ab-composer-box.has-text .ab-send { background: #3858e9; }

/* The Memory view, drawn where the page would be. */
.ab-memory { position: absolute; inset: 0; display: flex; flex-direction: column; border: 1px solid #dcdcde; border-radius: 10px; background: #fff; color: #1e1e1e; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 12.5px; line-height: 1.5; overflow: hidden; }
.ab-memory-bar { flex: none; margin: 0; padding: .5rem .75rem; border-bottom: 1px solid #e0e0e0; font-weight: 600; font-size: 13px; }
.ab-memory-body { padding: .75rem; display: grid; gap: .375rem; align-content: start; overflow: hidden; }
.ab-memory-head { font-size: 13px; font-weight: 600; margin: .25rem 0 0; }
.ab-memory .ab-help { margin: 0; color: #50575e; font-size: 12px; }
.ab-switch { display: flex; align-items: center; gap: .5rem; margin: 0; }
.ab-switch span:first-child { width: 32px; height: 18px; border-radius: 999px; background: #3858e9; position: relative; flex: none; }
.ab-switch span:first-child::after { content: ""; position: absolute; top: 3px; inset-inline-end: 3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.ab-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: .375rem; min-height: 2rem; }
.ab-notes li { display: flex; justify-content: space-between; gap: .5rem; border: 1px solid #e0e0e0; border-radius: 6px; padding: .375rem .5rem; }
.ab-notes li span:last-child { color: #2145e6; font-weight: 600; white-space: nowrap; }
.ab-forget { margin: .25rem 0 0; color: #2145e6; font-weight: 600; }

/* The mock page. */
.ab-page { --abp-accent: #1abc9c; position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #dcdcde; border-radius: 10px; background: #fff; color: #1e1e1e; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 11px; line-height: 1.45; box-shadow: 0 18px 40px -28px rgba(11, 13, 15, .45); scroll-behavior: smooth; }
.ab-page > * { flex: none; }
.abp-chrome { display: flex; gap: 4px; padding: 7px 10px; background: #f6f7f7; border-bottom: 1px solid #ececec; }
.abp-chrome span { width: 7px; height: 7px; border-radius: 50%; background: #dcdcde; }
.abp-header { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 12px; border-bottom: 1px solid #f0f0f1; }
.abp-logo { flex: none; width: 20px; height: 20px; border-radius: 6px; background: var(--abp-accent); transition: background-color .6s ease; }
.abp-nav { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; min-width: 0; }
.abp-nav > span:empty { width: 24px; height: 5px; border-radius: 3px; background: #dcdcde; }
.abp-navtext { font-size: 10.5px; font-weight: 600; color: #50575e; white-space: nowrap; }
.abp-navtext i { font-size: 9px; }
.abp-sec { padding: 10px 12px; display: grid; gap: 7px; justify-items: start; }
.abp-sec > *, .abp-hero > * { max-width: 100%; }
.abp-hero { position: relative; padding: 18px 12px 14px; display: grid; gap: 7px; justify-items: start; background: linear-gradient(135deg, #fdf3e6, #f7e7d3); }
.abp-band { padding: 12px; background: #f6f7f7; border-bottom: 1px solid #f0f0f1; }
.abp-h { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.abp-h.is-lg { font-size: 17px; }
.abp-p { margin: 0; font-size: 11.5px; color: #3c434a; }
.abp-lines { display: grid; gap: 5px; width: 100%; }
.abp-lines > span { height: 6px; border-radius: 3px; background: #e6e8eb; }
.abp-lines > span:last-child:not(:first-child) { width: 62%; }
.abp-lines:has(> span:only-child) > span { width: 78%; }
.abp-bar { display: block; width: 45%; height: 9px; border-radius: 4px; background: #c9ced4; }
.abp-bar.is-wide { width: 70%; height: 12px; }
.abp-btn { display: inline-flex; align-items: center; min-height: 20px; padding: 3px 10px; border-radius: 4px; background: var(--abp-accent); color: #fff; font-size: 10.5px; font-weight: 600; white-space: nowrap; transition: background-color .6s ease; }
.abp-btn:empty { width: 56px; }
.abp-header .abp-btn { flex: none; }
.abp-label { position: absolute; inset-block-start: -8px; inset-inline-start: 6px; background: #3858e9; color: #fff; font-size: 9px; font-weight: 600; line-height: 14px; padding: 0 5px; border-radius: 2px; white-space: nowrap; }
.abp-hero .abp-label { inset-block-start: 6px; inset-inline-start: auto; inset-inline-end: 8px; background: rgba(30, 30, 30, .7); }
.abp-selected { position: relative; width: 100%; display: grid; gap: 5px; outline: 1.5px solid #3858e9; outline-offset: 3px; border-radius: 1px; margin-top: 6px; }
.abp-selected > div { display: grid; gap: 5px; }

.abp-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; width: 100%; }
.abp-ibox { position: relative; display: grid; gap: 4px; justify-items: start; align-content: start; padding: 7px; border: 1px solid #eceef0; border-radius: 6px; background: #fff; }
.abp-ibox i { color: var(--abp-accent); font-size: 14px; line-height: 1; transition: color .6s ease; }
.abp-ibox b { font-size: 10px; line-height: 1.2; }
.abp-chip { position: absolute; inset-block-start: 5px; inset-inline-end: 5px; font-size: 8.5px; font-weight: 600; color: #3858e9; background: #eef1fd; border-radius: 3px; padding: 0 4px; }
.abp-price { display: grid; gap: 4px; justify-items: start; padding: 8px 7px; border: 1px solid #eceef0; border-radius: 6px; transition: background-color .6s ease, border-color .6s ease; }
.abp-price b { font-size: 10px; }
.abp-amount { font-size: 13px; font-weight: 700; }
.abp-price.is-featured { border-color: var(--abp-accent); box-shadow: 0 0 0 1px var(--abp-accent); }

.abp-ticker { overflow: hidden; background: #1e1e1e; color: #fff; padding: 7px 0; white-space: nowrap; }
.abp-ticker-track { display: inline-flex; gap: 24px; padding-inline-start: 12px; animation: ab-marquee 12s linear infinite; }
[dir="rtl"] .abp-ticker-track { animation-name: ab-marquee-rtl; }
.abp-tick { font-size: 11.5px; font-weight: 600; }
.abp-tick::after { content: "\2022"; margin-inline-start: 24px; opacity: .5; }
.abp-grad .abp-tick { background: linear-gradient(90deg, #60a5fa, #a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent; }

.abp-level { display: flex; align-items: center; gap: 6px; width: 100%; }
.abp-level .abp-bar { height: 10px; transition: height .4s ease; }
.abp-tag { display: inline-grid; flex: none; font-size: 9px; font-weight: 700; color: #3858e9; background: #eef1fd; border-radius: 3px; padding: 0 4px; }

.abp-dark { background: #1e1e1e; color: #fff; transition: background-color .6s ease, color .6s ease; }
.abp-dark .abp-bar { background: rgba(255, 255, 255, .55); }
.abp-dark .abp-lines > span { background: rgba(255, 255, 255, .22); }
.abp-dark .abp-price { background: #2c2c2c; border-color: #3c3c3c; }

.abp-about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 10px; padding-block: 22px; background: #f6f7f7; transition: padding .5s ease; }
.abp-col { display: grid; gap: 5px; min-width: 0; width: 100%; }
.abp-photo { order: -1; display: grid; place-items: center; width: 100%; height: 64px; border-radius: 6px; background: linear-gradient(135deg, #b9d7f0, #d8c8ef); color: rgba(255, 255, 255, .9); font-size: 20px; }

.abp-footer { margin-top: auto; padding: 10px 12px; display: grid; gap: 7px; background: #1e1e1e; color: #fff; }
.abp-footer .abp-lines > span { background: rgba(255, 255, 255, .2); }
.abp-copy { margin: 0; font-size: 11px; }

.abp-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
.abp-post { display: grid; gap: 6px; align-content: start; min-width: 0; }
.abp-thumb { display: grid; place-items: center; height: 44px; border-radius: 5px; background: linear-gradient(135deg, #cfe3f7, #e7dcf6); color: rgba(255, 255, 255, .95); font-size: 14px; }
.abp-thumb.t2 { background: linear-gradient(135deg, #f7d9c4, #f3c2c9); }
.abp-thumb.t3 { background: linear-gradient(135deg, #c9ecd9, #bfe0f0); }
.abp-thumb.t4 { background: linear-gradient(135deg, #f6e6b5, #f4cfa8); }

.abp-swatch { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.abp-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--abp-accent); transition: background-color .6s ease; }
.abp-link { display: block; width: 30%; height: 6px; border-radius: 3px; background: var(--abp-accent); transition: background-color .6s ease; }
.abp-brand { --abp-accent: #0f766e; }

.abp-slide { display: grid; place-items: center; width: 100%; height: 78px; border-radius: 6px; background: linear-gradient(135deg, #cfe3f7, #e7dcf6); color: rgba(255, 255, 255, .95); font-size: 22px; }
.abp-dots { display: flex; gap: 5px; justify-self: center; }
.abp-dots span { width: 6px; height: 6px; border-radius: 50%; background: #dcdcde; }
.abp-dots span.is-on { background: #50575e; }
.abp-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; width: 100%; }
.abp-strip .abp-thumb { height: 34px; }

.abp-mega { margin: 0 12px; padding: 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; border: 1px solid #eceef0; border-radius: 0 0 6px 6px; background: #fff; box-shadow: 0 10px 20px -12px rgba(11, 13, 15, .35); }
.abp-mega-item { display: flex; align-items: center; gap: 6px; }
.abp-mega-item .abp-bar { width: 70%; height: 7px; }

.abp-car { display: block; width: 100%; overflow: hidden; border-radius: 6px; }
.abp-car-track { display: flex; width: calc(700% / 3); animation: ab-carousel 16s ease-in-out infinite; }
.abp-car-track .abp-thumb { flex: 0 0 calc(100% / 7); height: 64px; border-radius: 0; box-shadow: inset 3px 0 0 #fff, inset -3px 0 0 #fff; }
.abp-car-track b { font-size: 14px; }

.abp-form { display: flex; gap: 6px; width: 100%; }
.abp-input { flex: 1 1 auto; height: 20px; border: 1px solid #dcdcde; border-radius: 4px; }
.abp-doomed { position: relative; margin: 8px 6px 4px; padding-top: 14px; border-radius: 4px; background: #f6f7f7; outline: 1.5px solid #3858e9; outline-offset: 0; }

/* Before the change lands: the state each page started in. */
.ab-before-result .abp-dark { background: #fff; color: #1e1e1e; }
.ab-before-result .abp-dark .abp-bar { background: #c9ced4; }
.ab-before-result .abp-dark .abp-lines > span { background: #e6e8eb; }
.ab-before-result .abp-dark .abp-price { background: #fff; border-color: #eceef0; }
.ab-before-result .abp-grad .abp-tick { background: none; color: #fff; }
.ab-before-result .abp-about { padding-block: 8px; }
.ab-before-result .abp-photo { order: 1; }
.ab-before-result .abp-level .abp-bar { height: 6px; }
.ab-before-result .abp-posts { grid-template-columns: 1fr; gap: 6px; }
.ab-before-result .abp-post { grid-template-columns: 56px minmax(0, 1fr); align-items: center; }
.ab-before-result .abp-post .abp-thumb { height: 34px; }
.ab-before-result.ab-demo .abp-brand { --abp-accent: #1abc9c; }
.ab-before-result .abp-car-track { width: 700%; animation: none; }
.ab-demo:not(.ab-before-confirm) .abp-doomed { outline-color: #cc1818; }

/* Phases: hidden until reached, and the swap-outs hidden once passed. */
.ab-demo:not(.is-live) [data-ab-until]:not([data-ab-back]) { display: none; }
.ab-demo .is-off { display: none !important; }
.ab-demo.is-live [data-ab-at]:not(.is-off) { animation: ab-in .45s ease both; }
.ab-demo.is-live:not(.ab-before-result) .abp-hit:not(.is-off) { animation: ab-in .45s ease both, ab-hit 1.8s ease .2s both; }
.ab-demo.is-live:not(.ab-before-result) .abp-stagger .abp-ibox { animation: ab-fade-up .7s ease both; }
.ab-demo.is-live:not(.ab-before-result) .abp-stagger .abp-ibox:nth-child(2) { animation-delay: .15s; }
.ab-demo.is-live:not(.ab-before-result) .abp-stagger .abp-ibox:nth-child(3) { animation-delay: .3s; }

@keyframes ab-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes ab-hit { 0% { box-shadow: 0 0 0 0 rgba(56, 88, 233, 0); } 20% { box-shadow: 0 0 0 3px rgba(56, 88, 233, .45); } 100% { box-shadow: 0 0 0 3px rgba(56, 88, 233, 0); } }
@keyframes ab-fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes ab-cue { 50% { box-shadow: 0 0 0 5px rgba(56, 88, 233, .18); } }
@keyframes ab-spin { to { transform: rotate(360deg); } }
@keyframes ab-marquee { to { transform: translateX(-50%); } }
@keyframes ab-marquee-rtl { to { transform: translateX(50%); } }
@keyframes ab-carousel {
	0%, 20% { transform: translateX(0); }
	25%, 45% { transform: translateX(-14.2857%); }
	50%, 70% { transform: translateX(-28.5714%); }
	75%, 95% { transform: translateX(-42.8571%); }
	100% { transform: translateX(-57.1429%); }
}
[dir="rtl"] .abp-car-track { animation-name: none; }

@media (prefers-reduced-motion: reduce) {
	.ab-demo *, .ab-demo *::before, .ab-demo *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* How it works. */
.ab-steps { list-style: none; counter-reset: abstep; padding: 0; margin: 0; display: grid; gap: 1rem; }
@media (min-width: 992px) { .ab-steps { grid-template-columns: repeat(5, 1fr); } }
.ab-steps li { counter-increment: abstep; border: 1px solid var(--site-line); border-radius: var(--site-radius); background: #fff; padding: 1.25rem; }
.ab-steps li::before { content: counter(abstep); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--site-accent-soft); color: var(--site-accent-text); font-weight: 700; margin-bottom: .75rem; }
.ab-steps h3 { font-size: var(--t-lg); font-weight: 700; margin-bottom: .375rem; }
.ab-steps p { color: var(--site-muted); margin: 0; font-size: var(--t-sm); }

.ab-plan-notes { font-size: var(--t-sm); color: var(--site-muted); }
.dark .arrow-link { color: #8ab4f8; }

@media (max-width: 575.98px) {
	.ab-demo { padding: .5rem; }
	.ab-chat-body { padding: .625rem; }
}
