/* Only the managed /software/ page: adapt editorial core blocks to the child template. */
body.iris-user-guide-native { --green:#21f223; --ink:#07100c; --muted:rgba(7,16,12,.63); --line:rgba(7,16,12,.12); --max:1180px; }
body.iris-user-guide-native .sg-video-player { font-family:var(--ig-font-stack),ui-sans-serif,system-ui,sans-serif; }
body.iris-user-guide-native .site-content > .ast-container { width:100%; max-width:none; padding:0; }
body.iris-user-guide-native .software-guide { width:100%; max-width:none; margin:0; padding:0; }
body.iris-user-guide-native.sg-video-player-active .software-guide { background:#101817; }
body.iris-user-guide-native.sg-video-player-active .sg-video-player h2 { color:#fff; }
.software-guide .sg-video-player-back { color:var(--green); }
.software-guide .sg-video-navigation a { color:#fff; }
.iris-user-guide-native-main,
.iris-user-guide-native-main * { box-sizing:border-box; }
.iris-user-guide-native-main :where(.wp-block-group,.wp-block-image) { max-width:none; }
/* Core flow layout adds a top margin after the first child, even in our grids. */
body.iris-user-guide-native .iris-user-guide-native-main :is(.sg-qr-grid,.sg-video-grid,.sg-guide-board,.sg-mini-steps,.sg-hero,.sg-qr-card,.sg-video-card,.sg-guide-panel,.sg-manual-grid,.sg-meta).is-layout-flow > * { margin-block-start:0; }
.iris-user-guide-native-main .sg-link-row,
.iris-user-guide-native-main .sg-language-pill,
.iris-user-guide-native-main .sg-tag,
.iris-user-guide-native-main .sg-qr-label,
.iris-user-guide-native-main .sg-inline-text { margin:0; }
.iris-user-guide-native-main .sg-actions .sg-link-row,
.iris-user-guide-native-main .sg-contact .sg-link-row { display:contents; }
/* Astra's post-content link underline is more specific than the legacy button rule. */
body.iris-user-guide-native .iris-user-guide-native-main a.sg-button { text-decoration:none; }
/* Gutenberg wraps this download link in a paragraph; the legacy link was a stretched flex item. */
.iris-user-guide-native-main .sg-download-panel > p.sg-link-row { width:100%; margin:0; }
.iris-user-guide-native-main .sg-download-panel a.sg-button { width:100%; }
.iris-user-guide-native-main .sg-qr-slot .wp-block-image,
.iris-user-guide-native-main .sg-video-art .wp-block-image,
.iris-user-guide-native-main .sg-mini-step .wp-block-image { width:100%; height:100%; margin:0; }
.iris-user-guide-native-main .sg-qr-label { display:block; font-size:22px; font-weight:700; letter-spacing:-.035em; }
.iris-user-guide-native-main .sg-qr-copy .sg-link-row { margin:0; }
.iris-user-guide-native-main .sg-shortcut-tags .sg-inline-text { padding:9px 11px; border:1px solid var(--line); border-radius:999px; background:rgba(255,255,255,.78); color:rgba(7,16,12,.72); font-size:11px; font-weight:800; letter-spacing:.04em; }
.iris-user-guide-native-main .sg-video-card { position:relative; }
.iris-user-guide-native-main .sg-video-card h3 a { color:inherit; text-decoration:none; }
.iris-user-guide-native-main .sg-video-card h3 a::after { content:""; position:absolute; inset:0; }
.iris-user-guide-native-main .sg-video-card:focus-within { outline:2px solid var(--green); outline-offset:2px; }
.iris-user-guide-native-main .sg-video-copy h3 { margin:0; }
.iris-user-guide-native-main .sg-video-art .wp-block-image { display:block; }
.iris-user-guide-native-main .sg-mini-step .wp-block-image img { width:100%; height:100%; object-fit:contain; }
.iris-user-guide-native-main .sg-device > .wp-block-group:first-child { position:absolute; z-index:1; top:-48px; left:calc(50% + 140px); width:210px; transform:translateX(-50%); }
.iris-user-guide-native-main .sg-device > .wp-block-group:first-child figure { margin:0; }
.iris-user-guide-native-main .sg-device > .wp-block-group:last-child { position:relative; z-index:2; }
/* Shorten the desktop support card while keeping its floating device above the copy. */
@media(min-width:681px) {
  .iris-user-guide-native-main .sg-device { padding-top:68px; }
  .iris-user-guide-native-main .sg-device > .wp-block-group:first-child { top:-72px; }
}
.iris-user-guide-native-main .sg-meta .sg-inline-text,
.iris-user-guide-native-main .sg-meta .sg-qr-label { font-size:12px; }
.iris-user-guide-native-main .sg-meta .sg-inline-text { color:rgba(255,255,255,.56); }
.iris-user-guide-native-main .sg-meta .sg-qr-label { color:#fff; }
.iris-user-guide-native-main .sg-pdf-toolbar .sg-inline-text { margin:0; }
.iris-user-guide-native-main .sg-manual-preview .sg-manual-frame { display:block; width:100%; }
@media(max-width:680px) {
  .iris-user-guide-native-main .sg-device > .wp-block-group:first-child { left:50%; }
}
