/* Componentes editoriais extraidos do portfolio. Escopo .ds-editorial; sem reset global. */

:where(.ds-editorial) :is(.site-header) {
  max-width: 1456px;
  padding: 24px 48px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 36px;
}
:where(.ds-editorial) :is(.wordmark) {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
  white-space: nowrap;
}
:where(.ds-editorial) :is(.wordmark .icon) {
  color: var(--blue);
}
:where(.ds-editorial) :is(.wordmark-screen),
:where(.ds-editorial) :is(.wordmark-type) {
  display: inline-flex;
}
:where(.ds-editorial) :is(.wordmark-mono),
:where(.ds-editorial) :is(.wordmark-text) {
  display: none;
}
:where(.ds-editorial) :is(.wordmark-mono),
:where(.ds-editorial) :is(.wordmark-type) {
  color: var(--ink);
}
:where(.ds-editorial) :is(.wordmark .brand-lockup) {
  display: block;
  fill: currentColor;
}
:where(.ds-editorial) :is(#main-nav) {
  margin-left: auto;
  display: flex;
  gap: 24px;
}
:where(.ds-editorial) :is(#main-nav a),
:where(.ds-editorial) :is(.languages a) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}
:where(.ds-editorial) :is(#main-nav a[aria-current]) {
  text-decoration: underline;
  text-decoration-color: var(--blue);
}
:where(.ds-editorial) :is(.languages) {
  display: flex;
  gap: 2px;
}
:where(.ds-editorial) :is(.languages a) {
  min-width: 44px;
  font: 12px var(--mono);
  border-radius: 50%;
}
:where(.ds-editorial) :is(.languages a[aria-current]) {
  background: var(--ink);
  color: var(--surface);
}
:where(.ds-editorial) :is(.menu-toggle) {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 44px;
  padding: 0 16px;
}
:where(.ds-editorial) :is(.text-link) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 16px;
  font-weight: 500;
}
:where(.ds-editorial) :is(.text-link:has(+ .text-link)) {
  margin-right: 40px;
}
:where(.ds-editorial) :is(.button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: var(--blue);
  color: var(--surface);
  border-radius: 8px;
  padding: 14px 22px;
  min-height: 48px;
  text-decoration: none;
}
:where(.ds-editorial) :is(.layer-instrument) {
  background: var(--invert-surface);
  color: var(--invert-ink);
  border-radius: var(--radius-card);
  overflow: clip;
}
:where(.ds-editorial) :is(.instrument-top) {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 12px 24px;
  border-bottom: 1px solid var(--muted);
  min-height: 69px;
}
:where(.ds-editorial) :is(.layer-toggle) {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--mint);
  color: var(--mint-ink);
  border: 0;
  border-radius: 6px;
  padding: 10px 16px;
  min-height: 44px;
  font-size: 14px;
}
:where(.ds-editorial) :is(.layer-toggle[aria-pressed="true"] .icon) {
  transform: rotate(45deg);
}
:where(.ds-editorial) :is(.layer-instrument :focus-visible) {
  outline-color: var(--mint);
}
:where(.ds-editorial) :is(.layer-toggle:focus-visible) {
  outline-color: white;
}
:where(.ds-editorial) :is(.layer-map) {
  height: 340px;
  position: relative;
  isolation: isolate;
  --reveal: 0;
}
:where(.ds-editorial) :is(.layer-map canvas) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
:where(.ds-editorial) :is(.screen-object) {
  width: 232px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(calc(1 - var(--reveal) * 0.2));
}
:where(.ds-editorial) :is(.screen-bezel) {
  background: var(--mint);
  color: var(--mint-ink);
  padding: 22px;
  min-height: 206px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
}
:where(.ds-editorial) :is(.screen-bezel span) {
  text-align: center;
  font: 20px/1.3 var(--mono);
  letter-spacing: -0.03em;
}
:where(.ds-editorial) :is(.screen-bezel i) {
  width: 10px;
  height: 3px;
  background: currentColor;
}
:where(.ds-editorial) :is(.screen-neck) {
  width: 28px;
  height: 12px;
  margin: auto;
  background: var(--line);
}
:where(.ds-editorial) :is(.screen-foot) {
  width: 112px;
  height: 7px;
  margin: auto;
  background: var(--surface);
}
:where(.ds-editorial) :is(.layer-nodes) {
  opacity: 0;
  visibility: hidden;
}
:where(.ds-editorial) :is(.layer-map[data-revealed="true"] .layer-nodes) {
  opacity: 1;
  visibility: visible;
}
:where(.ds-editorial) :is(.layer-node) {
  position: absolute;
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 158px;
  min-height: 72px;
  padding: 12px 18px;
  background: var(--invert-surface);
  color: var(--invert-ink);
  border: 1px solid var(--invert-line);
  border-radius: 6px;
  font-size: 19px;
}
:where(.ds-editorial) :is(.layer-node span) {
  font: 12px/1.6 var(--mono);
}
:where(.ds-editorial) :is(.node-0),
:where(.ds-editorial) :is(.node-2) {
  left: 9%;
}
:where(.ds-editorial) :is(.node-1),
:where(.ds-editorial) :is(.node-3) {
  right: 9%;
}
:where(.ds-editorial) :is(.node-0),
:where(.ds-editorial) :is(.node-1) {
  top: 14%;
}
:where(.ds-editorial) :is(.node-2),
:where(.ds-editorial) :is(.node-3) {
  bottom: 14%;
}
:where(.ds-editorial) :is(.layer-node[aria-pressed="true"]) {
  color: var(--mint-ink);
  background: var(--mint);
  border-color: var(--mint);
  text-decoration: underline;
}
:where(.ds-editorial) :is(.instrument-bottom) {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0 16px;
  padding: 8px 24px 12px;
  background: var(--mint);
  color: var(--mint-ink);
  align-items: center;
}
:where(.ds-editorial) :is(.instrument-bottom label),
:where(.ds-editorial) :is(.instrument-bottom > span) {
  font: 12px var(--mono);
}
:where(.ds-editorial) :is(.instrument-bottom input) {
  width: 100%;
  min-width: 44px;
  height: 44px;
  accent-color: var(--ink);
  cursor: ew-resize;
}
:where(.ds-editorial) :is(.instrument-bottom input:focus-visible) {
  outline-color: var(--ink);
}
:where(.ds-editorial) :is(.instrument-bottom p) {
  grid-column: 1/-1;
  margin: 0;
  text-align: center;
  font-size: 12px;
}
:where(.ds-editorial) :is(.layer-caption) {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 28px;
  align-items: center;
  padding: 18px 24px;
  min-height: 110px;
}
:where(.ds-editorial) :is(.layer-caption p) {
  margin: 0;
  font-size: 14px;
}
:where(.ds-editorial) :is(.layer-caption small) {
  font: 11px/1.6 var(--mono);
}
:where(.ds-editorial) :is(.layer-fallback) {
  padding: 0 24px 20px;
}
:where(.ds-editorial) :is(.layer-fallback summary) {
  min-height: 44px;
  cursor: pointer;
}
:where(.ds-editorial) :is(.layer-fallback li) {
  margin-bottom: 12px;
}
:where(.ds-editorial) :is(.breadcrumbs) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 32px 0;
  font-size: 13px;
}
:where(.ds-editorial) :is(.breadcrumbs a) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
:where(.ds-editorial) :is(.breadcrumbs > [aria-current]) {
  overflow-wrap: anywhere;
  max-width: 75ch;
}
:where(.ds-editorial) :is(.source-note) {
  font-size: 14px;
  color: var(--muted);
}
@media (hover: hover) and (pointer: fine) {
  :where(.ds-editorial) :is(.button:hover) {
    background: var(--blue-hover);
    text-decoration: none;
  }
  :where(.ds-editorial) :is(.layer-toggle:hover) {
    background: var(--surface);
  }
  :where(.ds-editorial) :is(.layer-node:hover) {
    border-color: var(--mint);
  }
}
@media (max-width: 1100px) {
  :where(.ds-editorial) :is(.site-header) {
    gap: 20px;
    padding-inline: 32px;
  }
  :where(.ds-editorial) :is(#main-nav) {
    gap: 16px;
    font-size: 14px;
  }
  :where(.ds-editorial) :is(.node-0),
  :where(.ds-editorial) :is(.node-2) {
    left: 5%;
  }
  :where(.ds-editorial) :is(.node-1),
  :where(.ds-editorial) :is(.node-3) {
    right: 5%;
  }
}
@media (max-width: 800px) {
  :where(.ds-editorial) :is(.site-header) {
    flex-wrap: wrap;
    padding: 16px 24px;
    gap: 8px 16px;
  }
  :where(.ds-editorial) :is(.wordmark) {
    margin-right: auto;
  }
  :where(.ds-editorial) :is(.wordmark-screen),
  :where(.ds-editorial) :is(.wordmark-type) {
    display: none;
  }
  :where(.ds-editorial) :is(.wordmark-mono) {
    display: inline-flex;
  }
  :where(.ds-editorial) :is(.wordmark-text) {
    display: inline;
  }
  :where(.ds-editorial) :is(#main-nav) {
    order: 4;
    width: 100%;
    margin: 4px 0 0;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  :where(.ds-editorial) :is(.js-nav #main-nav:not([data-open])) {
    display: none;
  }
  :where(.ds-editorial) :is(.languages) {
    margin-left: 0;
  }
  :where(.ds-editorial) :is(.layer-map) {
    height: 400px;
  }
  :where(.ds-editorial) :is(.screen-object) {
    width: 150px;
  }
  :where(.ds-editorial) :is(.screen-bezel) {
    min-height: 148px;
    padding: 12px;
    gap: 8px;
  }
  :where(.ds-editorial) :is(.screen-bezel > .icon) {
    width: 40px;
    height: 40px;
  }
  :where(.ds-editorial) :is(.screen-bezel span) {
    font-size: 14px;
  }
  :where(.ds-editorial) :is(.layer-node) {
    min-width: 0;
    width: 40%;
    min-height: 60px;
    padding: 8px 12px;
    font-size: 16px;
  }
  :where(.ds-editorial) :is(.layer-node span) {
    font-size: 10px;
  }
  :where(.ds-editorial) :is(.node-0),
  :where(.ds-editorial) :is(.node-1) {
    top: 12px;
  }
  :where(.ds-editorial) :is(.node-2),
  :where(.ds-editorial) :is(.node-3) {
    bottom: 12px;
  }
  :where(.ds-editorial) :is(.node-0),
  :where(.ds-editorial) :is(.node-2) {
    left: 12px;
  }
  :where(.ds-editorial) :is(.node-1),
  :where(.ds-editorial) :is(.node-3) {
    right: 12px;
  }
  :where(.ds-editorial) :is(.layer-caption) {
    display: block;
    padding: 16px;
  }
  :where(.ds-editorial) :is(.layer-caption small) {
    display: block;
    margin-top: 14px;
  }
  :where(.ds-editorial) :is(.instrument-top) {
    padding: 12px 16px;
    font-size: 14px;
  }
  :where(.ds-editorial) :is(.layer-toggle) {
    font-size: 12px;
    padding: 10px;
  }
  :where(.ds-editorial) :is(.layer-toggle .icon) {
    display: none;
  }
  :where(.ds-editorial) :is(.instrument-bottom) {
    padding-inline: 16px;
    gap: 0 10px;
  }
  :where(.ds-editorial) :is(.instrument-bottom label),
  :where(.ds-editorial) :is(.instrument-bottom > span) {
    font-size: 10px;
  }
}
@media (max-width: 480px) {
  :where(.ds-editorial) :is(.site-header) {
    padding-inline: 20px;
  }
  :where(.ds-editorial) :is(.wordmark) {
    font-size: 18px;
  }
  :where(.ds-editorial) :is(.languages) {
    order: 3;
    width: 100%;
    justify-content: flex-end;
  }
  :where(.ds-editorial) :is(.instrument-top > span) {
    max-width: 16ch;
  }
  :where(.ds-editorial) :is(.instrument-top) {
    gap: 10px;
  }
}
:where(.ds-editorial) :is(.site-header) {
  max-width: 1536px;
  padding-block: 20px;
  border-bottom: 1px solid var(--hairline);
}
:where(.ds-editorial) :is(.wordmark) {
  font-size: 22px;
  letter-spacing: -0.025em;
}
@media (max-width: 540px) {
  :where(.ds-editorial) :is(.site-header) {
    padding-inline: 20px;
  }
  :where(.ds-editorial) :is(.wordmark) {
    font-size: 20px;
  }
}
:where(.ds-editorial) :is(.instrument-bottom) {
  padding: 14px 24px 18px;
  background: transparent;
  color: var(--surface);
  border-top: 1px solid var(--muted);
}
:where(.ds-editorial) :is(.instrument-bottom label),
:where(.ds-editorial) :is(.instrument-bottom > span) {
  color: var(--mint);
}
:where(.ds-editorial) :is(.instrument-bottom input) {
  accent-color: var(--mint);
}
:where(.ds-editorial) :is(.instrument-bottom input:focus-visible) {
  outline-color: var(--mint);
}
:where(.ds-editorial) :is(.instrument-bottom p) {
  color: #d0d0d0;
}
:where(.ds-editorial) :is(.timeline) {
  list-style: none;
  padding: 0;
  margin: 0;
}
:where(.ds-editorial) :is(.timeline li) {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 32px;
  padding: 22px 0;
  border-top: 1px solid var(--hairline);
}
:where(.ds-editorial) :is(.timeline-period) {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
:where(.ds-editorial) :is(.timeline h4) {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
  max-width: 62ch;
}
:where(.ds-editorial) :is(.timeline p) {
  color: var(--muted);
  max-width: 62ch;
  margin: 0;
}
:where(.ds-editorial) :is(.timeline p.mono) {
  font-size: 12px;
  margin-bottom: 8px;
}
:where(.ds-editorial) :is(.results) {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 0;
}
:where(.ds-editorial) :is(.results li) {
  display: grid;
  gap: 4px;
  padding: 22px 0;
  border-top: 1px solid var(--hairline);
  max-width: none;
}
:where(.ds-editorial) :is(.results li:last-child) {
  border-bottom: 1px solid var(--hairline);
}
:where(.ds-editorial) :is(.results strong) {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}
:where(.ds-editorial) :is(.results span) {
  font: 13px/1.7 var(--mono);
  color: var(--muted);
}

@media (max-width: 900px) {
  :where(.ds-editorial) :is(.timeline li) {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
}
:where(.ds-editorial) :is(.site-header) {
  max-width: var(--page-width);
  margin-inline: auto;
  padding: 28px 8px 20px;
  border-bottom: 0;
  background: transparent;
}

@media (max-width: 900px) {
  :where(.ds-editorial) :is(.site-header) {
    padding: 20px 4px 16px;
  }
}
:where(.ds-editorial) :is(.page-toc) {
  position: sticky;
  top: var(--header-offset);
  float: left;
  width: 230px;
  margin: 48px 64px 48px 0;
  padding: 20px 0;
  border-top: 2px solid var(--ink);
}
:where(.ds-editorial) :is(.page-toc > p) {
  color: var(--muted);
  margin-bottom: 14px;
}
:where(.ds-editorial) :is(.page-toc ol) {
  list-style: none;
  margin: 0;
  padding: 0;
}
:where(.ds-editorial) :is(.page-toc li + li) {
  margin-top: 2px;
}
:where(.ds-editorial) :is(.page-toc a) {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 7px 0;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
:where(.ds-editorial) :is(.page-toc a .mono) {
  color: var(--muted);
  font-size: 11px;
}
:where(.ds-editorial) :is(.page-toc a:hover) {
  color: var(--blue);
}
:where(.ds-editorial) :is(.page-toc a:hover .mono) {
  color: var(--blue);
}

@media (max-width: 1100px) {
  :where(.ds-editorial) :is(.page-toc) {
    position: static;
    float: none;
    width: auto;
    margin: 40px 0 8px;
  }
  :where(.ds-editorial) :is(.page-toc ol) {
    display: flex;
    flex-wrap: wrap;
    gap: 0 24px;
  }
  :where(.ds-editorial) :is(.page-toc li + li) {
    margin-top: 0;
  }
}
:where(.ds-editorial) :is(.breadcrumbs) {
  background: var(--mint);
  margin: 0 -56px;
  padding: 20px 56px 0;
}
:where(.ds-editorial) :is(.page-toc) {
  margin-top: 40px;
  border-top: 0;
  padding-top: 0;
}
:where(.ds-editorial) :is(.page-toc > p) {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
}

@media (max-width: 900px) {
  :where(.ds-editorial) :is(.breadcrumbs) {
    margin: 0 -24px;
    padding: 16px 24px 0;
  }
}
:where(.ds-editorial) :is(.breadcrumbs) {
  border-radius: 20px 20px 0 0;
}
:where(.ds-editorial) :is(.breadcrumbs + .reading-header) {
  border-radius: 0 0 20px 20px;
}
:where(.ds-editorial) :is(.breadcrumbs + .reading-header) {
  border-radius: 0;
}
:where(.ds-editorial) :is(.timeline-head) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
}
:where(.ds-editorial) :is(.timeline-org) {
  margin: 0;
}
:where(.ds-editorial) :is(.timeline-roles) {
  list-style: none;
  margin: 0;
  padding: 0;
}
:where(.ds-editorial) :is(.timeline-roles li) {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 20px;
  padding: 12px 0;
  border-top: 1px solid var(--hairline);
}
:where(.ds-editorial) :is(.timeline-roles li.role-single) {
  grid-template-columns: minmax(0, 1fr);
}
:where(.ds-editorial) :is(.timeline-roles li:first-child) {
  border-top: 0;
  padding-top: 0;
}
:where(.ds-editorial) :is(.timeline-roles h4) {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
:where(.ds-editorial) :is(.timeline-roles p) {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}
:where(.ds-editorial) :is(.timeline-roles p.mono) {
  font-size: 12px;
  padding-top: 2px;
}

@media (max-width: 900px) {
  :where(.ds-editorial) :is(.timeline-head) {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  :where(.ds-editorial) :is(.timeline-roles li) {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}
:where(.ds-editorial) :is(.timeline-head) {
  column-gap: 32px;
}
:where(.ds-editorial) :is(.breadcrumbs) {
  background: var(--field);
  color: var(--field-ink);
}
:where(.ds-editorial) :is(.theme-toggle) {
  margin-left: auto;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--field-ink);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--field-ink);
  font: 400 12px/1 var(--mono);
  cursor: pointer;
}
:where(.ds-editorial) :is(.theme-toggle:hover) {
  background: var(--field-ink);
  color: var(--field);
}
:where(.ds-editorial) :is(.theme-toggle .sun) {
  display: none;
}
:where(.ds-editorial) :is(.theme-toggle[aria-pressed="true"] .sun) {
  display: inline;
}
:where(.ds-editorial) :is(.theme-toggle[aria-pressed="true"] .moon) {
  display: none;
}
:where(.ds-editorial) :is(.header-sentinel) {
  height: 1px;
  margin-bottom: -1px;
}
:where(.ds-editorial) :is(.site-header) {
  position: sticky;
  top: 12px;
  z-index: 40;
  width: calc(100% - 2 * var(--page-gutter));
  max-width: var(--page-width);
  margin: 12px auto 0;
  padding: 10px var(--panel-pad);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  gap: 24px;
  transition:
    box-shadow var(--duration) var(--ease),
    background var(--duration) var(--ease);
}
:where(.ds-editorial) :is(.site-header[data-stuck]) {
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--overlay-shadow);
}
:where(.ds-editorial) :is(.site-header .wordmark),
:where(.ds-editorial) :is(.site-header #main-nav a) {
  color: var(--ink);
}
:where(.ds-editorial) :is(.site-header .theme-toggle) {
  border-color: var(--hairline);
  color: var(--muted);
}
:where(.ds-editorial) :is(.site-header .theme-toggle) {
  border-color: transparent;
}
@media (hover: hover) and (pointer: fine) {
  :where(.ds-editorial) :is(.site-header .theme-toggle:hover) {
    border-color: var(--hairline);
    background: transparent;
    color: var(--ink);
  }
}
@media (min-width: 901px) {
  :where(.ds-editorial) :is(.site-header #main-nav) {
    margin-left: auto;
  }
  :where(.ds-editorial) :is(.site-header .theme-toggle) {
    order: 1;
    margin-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  :where(.ds-editorial) :is(.site-header) {
    transition: none;
  }
}
@media (max-width: 900px) {
  :where(.ds-editorial) :is(.site-header) {
    top: 8px;
    margin-top: 8px;
    padding: 8px 10px 8px 16px;
    gap: 8px 12px;
  }
  :where(.ds-editorial) :is(.site-header:has(#main-nav[data-open])) {
    border-radius: 20px;
  }
  :where(.ds-editorial) :is(#main-nav[data-open]) {
    padding-top: 4px;
    border-top: 1px solid var(--hairline);
  }
}
@media (max-width: 900px) {
  :where(.ds-editorial) :is(.site-header) {
    position: fixed;
    inset: auto 12px calc(12px + env(safe-area-inset-bottom, 0px)) 12px;
    top: auto;
    width: auto;
    max-width: none;
    margin: 0;
    box-shadow: var(--overlay-shadow);
    background: color-mix(in srgb, var(--surface) 94%, transparent);
  }
  :where(.ds-editorial) :is(#main-nav) {
    order: -1;
    margin: 0 0 4px;
    padding: 0 0 8px;
    border-top: 0;
    border-bottom: 1px solid var(--hairline);
  }
  :where(.ds-editorial) :is(#main-nav[data-open]) {
    padding-top: 0;
    border-top: 0;
  }
  :where(.ds-editorial) :is(.wordmark) {
    margin-right: auto;
  }
  :where(.ds-editorial) :is(.header-sentinel) {
    display: none;
  }
}
:where(.ds-editorial) :is(.theme-toggle .moon),
:where(.ds-editorial) :is(.theme-toggle .sun) {
  display: inline-flex;
}
:where(.ds-editorial) :is(.theme-toggle .sun) {
  display: none;
}
:where(.ds-editorial) :is(.theme-toggle[aria-pressed="true"] .sun) {
  display: inline-flex;
}
:where(.ds-editorial) :is(.theme-toggle[aria-pressed="true"] .moon) {
  display: none;
}
:where(.ds-editorial) :is(.theme-toggle .icon) {
  display: block;
}
@media (max-width: 900px) {
  :where(.ds-editorial) :is(#main-nav) {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
  }
  :where(.ds-editorial) :is(#main-nav a) {
    justify-content: flex-start;
    padding: 2px 4px;
    border-bottom: 1px solid var(--hairline);
  }
  :where(.ds-editorial) :is(#main-nav a:last-child) {
    border-bottom: 0;
  }
}
:where(.ds-editorial) :is(.menu-toggle) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 0 12px;
  border-color: var(--hairline);
  border-radius: var(--radius-pill);
  color: var(--ink);
}
:where(.ds-editorial) :is(.menu-toggle .bars),
:where(.ds-editorial) :is(.menu-toggle .cross) {
  display: flex;
}
:where(.ds-editorial) :is(.menu-toggle .cross),
:where(.ds-editorial) :is(.menu-toggle[aria-expanded="true"] .bars) {
  display: none;
}
:where(.ds-editorial) :is(.menu-toggle[aria-expanded="true"] .cross) {
  display: flex;
}
:where(.ds-editorial) :is(.menu-toggle:hover) {
  background: var(--ink);
  color: var(--surface);
}
:where(.ds-editorial) :is(.site-header),
:where(.ds-editorial) :is(.site-header[data-stuck]) {
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-color: color-mix(in srgb, var(--hairline) 70%, transparent);
  box-shadow: inset 0 1px 0 var(--glass-edge);
}
:where(.ds-editorial) :is(.site-header[data-stuck]) {
  box-shadow:
    inset 0 1px 0 var(--glass-edge),
    var(--overlay-shadow);
}
:where(.ds-editorial) :is(.site-header #main-nav a) {
  font-weight: 500;
}
:where(.ds-editorial) :is(.page-toc a[aria-current]) {
  font-weight: 500;
}
:where(.ds-editorial) :is(.page-toc a[aria-current] .mono) {
  color: var(--blue);
}
:where(.ds-editorial) :is(#main-nav .icon),
:where(.ds-editorial) :is(.theme-toggle .theme-label) {
  display: none;
}
:where(.ds-editorial) :is(.toc-toggle) {
  display: none;
}
@media (max-width: 900px) {
  :where(.ds-editorial) :is(.site-header) {
    box-shadow:
      inset 0 1px 0 var(--glass-edge),
      var(--overlay-shadow);
  }
  :where(.ds-editorial) :is(.js-nav .site-header:has(#main-nav[data-open])) {
    border-radius: var(--radius-pill);
  }
  :where(.ds-editorial) :is(.js-nav #main-nav),
  :where(.ds-editorial) :is(.js-nav #main-nav[data-open]) {
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
  }
  :where(.ds-editorial) :is(.js-nav #main-nav:not([data-open])) {
    display: flex;
    visibility: hidden;
    pointer-events: none;
    /* Some de uma vez so depois que o fade de saida termina. */
    transition: visibility 0s linear var(--duration-exit);
  }
  :where(.ds-editorial) :is(.js-nav #main-nav > *) {
    gap: 12px;
    min-height: 52px;
    padding: 0 24px 0 20px;
    border: 1px solid color-mix(in srgb, var(--blue) 60%, transparent);
    border-radius: var(--radius-pill);
    background: var(--glass-action);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    color: var(--action-ink);
    font-size: 17px;
    font-weight: 500;
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / 35%),
      var(--overlay-shadow);
    opacity: 0;
    transform: translateY(8px) scale(0.96);
    transform-origin: right bottom;
    /* Saida mais rapida que a entrada e sem defasagem: o sistema responde, nao encena. */
    transition:
      opacity var(--duration-exit) var(--ease),
      transform var(--duration-exit) var(--ease),
      background var(--duration) ease;
  }
  :where(.ds-editorial) :is(.js-nav #main-nav > :last-child) {
    border-bottom: 1px solid color-mix(in srgb, var(--blue) 60%, transparent);
  }
  :where(.ds-editorial) :is(.js-nav #main-nav .icon) {
    display: block;
    flex: none;
  }
  :where(.ds-editorial) :is(.js-nav .site-header #main-nav > a) {
    color: var(--action-ink);
  }
  :where(.ds-editorial) :is(.js-nav #main-nav a[aria-current]) {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--surface);
    text-decoration: none;
  }
  :where(.ds-editorial) :is(.js-nav #main-nav > :focus-visible) {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
  }
  :where(.ds-editorial) :is(.js-nav #main-nav[data-open] > *) {
    opacity: 1;
    transform: none;
    transition:
      opacity var(--duration) var(--ease),
      transform var(--duration) var(--ease),
      background var(--duration) ease;
  }
  :where(.ds-editorial) :is(.js-nav #main-nav[data-open] > :nth-last-child(2)) {
    transition-delay: 30ms;
  }
  :where(.ds-editorial) :is(.js-nav #main-nav[data-open] > :nth-last-child(3)) {
    transition-delay: 60ms;
  }
  :where(.ds-editorial) :is(.js-nav #main-nav[data-open] > :nth-last-child(4)) {
    transition-delay: 90ms;
  }
  :where(.ds-editorial) :is(.js-nav #main-nav[data-open] > :nth-last-child(5)) {
    transition-delay: var(--duration-exit);
  }
  :where(.ds-editorial) :is(.js-nav #main-nav[data-open] > :nth-last-child(6)) {
    transition-delay: 150ms;
  }
  :where(.ds-editorial) :is(.js-nav #main-nav .theme-toggle) {
    gap: 8px;
    height: 40px;
    min-height: 0;
    margin: 0;
    padding: 0 16px 0 14px;
    border-color: color-mix(in srgb, var(--hairline) 70%, transparent);
    background: var(--glass-solid);
    color: var(--muted);
    font: 400 13px/1 var(--mono);
    box-shadow: none;
  }
  :where(.ds-editorial) :is(.js-nav #main-nav .theme-toggle .icon) {
    width: 14px;
    height: 14px;
  }
  :where(.ds-editorial) :is(.js-nav #main-nav .theme-toggle .theme-label) {
    display: inline;
  }
  :where(.ds-editorial) :is(.menu-toggle) {
    width: 44px;
    padding: 0;
    transition:
      background var(--duration) ease,
      color var(--duration) ease,
      transform var(--duration) var(--ease);
  }
  :where(.ds-editorial) :is(.menu-toggle[aria-expanded="true"]),
  :where(.ds-editorial) :is(.menu-toggle[aria-expanded="true"]:hover) {
    border-color: var(--blue);
    background: var(--blue);
    color: var(--surface);
  }
  :where(.ds-editorial) :is(.js-toc .toc-toggle) {
    display: inline-flex;
    flex: 1;
    min-width: 0;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--ink);
    font: 500 15px/1 var(--sans);
    cursor: pointer;
    transition:
      background var(--duration) ease,
      transform var(--duration) var(--ease);
  }
  :where(.ds-editorial) :is(.js-toc .toc-toggle .mono) {
    color: var(--blue);
    font-size: 12px;
  }
  :where(.ds-editorial) :is(.js-toc .toc-toggle[aria-expanded="true"]) {
    border-color: var(--ink);
  }
  :where(.ds-editorial) :is(.js-toc .wordmark) {
    margin-right: 0;
  }
  :where(.ds-editorial) :is(.js-toc .wordmark .wordmark-text),
  :where(.ds-editorial) :is(.js-toc .wordmark .wordmark-type) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  :where(.ds-editorial) :is(.js-toc .page-toc) {
    position: fixed;
    z-index: 41;
    /* O top do sumario sticky esticaria a folha ate o alto da tela. */
    top: auto;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px) + 62px + 10px);
    left: 12px;
    width: auto;
    max-height: min(60vh, 440px);
    overflow-y: auto;
    margin: 0;
    padding: 16px 20px 8px;
    border: 1px solid color-mix(in srgb, var(--hairline) 70%, transparent);
    border-radius: 20px;
    background: var(--glass-strong);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    box-shadow:
      inset 0 1px 0 var(--glass-edge),
      var(--overlay-shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px) scale(var(--press-scale));
    transform-origin: 30% bottom;
    transition:
      opacity var(--duration-exit) var(--ease),
      transform var(--duration-exit) var(--ease),
      visibility 0s linear var(--duration-exit);
  }
  :where(.ds-editorial) :is(.js-toc .page-toc[data-open]) {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition:
      opacity var(--duration) var(--ease),
      transform var(--duration) var(--ease);
  }
  :where(.ds-editorial) :is(.js-toc .page-toc ol) {
    display: block;
  }
  :where(.ds-editorial) :is(.js-toc .page-toc li + li) {
    border-top: 1px solid var(--hairline);
  }
  :where(.ds-editorial) :is(.js-toc .page-toc a) {
    min-height: 44px;
    align-items: center;
    font-size: 16px;
  }
}
:where(.ds-editorial) :is(.button),
:where(.ds-editorial) :is(.menu-toggle),
:where(.ds-editorial) :is(.theme-toggle),
:where(.ds-editorial) :is(.toc-toggle),
:where(.ds-editorial) :is(#main-nav a) {
  -webkit-tap-highlight-color: transparent;
}
:where(.ds-editorial) :is(.button),
:where(.ds-editorial) :is(.theme-toggle) {
  transition:
    background var(--duration) ease,
    color var(--duration) ease,
    transform var(--duration) var(--ease);
}
:where(.ds-editorial) :is(.button:active),
:where(.ds-editorial) :is(.menu-toggle:active),
:where(.ds-editorial) :is(.theme-toggle:active),
:where(.ds-editorial) :is(.toc-toggle:active),
:where(.ds-editorial) :is(.js-nav #main-nav[data-open] > :active) {
  transform: scale(var(--press-scale));
}
@media (hover: hover) and (pointer: fine) {
  :where(.ds-editorial) :is(.js-nav #main-nav a:not([aria-current]):hover) {
    background: var(--blue-hover);
  }
  :where(.ds-editorial) :is(.js-nav #main-nav .theme-toggle:hover) {
    color: var(--ink);
  }
  :where(.ds-editorial) :is(.toc-toggle:hover) {
    background: color-mix(in srgb, var(--ink) 6%, transparent);
  }
}
@media (prefers-reduced-motion: reduce) {
  :where(.ds-editorial) :is(.js-nav #main-nav > *),
  :where(.ds-editorial) :is(.js-nav #main-nav[data-open] > *),
  :where(.ds-editorial) :is(.js-toc .page-toc),
  :where(.ds-editorial) :is(.js-toc .page-toc[data-open]) {
    transform: none;
    transition-delay: 0s;
  }
  :where(.ds-editorial) :is(.button:active),
  :where(.ds-editorial) :is(.menu-toggle:active),
  :where(.ds-editorial) :is(.theme-toggle:active),
  :where(.ds-editorial) :is(.toc-toggle:active),
  :where(.ds-editorial) :is(.js-nav #main-nav[data-open] > :active) {
    transform: none;
  }
}
@media (prefers-reduced-transparency: reduce) {
  :where(.ds-editorial) :is(.site-header),
  :where(.ds-editorial) :is(.site-header[data-stuck]),
  :where(.ds-editorial) :is(.js-toc .page-toc) {
    background: var(--surface);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  :where(.ds-editorial) :is(.js-nav #main-nav a) {
    background: var(--blue);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
@media (prefers-contrast: more) {
  :where(.ds-editorial) :is(.site-header),
  :where(.ds-editorial) :is(.site-header[data-stuck]),
  :where(.ds-editorial) :is(.js-toc .page-toc) {
    background: var(--surface);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-color: var(--ink);
  }
  :where(.ds-editorial) :is(.js-nav #main-nav a) {
    background: var(--blue);
  }
}
:where(.ds-editorial) :is(.lang-menu) {
  position: relative;
  display: inline-flex;
  align-items: center;
}
@media (min-width: 901px) {
  :where(.ds-editorial) :is(.site-header .lang-menu) {
    order: 1;
    margin-left: 12px;
  }
}
:where(.ds-editorial) :is(.lang-toggle) {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
:where(.ds-editorial) :is(.lang-toggle .icon) {
  display: block;
}
:where(.ds-editorial) :is(.lang-toggle .lang-label) {
  display: none;
}
:where(.ds-editorial) :is(.lang-toggle[aria-expanded="true"]) {
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}
:where(.ds-editorial) :is(.lang-list) {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
:where(.ds-editorial) :is(.lang-list a) {
  color: var(--muted);
  text-decoration: none;
}
:where(.ds-editorial) :is(.lang-list a[aria-current]) {
  color: var(--ink);
}
@media (hover: hover) and (pointer: fine) {
  :where(.ds-editorial) :is(.lang-toggle:hover) {
    background: color-mix(in srgb, var(--ink) 6%, transparent);
  }
}
@media (max-width: 900px) {
  :where(.ds-editorial) :is(.js-nav #main-nav > .nav-tools) {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    /* Sem a altura minima que vale para cada item da pilha: ela esticava a capsula de tema, que
       ficava 8 px mais alta que a de idioma. */
    min-height: 0;
    margin: 4px 0 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
  }
  :where(.ds-editorial) :is(.js-nav #main-nav .lang-menu .lang-toggle) {
    display: inline-flex;
    gap: 8px;
    width: auto;
    height: 40px;
    min-height: 0;
    align-items: center;
    padding: 0 16px 0 14px;
    border: 1px solid color-mix(in srgb, var(--hairline) 70%, transparent);
    border-radius: var(--radius-pill);
    background: var(--glass-solid);
    color: var(--ink);
    font: 400 13px/1 var(--mono);
  }
  :where(.ds-editorial) :is(.js-nav #main-nav .lang-menu .lang-toggle .icon) {
    width: 14px;
    height: 14px;
  }
  :where(.ds-editorial) :is(.js-nav #main-nav .lang-menu .lang-label) {
    display: inline;
  }
}
:where(.ds-editorial) :is(.type-line) {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
:where(.ds-editorial) :is(.type-mark) {
  display: inline-flex;
  color: var(--muted);
}
:where(.ds-editorial) :is(.type-mark .icon) {
  display: block;
  flex: none;
}
:where(.ds-editorial) :is(.type-line) {
  align-self: start;
  padding-top: 4px;
}
@media (max-width: 800px) {
}
:where(.ds-editorial) :is(.site-header #main-nav a),
:where(.ds-editorial) :is(.lang-toggle) {
  transition:
    transform var(--duration-exit) var(--ease),
    color var(--duration) ease;
}
:where(.ds-editorial) :is(.site-header #main-nav a:active),
:where(.ds-editorial) :is(.lang-toggle:active) {
  transform: scale(var(--press-scale));
}
:where(.ds-editorial) :is(.site-header #main-nav a:active) {
  color: var(--blue);
}
@media (prefers-reduced-motion: reduce) {
  :where(.ds-editorial) :is(.site-header #main-nav a),
  :where(.ds-editorial) :is(.lang-toggle) {
    transition: color var(--duration) ease;
  }
  :where(.ds-editorial) :is(.site-header #main-nav a:active),
  :where(.ds-editorial) :is(.lang-toggle:active) {
    transform: none;
  }
}
/* Contratos consolidados apos a migracao: pares de cor e leitura do instrumento. */
:where(.ds-editorial) .breadcrumbs a {
  color: var(--action-on-field);
}
:where(.ds-editorial) .type-mark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
:where(.ds-editorial) .type-label {
  font: 400 12px/1.5 var(--mono);
}
:where(.ds-editorial) .type-line {
  flex-wrap: wrap;
}
:where(.ds-editorial) .button {
  color: var(--action-ink);
}
:where(.ds-editorial) .photo-plate {
  margin: 0;
  background: var(--photo-surface);
}
:where(.ds-editorial) .photo-plate figcaption {
  color: var(--photo-ink);
  padding: 8px 12px;
  margin: 0;
  font: 12px/1.5 var(--sans);
  text-align: right;
}
:where(.ds-editorial) .photo-plate img {
  display: block;
  width: 100%;
  height: auto;
}
:where(.ds-editorial) .list-title {
  margin: 0 0 12px;
  font: 600 24px/1.2 var(--sans);
  letter-spacing: -0.02em;
}
:where(.ds-editorial) .layer-caption {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 24px;
  color: var(--invert-ink);
}
:where(.ds-editorial) .layer-caption p {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
  white-space: normal;
  max-width: 65ch;
  font: 400 18px/1.6 var(--sans);
}
:where(.ds-editorial) .layer-caption small {
  font: 12px/1.5 var(--mono);
  color: var(--invert-muted);
}
:where(.ds-editorial) .layer-caption a {
  justify-self: start;
  color: var(--mint);
}
:where(.ds-editorial) .layer-map[data-active] .screen-bezel span {
  display: block;
  font: 400 20px/1.3 var(--mono);
  text-align: center;
}
:where(.ds-editorial) .screen-foot {
  background: var(--invert-ink);
}
:where(.ds-editorial) .layer-instrument {
  color: var(--invert-ink);
  background: var(--invert-surface);
}
@media (max-width: 800px) {
  :where(.ds-editorial) .layer-caption {
    padding: 20px 16px;
  }
  :where(.ds-editorial) .layer-caption p {
    font-size: 16px;
  }
  :where(.ds-editorial) .layer-map[data-active] .screen-bezel span {
    font-size: 18px;
  }
  :where(.ds-editorial) .layer-node {
    min-height: 60px;
  }
}
:where(.ds-editorial) .editorial-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 44px;
  gap: 28px;
  align-items: start;
  list-style: none;
  padding: 32px 0;
  border-top: 1px solid var(--hairline);
}
:where(.ds-editorial) .editorial-row h3 {
  margin: 0 0 12px;
  font: 600 clamp(24px, 2.3vw, 32px)/1.2 var(--sans);
  letter-spacing: -0.035em;
}
:where(.ds-editorial) .editorial-row h3 a {
  color: var(--ink);
  text-decoration: none;
}
:where(.ds-editorial) .editorial-row h3 a:hover {
  text-decoration: underline;
}
:where(.ds-editorial) .editorial-row p {
  margin: 0;
  color: var(--muted);
  max-width: 65ch;
}
:where(.ds-editorial) .editorial-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font: 12px/1.5 var(--mono);
  color: var(--muted);
}
:where(.ds-editorial) .editorial-meta > :last-child {
  flex-basis: 100%;
}
:where(.ds-editorial) .editorial-arrow {
  width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--blue-soft);
  color: var(--blue);
}
@media (max-width: 800px) {
  :where(.ds-editorial) .editorial-row {
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 16px;
  }
  :where(.ds-editorial) .editorial-meta {
    grid-column: 1 / -1;
    align-items: center;
  }
  :where(.ds-editorial) .editorial-meta > :last-child {
    flex-basis: auto;
  }
}
/* Destaques de leitura e esquemas de processo. */
:where(.ds-editorial) .editorial-highlight {
  padding: 24px 28px;
  border-left: 3px solid var(--green);
  background: var(--green-soft);
  color: var(--ink);
}
:where(.ds-editorial) .editorial-highlight p {
  max-width: 65ch;
  margin: 0;
  font: 400 clamp(17px, 1.5vw, 20px)/1.6 var(--sans);
}
:where(.ds-editorial) .process-steps {
  margin: 32px 0;
}
:where(.ds-editorial) .process-steps ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 16px;
}
:where(.ds-editorial) .process-steps li {
  position: relative;
  max-width: none;
  padding: 16px 12px;
  margin: 0;
  background: var(--blue-soft);
  color: var(--ink);
}
:where(.ds-editorial) .process-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 26px;
  right: -16px;
  width: 16px;
  border-top: 1px solid var(--blue);
}
:where(.ds-editorial) .process-steps span {
  font: 12px/1.5 var(--mono);
  color: var(--blue);
}
:where(.ds-editorial) .process-steps p {
  font: 500 16px/1.45 var(--sans);
  margin: 12px 0 0;
}
:where(.ds-editorial) .process-steps figcaption {
  margin-top: 12px;
  font: 12px/1.6 var(--mono);
  color: var(--muted);
}
@media (max-width: 700px) {
  :where(.ds-editorial) .process-steps ol {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  :where(.ds-editorial) .process-steps li {
    display: flex;
    gap: 16px;
    align-items: baseline;
    padding: 16px;
  }
  :where(.ds-editorial) .process-steps p {
    margin: 0;
  }
  :where(.ds-editorial) .process-steps li:not(:last-child)::after {
    top: auto;
    bottom: -12px;
    left: 24px;
    width: 0;
    height: 12px;
    border-top: 0;
    border-left: 1px solid var(--blue);
  }
  :where(.ds-editorial) .editorial-highlight {
    padding: 20px;
  }
}

/* Sinal editorial de tendencia. Geometria fixa, sem codificar dados de negocio. */
.ds-editorial .qualitative-trend {
  margin: 0 0 var(--space-6, 24px);
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--green-soft);
  border-radius: 16px;
}
.ds-editorial .trend-heading {
  display: grid;
  gap: 8px;
}
.ds-editorial .trend-heading strong {
  font-size: 1.25rem;
  line-height: 1.3;
}
.ds-editorial .qualitative-trend svg {
  display: block;
  width: 100%;
  max-height: 180px;
  margin: 16px 0;
}
.ds-editorial .trend-guide {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
  stroke-dasharray: 2 6;
}
.ds-editorial .trend-track,
.ds-editorial .trend-tip {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linejoin: round;
}
.ds-editorial .trend-origin {
  fill: var(--blue);
}
.ds-editorial .qualitative-trend figcaption {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 48ch;
}
