/* cloudairy-tokens.css — puts the artifact type pages on the Cloudairy design system (skill: cloudairy-page-design),
   on top of the source section styles (base.css + family file). Loaded last.
   Fonts: Inter, Roboto Mono for mono labels. Titles 60/72 600, eyebrow 16px mono purple, lead 18px.
   Buttons: 40px tall, 8px corners, 16px/600. Lines #C9D0D9. Radius 20px on cards and picture frames. */

/* the source forces Inter on everything inside .ba-page; keep our mono labels mono */
.ba-page .ag-mono, .ba-page .ag-mono *{ font-family: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace !important; }

/* content width = our .ag-wrap */
.ba-page .ba-wrap{ max-width: 1680px; padding-inline: clamp(16px, calc(4 * var(--ag-vw, 1vw)), 40px); }

/* section heads */
.ba-page .ba-eyebrow{ font-size: 16px; letter-spacing: 1.92px; line-height: normal; color: #6762fe; }
.ba-page .ba-eyebrow--light{ color: #91b5ff; }
.ba-page .ba-title, .ba-page .ba-final__title{ font-size: clamp(36px, calc(3.125 * var(--ag-vw, 1vw)), 60px); font-weight: 600; line-height: 1.2; letter-spacing: -0.035em; color: #0e0e10; }
.ba-page .ba-title span, .ba-page .ba-final__title span{ color: #6d7988; }
.ba-page .ba-head{ gap: 20px; }
.ba-page .ba-intro, .ba-page .ba-final__lead{ font-size: 18px; line-height: 1.55; color: #55555f; }

/* buttons: the navbar Sign Up Free shape */
.ba-page .ba-btn{ height: calc(40px / var(--ag-z, 1)); padding: 0 calc(18px / var(--ag-z, 1)); border-radius: calc(8px / var(--ag-z, 1));
  font-size: 16px; font-weight: 600; line-height: 1; box-shadow: none; }
.ba-page .ba-btn--primary{ background: #0e0e14; color: #fff; border: 1px solid #0e0e14; }
.ba-page .ba-btn--primary:hover{ background: #2a2a33; border-color: #2a2a33; color: #fff; }
.ba-page .ba-btn--light{ background: #fff; color: #0e0e10; border: 1px solid #c9d0d9; }
.ba-page .ba-btn--light:hover{ background: #fafafb; border-color: #cfcefe; }

/* pictures still to come: same box as the source screenshot, our 20px frame */
.ba-page .ah-ph--src{ display: flex; align-items: center; justify-content: center; width: 100%; height: auto; aspect-ratio: var(--ar);
  background: #f3f4f6; border: 1px solid #c9d0d9; border-radius: 20px; overflow: hidden; }
.ba-page .ah-ph--src > span{ font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #6d7988; }

/* grey sections and lines = ours */
.ba-page .ba-tint{ background: #fafafb; }

/* FAQ and other lists: lines only BETWEEN items, none above the first or below the last (user rule) */
.ba-page .dc-faq__list, .ba-page .dw-faq__list, .ba-page .pf-faq__list, .ba-page .sl-faq__list{ border-top: 0; }
.ba-page .dc-faq details:last-child, .ba-page .dw-faq details:last-child, .ba-page .pf-faq details:last-child,
.ba-page .sl-faq__item:last-child{ border-bottom: 0; }

/* pictures keep their own shape (never stretched), and get the 20px frame */
.ba-page img[src*="/app-shots/"], .ba-page img[src*="/agent-screen-"]{ height: auto; max-width: 100%; }

/* full-width section heads with an intro: title on the left, intro on the right, vertically centred (as on the hub
   and the AI agents page). Heads inside a text + picture column (.ba-split__copy) keep the stacked layout. */
@media (min-width: 1100.02px){
  section.ba-page:not([class*="faq"]) > .ba-wrap > .ba-head:has(> .ba-intro){
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); column-gap: 48px; row-gap: 20px; align-items: center; }
  section.ba-page:not([class*="faq"]) > .ba-wrap > .ba-head:has(> .ba-intro) > :not(.ba-intro){ grid-column: 1; }
  section.ba-page:not([class*="faq"]) > .ba-wrap > .ba-head:has(> .ba-intro) > .ba-intro{ grid-column: 2; grid-row: 1 / span 3; max-width: 440px; }
}

/* FAQ icon = the hub's on every page (user, 2026-11-27): a 2px ink "+" at the right that turns into "-" when open.
   The source's own icons (purple +, "+" in a circle, chevron) are switched off. */
.ba-page details > summary{ position: relative; padding-right: 48px !important; }
.ba-page details > summary::after, .ba-page details > summary::before{
  content: "" !important; position: absolute; right: 8px; left: auto; top: round(calc(50% - 1px), 1px); width: 14px; height: calc(2px / var(--ag-z, 1));
  margin: 0; padding: 0; border: 0 !important; border-radius: 0; background: #0e0e10 !important; font-size: 0; transform: none; transition: transform .2s, opacity .2s; display: block; }
.ba-page details > summary::after{ transform: rotate(90deg) !important; }
.ba-page details[open] > summary::after{ transform: rotate(0deg) !important; opacity: 0; }
.ba-page details > summary .sl-faq__chev{ display: none !important; }

/* every picture on the type pages: 20px frame, like the AI agents page and the hub (user, 2026-11-27).
   The frame (the element holding the screenshot) and the picture itself both get 20px. */
.ba-page :has(> img[src*="/app-shots/"]), .ba-page :has(> img[src*="/agent-screen-"]){ border-radius: 20px !important; overflow: hidden; }
.ba-page img[src*="/app-shots/"], .ba-page img[src*="/agent-screen-"], .ba-page img[src*="/canvas/templates/"]{ border-radius: 20px !important; }

/* Related sections: no full-width line above (user, 2026-11-27) */
section.ba-page[class*="-related"]{ border-top: 0 !important; border-bottom: 0 !important; }

/* import / export section head (Canvas "Bring your diagrams in. Send them anywhere." and the same section on Code,
   Dashboards, Clips): title on ONE line, intro on one line below it (user, 2026-11-27) */
@media (min-width: 1100.02px){
  section.ba-page.dc-io > .ba-wrap > .ba-head:has(> .ba-intro){ display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
  section.ba-page.dc-io > .ba-wrap > .ba-head .ba-title{ width: 100%; }   /* one line when it fits; a very long title (Dashboards) wraps instead of being cut off */
  section.ba-page.dc-io > .ba-wrap > .ba-head .ba-title span{ display: inline; }
  section.ba-page.dc-io > .ba-wrap > .ba-head > .ba-intro{ max-width: none !important; width: 100%; }
}

/* split section heads: the intro on the right sits lower, level with the bottom of the title (user, 2026-11-27) */
@media (min-width: 1100.02px){
  section.ba-page:not([class*="faq"]) > .ba-wrap > .ba-head:has(> .ba-intro){ align-items: end; }
  section.ba-page:not([class*="faq"]) > .ba-wrap > .ba-head:has(> .ba-intro) > .ba-intro{ align-self: end; padding-bottom: 6px; }
}
/* panel behind a screenshot: our light grey instead of lavender (user, 2026-11-27) */
.ba-page .ba-panel{ background: #f3f4f6; border-color: #e4e7ec; }

/* feature chips = the hub's chips: white, 1px #C9D0D9, body grey text (user, 2026-11-27; were lavender with purple text) */
.ba-page .dc-feat li, .ba-page .dw-feat li, .ba-page .sw-feats__tags span, .ba-page .sl-feat li, .ba-page .pf-feats li span{
  padding: 4px 12px; background: #fff; border: 1px solid #c9d0d9; border-radius: 999px; font-size: 13px; line-height: 1.5; color: #55555f; }

/* tick lists = the hub's: a white tick centred in a 20px dark circle (user, 2026-11-27; were a plain green tick) */
.ba-page .ba-prompt__steps li, .ba-page .dc-io__col li{ align-items: flex-start; gap: 10px; }
.ba-page .ba-prompt__steps li::before, .ba-page .dc-io__col li::before{
  content: "" !important; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: #0e0e10 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.2 4.9 8.4 9.4 3.8' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 12px no-repeat; }

/* split heads: intro only a little below centre, not right at the bottom (user, 2026-11-27) */
@media (min-width: 1100.02px){
  section.ba-page:not([class*="faq"]) > .ba-wrap > .ba-head:has(> .ba-intro) > .ba-intro{ align-self: end; padding-bottom: 28px; }
  /* stacked import/export head: everything stays on the LEFT (the split rule above must not push the eyebrow right) */
  section.ba-page.dc-io > .ba-wrap > .ba-head:has(> .ba-intro){ align-items: flex-start !important; }
  section.ba-page.dc-io > .ba-wrap > .ba-head:has(> .ba-intro) > .ba-intro{ align-self: flex-start; padding-bottom: 0; }
}

/* the background behind every picture = the hub's (#F4F4F6), on all type pages (user, 2026-11-27) */
.ba-page :has(> img[src*="/app-shots/"]), .ba-page :has(> img[src*="/agent-screen-"]), .ba-page .ba-panel,
.ba-page .cv-shot, .ba-page .pf-shot, .ba-page .dw-shot, .ba-page .cv-card__thumb{ background-color: #f4f4f6 !important; }

/* FINAL head layout for full-width section heads on the type pages (user, 2026-11-27): eyebrow, then the title on ONE
   line (dark + grey parts side by side; a very long title wraps), then the intro on one line below. Replaces the
   earlier left/right split. Heads inside a text + picture column and the FAQ head are not affected. */
@media (min-width: 1100.02px){
  section.ba-page:not([class*="faq"]) > .ba-wrap > .ba-head:has(> .ba-intro){ display: flex !important; flex-direction: column; align-items: flex-start !important; gap: 20px; }
  section.ba-page:not([class*="faq"]) > .ba-wrap > .ba-head:has(> .ba-intro) .ba-title{ width: 100%; }
  section.ba-page:not([class*="faq"]) > .ba-wrap > .ba-head:has(> .ba-intro) .ba-title span{ display: inline; }
  section.ba-page:not([class*="faq"]) > .ba-wrap > .ba-head:has(> .ba-intro) > .ba-intro{ align-self: flex-start; width: 100%; max-width: none !important; padding-bottom: 0; }
}

/* Canvas "Keep every version": the joined history + download picture is nearly square, so show it smaller and
   centred in its column (user, 2026-11-27) */
.ba-page .cv-shot--joined:has(> img[src*="version-history-and-download"]){ max-width: none; }

/* card hover = the hub's cards on every type page (user, 2026-11-27): grey border, soft neutral shadow, 2px lift.
   Replaces the source's purple border / purple glow. */
.ba-page :is(.cv-card, .cv-tool, .ah-item, .dc-fam, .dc-tpl, .dw-tpl, .dw-family a, .pf-family a, .pf-tpl a, .sw-family a, .sw-tpls a, .sl-link, .sl-types li, .ba-agent){
  transition: border-color .2s, box-shadow .2s, transform .2s !important; }
.ba-page :is(.cv-card, .cv-tool, .ah-item, .dc-fam, .dc-tpl, .dw-tpl, .dw-family a, .pf-family a, .pf-tpl a, .sw-family a, .sw-tpls a, .sl-link, .sl-types li, .ba-agent):hover{
  border-color: #aab4c1 !important; box-shadow: 0 16px 40px rgba(26,26,51,.06) !important; transform: translateY(-2px) !important; }
@media (prefers-reduced-motion: reduce){
  .ba-page :is(.cv-card, .cv-tool, .ah-item, .dc-fam, .dc-tpl, .dw-tpl, .dw-family a, .pf-family a, .pf-tpl a, .sw-family a, .sw-tpls a, .sl-link, .sl-types li, .ba-agent){ transition: none !important; } }

/* steps row = the AI agents page's "Canvas builder / GitHub sync" row: number on top, 22px title, text below (user, 2026-11-27) */
.ba-page .ba-steps li{ flex-direction: column; gap: 8px; }
.ba-page .ba-steps li > span{ font-size: 18px; line-height: normal; color: #0e0e10; }
.ba-page .ba-steps h3{ font-size: 22px; font-weight: 500; letter-spacing: -0.22px; line-height: normal; color: #0e0e10; }
.ba-page .ba-steps p{ margin-top: 8px; font-size: 15px; line-height: 1.5; color: #55555f; }
@media (max-width: 767.98px){ .ba-page .ba-steps h3{ font-size: 20px; } }
/* stacked picture + text blocks inside one section need air between them (user, 2026-11-27) */
section.ba-page .ba-wrap.ba-split + .ba-wrap.ba-split{ margin-top: 128px !important; }
@media (max-width: 1099.98px){ section.ba-page .ba-wrap.ba-split + .ba-wrap.ba-split{ margin-top: 80px !important; } }
@media (max-width: 767.98px){ section.ba-page .ba-wrap.ba-split + .ba-wrap.ba-split{ margin-top: 56px !important; } }

/* agent cards (user, 2026-11-27): icon in the tile, grey where the source was purple-tinted, no empty band in the middle */
.ba-page .ba-av{ background: #f3f4f6; border-radius: 10px; }
.ba-page .ba-av--icon img{ display: block; width: 20px; height: 20px; border-radius: 0 !important; background: none !important; }
.ba-page .ba-agent__top{ min-height: 0; }
.ba-page .ba-agent__out{ background: #f3f4f6; }

/* team cards (user, 2026-11-27): icon, title and text sit together as one group, then the panel */
.ba-page .ba-team{ gap: 0; row-gap: 0; }
.ba-page .ba-team > img{ margin-bottom: 16px; }
.ba-page .ba-team h3{ margin: 0 0 8px; }
.ba-page .ba-team__desc{ margin: 0 0 24px; }
.ba-page .ba-team__ws{ margin-bottom: 20px; }
.ba-page .ba-team{ grid-template-rows: auto auto auto 1fr; }   /* tablet two-column card: the text rows stay together */

/* "works with your other artifacts" cards (user, 2026-11-27): one colour like the rest of the pages, not one per type */
.ba-page .cv-tool{ --tc: #6762fe; --tb: #f3f4f6; --tl: #f3f4f6; }
.ba-page .cv-tool .cv-tool__ic{ background: #f3f4f6; border-color: #f3f4f6; }
.ba-page .cv-tool .cv-tool__ic img{ filter: brightness(0) saturate(100%) invert(38%) sepia(63%) saturate(4300%) hue-rotate(232deg) brightness(101%) contrast(99%); background: none !important; border-radius: 0 !important; }
.ba-page .cv-tool em{ color: #6762fe; }

/* related pills hover = the pill hover used on the AI agents page: grey fill, text and border stay (user, 2026-11-27) */
.ba-page :is(.dc-related__list a, .dw-related a, .sw-related__list a){ transition: background-color .2s !important; }
.ba-page :is(.dc-related__list a, .dw-related a, .sw-related__list a):hover{ background: #f3f4f6 !important; border-color: #c9d0d9 !important; color: #33333b !important; }
/* those card icons in the hub's grey (#6D7988), not purple (user, 2026-11-27) */
.ba-page .cv-tool .cv-tool__ic img{ filter: brightness(0) saturate(100%) invert(49%) sepia(13%) saturate(560%) hue-rotate(172deg) brightness(92%) contrast(88%); }
.ba-page .cv-tool__ic--hub svg{ width: 24px; height: 24px; fill: none; stroke: #6d7988; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ba-page .dc-feat > img.dc-feat__tile{ width: 44px; height: 44px; border-radius: 0 !important; background: none !important; }
/* same colours as the hub's type-card icon: purple line on the light purple tile (user, 2026-11-27) */
.ba-page .cv-tool .cv-tool__ic.cv-tool__ic--hub{ background: #f0efff; border-color: #f0efff; }
.ba-page .cv-tool__ic--hub svg{ stroke: #6762fe; }

/* ---- consistency pass across every type page (user, 2026-11-27) ---- */
/* agent cards: light purple behind the icon, grey lower panel */
.ba-page .ba-agent .ba-av{ background: #f0efff; }
/* "Open Docs ->" links and card arrows: the arrow moves 3px on hover, colour stays */
.ba-page .ba-arrow, .ba-page .cv-card__foot i{ display: inline-block; transition: transform .2s; }
.ba-page a:hover .ba-arrow, .ba-page a:hover > .cv-card__foot i{ transform: translateX(3px); }
@media (prefers-reduced-motion: reduce){ .ba-page .ba-arrow, .ba-page .cv-card__foot i{ transition: none; } }
/* links inside running text are the brand purple, never the browser's blue */
section.ba-page :is(p, .ba-intro) > a:not([class]){ color: #6762fe; text-decoration: underline; text-underline-offset: 2px; }
section.ba-page :is(.dw-related, .sw-related__list, .dc-related__list) a:not([class]){ color: #33333b; text-decoration: none; display: inline-flex; padding: 9px 14px; border: 1px solid #c9d0d9; border-radius: 999px; background: #fff; font-size: 13px; }
/* one purple, one border grey, one tint */
.ba-page :is(.dc-fam--hub b, .dw-family a.is-hub b, .sl-opts span.is-on){ color: #6762fe; }
.ba-page .ba-panel{ border-color: #c9d0d9; }
.ba-page :is(.dw-tpl__sheet, .pf-tpl__mini){ background: #f3f4f6; }
.ba-page .dw-tpl__sheet i{ background: #c9d0d9; }
.ba-page .dw-tpl__sheet i:first-child{ background: #6762fe; opacity: .55; }
/* Clips: the orange accents become the brand purple */
.ba-page .dc-scene .ba-mono{ color: #6762fe; }
.ba-page .dc-scene.is-on{ border-color: #6762fe; background: #f0efff; }
.ba-page .dc-btn-s--clip{ background: #6762fe; }
.ba-page :is(.dc-btn-s--line, .ba-win__edit){ border-color: #c9d0d9; }
/* small inner radii: 10px panels and tiles, 8px rows and small buttons */
.ba-page :is(.ba-team__ws, .ba-prompt__reply, .ba-apps li, .sl-feat__ic, .dc-app){ border-radius: 10px; }
.ba-page :is(.ba-team__item, .dc-btn-s, .dc-seg span){ border-radius: 8px; }

/* every card icon sits in the same light purple tile as on Canvas: 44px, 10px corners, 24px purple icon (user, 2026-11-27) */
section.ba-page img[src*="/icons/"]:not(.dc-feat__tile):not(.ba-av img){
  box-sizing: content-box; flex: none; width: 24px; height: 24px; padding: 10px; border-radius: 10px !important; background: #f0efff !important; }
.ba-page .ba-av--icon img{ padding: 0 !important; width: 20px !important; height: 20px !important; background: none !important; }

/* rows with an icon beside the text (Docs review list): room for the 44px tile */
.ba-page .dw-list li{ grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
.ba-page .dw-list img{ margin-top: 0; }
/* the dark "All artifacts" card: a see-through tile so the icon stays visible on black */
.ba-page .pf-family li.is-hub img[src*="/icons/"]{ background: rgba(255,255,255,.12) !important; filter: none !important; }

/* hero title on type pages: the first sentence stays on ONE line, the dim sentence on the next (user, 2026-11-27: Docs "place") */
@media (min-width: 1280px){
  .ba-page-host .ag-hero__title{ white-space: nowrap; width: max-content; max-width: none; align-self: center; }   /* the copy column already centres it: no extra shift */
  .ba-page-host .ag-hero__title > span{ display: block; }
}

/* "other artifacts" cards on every type page: the hub's icon for each type in the light purple tile, and no tinted or
   dark "featured" card - every card is the same white card (user, 2026-11-27) */
.ba-page .ba-hubic{ display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 10px; background: #f0efff; }
.ba-page .ba-hubic svg{ width: 24px; height: 24px; fill: none; stroke: #6762fe; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ba-page :is(.dc-fam--hub, .dw-family a.is-hub, .sw-family .sw-family__hub a, .pf-family li.is-hub a, .ba-types li.ba-types__more){ background: #fff !important; border-color: #c9d0d9 !important; }
.ba-page :is(.dc-fam--hub b, .dw-family a.is-hub b, .pf-family li.is-hub b, .sw-family .sw-family__hub b){ color: #0e0e10 !important; }
.ba-page .pf-family li.is-hub b::after{ color: #6762fe !important; }
.ba-page .pf-family li.is-hub span{ color: #55555f !important; }
.ba-page .pf-family li.is-hub img[src*="/icons/"]{ background: #f0efff !important; filter: none !important; content: url(/assets/image/dash-clips-code/icons/grid.svg); }

/* Docs template cards: the Figma preview fills the sheet area */
.ba-page .dw-tpl__sheet--pic{ display: block; padding: 0; background: none; border: 0; height: auto; }
.ba-page .dw-tpl__sheet--pic img.dw-tpl__prev{ display: block; width: 100%; height: auto; border-radius: 10px !important; background: none !important; padding: 0; }

/* FAQ question text is one size on every type page (was 17 / 18 / 19px) */
section.ba-page summary{ font-size: 18px !important; }

/* Docs template cards: only the category label, at the left (no "DOC") */
.ba-page .dw-tpl__type{ justify-content: flex-start !important; }

/* Sites and Wireframes FAQ = the FAQ on every other type page (user, 2026-11-28): same columns, rows divided by a line,
   no boxed cards */
@media (min-width: 1100px){ .ba-page.sw-faq .ba-wrap{ grid-template-columns: 520px minmax(0, 1000px); justify-content: space-between; } }
.ba-page.sw-faq .sw-faq__list{ gap: 0; border-top: 0; }
.ba-page.sw-faq details{ border: 0; border-bottom: 1px solid #c9d0d9; border-radius: 0; background: none; padding: 0; }
.ba-page.sw-faq details:last-child{ border-bottom: 0; }
.ba-page.sw-faq summary{ padding: 24px 0; font-size: 18px; }
/* no line under the last FAQ question on any type page (the last <details> is not always the list's last child) */
section.ba-page[class*="faq"] details:last-of-type{ border-bottom: 0 !important; }
/* Slides / Infographics FAQ answers start under the question (the numbers are gone) */
.ba-page .sl-faq__a{ padding-left: 0; }


/* ONE picture frame on every type page (user, 2026-11-28: "add the bg where it is missing", "line not proper", "stroke
   colour"). Every section picture sits in .pic-frame: hub-grey panel, 1px #C9D0D9 border, 20px corners.
     --bd     the picture carries the grey backdrop itself: it fills the frame edge to edge
     --stroke a screen whose own outline is #C9D0D9 (fix_screen_strokes.py): 32px of grey around it
     --plain  a screen without an outline: 32px of grey, plus a #C9D0D9 hairline and 12px corners
     --ph     "Image coming soon"
   The page's own picture wrappers (white boxes, borders, shadows, grey panels) are flattened so nothing doubles up. */
.ba-page .pic-frame{ display: flex; align-items: center; justify-content: center; width: 100%; box-sizing: border-box;
  padding: 32px; background: #f4f4f6 !important; border: 1px solid #c9d0d9; border-radius: 20px; overflow: hidden; }
.ba-page .pic-frame--bd{ padding: 0; }
.ba-page .pic-frame > img{ display: block; width: auto !important; height: auto !important; max-width: 100% !important;
  margin: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: none !important; }
.ba-page .pic-frame--bd > img{ width: 100% !important; }
.ba-page .pic-frame--plain > img{ border: 1px solid #c9d0d9 !important; border-radius: 12px !important; }
.ba-page .pic-frame--ph > .ah-ph{ width: 100%; border: 1px solid #c9d0d9; border-radius: 12px !important; background: #fff !important; }
/* the page's own wrappers around a picture: no second box */
.ba-page :is(div, figure, span):has(.pic-frame):not(.pic-frame):not(:has(h2, h3, h4, li, b, a, button, .ba-prompt__run, .ba-head, .ba-doc, p:not(.ba-panel__note))){
  border: 0 !important; padding: 0 !important; background: none !important; box-shadow: none !important; border-radius: 0 !important;
  overflow: visible !important; aspect-ratio: auto !important; }
.ba-page :is(div, figure):has(.pic-frame) > .ba-panel__note{ display: none; }
/* Ask AI: the frame fills the right column; the screen inside is at most 560px tall */
.ba-page .ba-prompt__grid{ align-items: center; }
.ba-page .ba-prompt__grid > :not(.ba-prompt__run){ width: 100% !important; max-width: none !important; justify-self: stretch !important; }
.ba-page .ba-prompt__grid .pic-frame > img{ max-height: 560px; }
.ba-page .ba-prompt__grid .pic-frame--ph > .ah-ph{ --ar: 1200/620 !important; }
@media (max-width: 767.98px){ .ba-page .pic-frame:not(.pic-frame--bd){ padding: 16px; } .ba-page .pic-frame{ border-radius: 16px; } }
/* Docs "Bring documents in": the New Doc picture a bit smaller, centred in its column (user, 2026-11-28) */
/* (New Doc cap removed: the user wanted it wider, 2026-11-28) */

/* SECTION SPACING = Canvas on every type page (user, 2026-11-28): 112px above and below every section (80 tablet, 64
   phone). Docs had five sections at 0 because their padding class (dw-sec) did not survive the build. */
section.ba-page{ padding-block: 112px !important; }
@media (max-width: 1099.98px){ section.ba-page{ padding-block: 80px !important; } }
@media (max-width: 767.98px){ section.ba-page{ padding-block: 64px !important; } }

/* (agent-card panel removed: only pictures get the grey frame, never boxes of cards - user 2026-11-28) */

/* screens inside a picture frame: 12px corners for every kind (the outline baked into --stroke pictures is clipped to it) */
.ba-page .pic-frame--stroke > img{ border-radius: 12px !important; }

/* every heading on the type pages: the grey sentence continues on the same line as the dark one (wraps naturally),
   never forced onto its own line - same rule as the full-width heads (user, 2026-11-28: Docs "Reviews happen in the doc.") */
.ba-page .ba-title > span{ display: inline !important; }

/* Agent-card section heading = the AI agents page "Build your own agent" heading (user, 2026-11-28): eyebrow + two-line
   title on the left (fills the row), intro + buttons on the right (440px), bottoms aligned, 32px apart */
.ba-page .ba-head.ba-head--split2{ display: flex !important; flex-direction: row !important; align-items: flex-end !important; justify-content: space-between; gap: 32px 80px; }
.ba-page .ba-head--split2 .ba-head__l{ flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.ba-page .ba-head--split2 .ba-title > span{ display: block !important; }
.ba-page .ba-head--split2 .ba-head__r{ flex: 0 0 440px; display: flex; flex-direction: column; gap: 24px; }
.ba-page .ba-head--split2 .ba-head__r .ba-intro{ margin: 0; max-width: none !important; }
.ba-page .ba-head--split2 .ba-actions{ margin: 0 !important; }
@media (max-width: 1099.98px){
  .ba-page .ba-head.ba-head--split2{ flex-direction: column !important; align-items: flex-start !important; gap: 20px; }
  .ba-page .ba-head--split2 .ba-head__r{ flex-basis: auto; width: 100%; }
}
/* Docs picture + text rows: picture full column width, a little less space to the text (user, 2026-11-28) */
@media (min-width: 1100px){ .ba-page .dw-split{ column-gap: 56px !important; } }
/* the section carries the 112px; the source wrappers' own padding (Docs .dw-sec) must not add a second 112px */
section.ba-page > .ba-wrap{ padding-block: 0 !important; }

/* heading -> content: 48px under a full-width heading, 32px under a heading inside a text column (user, 2026-11-28:
   "spacing not consistent"; it varied 21-48px) */
section.ba-page .ba-head{ margin-bottom: 0 !important; }
section.ba-page > .ba-wrap > .ba-head + *{ margin-top: 48px !important; }
section.ba-page .ba-wrap :not(.ba-wrap) > .ba-head + *{ margin-top: 32px !important; }

/* white outline buttons: grey fill on hover, like the AI agents page (border and text unchanged, no movement) */
.ba-page .ba-btn--light{ transition: background-color .2s; }
.ba-page .ba-btn--light:hover{ background: #f3f4f6 !important; border-color: #c9d0d9 !important; color: #0e0e10 !important; transform: none !important; }

/* Docs Ask AI picture is taller than the other Ask AI pictures: let it fill more of its frame (less grey at the sides) */
.ba-page .ba-prompt__grid .pic-frame > img[src*="ai-dock"]{ max-height: 680px; }
/* agent heading: the two buttons always side by side on one row (user, 2026-11-28). The column is wide enough for the
   longest pair (Forms: 466px) and, like the buttons, keeps its real size on zoomed screens (1280-1919px). */
@media (min-width: 1100px){
  .ba-page .ba-head--split2 .ba-head__r{ flex: 0 0 auto; width: calc(480px / var(--ag-z, 1)); }
  .ba-page .ba-head--split2 .ba-actions{ flex-wrap: nowrap !important; }
}
/* agent heading = the home page sample exactly: both title lines dark (user, 2026-11-28) */
.ba-page .ba-head--split2 .ba-title > span{ color: #0e0e10 !important; }

/* full-width section pictures: all the content width (1600 at 1920) and aligned with the heading (user, 2026-11-28: the
   Projects features picture was stuck at the source's 760px, Clips at 960px, Projects connect spilled 40px each side) */
.ba-page :is(.pf-feat-shot, .pf-io__shot, .dc-fig--solo, .dc-fig--wide){ max-width: none !important; width: 100% !important; margin-inline: 0 !important; }
/* below 1280px the AI agents page stacks this heading (title, then intro + buttons underneath): do the same, so the
   title never breaks into three lines on laptop screens (user, 2026-11-28) */
@media (max-width: 1279.98px){
  .ba-page .ba-head.ba-head--split2{ flex-direction: column !important; align-items: flex-start !important; gap: 24px; }
  .ba-page .ba-head--split2 .ba-head__r{ flex: 0 0 auto; width: 100%; max-width: 640px; }
}

/* agent cards in one row: the top part and the grey example part line up across the row and share one height
   (user, 2026-11-28: Projects and Wireframes had one card's example area taller than the rest) */
.ba-page .ba-agents{ grid-auto-rows: auto; }
.ba-page .ba-agents > .ba-agent:not([hidden]){ display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
.ba-page .ba-agents > .ba-agent > .ba-agent__out{ margin-top: 0; }
/* agent card corner arrow now points down-right: the hover nudge follows it */
/* (agent card arrow back to up-right, 2026-11-28) */

/* integration / import-export chips: one size on every page = the Docs chips (user, 2026-11-28): 13px text, 8px 12px,
   34px tall, 10px corners (they were 45px tall with 14px text on Projects, Forms, Slides, Infographics) */
.ba-page .ba-apps li{ padding: 8px 12px !important; font-size: 13px !important; line-height: 16px !important; border-radius: 10px !important; min-height: 0 !important; }
.ba-page .ba-apps{ gap: 8px !important; }
/* Projects / Forms "Bring your projects in": the list on the right sits a little lower - its bottom lines up with the
   last row of chips on the left (user, 2026-11-28) */
@media (min-width: 1100px){ .ba-page.pf-io .ba-split > .ba-points{ align-self: end; } }

/* "works with your other artifacts" cards (user, 2026-11-28): the type icon in grey (#6D7988, the grey of the heading's
   second sentence) on a light grey tile, and the corner arrow points down-right */
.ba-page .ba-hubic, .ba-page .cv-tool .cv-tool__ic.cv-tool__ic--hub{ background: #f3f4f6 !important; }
.ba-page .ba-hubic svg, .ba-page .cv-tool__ic--hub svg{ stroke: #6d7988 !important; }
/* (Projects / Forms card arrow stays up-right, user 2026-11-28) */
.ba-page .pf-family li.is-hub img[src*="/icons/"]{ background: #f3f4f6 !important; filter: none !important; content: url(/assets/image/dash-clips-code/icons/grid-grey.svg) !important; }   /* grey icon on the grey tile, like the other cards */

/* "other artifacts" cards on Projects / Forms: the up-right arrow sits a little lower (user, 2026-11-28) */
.ba-page .pf-family b::after{ position: relative; top: 6px; }
/* Dashboards template cards: the description starts right under the title, not pushed to the bottom (user, 2026-11-28) */
.ba-page .dc-tpl span:last-child{ margin-top: 0 !important; }

/* small all-caps mono labels (TEMPLATE, IMPORT, EXPORT, SHARE, the agent card "DOCS ... Illustrative example" line, team
   notes, chips): a little larger on every type page, 10-11px -> 12px (user, 2026-11-28: "minor mota kro, all pages") */
section.ba-page :is(p, span, b, li, em).ba-mono:not(.ba-eyebrow):not(.ba-av):not(.ba-apps__mcp):not(.sw-feats__tags):not(.dw-tpl__type),
section.ba-page .ba-agent__type, section.ba-page .ba-agent__type span, section.ba-page .ba-team__note, section.ba-page .ba-team__agents,
section.ba-page .pf-io__label, section.ba-page .sl-link__type, section.ba-page .sl-link__type span, section.ba-page .ba-chip,
section.ba-page .dc-tpl > .ba-mono, section.ba-page .dw-io__row > p{ font-size: 12px !important; }

/* the "All artifacts" card is a plain card like its neighbours: no tint, no dark fill, the same grey tile */
.ba-page :is(.dc-fam--hub, .pf-family li.is-hub a, .sw-family .sw-family__hub a, .ba-types li.ba-types__more, .ba-types li.ba-types__more a){ background: #fff !important; }
.ba-page :is(.dc-fam--hub, .pf-family li.is-hub, .sw-family__hub, .ba-types__more) :is(b, h3){ color: #0e0e10 !important; }
/* FAQ heading: "Questions," then "answered." on the next line, on every page */
section.ba-page[id="faq"] .ba-title > span{ display: block !important; }
/* phones: the agent card corner arrow gets a 32px tap area; the example rows in agent cards read at 12px */
@media (max-width: 767.98px){
  .ba-page .ba-agent__go{ display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 32px; margin: -6px -8px 0 0; }
  .ba-page .ba-doc span, .ba-page .ba-doc b{ font-size: 12px !important; }
}

/* Projects template cards: the Figma preview in place of the placeholder blocks, 10px corners like other boxes in a card */
.ba-page .pf-tpl__prev{ display: block; width: 100%; height: auto; margin-top: auto; border-radius: 10px; }   /* the picture carries its own #C9D0D9 outline */

/* Projects template cards (user, 2026-11-28: the previews were shrunk to half size inside 4 narrow cards and looked bad):
   two cards per row so each Figma preview shows at about its designed size, full width of the card */
.ba-page .pf-tpl:has(img[src*="/projects/templates/"]){ grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }   /* Projects only: the cards with Figma previews */
.ba-page .pf-tpl__prev{ width: 100%; max-width: none; }
@media (max-width: 767.98px){ .ba-page .pf-tpl:has(img[src*="/projects/templates/"]){ grid-template-columns: minmax(0, 1fr) !important; } }
/* Docs New Doc picture: a little taller - more of the grey backdrop above and below the dialog (user, 2026-11-28) */
/* Docs "Bring documents in": the New Doc picture itself bigger (user, 2026-11-28: "increase the picture, not the box") -
   the picture column on this row is wider, the text column narrower */
@media (min-width: 1100px){ section.ba-page#import-export .dw-split{ grid-template-columns: minmax(0, 975fr) minmax(0, 569fr) !important; } }

/* "Works with every artifact" cards on every page: the purple ↗ next to the title, the same as on Projects / Forms
   (user, 2026-11-28: "where are those arrows pointing upwards?") */
.ba-page#artifacts a:has(> .ba-hubic):not(.cv-tool) > :is(b, h3){ display: flex !important; justify-content: space-between; gap: 8px; }
.ba-page#artifacts a:has(> .ba-hubic):not(.cv-tool) > :is(b, h3)::after{ content: "\2197"; position: relative; top: 6px; font-weight: 400; color: #6762fe; }
.ba-page#artifacts .pf-family a > b::after{ content: "\2197"; }
/* "All artifacts" tile on Slides / Infographics: the link inside was a square white block over the rounded border */
.ba-page .ba-types li.ba-types__more a{ background: transparent !important; border-radius: inherit; }

/* "How it works" step numbers 01 / 02 / 03: larger on every page, eyebrow size (user, 2026-11-28) */
section.ba-page .ba-steps.ba-steps.ba-steps.ba-steps.ba-steps.ba-steps.ba-steps > li > span.ba-mono.ba-mono{ font-size: 16px !important; line-height: 1.2; }

/* "Works with every artifact" cards: the ↗ sits on the same row as the small line under the title, at its right end
   (user, 2026-11-28: "Build with AI   ↗"), not next to the title */
.ba-page#artifacts a:has(> .ba-hubic):not(.cv-tool) > :is(b, h3)::after,
.ba-page#artifacts .pf-family a > b::after{ content: none !important; }
.ba-page#artifacts a:has(> .ba-hubic):not(.cv-tool) > :is(span, p):last-child{ display: flex !important; justify-content: space-between; align-items: center; gap: 8px; }
.ba-page#artifacts a:has(> .ba-hubic):not(.cv-tool) > :is(span, p):last-child::after{ content: "\2197"; flex: none; font-size: 16px; font-weight: 400; line-height: 1; color: #6762fe; }



/* One look for every card at rest and on hover (hover audit, 2026-11-28):
   at rest white, 1px #C9D0D9, no shadow; on hover border #AAB4C1, soft shadow, 2px lift. Outliers fixed here: */
/* template cards with a Figma preview were grey (the "grey behind pictures" rule caught them) - white like the others */
.ba-page.ba-page .pf-tpl a:has(> .pf-tpl__prev){ background: #fff !important; }
/* Sites / Wireframes template cards: tinted #FAFAFB with a purple tint on hover - white, same hover as every card */
.ba-page.ba-page .sw-tpls a{ background: #fff !important; }
.ba-page.ba-page .sw-tpls a:hover{ background: #fff !important; }
/* Canvas "other artifacts" cards had a shadow at rest */
.ba-page.ba-page .cv-tool{ box-shadow: none !important; }
.ba-page.ba-page .cv-tool:hover{ box-shadow: 0 12px 30px rgba(14,14,20,.06) !important; }
/* the "All artifacts" card kept its border colour on hover */
.ba-page.ba-page :is(.dc-fam--hub, .pf-family li.is-hub a, .sw-family .sw-family__hub a, .ba-types li.ba-types__more, .dw-family a.is-hub):hover{ border-color: #aab4c1 !important; }


/* Template previews (Projects, Forms): the outline is drawn by CSS, not baked into the picture (its baked corner was much
   tighter than the 20px every picture uses), and the preview runs a little wider into the card's padding (user, 2026-11-28) */
.ba-page.ba-page .pf-tpl__prev{ border: 1px solid #c9d0d9 !important; border-radius: 20px !important; box-sizing: border-box;
  width: calc(100% + 16px) !important; max-width: none !important; margin-inline: -8px !important; background: #f7f7f8; }


/* "Works with your other artifacts" cards: ONE card grid on every page (user, 2026-11-28: Slides / Infographics were
   4 big columns, Sites / Wireframes slightly bigger text) - the Projects card: 6 columns, gap 16, padding 20, title 16px,
   small line 12px; 3 columns on tablets, 2 on phones */
.ba-page#artifacts :is(.pf-family, .dc-family__grid, .sw-family, .ba-types){ grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: 16px !important; margin-top: 48px !important; }
.ba-page#artifacts .ba-types li{ padding: 0 !important; min-height: 0 !important; gap: 0 !important; }
.ba-page#artifacts :is(.pf-family a, .dc-fam, .sw-family a, .ba-types li > a){ padding: 20px !important; gap: 10px !important; height: 100%; box-sizing: border-box; }
.ba-page#artifacts a:has(> .ba-hubic) > :is(b, h3){ font-size: 16px !important; font-weight: 500 !important; line-height: normal !important; }
.ba-page#artifacts a:has(> .ba-hubic) > :is(span, p):last-child{ font-size: 12px !important; line-height: 1.55 !important; }
@media (max-width: 1099.98px){ .ba-page#artifacts :is(.pf-family, .dc-family__grid, .sw-family, .ba-types){ grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 767.98px){ .ba-page#artifacts :is(.pf-family, .dc-family__grid, .sw-family, .ba-types){ grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; margin-top: 32px !important; } }
.ba-page#artifacts a:has(> .ba-hubic) > :is(b, h3, span, p){ margin: 0 !important; }
.ba-page#artifacts .ba-types li > a{ min-height: 0 !important; }   /* the border sits on the li here; no fixed height, so the card is as tall as the other pages' */

/* FAQ on every type page: the Canvas look - the light grey section background #FAFAFB (user, 2026-11-28) */
section.ba-page#faq{ background: #fafafb !important; }


/* Forms "Where answers land": the original layout (text left, picture right); only the gap between the text and the
   picture is smaller - 56px like the other text + picture rows (user, 2026-11-28) */
@media (min-width: 1280px){ section.ba-page#board.pf-land > .ba-split{ column-gap: 56px !important; } }
@media (min-width: 1100px) and (max-width: 1279.98px){ section.ba-page#board.pf-land > .ba-split{ column-gap: 40px !important; } }

/* Infographics template cards only (user, 2026-11-28): the ↗ is the same character as on the "works with your other
   artifacts" cards on every page - Inter 16px #6762FE - not the label's thin Roboto Mono */
html:has(.ag-hero img[src*="/infographics/hero"]) .sl-link__type b{ font-family: "Inter", sans-serif !important; font-size: 16px !important;
  font-weight: 400 !important; line-height: 1 !important; color: #6762fe !important; }

/* Infographics "Export for print or social": the (taller) Figma export picture slightly wider - no 640px cap, and the
   picture column a little wider than the text column (user, 2026-11-28) */
section.ba-page#export .sl-askshot--side{ max-width: none !important; }
@media (min-width: 1100px){ section.ba-page#export > .ba-split--int{ grid-template-columns: minmax(0, 700fr) minmax(0, 820fr) !important; } }
/* ...wider box, same height as before (user: "width, not height"): the picture keeps its earlier height, the frame
   is wider, the picture sits centred in it */
section.ba-page#export .pic-frame > img{ max-height: 505px !important; width: auto !important; }
@media (max-width: 1279.98px){ section.ba-page#export .pic-frame > img{ max-height: 36vw !important; } }
@media (max-width: 1099.98px){ section.ba-page#export .pic-frame > img{ max-height: none !important; } }
