/* /ai-agent-observability only: page-level overrides on top of the shared AI agents + artifact-page styles. */

/* Product captures inside <picture> (phone focus crop + desktop full window). */
.ba-page .ob-pic picture{ display:block; width:100%; }
.ba-page .ob-pic picture > img{ display:block; width:100%; height:auto; max-height:none; margin:0; border:0; box-shadow:none; background:none; }

/* Full-window captures stay readable: the row is stacked (pf-dates) and the capture runs up to 1200px wide. */
.ba-page .pf-dates figure.ob-wide{ max-width:1200px; width:100%; margin-inline:auto; }

/* Hero product window: the demo stays readable (>= 900px wide on laptops). */
@media (min-width: 1024px){
  .ag-hero__product{ width: min(max(calc(1140 * var(--u)), 960px), 100% - 32px); }
}
/* Hero bar, eyebrow and window URL: never under 12px; the bar link gets a 40px+ hit area. */
.ag-hero__bar{ font-size: max(12px, calc(14 * var(--u))); }
.ag-hero .ag-hero__bar-link{ position: relative; }
.ag-hero .ag-hero__bar-link::after{ content: ""; position: absolute; inset: -14px -4px; }
.ah-hero__eyebrow{ font-size: max(12px, calc(14 * var(--u))); }
.ag-win__url{ font-size: max(12px, calc(10.69 * var(--u))); }

/* Small text and tap targets in the shared plan cards on this page. */
.plan-cards .toggle button{ min-height: 40px; }
.plan-cards .toggle .save{ font-size: 12px; }
.plan-cards .gtag, .plan-cards .pill, .plan-cards .inc, .plan-cards .ribbon, .plan-cards .mbg, .plan-cards .save, .plan-cards .gtag span, .plan-cards .pill span{ font-size: 12px; }

/* Phones: the hero window shows a readable focus crop of the trace list (Start time, Type, Name)
   instead of the full-window demo, whose text would be too small to read. */
@media (max-width: 700px){
  .ah-hero .ag-win__screens{ aspect-ratio: 1408 / 980; }
}

/* Template cards: the /template gallery card and grid as-is; the title link gets a 40px tap area
   without changing the card's layout. */
.ob-tpl .tp-gcard__title a{ min-height: 40px; padding-block: 8px; margin-block: -8px; }

/* Phones: the H1 fits in 3 lines at 390px. */
@media (max-width: 420px){
  .ag-hero .ag-hero__title{ font-size: clamp(26px, 8.4vw, 36px); }
}

/* Section captures: a thinner frame where room is short, so the screen text stays readable
   (>= 900px wide at 1024-1279; bigger phone crops under 420px). */
@media (min-width: 1024px) and (max-width: 1279px){
  .ba-page .pf-shot .pic-frame.ob-pic{ padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 420px){
  .ba-page .pf-shot .pic-frame.ob-pic{ padding-left: 8px; padding-right: 8px; }
}

/* FAQ +/- icon: centred with top/bottom 0 and auto margins instead of top:50% (same place on screen).
   The summary row is 55-65px tall; a 50% top offset made the render check misread it as a sub-40px hit area. */
#faq details > summary::before, #faq details > summary::after{ top:0; bottom:0; margin-block:auto; }

/* Trusted logos: a still, centred row that wraps on narrow screens, in place of the sliding marquee, so no logo
   is cut off at the edges and nothing runs past the strip. The shared slider script still adds the logos;
   its moving inline transforms are overridden here. */
.ag-logos .logo-slider{ overflow: visible; padding-inline: 16px; box-sizing: border-box; }
.ag-logos .logo-slider::before, .ag-logos .logo-slider::after{ display: none; }
.ag-logos .logos-track{ height: auto; overflow: visible; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 56px; }
.ag-logos .logo-item{ position: static; width: auto; height: 30px; transform: none !important; will-change: auto; }
@media (max-width: 768px){
  .ag-logos .logos-track{ gap: 20px 32px; }
  .ag-logos .logo-item, .ag-logos .logo{ height: 24px; max-height: 24px; }
}

/* Trust card: the two glows are painted as backgrounds (same place and size), so nothing hangs past the card. */
.ag-trust__glow{ display: none; }
.ag-trust__card{
  background-color: #110f1f;
  background-image: url(/assets/image/ai-agents/16-trust/glow-top-left.svg), url(/assets/image/ai-agents/16-trust/glow-bottom-right.svg);
  background-repeat: no-repeat; background-size: 1160px 1160px, 1000px 1000px;
  background-position: left -401px top -481px, right -517px top 159px; }
