/* Scoped article templates (Standard / Field Note / Tearsheet).
   Tokens and rules from the design export, namespaced under .article-page
   so they do not restyle the rest of the site. Track --accent is set inline. */
.article-page {
  --air-ink: #0c2b1c;
  --air-forest: #0c3a26;
  --air-green: #0f6b46;
  --air-slate-ink: #0c1512;
  --air-mid: #2c4438;
  --air-volt: #c8f542;
  --air-leaf: #b8f28a;
  --air-wash: #eef7e6;
  --air-paper: #eef1e9;
  --air-white: #ffffff;
  --air-bone: #f4f8f0;
  --air-mist: #f8faf6;
  --air-body: #45564b;
  --air-muted: #6b7d6e;
  --air-muted-dark: #9fb3a4;
  --air-line: #e3ede6;
  --track-delivery: #a8480f;
  --track-talent: #a8790d;
  --track-governance: #7a1f38;
  --track-data: #1c4874;
  --track-infra: #0e5c5a;
  --accent: #a8480f;
  box-sizing: border-box;
  padding: 0;
  font-family: "Schibsted Grotesk", system-ui, sans-serif;
  color: var(--air-ink);
}
.article-page *,
.article-page *::before,
.article-page *::after { box-sizing: border-box; }
.article-page a { color: var(--air-green); text-decoration: none; }
.article-page a:hover { color: var(--air-ink); }
.article-page .mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }

.article-page .article {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(12, 43, 28, 0.07);
}

.article-page .article__hero {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
}
.article-page .article__hero > div {
  min-width: 0;
  flex: 1;
}
.article-page .article__photo {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 999px;
  object-fit: cover;
  background: var(--air-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--air-forest);
  overflow: hidden;
}
.article-page .article__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-page .article__title {
  margin: 0 0 6px;
  max-width: none;
  font-weight: 800;
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: unset;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.article-page .article__title:not(:has(.sp-canvas-title)) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}
.article-page .article__byline { font-size: 14px; font-weight: 400; }
.article-page .article__author-name { font-weight: 700; }
.article-page .article__bio { font-size: 12.5px; margin-top: 4px; line-height: 1.4; }

.article-page .article__body-top { padding: 24px 32px 22px; }
.article-page .article__chips { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; align-items: center; }
.article-page .chip {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  height: 26px;
}
.article-page .chip--type { background: var(--air-mist); color: var(--air-forest); }
.article-page .chip--track {
  font-family: "Schibsted Grotesk", system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: normal;
  color: var(--air-bone);
  background: var(--accent);
}
.article-page .article__lede {
  margin: 0 0 18px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.014em;
  color: var(--air-forest);
  text-wrap: pretty;
}
.article-page .article__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--air-line);
  font-size: 11.5px;
  color: var(--air-muted);
  gap: 12px;
  flex-wrap: wrap;
}
.article-page .article__meta-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #55655E;
}
.article-page .article__meta-actions .air-react-bar { color: #55655E; }

.article-page .article__body {
  padding: 0 32px 34px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--air-ink);
  overflow-wrap: break-word;
}
.article-page .section { margin-bottom: 8px; }
.article-page .section__heading {
  margin: 34px 0 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 24px;
  line-height: 1.18;
}
.article-page .section__number {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 1em;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: inherit;
  color: var(--accent);
  flex: none;
}
.article-page .section__title {
  margin: 0;
  font-weight: 800;
  font-size: 1em;
  line-height: inherit;
  letter-spacing: -0.03em;
  color: var(--air-forest);
}
.article-page .section p,
.article-page .article-block-paragraph p { margin: 0 0 16px; text-wrap: pretty; }
.article-page .article-block-paragraph { margin: 0 0 16px; }
.article-page .article-block-paragraph p:last-child { margin-bottom: 0; }
.article-page .section mark,
.article-page .article-block-paragraph mark {
  background: var(--accent);
  color: var(--air-ink);
  padding: 0 3px;
  border-radius: 3px;
}
.article-page .section strong,
.article-page .article-block-paragraph strong { font-weight: 700; color: var(--air-forest); }

.article-page .bullets {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.article-page .bullets li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 11px;
  align-items: start;
}
.article-page .bullets__marker {
  height: 7px;
  margin-top: 9px;
  border-radius: 2px;
  background: var(--accent);
  display: block;
}

.article-page .steps {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article-page .steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 13px 15px;
  border-radius: 12px;
  background: var(--air-mist);
  border-top: 2px solid var(--accent);
}
.article-page .steps__chip {
  min-width: 36px;
  height: 36px;
  padding: 0 7px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--air-forest);
  color: var(--air-volt);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 16.5px;
  font-weight: 800;
}
.article-page input.steps__chip {
  color: var(--air-volt);
  border: 0;
}

.article-page .quote {
  margin: 20px 0;
  padding: 24px 26px 22px;
  border-radius: 20px;
  background: var(--air-wash);
}
.article-page .quote p {
  margin: 0;
  font-weight: 700;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.024em;
  color: var(--air-forest);
}
.article-page .quote__attribution {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
}
.article-page .quote__rule { width: 22px; height: 2px; background: var(--air-volt); }
.article-page .quote__attribution span:last-child {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--air-muted);
}

.article-page .figure { margin: 22px 0; }
.article-page .figure img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  background: var(--air-mist);
}
.article-page .figure figcaption {
  margin-top: 8px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--air-muted);
}
.article-page .air-embed-video {
  position: relative;
  margin: 22px 0;
  border-radius: 16px;
  overflow: hidden;
  background: #003B2D;
  aspect-ratio: 16 / 9;
}
.article-page .air-embed-video iframe,
.article-page .air-embed-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.article-page hr.air-embed-rule,
.article-page .air-embed-rule {
  border: 0;
  border-top: 1px solid var(--air-line);
  margin: 32px 0;
}
.article-page .figure-placeholder {
  width: 100%;
  height: 220px;
  border-radius: 16px;
  background: var(--air-mist);
  border: 1.5px dashed var(--air-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--air-muted);
  margin: 22px 0;
}

.article-page .cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  margin-top: 34px;
  padding: 18px 22px;
  border-radius: 16px;
  background: var(--air-forest);
}
.article-page .cta-band__eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--air-leaf);
  margin-bottom: 5px;
}
.article-page .cta-band__headline {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--air-bone);
}
.article-page .cta-band__button {
  padding: 9px 16px;
  border-radius: 999px;
  background: #c8f542;
  color: #0c2b1c;
  font-weight: 700;
  font-size: 13.5px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.article-page .cta-band__button:hover {
  background: #d6f96a;
  color: #0c2b1c;
}

.article-page .article--classic,
.article-page .article--new_template { background: var(--air-white); }
.article-page .article--classic .article__hero,
.article-page .article--new_template .article__hero {
  background: linear-gradient(145deg, var(--classic-from, var(--accent)) 0%, var(--classic-to, #003B2D) 72%);
}
.article-page .article--classic .article__title,
.article-page .article--new_template .article__title { color: var(--classic-title, var(--air-volt)); }
.article-page .article--classic .article__byline,
.article-page .article--new_template .article__byline { color: rgba(255, 255, 255, 0.92); }
.article-page .article--classic .article__bio,
.article-page .article--new_template .article__bio { color: rgba(255, 255, 255, 0.7); }
.article-page .article--classic .article__photo,
.article-page .article--new_template .article__photo { color: #ffffff; background: rgba(255, 255, 255, 0.14); }
.article-page .article--classic .chip--type,
.article-page .article--new_template .chip--type { background: #ddf0cd; color: var(--air-forest); }

.article-page .article--standard { background: var(--air-white); }
.article-page .article--standard .article__hero { background: var(--accent); }
.article-page .article--standard .article__title { color: var(--air-bone); }
.article-page .article--standard .article__byline { color: rgba(238, 241, 233, 0.92); }
.article-page .article--standard .article__bio { color: rgba(238, 241, 233, 0.7); }
.article-page .article--standard .article__photo { color: var(--air-bone); background: rgba(12, 21, 18, 0.18); }

.article-page .article--fieldnote { background: var(--air-mist); }
.article-page .article--fieldnote .article__hero { background: var(--air-slate-ink); }
.article-page .article--fieldnote .article__title { color: var(--air-bone); }
.article-page .article--fieldnote .article__byline { color: var(--air-leaf); }
.article-page .article--fieldnote .article__bio { color: var(--air-muted-dark); }
.article-page .article--fieldnote .article__photo { color: var(--air-volt); background: #1a2420; }
.article-page .article--fieldnote .chip--type { background: var(--air-white); }
.article-page .article--fieldnote .section__heading {
  border-left: 3px solid var(--air-volt);
  padding-left: 12px;
}
.article-page .article--fieldnote .bullets__marker {
  background: none;
  height: auto;
  margin-top: 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 1em;
  color: var(--accent);
}
.article-page .article--fieldnote .bullets__marker::before { content: "—"; }
.article-page .article--fieldnote .quote { padding: 0; background: none; text-align: center; }
.article-page .article--fieldnote .quote p {
  margin: 0 auto;
  max-width: 26ch;
  font-weight: 800;
  font-size: 27px;
  line-height: 1.18;
  letter-spacing: -0.034em;
}
.article-page .article--fieldnote .quote__attribution { justify-content: center; }

.article-page .article--tearsheet { background: var(--air-white); }
.article-page .article--tearsheet .article__hero { background: var(--air-wash); }
.article-page .article--tearsheet .article__title { color: var(--air-forest); }
.article-page .article--tearsheet .article__byline { color: var(--air-body); }
.article-page .article--tearsheet .article__bio { color: var(--air-muted); }
.article-page .article--tearsheet .section__heading {
  padding: 11px 16px;
  border-radius: 12px;
  background: var(--air-forest);
  font-size: 19px;
}
.article-page .article--tearsheet .section__number { color: var(--air-volt); }
.article-page .article--tearsheet .section__title {
  font-weight: 700;
  font-size: 1em;
  letter-spacing: -0.024em;
  color: var(--air-bone);
}
.article-page .article--tearsheet .sp-canvas-heading-title {
  font-size: 1em;
  font-weight: 700;
  color: var(--air-bone);
}
.article-page .article--tearsheet .quote {
  background-color: var(--air-slate-ink);
  background-image: radial-gradient(80% 130% at 100% 0%, rgba(200, 245, 66, 0.18) 0%, rgba(200, 245, 66, 0) 60%);
}
.article-page .article--tearsheet .quote p { color: var(--air-bone); }
.article-page .article--tearsheet .quote__attribution span:last-child { color: var(--air-leaf); }

.air-read-page .article-page {
  width: 100%;
  max-width: var(--air-article-width, 924px);
  margin: 0 auto;
  box-sizing: border-box;
}
.sp-preview-col .article-page { padding: 0; width: 100%; max-width: none; }

/* New Template compose canvas */
.sp-canvas-shell {
  --air-article-width: 924px;
  --air-plus-gutter: 80px;
  width: 100%;
  max-width: calc(var(--air-article-width) + (var(--air-plus-gutter) * 2));
  margin: 36px auto 0;
  padding-left: var(--air-plus-gutter);
  padding-right: var(--air-plus-gutter);
  box-sizing: border-box;
  position: relative;
  overflow: visible;
}
.sp-canvas-page { width: 100%; max-width: none; overflow: visible; }
.sp-canvas-page .article,
.sp-canvas-page .article__body {
  overflow: visible;
}
.sp-canvas-chrome {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}
.sp-canvas-title {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 800;
  letter-spacing: inherit;
  line-height: inherit;
  outline: none;
  resize: none;
  overflow: hidden;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  min-height: 1.12em;
  height: auto;
  max-height: calc(1.12em * 2);
}
.sp-canvas-title::placeholder { color: rgba(255, 255, 255, 0.42); }
.sp-canvas-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  position: relative;
}
.sp-story-cover {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sp-story-cover-hint {
  color: #55655E;
  font-size: 12.5px;
  margin: 0;
  line-height: 1.45;
}
.sp-story-cover-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.sp-story-cover-preview {
  width: 240px;
  height: 120px;
  border-radius: 6px;
  overflow: hidden;
  flex: none;
  border: 1px solid rgba(0, 59, 45, 0.18);
  background: #F5F3F2;
}
.sp-story-cover-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sp-story-cover-upload {
  display: inline-block;
  background: #003B2D;
  border: 1px solid rgba(0, 59, 45, 0.35);
  border-radius: 9px;
  padding: 9px 16px;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.sp-story-cover-remove {
  background: transparent;
  color: #55655E;
  font-weight: 600;
  font-size: 12.5px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 9px;
  padding: 8px 12px;
  cursor: pointer;
}
.sp-canvas-tips-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 5;
}
.sp-canvas-tips-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 16px 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(20, 110, 50, 0.4);
  background: transparent;
  color: #146E32;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.sp-canvas-tips-btn:hover {
  background: #F1F7EB;
}
.sp-canvas-tips-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 243, 92, 0.45);
}
.sp-canvas-tips-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #E6F3C0;
  color: #146E32;
  flex-shrink: 0;
}
.sp-canvas-tips {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  z-index: 81;
  width: min(340px, calc(100vw - 48px));
  background: #ffffff;
  border: 1px solid rgba(20, 110, 50, 0.18);
  border-radius: 12px;
  padding: 20px 22px 18px;
  box-shadow: 0 12px 28px rgba(12, 43, 28, 0.14);
  color: #003B2D;
}
@media (max-width: 640px) {
  .sp-canvas-tips-wrap {
    width: 100%;
  }
  .sp-canvas-tips {
    left: 0;
    right: 0;
    width: auto;
  }
}
.sp-canvas-tips-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.sp-canvas-tips-tag {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #146E32;
  line-height: 1.2;
}
.sp-canvas-tips-rule {
  display: block;
  width: 100%;
  height: 2px;
  margin: 8px 0 12px;
  background: #146E32;
  border: 0;
  border-radius: 1px;
}
.sp-canvas-tips-close {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin: -4px -6px 0 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #55655E;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.sp-canvas-tips-close:hover {
  background: #E6F3C0;
  color: #003B2D;
}
.sp-canvas-tips-section {
  margin-top: 18px;
}
.sp-canvas-tips p,
.sp-canvas-tips li {
  margin: 0;
  color: #41544C;
  font-size: 13.5px;
  line-height: 1.6;
}
.sp-canvas-tips ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sp-canvas-tip-num {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #146E32;
  min-width: 1.6em;
}
.sp-canvas-tip-title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #003B2D;
}
.sp-canvas-tip-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.sp-canvas-page .article,
.sp-canvas-page .article__body {
  overflow: visible;
}
.sp-canvas-page .article__hero {
  border-radius: 22px 22px 0 0;
}
.sp-canvas-pillar {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.article-page .article--new_template button.sp-canvas-pillar-select,
.article-page .article--new_template button.sp-canvas-format-select {
  margin: 0;
  width: auto;
  max-width: none;
  height: 26px;
  box-sizing: border-box;
  padding: 0 26px 0 12px;
  border: 0;
  border-radius: 999px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
  color: var(--air-forest, #0c3a26);
  background: #ddf0cd;
  background-image: none;
  box-shadow: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  vertical-align: middle;
  white-space: nowrap;
  position: relative;
}
.article-page .article--new_template button.sp-canvas-pillar-select::after,
.article-page .article--new_template button.sp-canvas-format-select::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transform: translateY(-50%);
  pointer-events: none;
}
.article-page .article--new_template button.sp-canvas-pillar-select:focus,
.article-page .article--new_template button.sp-canvas-format-select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(12, 58, 38, 0.22);
}
.article-page .article--new_template button.sp-canvas-pillar-select[data-on="1"] {
  background: var(--accent);
  background-image: none;
  color: var(--air-bone, #f4f8f0);
}
.sp-canvas-format {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.sp-canvas-pillar-back,
.sp-canvas-format-back {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: transparent;
}
.sp-canvas-pillar-menu,
.sp-canvas-format-menu {
  position: fixed;
  z-index: 81;
  min-width: 196px;
  background: #ffffff;
  border: 1px solid rgba(0, 59, 45, 0.18);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 14px 32px rgba(12, 43, 28, 0.16);
}
.sp-canvas-pillar-menu button,
.sp-canvas-format-menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  color: #003B2D;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
.sp-canvas-pillar-menu button:hover,
.sp-canvas-pillar-menu button.is-on,
.sp-canvas-format-menu button:hover,
.sp-canvas-format-menu button.is-on {
  background: #F1F7EB;
}
.sp-canvas-paste {
  display: block;
  width: 100%;
  min-height: 280px;
  max-height: none;
  box-sizing: border-box;
  margin: 0;
  padding: 8px 0 24px;
  border: 0;
  background: transparent;
  color: var(--air-body, #45564b);
  font: inherit;
  font-size: 16.5px;
  line-height: 1.65;
  resize: none;
  overflow: hidden;
  overflow-x: hidden;
  overflow-y: hidden;
  field-sizing: content;
  outline: none;
  white-space: pre-wrap;
  touch-action: pan-y;
}
.sp-canvas-paste::placeholder { color: #9fb3a4; }
.sp-canvas-field {
  display: block;
  width: 100%;
  max-height: none;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  outline: none;
  resize: none;
  overflow: hidden;
  overflow-x: hidden;
  overflow-y: hidden;
  field-sizing: content;
}
textarea.sp-canvas-field {
  touch-action: pan-y;
}
.sp-canvas-prose {
  margin: 0 0 16px;
  color: var(--air-body, #45564b);
  font-size: 16.5px;
  line-height: 1.65;
  min-height: 2.4em;
  white-space: pre-wrap;
}
.article-page .bullets .sp-canvas-field,
.article-page .steps .sp-canvas-field { flex: 1; min-width: 0; }
.sp-canvas-heading-title {
  font-weight: 800;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--air-forest, #0c3a26);
  min-height: 1.2em;
}
.sp-canvas-quote {
  min-height: 2.2em;
  font-size: 20px;
  line-height: 1.35;
}
.sp-canvas-menu-back {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: transparent;
}
.sp-canvas-menu {
  position: fixed;
  z-index: 81;
  min-width: 168px;
  background: #ffffff;
  border: 1px solid rgba(0, 59, 45, 0.18);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 14px 32px rgba(12, 43, 28, 0.16);
}
.sp-canvas-menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  color: #003B2D;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
.sp-canvas-menu button:hover { background: #F1F7EB; }
.sp-canvas-menu button.sp-canvas-menu-undo {
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(0, 59, 45, 0.12);
  border-radius: 8px 8px 0 0;
  color: #0F5A28;
}
.sp-canvas-sel-handle {
  position: fixed;
  z-index: 79;
  display: none;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px 0 10px;
  border: 0;
  border-radius: 999px;
  background: #146E32;
  color: #ffffff;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 18px rgba(12, 43, 28, 0.22);
  cursor: pointer;
}
.sp-canvas-sel-handle.is-on {
  display: inline-flex;
}
.sp-canvas-sel-handle:hover {
  background: #E6F3C0;
  color: #003B2D;
}
.sp-canvas-sel-handle:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 243, 92, 0.5), 0 8px 18px rgba(12, 43, 28, 0.22);
}
.sp-canvas-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.sp-tiptap-host {
  min-height: 280px;
  margin: 0 0 8px;
  position: relative;
  overflow: visible;
}
.sp-tiptap-persist {
  position: relative;
  overflow: visible;
}
.sp-tiptap-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 14px;
  padding: 4px;
  background: #ffffff;
  border: 1px solid rgba(0, 59, 45, 0.18);
  border-radius: 12px;
}
.sp-tiptap-toolbar button {
  background: transparent;
  border: 0;
  border-radius: 8px;
  padding: 7px 10px;
  color: #003B2D;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}
.sp-tiptap-toolbar button:hover,
.sp-tiptap-toolbar button.is-active {
  background: #E6F3C0;
  color: #003B2D;
}
.sp-tiptap-bubble {
  position: absolute;
  z-index: 90;
  visibility: hidden;
  pointer-events: auto;
  display: flex;
  gap: 2px;
  padding: 4px;
  background: #003B2D;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(12, 43, 28, 0.22);
}
.tippy-box .sp-tiptap-bubble {
  position: relative;
  visibility: visible;
  pointer-events: auto;
}
.sp-tiptap-bubble button {
  background: transparent;
  border: 0;
  border-radius: 7px;
  padding: 6px 10px;
  color: #E4F0DC;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
}
.sp-tiptap-bubble button:hover,
.sp-tiptap-bubble button.is-active {
  background: #146E32;
  color: #C9F35C;
}
.sp-tiptap-body {
  display: block;
  position: relative;
  overflow: visible;
}
.sp-plus-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(-32px - 16px - 64px);
  width: 64px;
  z-index: 8;
  pointer-events: none;
  overflow: visible;
}
.sp-tiptap-float {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  position: absolute;
  left: 0;
  top: 0;
  visibility: visible;
  pointer-events: auto;
  z-index: 8;
}
.sp-plus-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(0, 59, 45, 0.22);
  background: #E6F3C0;
  color: #003B2D;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  flex: none;
  box-shadow: 0 10px 28px rgba(12, 43, 28, 0.18);
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}
.sp-plus-tool {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(0, 59, 45, 0.22);
  background: #ffffff;
  color: #003B2D;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  flex: none;
  box-shadow: 0 8px 20px rgba(12, 43, 28, 0.12);
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}
.sp-plus-btn svg,
.sp-plus-tool svg {
  display: block;
  transition: transform 0.2s ease;
}
.sp-plus-btn svg {
  width: 36px;
  height: 36px;
}
.sp-plus-tool:hover {
  background: #E6F3C0;
}
.sp-plus-tool svg {
  width: 22px;
  height: 22px;
}
.sp-plus-btn:hover,
.sp-tiptap-float.is-open .sp-plus-btn {
  background: #C9F35C;
}
.sp-tiptap-float.is-open .sp-plus-btn svg {
  transform: rotate(45deg);
}
.sp-plus-tools {
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(-8px);
  transition: max-width 0.22s ease, opacity 0.18s ease, transform 0.22s ease;
  pointer-events: none;
}
.sp-tiptap-float.is-open .sp-plus-tools {
  max-width: 280px;
  opacity: 1;
  margin-left: 10px;
  transform: translateX(0);
  pointer-events: auto;
}
.sp-plus-btn::after,
.sp-plus-tool::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%) translateY(4px);
  padding: 5px 8px;
  background: #003B2D;
  color: #E4F0DC;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 3;
}
.sp-plus-btn:hover::after,
.sp-plus-tool:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.sp-plus-file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}
.sp-plus-video {
  position: absolute;
  left: 72px;
  top: calc(100% + 8px);
  width: min(320px, 72vw);
  padding: 12px;
  background: #ffffff;
  border: 1px solid rgba(0, 59, 45, 0.18);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(12, 43, 28, 0.16);
  z-index: 4;
}
.sp-plus-video-label {
  display: block;
  margin: 0 0 8px;
  color: #41544C;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 12.5px;
  line-height: 1.4;
}
.sp-plus-video-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(0, 59, 45, 0.22);
  border-radius: 8px;
  padding: 8px 10px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 13px;
  color: #003B2D;
  background: #F5F3F2;
}
.sp-plus-video-input:focus {
  outline: 2px solid #C9F35C;
  outline-offset: 1px;
}
.sp-tiptap-surface .ProseMirror .air-embed-image,
.sp-tiptap-surface .ProseMirror figure.figure {
  margin: 18px 0;
}
.sp-tiptap-surface .ProseMirror .air-embed-image img,
.sp-tiptap-surface .ProseMirror img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 12px;
  display: block;
  background: #F5F3F2;
}
.sp-tiptap-surface .ProseMirror .air-embed-video {
  position: relative;
  margin: 18px 0;
  border-radius: 12px;
  overflow: hidden;
  background: #003B2D;
  aspect-ratio: 16 / 9;
}
.sp-tiptap-surface .ProseMirror .air-embed-video iframe,
.sp-tiptap-surface .ProseMirror .air-embed-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.sp-tiptap-surface .ProseMirror hr,
.sp-tiptap-surface .ProseMirror .air-embed-rule {
  border: 0;
  border-top: 1px solid rgba(0, 59, 45, 0.18);
  margin: 28px 0;
}
.sp-tiptap-surface {
  overflow: visible;
  min-width: 0;
}
.sp-tiptap-surface .ProseMirror {
  min-height: 240px;
  outline: none;
  counter-reset: air-h;
  color: var(--air-body, #45564b);
  font-size: 16.5px;
  line-height: 1.65;
  padding-left: 0;
  box-sizing: border-box;
}
.sp-tiptap-surface .ProseMirror > * + * {
  margin-top: 0.2em;
}
.sp-tiptap-surface .ProseMirror p {
  margin: 0 0 16px;
}
.sp-tiptap-surface .ProseMirror p.is-editor-empty:first-child::before,
.sp-tiptap-surface .ProseMirror p.is-empty::before {
  content: attr(data-placeholder);
  float: left;
  height: 0;
  pointer-events: none;
  color: #9fb3a4;
}
.sp-tiptap-surface .ProseMirror h2 {
  counter-increment: air-h;
  display: block;
  position: relative;
  padding-left: 2.8em;
  margin: 34px 0 14px;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--air-forest, #0c3a26);
}
.sp-tiptap-surface .ProseMirror h2::before {
  content: counter(air-h, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 1em;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--accent, #146E32);
}
.sp-tiptap-surface .ProseMirror h2.is-empty::after {
  content: attr(data-placeholder);
  color: #9fb3a4;
  font-weight: 600;
  pointer-events: none;
}
.sp-tiptap-surface .ProseMirror strong {
  font-weight: 700;
  color: var(--air-forest, #0c3a26);
}
.sp-tiptap-surface .ProseMirror ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.sp-tiptap-surface .ProseMirror ul > li {
  position: relative;
  display: block;
  padding-left: 27px;
  margin: 0 0 9px;
}
.sp-tiptap-surface .ProseMirror ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent, #146E32);
}
.sp-tiptap-surface .ProseMirror ol {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  counter-reset: air-step;
}
.sp-tiptap-surface .ProseMirror ol > li {
  counter-increment: air-step;
  position: relative;
  display: block;
  margin: 0 0 10px;
  padding: 13px 15px 13px 66px;
  border-radius: 12px;
  background: var(--air-mist, #F1F7EB);
  border-top: 2px solid var(--accent, #146E32);
}
.sp-tiptap-surface .ProseMirror ol > li::before {
  content: counter(air-step, decimal-leading-zero);
  position: absolute;
  left: 15px;
  top: 13px;
  min-width: 36px;
  height: 36px;
  padding: 0 7px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--air-forest, #0c3a26);
  color: var(--air-volt, #C9F35C);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 16.5px;
  font-weight: 800;
}
.sp-tiptap-surface .ProseMirror ol > li.air-step-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 13px 15px;
}
.sp-tiptap-surface .ProseMirror ol > li.air-step-item::before {
  content: none;
  display: none;
}
.sp-tiptap-surface .ProseMirror ol > li.air-step-item .air-step-chip-wrap {
  display: flex;
  align-items: flex-start;
}
.sp-tiptap-surface .ProseMirror ol > li.air-step-item input.steps__chip {
  min-width: 36px;
  width: 2.6em;
  height: 36px;
  padding: 0 4px;
  box-sizing: border-box;
  border: 0;
  border-radius: 8px;
  background: var(--air-forest, #0c3a26);
  color: var(--air-volt, #C9F35C);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 16.5px;
  font-weight: 800;
  text-align: center;
  cursor: text;
  caret-color: var(--air-volt, #C9F35C);
}
.sp-tiptap-surface .ProseMirror ol > li.air-step-item input.steps__chip:focus {
  outline: 2px solid var(--air-primary, #146E32);
  outline-offset: 1px;
}
.sp-tiptap-surface .ProseMirror ul > li input.steps__chip {
  display: none;
}
.sp-tiptap-surface .ProseMirror ul p,
.sp-tiptap-surface .ProseMirror ol p {
  margin: 0;
}
.sp-tiptap-surface .ProseMirror blockquote {
  margin: 20px 0;
  padding: 24px 26px 22px;
  border-radius: 20px;
  background: var(--air-wash, #F1F7EB);
  border: 0;
}
.sp-tiptap-surface .ProseMirror blockquote p {
  margin: 0;
  font-weight: 700;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.024em;
  color: var(--air-forest, #0c3a26);
}
.sp-tiptap-surface .ProseMirror blockquote p + p {
  margin-top: 12px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--air-muted, #55655E);
  display: flex;
  align-items: center;
  gap: 9px;
}
.sp-tiptap-surface .ProseMirror blockquote p + p::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--air-volt, #C9F35C);
  flex: none;
}
.sp-tiptap-surface .ProseMirror ::selection {
  background: #C9F35C;
  color: #003B2D;
}

@media (max-width: 699px) {
  .sp-canvas-shell {
    --air-plus-gutter: 64px;
  }
  .sp-plus-rail {
    left: calc(-20px - 12px - 48px);
    width: 48px;
  }
  .sp-tiptap-float {
    flex-wrap: nowrap;
    border-radius: 0;
    max-width: none;
  }
  .sp-plus-btn {
    width: 48px;
    height: 48px;
  }
  .sp-plus-btn svg {
    width: 28px;
    height: 28px;
  }
  .sp-plus-tool {
    width: 40px;
    height: 40px;
  }
  .sp-plus-video {
    left: 0;
  }
}

@media (max-width: 640px) {
  .article-page .article__hero,
  .article-page .article__body-top,
  .article-page .article__body { padding-left: 20px; padding-right: 20px; }
  .article-page .article__title { font-size: 26px; }
  .article-page .cta-band { grid-template-columns: 1fr; }
}
