/* The Edition uses the site's typefaces and an editorial paper surface. */
.edition-paper {
  --edition-paper: #fbfaf4;
  --edition-ink: #112d38;
  --edition-rule: #a9b6b3;
  --edition-accent: #12605d;
  --edition-meta: #42545a;
  --edition-quiet: #687375;
  --edition-tint: #e6f2ea;
  --edition-breaking: #9b321e;
  --edition-bar: #112d38;
  --edition-bar-text: #fbfaf4;
  --edition-bar-accent: #91e0d2;
  --edition-bar-quiet: #a6b6b9;
  background: var(--edition-paper);
  color: var(--edition-ink);
  font: 16px/1.5 var(--sans);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .edition-paper {
    --edition-paper: var(--paper);
    --edition-ink: var(--paper-ink);
    --edition-rule: var(--line-strong);
    --edition-accent: var(--paper-link);
    --edition-meta: var(--paper-note);
    --edition-quiet: var(--paper-note);
    --edition-tint: var(--paper-2);
    --edition-breaking: var(--down);
    --edition-bar: var(--inv-bg);
    --edition-bar-text: var(--inv-ink);
    --edition-bar-accent: var(--inv-accent);
    --edition-bar-quiet: var(--inv-note);
  }
}

:root[data-theme="dark"] .edition-paper {
  --edition-paper: var(--paper);
  --edition-ink: var(--paper-ink);
  --edition-rule: var(--line-strong);
  --edition-accent: var(--paper-link);
  --edition-meta: var(--paper-note);
  --edition-quiet: var(--paper-note);
  --edition-tint: var(--paper-2);
  --edition-breaking: var(--down);
  --edition-bar: var(--inv-bg);
  --edition-bar-text: var(--inv-ink);
  --edition-bar-accent: var(--inv-accent);
  --edition-bar-quiet: var(--inv-note);
}

.edition-paper .wrap {
  width: min(100% - 72px, 1380px);
  margin-inline: auto;
}

.edition-paper [hidden] { display: none !important; }
.edition-paper a:hover { color: inherit; }
.edition-paper :focus-visible { outline-color: var(--edition-accent); }
.edition-paper :is(.desk, .story, .briefs, .support, .report) { min-width: 0; }
.edition-paper :is(.desk, .market-note) { margin-block-start: 0; }
.edition-paper :is(.story, .report, .market-note) { scroll-margin-top: 84px; }
.edition-paper :is(.titlebar, .deskhead, .tools) { display: flex; align-items: center; }
.edition-paper .intel-status { font-size: 13px; }

.edition-paper .titlebar {
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0 14px;
  border-bottom: 5px double var(--edition-ink);
}

.edition-paper .titlebar h1 {
  margin: 0;
  font: 600 clamp(48px, 6.1vw, 90px)/1 var(--serif);
  letter-spacing: -.065em;
}

.edition-paper .titlebar h1 i { margin-inline-end: .055em; font-weight: 400; }
.edition-paper .edition-tools { text-align: right; font-size: 14px; }

.edition-paper .edition-tools time {
  display: block;
  margin-bottom: 4px;
  font: 20px/1.5 var(--serif);
}

.edition-paper .tools { gap: 15px; justify-content: flex-end; }
.edition-paper .tools a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 5px;
  color: var(--edition-accent);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.edition-paper .tools a:hover { text-decoration: underline; }

.edition-paper .batch {
  padding: 16px 0 27px;
  border-bottom: 3px double var(--edition-ink);
}

.edition-paper .deskhead {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--edition-ink);
}

.edition-paper .deskhead h2 {
  margin: 5px 0;
  font: italic 550 26px/1.08 var(--serif);
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.edition-paper .eyes { display: inline-flex; flex: none; align-items: center; }
.edition-paper .eyes button {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: none;
  color: var(--edition-accent);
  cursor: pointer;
}

.edition-paper .eyes:has([aria-pressed="true"]) button[aria-pressed="false"] { color: var(--edition-quiet); }
.edition-paper .eyes button:has(.wink-frame) > svg:first-child { visibility: hidden; }

.edition-paper .eyes svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.edition-paper .eyes .wink-frame { position: absolute; inset: 0; margin: auto; }

@media (prefers-reduced-motion: no-preference) {
  .edition-paper .eyes:has(.wink-frame):has([aria-pressed="true"]) button[aria-pressed="false"] {
    transition: color 80ms ease 240ms;
  }
}

.edition-paper .edition-signin {
  grid-column: 1 / -1;
  margin: 0 0 16px;
  font-size: 14px;
}

.edition-paper .edition-signin a { display: inline-flex; min-height: 44px; align-items: center; }
.edition-paper .edition-signin a { color: var(--edition-accent); font-weight: 650; }

.edition-paper .edition-recovery a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--edition-accent);
  font: 650 14px/1.4 var(--sans);
}

.edition-paper [data-edition-status] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.edition-paper .story > h3 {
  margin: 0;
  font: 570 clamp(21px, 1.8vw, 29px)/1.08 var(--serif);
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.edition-paper .story > .summary {
  margin: 8px 0 0;
  font: 400 16px/1.45 var(--serif);
}

.edition-paper .story > h3 a { display: inline-block; min-height: 24px; }

.edition-paper .place {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25em .65em;
  margin-bottom: 6px;
  color: var(--edition-accent);
  font: 630 13px/1.35 var(--sans);
}

.edition-paper .place time { color: var(--edition-meta); font-weight: 490; }
.edition-paper .breaking-tag { color: var(--edition-breaking); font-weight: 750; }

.edition-paper .breaking-tag::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: currentColor;
  content: "";
  vertical-align: 2px;
}

.edition-paper .principal .lead-story .story > h3 {
  font-size: clamp(35px, 4.15vw, 66px);
  line-height: .99;
  letter-spacing: -.052em;
}

.edition-paper .article-body {
  margin-top: 18px;
  font: 400 17px/1.5 var(--serif);
  overflow-wrap: anywhere;
}

.edition-paper .article-body p { margin: 0 0 .72em; }
.edition-paper .article-body p:last-child { margin-bottom: 0; }
.edition-paper .article-body a { text-decoration: underline; text-underline-offset: .14em; }

.edition-paper .article-body p:first-child::first-letter {
  float: left;
  margin: .08em .065em 0 0;
  font: 520 3.1em/.83 var(--serif);
}

.edition-paper :is(.briefs .story + .story, .support .desk + .desk, .lead-story + .briefs) {
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid var(--edition-rule);
}

.edition-paper :is(.opening, .feature) .principal {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  column-gap: 28px;
}

.edition-paper .principal .deskhead { grid-column: 1 / -1; }
.edition-paper :is(.opening, .feature) .principal > .briefs {
  margin: 0;
  padding: 0 0 0 25px;
  border: 0;
  border-left: 1px solid var(--edition-rule);
}

.edition-paper :is(.opening, .feature) .principal:not(:has(.briefs)) { display: block; }

.edition-paper :is(.opening, .feature) .support {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(235px, 100%), 1fr));
  gap: 26px;
  margin-top: 24px;
  padding-top: 10px;
  border-top: 2px solid var(--edition-ink);
}

.edition-paper :is(.opening, .feature) .support .desk {
  margin: 0;
  padding: 0;
  border: 0;
}

.edition-paper .secondary .lead-story .story > h3 { font-size: clamp(26px, 2.45vw, 41px); }

.edition-paper .columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 28px;
}

.edition-paper .columns.single-desk { grid-template-columns: 1fr; }
.edition-paper :is(.columns, .feature) .principal .deskhead h2 { font-style: normal; font-size: 32px; }
.edition-paper .columns .principal .lead-story .story > h3 { font-size: clamp(32px, 3.25vw, 54px); }

.edition-paper .columns .support {
  padding-left: 25px;
  border-left: 1px solid var(--edition-rule);
  columns: 2 210px;
  column-gap: 22px;
  column-rule: 1px solid var(--edition-rule);
}

.edition-paper .columns .support .desk {
  break-inside: avoid;
  margin: 0 0 20px;
  padding-top: 0;
  border: 0;
}

.edition-paper .columns .support .deskhead { align-items: flex-start; flex-wrap: wrap; gap: 0; }
.edition-paper .feature .principal { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }

.edition-paper .feature .principal .deskhead {
  padding: 3px 12px;
  background: var(--edition-bar);
  color: var(--edition-bar-text);
}

.edition-paper .feature .principal .deskhead button { color: var(--edition-bar-accent); }
.edition-paper .feature .principal .deskhead .eyes:has([aria-pressed="true"]) button[aria-pressed="false"] {
  color: var(--edition-bar-quiet);
}

.edition-paper .feature .principal .deskhead button:focus-visible {
  outline-color: var(--edition-bar-accent);
}

.edition-paper .feature .principal .lead-story .story > h3 { font-style: italic; }

.edition-paper .briefs-only .support {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 24px;
}

.edition-paper .briefs-only .support .desk { margin: 0; padding: 0; border: 0; }
.edition-paper .briefs-only .story > h3 { font-size: clamp(20px, 1.55vw, 26px); }

.edition-paper .report-callout {
  margin: 19px 0 0;
  padding: 14px 18px;
  border-left: 3px solid var(--edition-accent);
  background: var(--edition-tint);
  overflow-wrap: anywhere;
}

.edition-paper :is(.report-callout h4, .market-head h2) {
  margin: 0;
  font: italic 550 22px/1.15 var(--serif);
  letter-spacing: -.025em;
}

.edition-paper .report-callout dl { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 11px 0 0; }
.edition-paper :is(.report-callout dt, .security small, .report-callout small, .market-head a) { font: 500 13px/1.4 var(--sans); }
.edition-paper .report-callout dd { margin: 2px 0 0; font: 550 26px/1.1 var(--serif); }
.edition-paper :is(.report-callout small, .security small) { display: block; margin-top: 3px; color: var(--edition-meta); }
.edition-paper .report-callout a { text-decoration: underline; text-decoration-color: var(--edition-rule); text-underline-offset: 3px; }
.edition-paper .report-callout :is(small, dd, li) a { display: inline-block; min-height: 24px; }
.edition-paper .report-callout p { margin: 8px 0 0; font: 16px/1.4 var(--serif); }

.edition-paper .market-note {
  margin-top: 22px;
  padding: 12px 0 15px;
  border-top: 3px double var(--edition-ink);
}

.edition-paper :is(.market-head, .security) { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.edition-paper .market-head { margin-bottom: 13px; }
.edition-paper .market-head h2 { font-size: 25px; }
.edition-paper .market-head a { min-height: 24px; color: var(--edition-accent); font-weight: 650; }
.edition-paper .securities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.edition-paper .security { padding-left: 18px; border-left: 1px solid var(--edition-rule); }
.edition-paper .security:first-child { padding: 0; border: 0; }
.edition-paper .security b { font: 590 21px/1.05 var(--serif); overflow-wrap: anywhere; }
.edition-paper .security b a { display: inline-block; min-height: 24px; }
.edition-paper .security .valuation { margin-left: auto; text-align: right; }
.edition-paper .security strong { font: 600 17px/1.1 var(--sans); white-space: nowrap; }

.edition-paper .security .spark {
  flex: none;
  width: 60px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--edition-accent);
}

.edition-paper .market-caption { margin: 8px 0 0; color: var(--edition-meta); font: 13px/1.4 var(--sans); }
.edition-paper .market-note + .support { margin-top: 2px; }

.edition-paper .pager {
  padding: 20px;
  text-align: center;
}

.edition-paper .pager a + a { margin-inline-start: 24px; }

.edition-paper .pager a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: var(--edition-accent);
  font-size: 14px;
  font-weight: 650;
}

.edition-paper .readerbar {
  position: sticky;
  z-index: 31;
  top: 0;
  padding: 8px 0;
  background: var(--edition-bar);
  color: var(--edition-bar-text);
}

.edition-paper .readerbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
}

.edition-paper .readerbar a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-weight: 650;
  text-decoration: none;
}

.edition-paper .readerbar a:hover { text-decoration: underline; }
.edition-paper .readerbar a:focus-visible { outline-color: var(--edition-bar-accent); }

.edition-paper .reading { width: min(100% - 34px, 660px); margin-inline: auto; }
.edition-paper .report { padding: 48px 0; border-bottom: 2px solid var(--edition-ink); }
.edition-paper .report .place { margin-bottom: 12px; }
.edition-paper .report h2 {
  margin: 0 0 20px;
  font: 600 clamp(34px, 4vw, 54px)/1.06 var(--serif);
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.edition-paper .report :is(p, li, blockquote) { font: 20px/1.55 var(--serif); }
.edition-paper .report p:first-of-type { margin-top: 0; }
.edition-paper .report a { text-decoration: underline; text-underline-offset: .16em; }
.edition-paper .report .article-body p:first-child::first-letter { float: none; margin: 0; font: inherit; }
.edition-paper .report .report-callout p { margin: 8px 0 0; font: 16px/1.4 var(--serif); }

.edition-paper .reader-end {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  font: 600 14px/1.4 var(--sans);
}

.edition-paper .reader-end a { display: inline-flex; align-items: center; min-height: 44px; }
.edition-paper .daybreak { padding-top: 20px; font: 600 26px/1.2 var(--serif); }

@media (min-width: 1000px) {
  .edition-paper :is(.opening, .feature) .principal .article-body {
    columns: 2;
    column-gap: 26px;
    column-rule: 1px solid var(--edition-rule);
    orphans: 3;
    widows: 3;
  }
}

@media (max-width: 1020px) {
  .edition-paper .securities { grid-template-columns: 1fr; gap: 8px; }
  .edition-paper .security,
  .edition-paper .security:first-child { padding: 8px 0 0; border: 0; border-top: 1px solid var(--edition-rule); }
}

@media (max-width: 950px) {
  .edition-paper .wrap { width: calc(100% - 40px); }
  .edition-paper .columns .support { columns: 1; }
  .edition-paper :is(.opening, .feature) .principal {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    column-gap: 18px;
  }
  .edition-paper :is(.opening, .feature) .principal > .briefs { padding-left: 17px; }
}

@media (max-width: 650px) {
  .edition-paper .wrap { width: calc(100% - 32px); }
  .edition-paper .titlebar { align-items: flex-start; flex-wrap: wrap; gap: 4px; padding: 12px 0 6px; }
  .edition-paper .titlebar h1 { font-size: clamp(44px, 12vw, 69px); }
  .edition-paper .edition-tools { display: flex; width: 100%; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .edition-paper .edition-tools time { margin: 0; font-size: 15px; }
  .edition-paper .tools { flex-wrap: wrap; gap: 0 12px; }
  .edition-paper :is(.batch, .opening .principal, .feature .principal, .opening .support, .feature .support, .briefs-only .support) { display: block; }
  .edition-paper .batch { padding: 7px 0 18px; }
  .edition-paper .deskhead { margin-bottom: 11px; }
  .edition-paper .deskhead h2 { font-size: 24px; }
  .edition-paper .principal .lead-story .story > h3 { font-size: clamp(33px, 9vw, 48px); }
  .edition-paper .article-body { font-size: 18px; }
  .edition-paper .story > .summary { font-size: 17px; }
  .edition-paper :is(.opening .principal > .briefs, .feature .principal > .briefs, .columns .support) {
    margin-top: 17px;
    padding: 16px 0 0;
    border: 0;
    border-top: 1px solid var(--edition-rule);
  }
  .edition-paper :is(.opening, .feature, .briefs-only) .support .desk + .desk { margin-top: 20px; }
  .edition-paper .columns .support .deskhead { align-items: center; }
  .edition-paper .report { padding: 28px 0; }
  .edition-paper .report p { font-size: 19px; }
  .edition-paper .report-callout { padding: 13px 15px; }
  .edition-paper .report-callout dl { gap: 12px 20px; }
  .edition-paper .security .spark { width: 48px; }
}

.edition-paper .report-rules {
  padding: 10px 0 0;
  border: 0;
  border-top: 1px solid var(--edition-rule);
  background: transparent;
  color: var(--edition-meta);
}

.edition-paper .report-rules h4 { font: 650 14px/1.4 var(--sans); letter-spacing: 0; }
.edition-paper :is(.report .report-rules, .report-rules) p { margin: 4px 0 0; font: 14px/1.45 var(--sans); }
