/* The image stays in the DOM so the existing light/dark source switch and alt text survive. */
body.docs-shell main figure .doc-focus-window {
 position:relative; display:block; width:min(100%,var(--cw)); aspect-ratio:var(--ratio);
 overflow:hidden; border-radius:.75rem; margin:0;
}
body.docs-shell main figure .doc-focus-window > img {
 position:absolute !important; left:var(--x) !important; top:var(--y) !important;
 right:auto !important; bottom:auto !important; width:var(--w) !important; height:var(--h) !important;
 max-width:none !important; max-height:none !important; max-inline-size:none !important;
 margin:0 !important; border-radius:0 !important; padding:0 !important; object-fit:fill !important;
}
.doc-field-pair {display:block;max-width:707px}
.docs-shell .article-body a[data-doc-reading-link] {
 text-decoration-line:underline; text-decoration-thickness:1px; text-underline-offset:.19em;
}
.docs-shell .article-body a[data-doc-reading-link]:hover {text-decoration-thickness:2px}
html:lang(ar) .docs-shell .article-body a[data-doc-reading-link]{text-underline-offset:.26em}
.docs-shell .article-body a[data-doc-reading-link]:focus-visible {
 outline:2px solid currentColor; outline-offset:3px; border-radius:.18em;
}
.docs-shell .article-body a > svg.doc-exit-icon {
 display:inline-block; width:.87em; height:.87em; margin-inline-start:.22em;
 vertical-align:-.08em; pointer-events:none;
}
.docs-shell .doc-inline-ref {scroll-margin-block-start:6rem}
/* Reserve the same breathing room on either side of the reading column, in RTL or LTR. */
@media(min-width:1251px){
 body.docs-shell .docs-frame:has(.layout > #guide-sections){margin-block-start:18px !important}
 body.docs-shell .docs-frame:has(.layout > #guide-sections) > #sidebar{margin-block-start:-6px !important}
 body.docs-shell .docs-frame:has(.layout > #guide-sections),
 body.docs-shell .docs-frame .layout:has(> #guide-sections) {
  column-gap:clamp(2.25rem,calc(21vw - 14.25rem),10rem) !important;
 }
}
body.docs-shell #guide-sections {max-height:none;max-block-size:none;overflow:visible}
body.docs-shell #guide-sections > p:first-child {text-transform:none;letter-spacing:normal}
.doc-field-pair svg.wide,.doc-field-pair svg.stacked {width:100%;height:auto;overflow:hidden;border-radius:8px;display:block}
.doc-field-pair svg.stacked {display:none}
@media(max-width:600px){.doc-field-pair svg.wide{display:none}.doc-field-pair svg.stacked{display:block;max-width:332px}}
