:root {
  color-scheme: light;
  --paper: var(--rx-paper, #fff);
  --ink: var(--rx-ink, #101010);
  --muted: #4c4c4c;
  --link: var(--rx-blue, #203bda);
  --rule: var(--rx-edge, #dedede);
  --ui: var(--rx-display, Arial, sans-serif);
  --prose: var(--rx-text, Georgia, serif);
  --gutter: var(--rx-inset, clamp(18px, 4.4vw, 76px));
  --reading-size: 1.125rem;
}
*, *::before, *::after { box-sizing: border-box }
body.reader { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--ui); -webkit-font-smoothing: antialiased }
.reader a { color: var(--link); text-decoration: none }
.reader a:hover { color: var(--ink) }
.reader :focus-visible { outline: 2px solid var(--link); outline-offset: 4px }
.reader-skip { position: fixed; left: 12px; top: -70px; z-index: 10; padding: 10px; background: var(--paper) }
.reader-skip:focus { top: 4px }
#reading { max-width: 1420px; margin: auto; padding-inline: var(--gutter) }

/* Titles open the feature. Long-form reading starts just below the stage. */
.article-head {padding-block:clamp(20px,2.5vw,44px) clamp(24px,3.4vw,56px)}
.article-stage {padding:clamp(25px,4vw,65px) clamp(18px,4.8vw,80px);display:flex;flex-direction:column;align-items:center;gap:clamp(14px,1.7vw,25px);text-align:center}
.article-kicker {display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.75em;margin:0;font-size:clamp(16px,1.3vw,22px);line-height:1.2}
.reader .article-kicker a {color:white;font-weight:650}
.article-kicker span {color:#e5ebff}
.article-stage .spot-title {min-width:0;max-width:min(100%,25ch);font-size:clamp(46px,6.4vw,100px)}
.article-stage .spot-title[data-extended] {max-width:min(100%,30ch);font-size:clamp(37px,5.35vw,80px)}
.reader .article-cue {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:6px 16px;color:#fff;background:#1744d2;border-radius:5px;font:400 17px/1.1 var(--rx-poster);text-transform:uppercase;letter-spacing:.025em}
.reader .article-cue:hover {color:#101010;background:white;text-decoration:none}
#article-text {scroll-margin-block-start:16px}
.article-byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 7px clamp(12px, 2vw, 28px);
  padding-block: 17px; max-width: 100%;
  color: var(--muted); font: 500 .83rem/1.5 var(--ui);
}
.article-byline strong { color: var(--ink); font-weight: 750 }
.article-byline a { margin-inline-start: auto; color: var(--link); font-weight: 660 }
.article-plate { max-width: 1120px; margin: clamp(26px, 4vw, 55px) 0 0 }
.article-plate img {
  display: block; width: 100%; height: auto; aspect-ratio: 2.3;
  object-fit: cover; object-position: center; background: var(--rule);
}
.article-plate figcaption, .article-body figcaption {
  margin-top: .62rem; color: var(--muted); font: 450 .88rem/1.49 var(--ui);
}

.reading-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 660px) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 50px); align-items: start;
  padding-block: 0 clamp(42px, 5vw, 76px);
}
.reading-rail { position: sticky; top: 28px; width: min(100%, 158px); justify-self: end; min-width: 0 }
.reading-rail:empty { display: none }
.article-body {
  grid-column: 2; min-width: 0; font: 400 var(--reading-size)/1.78 var(--prose);
  overflow-wrap: break-word;
}
.article-body > :first-child { margin-block-start: 0 }
.article-body > :last-child { margin-block-end: 0 }
.article-body p { margin: 0 0 1.13em; orphans: 2; widows: 2 }
.transcript-speaker { color: var(--ink); font-family: var(--ui); font-size: .89em; font-weight: 760 }
.article-body :is(h1,h2,h3,h4,h5,h6) {
  scroll-margin-block-start: 2rem; margin: 1.8em 0 .65em; color: var(--ink);
  font: 750 1.04em/1.24 var(--ui); letter-spacing: -.027em; text-wrap: pretty;
}
.article-body :is(h1,h2) { font-size: 1.55em }
.article-body h3 { font-size: 1.22em }
.article-body a { overflow-wrap: anywhere }
.article-body :is(img,video) { max-width: 100%; height: auto }
.article-body :is(figure,blockquote,pre,table,ul,ol) { margin-block: 1.35em }
.article-body figure { margin-inline: 0 }
.article-body figure img { display: block }
.article-body .figure-guide { max-width: 70ch; font-size: .86rem; line-height: 1.52 }
.figure-guide > span { display: block; font-weight:650; color:var(--ink) }
.document-figure {padding:1.4em 0}
.document-figure .figure-guide {margin:0}
.document-figure .figure-guide > span {color:var(--link);font:550 1.1rem/1.28 var(--ui);letter-spacing:-.03em}
.document-figure summary {width:fit-content;cursor:pointer;color:var(--link);padding:.45em 0;font:570 .82rem/1.3 var(--ui)}
.document-figure details[open] img {margin-block:.55em}
.figure-guide details { margin-top: .24rem }
.figure-guide summary { width: fit-content; padding-block: .35rem; color: var(--link); font-weight: 600; cursor: pointer }
.figure-guide summary:hover { color: var(--ink) }
.article-body .figure-guide p { margin: .38rem 0 .55rem; color: var(--ink) }
.article-body blockquote { margin-inline: 1em 0; font-style: italic }
.article-body :is(ul,ol) { padding-inline-start: 1.6em }
.article-body li + li { margin-top: .32em }
.article-body pre { overflow: auto; max-width: 100%; font-size: .82em }
.article-body table { max-width: 100%; border-collapse: collapse; font: .86em/1.55 var(--ui) }
.article-table-wrap { max-width: 100%; overflow: auto; scrollbar-width: thin; margin: 1.4em 0 }
.article-table-wrap table { margin: 0; width: max-content; min-width: 100%; max-width: none }
.article-table-wrap :is(td,th) { min-width: 4.3rem; max-width: 24rem }
.article-body th, .article-body td { padding: .62em .82em }
.article-body th { text-align: start; background: #edf3ff }

.rail-tools { display: flex; align-items: center; justify-content: space-between; gap: .5rem }
.rail-progress { color: var(--muted); font: 600 .75rem/1.4 var(--ui); font-variant-numeric: tabular-nums; white-space: nowrap }
.rail-size { display: inline-flex }
.rail-tools button {
  background: transparent; border: 0; color: var(--link); min-width: 38px; min-height: 44px;
  padding: 0 .28em; font: 675 .91rem/1 var(--ui); cursor: pointer;
}
.rail-tools button:disabled { color: var(--muted); cursor: default }
.rail-sections summary { padding-block: .78rem; color: var(--ink); font-size: .83rem; font-weight: 690; cursor: pointer }
.rail-sections ol { list-style: none; max-height: 44vh; overflow: auto; margin: 0; padding: 0 .2rem .5rem 0; scrollbar-width: thin }
.rail-sections a { display: block; padding: .43rem 0; font: .81rem/1.44 var(--ui); overflow-wrap: anywhere }
.rail-sections a[aria-current=location] { color: var(--ink); font-weight: 730 }

.article-share {max-width:660px;margin:0 auto clamp(30px,4vw,64px);font-family:var(--ui)}
.article-share h2 {margin:0 0 .5rem;color:var(--ink);font:400 clamp(25px,2.1vw,36px)/1.1 var(--rx-poster);text-transform:uppercase}
.share-options,.share-actions {display:flex;flex-wrap:wrap;gap:.15rem 1.25rem;align-items:center}
.reader .share-options a {display:inline-flex;gap:.45rem;align-items:center;min-height:44px;color:var(--ink);font-size:.86rem;font-weight:650}
.reader .share-options a:hover,.reader .share-options a:focus-visible {color:var(--link)}
.share-options svg {flex:none}
.share-panel {display:none;scroll-margin-block-start:7rem;margin-top:.45rem}
.share-panel:target {display:block}
.share-panel label {display:block;margin-bottom:.55rem;font-size:.93rem;line-height:1.45}
.share-panel input {box-sizing:border-box;width:100%;font:400 1rem/1.3 var(--ui);padding:.72rem .85rem;border:0;background:#edf3ff;color:var(--ink)}
.share-actions button,.reader .share-actions a {cursor:pointer;padding:0;min-height:44px;border:0;background:transparent;color:var(--link);font:650 .86rem/1.35 var(--ui)}
.share-actions button:hover,.reader .share-actions a:hover {color:var(--ink)}
.share-status {margin:.15rem 0;color:var(--ink);font-size:.86rem}
.share-status:empty {display:none}
@media(max-width:390px){.share-options {display:grid;grid-template-columns:max-content max-content;column-gap:1.6rem}}

.article-related {padding:clamp(24px,3vw,50px) 0}
.article-related h2 {margin:0 0 .6em;font:400 clamp(30px,3.1vw,56px)/1 var(--rx-poster);text-transform:uppercase;letter-spacing:0}
.article-related ul {list-style:none;display:flex;gap:clamp(12px,1.4vw,23px);overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;margin:0;padding:8px 4px 13px}
.article-related li {flex:1 0 0;min-width:0;scroll-snap-align:center}
.article-related li:nth-child(odd) {transform:rotate(-.7deg)}
.article-related li:nth-child(even) {transform:rotate(.7deg)}
.reader .article-related a {display:flex;flex-direction:column;justify-content:space-between;gap:1.2rem;height:100%;padding:clamp(15px,1.6vw,26px);border-radius:6px;background:#101014;color:#fff;font:400 clamp(21px,2.1vw,34px)/1.12 var(--rx-poster);text-transform:uppercase}
.reader .article-related a:hover {background:#18225c;text-decoration:none}
.article-related time {align-self:start;background:#1744d2;color:#fff;border-radius:2px;padding:3px 8px;font:550 .78rem/1.4 var(--ui)}
@media(max-width:800px){.article-related li{flex:0 0 min(66vw,300px)}}
.translation-note { max-width: 660px; margin: 0 auto 36px; color: var(--muted); font: 400 .83rem/1.55 var(--ui) }
.article-pager {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 4vw, 60px);
  padding: 20px 0 clamp(3rem, 6vw, 7rem);
}
.article-pager a { color: var(--ink); font: 705 clamp(16px, 1.8vw, 25px)/1.2 var(--ui); overflow-wrap: anywhere }
.article-pager a:last-child:not(:first-child) { text-align: right }
.article-pager small { display: block; margin-bottom: .46rem; color: var(--link); font: 620 .74rem/1.4 var(--ui) }

@keyframes headline-enter { from { transform: translateY(.14em); opacity: .65 } to { transform: none; opacity: 1 } }
@keyframes feature-enter { from { clip-path: inset(4% 0 4% 0); opacity: .79 } to { clip-path: inset(0); opacity: 1 } }
@media (prefers-reduced-motion: no-preference) {

  html:not([data-reader-motion=off]) .article-byline { animation: headline-enter .46s .13s cubic-bezier(.2,.75,.24,1) both }
  html:not([data-reader-motion=off]) .article-plate img { animation: feature-enter .69s .09s cubic-bezier(.2,.75,.24,1) both }
}
@media (max-width: 1170px) {
  .reading-grid { display: block }
  .reading-rail, .article-body { max-width: 660px; margin-inline: auto }
  .reading-rail { position: static; width: auto; margin-bottom: 24px }
  .rail-tools { justify-content: flex-start; gap: 12px }

}
@media (max-width: 600px) {
  .article-head { padding-block: 28px 17px }
  .article-stage .spot-title {font-size:clamp(36px,9.5vw,56px)}
  .article-stage .spot-title[data-extended]{font-size:clamp(31px,8.4vw,48px)}
  .article-byline { padding-top: 13px; font-size: .76rem }
  .article-byline a { margin-inline-start: 0 }
  .article-plate img { aspect-ratio: 1.55 }
  .reading-rail { margin-bottom: 23px }
}
@media print {
  .reading-rail, .article-share, .article-related, .article-pager, .reader-skip { display: none }
  .article-head, .reading-grid { display: block; padding: 0 }
  .article-head h1 { font-size: 24pt }
  .article-body { font: 11pt/1.55 var(--prose) }
  .article-body :is(h1,h2,h3,h4) { break-after: avoid }
}
@media(prefers-reduced-motion:no-preference){
  @supports(animation-timeline:view()){
    .article-related li {animation:reader-program-rise linear both;animation-timeline:view();animation-range:entry 0% entry 90%}
    .article-related li:nth-child(even){animation-name:reader-program-settle}
    @keyframes reader-program-rise {from{translate:1.2rem 1.2rem;rotate:-2deg}to{translate:0 0;rotate:0deg}}
    @keyframes reader-program-settle {from{translate:-1.2rem 1.4rem;rotate:2deg}to{translate:0 0;rotate:0deg}}
  }
}
