/* Applied only by the explicit ?embed=1 package route. */
html.sensilio-package-embed { scroll-behavior: auto; }
html.sensilio-package-embed body { min-width: 0; overflow: auto !important; }
html.sensilio-package-embed body > :not(#detail):not(#image-viewer):not(#package-link-error):not(script) { display: none !important; }
html.sensilio-package-embed #detail[open] { display: block; position: static; inset: auto; width: 100%; max-width: 72rem; max-height: none; margin: 0 auto; padding: clamp(1rem, 4vw, 2.5rem); border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
html.sensilio-package-embed #detail > .close { display: none; }
html.sensilio-package-embed #detail-content > .actions > :not([data-detail]),
html.sensilio-package-embed #detail-content > .actions:not(:has([data-detail])) { display: none; }
html.sensilio-package-embed #detail-content { min-width: 0; overflow-wrap: anywhere; }
html.sensilio-package-embed #package-link-error { max-width: 40rem; margin: auto; padding: 2rem; }
html.sensilio-package-embed #package-link-error p { margin-block: 1rem; }
/* Catalogue descriptions are real, visibly copyable links in every view. */
a[data-detail], .language-extras a.package-title[data-detail] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a[data-detail]:hover, a[data-detail]:focus-visible, .language-extras a.package-title[data-detail]:hover, .language-extras a.package-title[data-detail]:focus-visible { text-decoration-thickness: 2px; }
a[data-detail]:focus-visible { outline: 3px solid #177f80; outline-offset: 5px; }
.result-actions a[data-detail], a.text-button[data-detail] { display: inline-flex; align-items: center; }
a.heading-detail[data-detail] { display: inline-block; vertical-align: baseline; }
