/* Presentation-only controls for the article; standalone studies retain their layout. */
html.article-embed .page { max-width: 760px; padding: 18px 18px 24px; }
html.article-embed .page-header { display: block; }
html.article-embed .page-header > div,
html.article-embed .stage-links,
html.article-embed .page-footer details { display: none; }
html.article-embed .view-controls { display: flex; justify-content: center; flex-wrap: wrap; }
html.article-embed [data-view="all"] { display: none; }
html.article-embed .gallery { display: block; padding-top: 20px; }
html.article-embed .layer-presets { justify-content: center; padding-top: 12px; }
html.article-embed .study { max-width: 360px; }
html.article-embed .caption { margin-bottom: 0; }
html.article-embed .page-footer { padding-top: 20px; display: block; }
html.article-embed .page-footer > p { max-width: 46ch; margin: auto; }
html.article-embed .notification-study { max-width: 390px; margin: auto; }
.example-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.example-controls button { min-height: 40px; padding: 8px 12px; border: 1px solid #b8bdb1; border-radius: 5px; background: #f7f6ef; color: #384032; font-size: 12px; }
.example-controls button:hover { background: #dde3d5; }
.example-controls button:focus-visible { outline: 3px solid #276491; outline-offset: 2px; }
html.article-embed .platform-note { font-size: 12px; }
@media (max-width: 400px) {
  html.article-embed .page { padding: 12px 10px 20px; }
  .example-controls { gap: 4px; }
  .example-controls button { padding: 7px 9px; }
}
