/* App elements sit directly in the article; there is no preview chrome. */
.app-preview { width: 100%; max-width: 560px; margin: 1.5rem auto 2rem; border: 0; padding: 0; background: transparent; filter: drop-shadow(0 4px 9px rgb(0 0 0 / .08)); }
.app-preview[data-kind="sidebar"] { max-width: 364px; }
.app-preview[data-kind="settings"], .app-preview[data-kind="composer"], .app-preview[data-kind="response"] { max-width: 680px; }
.app-preview[data-kind="app"] { max-width: 860px; }
.app-preview-stage { position: relative; width: 100%; overflow: hidden; background: transparent; }
.app-preview iframe { display: block; position: absolute; top: 0; left: 0; border: 0; background: transparent; transform-origin: top left; max-width: none; }
.doc-language { display: inline-flex; flex-shrink: 0; align-items: center; gap: 16px; white-space: nowrap; font-size: 14px; margin-inline: .6rem; }
.doc-language a { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; border-bottom: 2px solid transparent; text-decoration: none; }
.doc-language [aria-current="true"] { font-weight: 700; border-bottom-color: currentColor; }
.doc-language a:focus-visible { outline: 2px solid var(--pst-color-primary); outline-offset: 3px; }
.doc-language img { display: block; flex-shrink: 0; width: 24px; height: 18px; object-fit: contain; margin: 0; filter: none !important; }
.bd-article-container { max-width: 64rem; }
.bd-article :is(h1,h2,h3) { overflow-wrap: anywhere; hyphens: auto; }
.bd-article .pst-scrollable-table-container { max-width: 100%; overflow-x: auto; }
.bd-article figcaption code, .bd-article figcaption code .pre { white-space: normal; overflow-wrap: anywhere; word-break: break-all; }
@media (max-width: 575px) {
  .bd-article h1 { font-size: 1.8rem; line-height: 1.25; }
  .bd-article h2 { font-size: 1.5rem; }
}
@media print { .app-preview { break-inside: avoid; } .doc-language { display: none; } }

@media (max-width: 575px) {
  .doc-language { margin-inline: .2rem; gap: 12px; font-size: 13px; }
}
@media (max-width: 767px) {
  .bd-header-article { height: auto; min-height: 88px; }
  .header-article-items { flex-wrap: wrap; }
  .header-article-items__start { display: flex; align-items: center; flex: 1 1 100%; }
  .header-article-items__end { display: flex; justify-content: flex-end; flex: 1 1 100%; }
}
