/* Editorial allowlist only: Blog, Wiki, PAA and News reading columns. */
html body.sg-reading-editorial.sg-reading-standard :is(main#content,main#main-content,main#primary,.pqa-wrap,.sgw-wrap){
 --sg-page-max:850px;
 --sg-page-frame:min(850px,calc(100% - 2 * var(--sg-page-gutter,24px)));
}
html body.sg-reading-editorial.sg-reading-standard :is(.pqa-wrap,.sgw-wrap){
 box-sizing:border-box!important;width:min(850px,calc(100% - 2 * var(--sg-page-gutter,32px)))!important;
 max-width:850px!important;margin-inline:auto!important;padding-inline:0!important;
}
html body.sg-reading-editorial.sg-reading-standard.sg-archive-readable main#content[data-sg-native-content]>.elementor>.e-con{
 --content-width:850px;--container-max-width:850px;
}
html body.sg-reading-editorial.sg-reading-standard.sg-archive-readable main#content[data-sg-native-content]>.elementor>.e-con>.e-con-inner{
 max-width:850px!important;margin-inline:auto!important;
}
html body.sg-reading-editorial.sg-reading-standard.sg-archive-readable main#content[data-sg-native-content]>.elementor>.e-con:not(:has(>.e-con-inner)){
 padding-inline:max(24px,calc((100% - 850px)/2))!important;
}
html body.sg-reading-editorial.sg-reading-standard.sg-archive-readable main#content :is(.sgap-prose,.sgap-toc,.sgap-heading){
 width:100%!important;max-width:850px!important;margin-inline:auto!important;
}
html body.sg-reading-editorial.sg-reading-standard.sg-archive-readable main#content .sgnc-pagination{max-width:850px}
@media(max-width:767px){
 html body.sg-reading-editorial.sg-reading-standard.sg-archive-readable main#content[data-sg-native-content]>.elementor>.e-con:not(:has(>.e-con-inner)){
  padding-inline:16px!important;
 }
}

/* Related articles retain the wider page frame beneath the reading column. */
html body.sg-reading-editorial.sg-reading-standard main#content > .elementor-565 > :is(.elementor-element-0506d4f,.elementor-element-4fb581c){
 --sg-page-max:1200px;
 --sg-page-frame:min(1200px,calc(100% - 2 * var(--sg-page-gutter,24px)));
}
@media(min-width:1360px) and (min-height:600px){
 html body.sg-reading-editorial.sg-reading-page.sg-reading-standard:not(.sg-reading-wide) main#content.sg-reading-content-root > .elementor-565 > :is(.elementor-element-0506d4f,.elementor-element-4fb581c){
  position:relative!important;left:80px!important;
 }
}

/* A repeated leading article title reads as an introduction, not another section. */
html body.single-post.sg-reading-editorial.sg-reading-page #content .elementor-widget-theme-post-content .sg-reading-intro{
 margin:0 0 28px!important;padding:0!important;border:0!important;
 background:transparent!important;box-shadow:none!important;color:#bdbdbd!important;
 font-size:22px!important;font-weight:400!important;line-height:1.5!important;
 letter-spacing:normal!important;text-transform:none!important;
}
html body.single-post.sg-reading-editorial.sg-reading-page #content .elementor-widget-theme-post-content .sg-reading-intro + h2{
 margin-top:28px!important;
}
@media(max-width:767px){
 html body.single-post.sg-reading-editorial.sg-reading-page #content .elementor-widget-theme-post-content .sg-reading-intro{
  margin-bottom:24px!important;font-size:20px!important;
 }
 html body.single-post.sg-reading-editorial.sg-reading-page #content .elementor-widget-theme-post-content .sg-reading-intro + h2{
  margin-top:24px!important;
 }
 html body.single-post.sg-reading-editorial.sg-reading-page #content .elementor-widget-theme-post-content > .elementor-widget-container > :is(ul,ol,figure,table,blockquote,pre){
  margin-block:24px!important;
 }
}

/* Related editorial cards share one image ratio and one text gutter. */
html body.sg-reading-editorial.sg-reading-eligible #content .sgnc-posts > article.e-loop-item.elementor-grid-item {
 display:flex;min-width:0;align-self:stretch;
}
html body.sg-reading-editorial.sg-reading-eligible #content .sgnc-posts > article.e-loop-item.elementor-grid-item > .elementor-4761 {
 display:flex!important;flex:1 1 auto;flex-direction:column;width:100%!important;min-width:0;height:100%;
}
html body.sg-reading-editorial.sg-reading-eligible #content .sgnc-posts .elementor-4761 > a.sg-card.elementor-element-7c02d889 {
 box-sizing:border-box!important;display:flex!important;flex:1 1 auto!important;flex-direction:column!important;
 align-items:stretch!important;justify-content:flex-start!important;gap:0!important;
 width:100%!important;min-width:0!important;height:100%!important;margin:0!important;padding:0!important;overflow:hidden;
}
html body.sg-reading-editorial.sg-reading-eligible #content .sgnc-posts .elementor-4761 > a.sg-card.elementor-element-7c02d889 > .e-con-inner {
 display:flex!important;flex:1 1 auto;flex-direction:column!important;align-items:stretch!important;gap:0!important;
 width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;
}
html body.sg-reading-editorial.sg-reading-eligible #content .sgnc-posts .sg-card .custom-image-loop.elementor-widget-theme-post-featured-image {
 flex:none!important;align-self:stretch!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;
}
html body.sg-reading-editorial.sg-reading-eligible #content .sgnc-posts .sg-card .custom-image-loop.elementor-widget-theme-post-featured-image > .elementor-widget-container {
 display:block!important;width:100%!important;aspect-ratio:16/10;margin:0!important;padding:0!important;overflow:hidden;
}
html body.sg-reading-editorial.sg-reading-eligible #content .sgnc-posts .sg-card .custom-image-loop.elementor-widget-theme-post-featured-image > .elementor-widget-container > img.wp-post-image {
 display:block!important;width:100%!important;max-width:100%!important;height:100%!important;aspect-ratio:16/10;
 margin:0!important;padding:0!important;object-fit:cover!important;object-position:center!important;
}
html body.sg-reading-editorial.sg-reading-eligible #content .sgnc-posts .sg-card .elementor-widget-theme-post-title {
 flex:none!important;width:100%!important;max-width:100%!important;margin:0!important;padding:20px 20px 16px!important;
}
html body.sg-reading-editorial.sg-reading-eligible #content .sgnc-posts .sg-card .elementor-widget-post-info {
 flex:none!important;width:100%!important;max-width:100%!important;margin: auto 0 0!important;padding:0 20px 20px!important;
}
html body.sg-reading-editorial.sg-reading-eligible #content .sgnc-posts .sg-card :is(.elementor-widget-theme-post-title,.elementor-widget-post-info) > .elementor-widget-container {
 width:100%!important;margin:0!important;padding:0!important;
}
html body.sg-reading-editorial.sg-reading-eligible #content .sgnc-posts .sg-card .elementor-widget-theme-post-title > .elementor-widget-container > h2.elementor-heading-title {
 margin:0!important;padding:0!important;border:0!important;color:#fff!important;
 font-size:18px!important;line-height:1.45!important;font-weight:600!important;text-align:start!important;text-transform:none!important;
}
html body.sg-reading-editorial.sg-reading-eligible #content .sgnc-posts .sg-card .elementor-widget-post-info > .elementor-widget-container > ul.elementor-post-info {
 display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;
 gap:6px 12px!important;width:100%!important;margin:0!important;padding:0!important;
}

/* SG reading tools. All resets belong to this component, never to the article. */
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools {
  --sg-reading-gold: #d4af37;
  --sg-reading-muted: #aaa;
  --sg-reading-line: #303030;
  box-sizing: border-box !important;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  flex: 0 0 auto;
  align-items: start;
  gap: 12px 8px;
  width: 100% !important;
  max-width: 850px !important;
  min-width: 0 !important;
  margin: 0 auto 28px !important;
  padding: 0 !important;
  border: 0 !important;
  background: #000 !important;
  color: #fff !important;
  font: 400 14px/1.5 Inter, Arial, sans-serif !important;
  letter-spacing: normal !important;
  text-align: start !important;
  isolation: isolate;
}
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools *,
html body.sg-reading-editorial.sg-reading-page #sg-reading-copy-dialog.sg-reading-copy-dialog * { box-sizing: border-box; }
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools.sg-reading-inset{width:calc(100% - 2 * var(--sg-page-gutter,16px))!important}
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools[hidden],
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools [hidden] { display: none !important; }
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools :is(aside, details, nav) {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #000;
  box-shadow: none;
  color: inherit;
  font: inherit;
}
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-share {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  padding: 1px;
  border: 1px solid var(--sg-reading-line);
  border-radius: 7px;
  background: #000;
}
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-share-label,
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-status {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-share a {
  display: inline-flex !important;
  flex: 0 0 56px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  margin: 0 !important;
  padding: 13px !important;
  border: 0 !important;
  border-radius: 5px !important;
  background: #000 !important;
  box-shadow: none !important;
  color: #f2f2f2 !important;
  text-decoration: none !important;
  transform: none !important;
}
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-share a:is(:hover, :focus-visible) {
  background: #121212 !important;
  color: var(--sg-reading-gold) !important;
}
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools svg {
  display: block;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: inherit;
}
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-share svg { width: 30px; height: 30px; }
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-contents { display: contents; width: 100%; }
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-disclosure {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  margin: 0;
  border-bottom: 1px solid var(--sg-reading-line);
}
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-disclosure > summary {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  margin: 0 !important;
  padding: 8px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  font: 500 16px/1.5 Inter, Arial, sans-serif !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  list-style: none !important;
  cursor: pointer;
}
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-disclosure > summary::-webkit-details-marker { display: none; }
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-disclosure > summary::marker { content: ""; }
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-disclosure > summary::after { content: none !important; }
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-disclosure > summary svg { width: 18px; height: 18px; color: #fff; }
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-disclosure[open] > summary svg { transform: rotate(180deg); }
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-nav {
  position: relative;
  width: 100%;
  max-height: none;
  margin: 8px 0 16px;
  padding: 0;
  overflow: visible;
  scroll-behavior: auto;
}
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-nav ol {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 4px 0 17px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  list-style: none !important;
  counter-reset: none !important;
}
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-nav li {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: inherit !important;
  font: inherit !important;
  text-indent: 0 !important;
  list-style: none !important;
}
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-nav li::before,
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-nav li::after { content: none !important; }
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-nav li::marker { content: "" !important; font-size: 0 !important; }
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-nav a {
  display: flex !important;
  align-items: center;
  width: 100% !important;
  min-height: 44px;
  margin: 0 !important;
  padding: 9px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--sg-reading-muted) !important;
  font: 400 15px/1.5 Inter, Arial, sans-serif !important;
  letter-spacing: normal !important;
  text-align: start !important;
  text-transform: none !important;
  text-decoration: none !important;
  text-indent: 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
  transform: none !important;
}
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-nav .sg-reading-level3 a { padding-inline-start: 12px !important; }
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-nav a:is(:hover, :focus-visible) { color: #fff !important; }
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-nav a[aria-current="location"] { color: #fff !important; }
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-track {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 2px;
  height: var(--sg-track-height, 100%);
  min-height: 1px;
  background: var(--sg-reading-line);
  pointer-events: none;
}
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-progress {
  position: absolute;
  inset: 0;
  display: block;
  width: 2px;
  height: 100%;
  background: #fff;
  transform: scaleY(var(--sg-reading-progress, 0));
  transform-origin: top center;
}
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-marker {
  position: absolute;
  top: var(--sg-marker-y, 0px);
  inset-inline-start: 0;
  display: block;
  width: 3px;
  height: var(--sg-marker-height, 0px);
  border-radius: 1px;
  background: #fff;
}
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-copy {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: max-content;
  height: 44px;
  max-width: 100%;
  min-height: 44px;
  margin: 0 !important;
  padding: 8px !important;
  border: 1px solid #444 !important;
  border-radius: 6px !important;
  background: #070707 !important;
  box-shadow: none !important;
  color: #fff !important;
  font: 500 14px/1.4 Inter, Arial, sans-serif !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  text-decoration: none !important;
  cursor: pointer;
}
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-copy span {
 position:static!important;width:auto!important;height:auto!important;padding:0!important;margin:0!important;
 overflow:visible!important;clip:auto!important;white-space:nowrap!important;
 color:inherit!important;font:inherit!important;letter-spacing:inherit!important;
}
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-copy svg { width: 18px; height: 18px; }
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-copy[data-copied="true"] { border-color:#fff!important;background:#202020!important; }
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-copy:is(:hover, :focus-visible) { border-color: #fff !important; color: #fff !important; }
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools :is(a, button, summary):focus-visible,
html body.sg-reading-editorial.sg-reading-page #sg-reading-copy-dialog.sg-reading-copy-dialog :is(button, textarea):focus-visible {
  outline: 2px solid #d4af37 !important;
  outline-offset: 3px !important;
}
html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-contents :is(a, button, summary):focus-visible,
html body.sg-reading-editorial.sg-reading-page #sg-reading-copy-dialog.sg-reading-copy-dialog :is(button, textarea):focus-visible { outline-color: #fff !important; }
html body.sg-reading-editorial.sg-reading-page :is(#content, #main-content, #primary, .sgw-wrap, .pqa-wrap) :is(h2[id], h3[id], h4[id], .sg-reading-anchor) { scroll-margin-top: calc(var(--sg-reading-top, 112px) + 16px) !important; }
html body.sg-reading-editorial.sg-reading-page :is(.elementor-widget-table-of-contents, .sgap-toc) { display: none !important; }

/* The compact toolbar connects directly to the first reading block. */
@media (max-width: 1359px), (max-height: 599px) {
  html body.sg-reading-editorial.sg-reading-page.sg-reading-standard #sg-reading-tools.sg-reading-tools { margin-bottom:4px!important; }
  html body.sg-reading-editorial.sg-reading-page.sg-reading-standard .sg-reading-first-block { margin-top:0!important; }
}

/* Keep the copy label legible without squeezing the share targets on small phones. */
@media(max-width:400px){
 html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools{
  grid-template-columns:minmax(0,1fr);
 }
 html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-copy{
  grid-column:1;grid-row:2;justify-self:end;
 }
 html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools .sg-reading-disclosure{
  grid-row:3;
 }
}

/* Fixed rails begin only where a full reading column and both controls fit. */
@media (min-width: 1360px) and (min-height: 600px) {
  html body.sg-reading-editorial.sg-reading-page.sg-reading-standard:not(.sg-reading-wide) .sg-reading-content-root {
    position: relative !important;
    left: -80px !important;
  }
  html body.sg-reading-editorial.sg-reading-page.sg-reading-standard:not(.sg-reading-wide) #sg-reading-tools.sg-reading-tools {
    display: contents;
    margin: 0 !important;
  }
  html body.sg-reading-editorial.sg-reading-page.sg-reading-standard:not(.sg-reading-wide) #sg-reading-tools.sg-reading-tools .sg-reading-share,
  html body.sg-reading-editorial.sg-reading-page.sg-reading-standard:not(.sg-reading-wide) #sg-reading-tools.sg-reading-tools .sg-reading-contents {
    position: fixed;
    z-index: 20;
    margin: 0;
  }
  html body.sg-reading-editorial.sg-reading-page.sg-reading-standard:not(.sg-reading-wide) #sg-reading-tools.sg-reading-tools .sg-reading-share {
    top: var(--sg-reading-share-top, var(--sg-reading-top, 112px));
    left: calc(50% - 649px);
    flex-direction: column;
    width: 80px;
    max-width: 80px;
    padding: 3px;
  }
  html body.sg-reading-editorial.sg-reading-page.sg-reading-standard:not(.sg-reading-wide) #sg-reading-tools.sg-reading-tools .sg-reading-share a {
    flex-basis:72px!important;width:72px!important;height:72px!important;min-width:72px!important;min-height:72px!important;padding:18px!important;
  }
  html body.sg-reading-editorial.sg-reading-page.sg-reading-standard:not(.sg-reading-wide) #sg-reading-tools.sg-reading-tools .sg-reading-share svg { width:36px;height:36px; }
  html body.sg-reading-editorial.sg-reading-page.sg-reading-standard:not(.sg-reading-wide) #sg-reading-tools.sg-reading-tools .sg-reading-contents {
    display: block;
    top: var(--sg-reading-toc-top, var(--sg-reading-top, 112px));
    left: calc(50% + 409px);
    width: 224px;
    max-height: none;
    overflow: visible;
    background: #000;
  }
  html body.sg-reading-editorial.sg-reading-page.sg-reading-standard:not(.sg-reading-wide) #sg-reading-tools.sg-reading-tools .sg-reading-disclosure {
    margin: 16px 0 0;
    border: 0;
  }
  html body.sg-reading-editorial.sg-reading-page.sg-reading-standard:not(.sg-reading-wide) #sg-reading-tools.sg-reading-tools .sg-reading-disclosure > summary {
    min-height: 24px;
    padding: 0 0 10px 17px !important;
    color: #b5b5b5 !important;
    font-size: 14px !important;
    cursor: default;
  }
  html body.sg-reading-editorial.sg-reading-page.sg-reading-standard:not(.sg-reading-wide) #sg-reading-tools.sg-reading-tools .sg-reading-disclosure > summary svg { display: none; }
  html body.sg-reading-editorial.sg-reading-page.sg-reading-standard:not(.sg-reading-wide) #sg-reading-tools.sg-reading-tools .sg-reading-nav {
    max-height: none;
    overflow: visible;
    margin: 0;
  }
  html body.sg-reading-editorial.sg-reading-page.sg-reading-standard:not(.sg-reading-wide) #sg-reading-tools.sg-reading-tools .sg-reading-nav a {
    min-height: 32px;
    padding-block: 6px !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
  }
  html body.sg-reading-editorial.sg-reading-page.sg-reading-standard:not(.sg-reading-wide) #sg-reading-tools.sg-reading-tools .sg-reading-copy { width:max-content;height:32px;min-height:32px;gap:6px;padding:6px 10px!important;font-size:12px!important; }
  html body.sg-reading-editorial.sg-reading-page.sg-reading-standard:not(.sg-reading-wide) #sg-reading-tools.sg-reading-tools .sg-reading-copy span {
    position:static!important;width:auto!important;height:auto!important;margin:0!important;overflow:visible!important;clip:auto!important;white-space:normal!important;
  }
  html body.sg-reading-editorial.sg-reading-page.sg-reading-standard:not(.sg-reading-wide) #sg-reading-tools.sg-reading-tools .sg-reading-copy svg { width:14px;height:14px; }
  html body.sg-reading-editorial.sg-reading-page.sg-reading-standard:not(.sg-reading-wide) #sg-reading-tools.sg-reading-tools.sg-reading-past-end :is(.sg-reading-share, .sg-reading-contents) { visibility: hidden; pointer-events: none; }
}

html body.sg-reading-editorial.sg-reading-page #sg-reading-copy-dialog.sg-reading-copy-dialog {
  position: fixed;
  box-sizing: border-box;
  width: min(720px, calc(100% - 32px));
  max-width: calc(100% - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 24px;
  overflow: auto;
  border: 1px solid #555;
  border-radius: 10px;
  background: #090909;
  color: #fff;
  font: 400 16px/1.5 Inter, Arial, sans-serif;
  box-shadow: 0 20px 80px #000;
}
html body.sg-reading-editorial.sg-reading-page #sg-reading-copy-dialog.sg-reading-copy-dialog::backdrop { background: rgb(0 0 0 / 75%); }
html body.sg-reading-editorial.sg-reading-page #sg-reading-copy-dialog.sg-reading-copy-dialog .sg-reading-copy-help { margin: 0 0 16px; padding: 0; color: #eee; font: inherit; }
html body.sg-reading-editorial.sg-reading-page #sg-reading-copy-dialog.sg-reading-copy-dialog .sg-reading-copy-text {
  display: block;
  width: 100%;
  min-width: 0;
  height: 45dvh;
  min-height: 180px;
  margin: 0 0 16px;
  padding: 12px;
  resize: vertical;
  border: 1px solid #484848;
  border-radius: 5px;
  background: #000;
  color: #eee;
  font: 400 14px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace;
}
html body.sg-reading-editorial.sg-reading-page #sg-reading-copy-dialog.sg-reading-copy-dialog .sg-reading-copy-close {
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid #555;
  border-radius: 5px;
  background: #000;
  color: #fff;
  font: 500 14px/1.5 Inter, Arial, sans-serif;
  cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
  html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools *,
  html body.sg-reading-editorial.sg-reading-page #sg-reading-copy-dialog.sg-reading-copy-dialog * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media print {
  html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools,
  html body.sg-reading-editorial.sg-reading-page #sg-reading-tools.sg-reading-tools :is(.sg-reading-share, .sg-reading-contents),
  html body.sg-reading-editorial.sg-reading-page #sg-reading-copy-dialog.sg-reading-copy-dialog { display: none !important; }
}
