/*
 * Colors are authored in OKLCH and tuned on Display P3 screens. The point color and the
 * mid-tone illustration colors sit outside sRGB; sRGB displays show the browser's
 * gamut-mapped (slightly duller) version. Former sRGB hex values are kept as comments.
 */
:root {
  color-scheme: light;
  --surface: oklch(1 0 0); /* #ffffff */
  --surface-soft: oklch(0.976 0.002 265); /* #f6f7f8 */
  --text: oklch(0.248 0.006 271); /* #202124 */
  --text-secondary: oklch(0.447 0.014 252); /* #4f555c */
  --text-muted: oklch(0.522 0.016 258); /* #646a73 */
  --border: oklch(0.894 0.006 265); /* #dadce0 */
  --border-soft: oklch(0.94 0.006 265); /* #e9ebef */

  /*
   * Point color. About 2.9:1 on white, so it is never used for text or thin strokes on
   * white. It fills marks and surfaces, and carries dark text (--on-accent, about 5.6:1).
   */
  --accent: oklch(0.708 0.2344 24);
  --accent-hover: oklch(0.76 0.19 24);
  --accent-soft: oklch(0.95 0.035 24);
  --on-accent: var(--text);
  /* Static dark action color for buttons on cards and tinted surfaces. */
  --ink: var(--text);
  --ink-hover: oklch(0.36 0.008 271);
  --on-ink: var(--surface);
  --focus: var(--text);

  /* Reading syntax colors: separate meanings, shared by generated code tokens. */
  --syntax-comment: oklch(0.48 0.015 252);
  --syntax-keyword: oklch(0.45 0.13 305);
  --syntax-string: oklch(0.42 0.075 155);
  --syntax-constant: oklch(0.45 0.09 55);
  --syntax-function: oklch(0.43 0.09 247);
  --syntax-type: oklch(0.43 0.065 195);
  --syntax-deleted: oklch(0.45 0.13 25);
  --notice-warning: oklch(0.45 0.09 65);
  --notice-danger: var(--syntax-deleted);
  --chart-primary: var(--art-forest);
  --chart-secondary: var(--art-mint-deep);
  --chart-secondary-stroke: var(--art-forest);

  --overlay: oklch(0.248 0.006 271 / 0.44);
  --shadow: oklch(0.248 0.006 271 / 0.09);

  --art-blue: oklch(0.912 0.04 260); /* #d3e3fd */
  --art-blue-deep: oklch(0.825 0.1 260); /* #a8c7fa, chroma 0.080 */
  --art-blue-light: oklch(0.953 0.021 262); /* #e8f0fe */
  --art-neutral: oklch(0.95 0.006 75);
  --art-neutral-deep: oklch(0.9 0.01 75);
  --art-neutral-light: oklch(0.975 0.004 75);
  --art-mint: oklch(0.923 0.033 162); /* #d3eddf */
  --art-mint-deep: oklch(0.79 0.075 153); /* #9ec6a9, chroma 0.059 */
  --art-green: oklch(0.833 0.08 157); /* #a8d5b9, chroma 0.061 */
  --art-forest: oklch(0.493 0.056 155); /* #476b53 */
  --art-lime: oklch(0.898 0.14 116); /* #d9e78f, chroma 0.113 */
  --art-lavender: oklch(0.916 0.037 303); /* #e8def8 */
  --art-purple: oklch(0.792 0.095 304); /* #c5b0e3, chroma 0.075 */
  --art-pink: oklch(0.936 0.019 9); /* #f6e5e7 */
  --art-coral: oklch(0.777 0.13 24); /* #e8a296, chroma 0.086 hue 30; hue follows the point color */
  --art-butter: oklch(0.929 0.1 96); /* #f8e8a8, chroma 0.083 */
  --art-yellow: oklch(0.825 0.145 91); /* #e2c368, chroma 0.116 */
  --art-paper: oklch(0.993 0.012 96); /* #fffdf4 */
  --art-window: oklch(0.972 0.003 265); /* #f4f6f8 */
  --art-ink: oklch(0.325 0.023 165); /* #293831 */
  --art-shadow: oklch(0.248 0.006 271 / 0.07);
  --art-code-muted: oklch(0.788 0.016 158); /* #b2bdb6 */
  --art-code-comment: oklch(0.779 0.029 158); /* #a8bdb0 */
  --art-code-chip: oklch(0.408 0.037 155); /* #3a5041 */

  --mint-surface: oklch(0.963 0.011 159); /* #edf5f0 */
  --lavender-surface: oklch(0.958 0.014 304); /* #f3eff9 */
  --butter-surface: oklch(0.972 0.026 95); /* #fbf6e3 */
  --portfolio-surface: oklch(0.969 0.005 258); /* #f3f5f8 */
  --max-width: 1280px;
}

@font-face {
  font-family: 'SUITE';
  src: url('/content/fonts/suite/SUITE-Variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: Figtree;
  src: url('/content/fonts/figtree-500.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Figtree;
  src: url('/content/fonts/figtree-600.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/content/fonts/ibm-plex-mono/latin-400.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --font-body: 'SUITE', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --font-brand: Figtree, var(--font-body);
  --font-code: Consolas, monospace;
}

/* Microsoft's sign-in mark keeps its brand colors in either theme. */
:root {
  --brand-microsoft-red: #f25022;
  --brand-microsoft-green: #7fba00;
  --brand-microsoft-blue: #00a4ef;
  --brand-microsoft-yellow: #ffb900;
}


* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 88px;
  /* Keep the scrollbar's space reserved so short pages and open dialogs don't shift the layout. */
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
svg {
  display: block;
  flex-shrink: 0;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.025em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
p {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
h1 {
  font-size: clamp(36px, 4.1vw, 56px);
  font-weight: 500;
}
h2 {
  font-size: 32px;
  font-weight: 500;
}
::selection {
  background: var(--accent-soft);
  color: var(--text);
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
  border-radius: 4px;
}
main:focus {
  outline: none;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(calc(100% - 112px), var(--max-width));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  z-index: 100;
  padding: 12px 20px;
  background: var(--surface);
  border: 2px solid var(--focus);
}
.skip-link:focus {
  transform: none;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 24px;
  padding: 10px 22px;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  transition:
    background 0.16s ease,
    color 0.16s ease;
}
.button-primary {
  color: var(--on-accent);
  background: var(--accent);
  border-color: var(--accent);
}
.button-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
/*
 * Static dark button for cards and tinted surfaces, where the point color would fight the
 * surface. Any primary button inside a tone-* surface becomes one automatically.
 */
.button-ink,
[class*='tone-'] .button-primary {
  color: var(--on-ink);
  background: var(--ink);
  border-color: var(--ink);
}
.button-ink:hover,
[class*='tone-'] .button-primary:hover {
  background: var(--ink-hover);
  border-color: var(--ink-hover);
}
.button-secondary {
  border-color: var(--border);
  background: var(--surface);
}
.button-secondary:hover {
  background: var(--surface-soft);
}
.icon-button {
  min-width: 44px;
  padding: 10px;
  border-radius: 50%;
}
.icon-button:hover {
  background: var(--surface-soft);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}
/* Coral lines identify reading and navigation; keyboard focus keeps its own outline. */
.text-link:is(:hover, :focus-visible),
.hero-link:is(:hover, :focus-visible) .hero-link-label,
.story-card:is(:hover, :focus-visible) h3,
.product-card:is(:hover, :focus-visible) h3,
.note-row:is(:hover, :focus-visible) h3,
.footer-top nav a:is(:hover, :focus-visible),
.footer-feed:is(:hover, :focus-visible),
.article-toc a:is(:hover, :focus-visible),
.search-page-result:is(:hover, :focus-visible) h2 {
  text-decoration: underline 2px var(--accent);
  text-underline-offset: 0.25em;
}
.text-link svg {
  color: var(--accent);
  transition: transform 0.18s ease;
}
.text-link:is(:hover, :focus-visible) svg {
  transform: translateX(3px);
}
.circle-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.site-header {
  height: 64px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--surface);
}
.wordmark {
  font-family: var(--font-brand);
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -0.09em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}
.wordmark span {
  color: var(--accent);
  font-size: 40px;
  line-height: 0;
  margin-left: 2px;
}
.brand-description {
  font-size: 12px;
  color: var(--text-muted);
  border-left: 1px solid var(--border);
  padding-left: 22px;
}
.desktop-nav {
  margin-left: auto;
  align-self: stretch;
  display: flex;
  gap: 34px;
}
.desktop-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  font-size: 15px;
  color: var(--text-secondary);
}
.desktop-nav a.active,
.desktop-nav a:hover {
  color: var(--text);
}
.desktop-nav a.active::after {
  content: '';
  height: 3px;
  width: 100%;
  position: absolute;
  bottom: 0;
  background: var(--accent);
  border-radius: 4px 4px 0 0;
}
.desktop-nav svg {
  color: var(--text-muted);
}
.header-actions {
  display: flex;
  margin-left: 20px;
  gap: 3px;
}
.search-trigger {
  border-radius: 22px;
  gap: 10px;
}
kbd {
  font: inherit;
  font-size: 12px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 1px 5px;
  border-radius: 4px;
  white-space: nowrap;
}
.mobile-menu-trigger {
  display: none;
}
.edition-line {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 12px;
  padding: 27px 0 20px;
}
.edition-line span:first-child {
  color: var(--text-secondary);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
}
.hero-copy {
  border-radius: 24px;
  background: var(--surface-soft);
  padding: 36px 30px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-copy .eyebrow {
  margin-bottom: 28px;
}
.hero-copy h1 {
  font-size: clamp(27px, 2.5vw, 38px);
  line-height: 1.45;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.hero-copy p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
  margin: 20px 0 30px;
  letter-spacing: -0.01em;
}
.hero-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  font-size: 14px;
  font-weight: 500;
}
.hero-link .circle-arrow {
  border-color: var(--text-secondary);
}
.hero-link:is(:hover, :focus-visible) .circle-arrow {
  background: var(--surface);
  transform: translateX(3px);
}
.hero-art-link {
  min-width: 0;
  border-radius: 24px;
  overflow: hidden;
}
.hero-art-link .artwork {
  height: 100%;
  min-height: 420px;
}
.artwork {
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.artwork svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.artwork {
  font-family: var(--font-body);
}
.artwork-code {
  font-family: var(--font-code);
}
/* Brand roles are assigned by their owning layout/feature, never by script detection. */
.navigation-name,
.latin-page-name,
.product-name,
.product-mark {
  font-family: var(--font-brand);
}
.navigation-name {
  font-weight: 500;
}
.latin-page-name {
  letter-spacing: -0.04em;
}
.artwork-workspace {
  background: var(--art-blue);
}
/* Neutral variant: the blue surfaces of the illustration become warm gray. */
.artwork-tone-neutral {
  --art-blue: var(--art-neutral);
  --art-blue-deep: var(--art-neutral-deep);
  --art-blue-light: var(--art-neutral-light);
}
.artwork-code {
  background: var(--art-mint);
}
.artwork-shapes {
  background: var(--art-lavender);
}
.artwork-walk {
  background: var(--art-butter);
}
.artwork-palette {
  background: var(--art-pink);
}
a:hover > .artwork svg,
.hero-art-link:hover svg {
  transform: scale(1.025);
}
.section {
  margin-top: 76px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.section-heading h2 {
  letter-spacing: -0.025em;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.story-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.story-card .artwork {
  border-radius: 20px;
  aspect-ratio: 1.65;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 21px;
  margin-bottom: 10px;
}
.card-meta span:first-child {
  color: var(--text-secondary);
  font-weight: 600;
}
.card-meta span + span::before {
  content: '·';
  margin-right: 9px;
}
.story-card h3 {
  font-size: 23px;
  line-height: 1.5;
  letter-spacing: -0.025em;
}
.story-card > p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-top: 12px;
}
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 20px;
}
.story-card:is(:hover, :focus-visible) .circle-arrow,
.product-card:is(:hover, :focus-visible) .circle-arrow {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-ink);
}
.latest-section {
  border-top: 1px solid var(--border);
  padding-top: 58px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
}
.latest-heading h2 {
  margin-top: 14px;
  margin-bottom: 14px;
}
.latest-heading p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 22px;
}
.latest-heading .eyebrow {
  font-size: 12px;
  letter-spacing: 0.1em;
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  font-size: 13px;
  min-height: 44px;
  padding: 8px 19px;
  border-color: var(--border);
}
.chip:hover {
  background: var(--surface-soft);
}
.chip.is-selected {
  background: var(--text);
  border-color: var(--text);
  color: var(--surface);
}
.latest-list > .filter-chips {
  margin-bottom: 12px;
}
.note-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 88px 20px;
  gap: 20px;
  align-items: center;
  min-height: 104px;
  padding: 23px 0;
  border-bottom: 1px solid var(--border-soft);
}
.note-row-category {
  font-size: 12px;
  color: var(--text-secondary);
  align-self: start;
  padding-top: 4px;
}
.note-row h3 {
  font-size: 17px;
  letter-spacing: -0.02em;
  line-height: 1.5;
}
.note-row-description {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.note-row-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.note-row > svg {
  color: var(--text-muted);
}
.software-section {
  background: var(--surface-soft);
  padding: 62px 0 68px;
}
.software-section .section-heading {
  margin-bottom: 8px;
}
.section-description {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 30px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.product-card {
  display: flex;
  flex-direction: column;
  padding: 30px 32px 25px;
  border-radius: 22px;
}
.tone-mint {
  background: var(--mint-surface);
}
.tone-lavender {
  background: var(--lavender-surface);
}
.tone-butter {
  background: var(--butter-surface);
}
.product-mark.sift {
  background: var(--art-butter);
  color: var(--art-ink);
  padding-bottom: 4px;
}
.product-card-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 12px;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
}
.status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
}
.version-badge.channel-beta {
  background: var(--art-butter);
  border-color: transparent;
  color: var(--text);
}
.hero-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.software-section .product-card {
  background: var(--surface);
}
.product-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-mark {
  height: 52px;
  width: 52px;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.09em;
  font-weight: 600;
}
.product-mark.mori {
  background: var(--art-mint);
  color: var(--art-forest);
  padding-bottom: 4px;
  padding-right: 3px;
}
.product-mark.palette {
  background: var(--art-lavender);
}
.version-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  white-space: nowrap;
}
.product-card h3 {
  font-size: 29px;
  letter-spacing: -0.03em;
  margin-top: 24px;
}
.product-card .product-tagline {
  color: var(--text);
  font-size: 19px;
  letter-spacing: -0.01em;
  margin-top: 5px;
}
.product-card > p:not(.product-tagline) {
  color: var(--text-secondary);
  font-size: 15px;
  margin-top: 14px;
  max-width: 390px;
  line-height: 1.8;
}
.product-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  font-size: 12px;
  color: var(--text-secondary);
}
.about-strip {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-top: 62px;
  padding-bottom: 62px;
}
.about-symbol {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  background: var(--art-butter);
  border-radius: 50%;
  flex-shrink: 0;
}
.about-strip h2 {
  font-size: 23px;
}
.about-strip p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}
.about-strip .text-link {
  margin-left: auto;
  flex-shrink: 0;
}
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 36px;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 26px;
}
.footer-top p {
  font-size: 12px;
  color: var(--text-muted);
}
.footer-top nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-size: 13px;
}
.footer-top nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.footer-feed {
  font-size: 13px;
  padding-inline: 0;
  white-space: nowrap;
  flex-shrink: 0;
}
.footer-bottom {
  margin-top: 23px;
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 12px;
  color: var(--text-muted);
}
.back-top {
  margin-left: auto;
  font-size: 12px;
  padding-right: 0;
}
.back-top svg {
  transform: rotate(-90deg);
}
.page-content {
  padding-top: 64px;
  padding-bottom: 100px;
  min-height: calc(100vh - 260px);
}
.page-heading {
  margin-bottom: 64px;
}
.page-heading h1 {
  margin-top: 18px;
  margin-bottom: 20px;
}
.page-heading p {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.9;
}
.list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.result-count,
.list-toolbar > span {
  font-size: 12px;
  color: var(--text-muted);
}
.notes-grid {
  row-gap: 50px;
}
/* When one card would be left alone on the last row, the first card becomes a wide lead card. */
@media (min-width: 801px) {
  .notes-grid > .story-card:first-child:nth-last-child(3n + 1) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: subgrid;
    grid-template-rows: auto auto auto 1fr;
  }
  .notes-grid > .story-card:first-child:nth-last-child(3n + 1) > * {
    grid-column: 3;
  }
  .notes-grid > .story-card:first-child:nth-last-child(3n + 1) > .artwork {
    grid-column: 1 / 3;
    grid-row: 1 / -1;
    aspect-ratio: 2;
  }
  .notes-grid > .story-card:first-child:nth-last-child(3n + 1) > .card-meta {
    margin-top: 8px;
  }
  .notes-grid > .story-card:first-child:nth-last-child(3n + 1) h3 {
    font-size: 30px;
    line-height: 1.4;
  }
  .notes-grid > .story-card:first-child:nth-last-child(3n + 1) > .card-bottom {
    align-self: end;
  }
}
.short-notes {
  margin-top: 70px;
  border-top: 1px solid var(--border);
  padding-top: 38px;
}
.short-notes h2 {
  font-size: 25px;
  margin-bottom: 18px;
}
.short-notes .note-row {
  grid-template-columns: 70px minmax(0, 1fr) 120px 22px;
}
.article-page {
  padding-top: 44px;
}
.article-heading {
  max-width: 680px;
  margin: 0 auto 45px;
}
.article-heading > .text-link {
  font-size: 12px;
  margin-bottom: 22px;
}
.article-heading .card-meta {
  margin-bottom: 18px;
  margin-top: 0;
}
.article-heading h1 {
  text-wrap: balance;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.35;
  letter-spacing: -0.025em;
}
.article-summary {
  color: var(--text-secondary);
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.8;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 27px;
  flex-wrap: wrap;
}
.author-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--text);
  display: grid;
  place-items: center;
  font-size: 13px;
}
.article-cover {
  max-height: 520px;
  aspect-ratio: 2.4;
}
.article-cover svg {
  max-width: 850px;
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr minmax(0, 680px) 1fr;
  gap: 50px;
  margin-top: 65px;
}
.article-toc {
  align-self: start;
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.article-toc > span {
  margin-bottom: 15px;
  font-size: 12px;
}
.article-toc a {
  display: flex;
  gap: 11px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-secondary);
  padding: 10px 0;
}
.article-toc a span {
  color: var(--text-muted);
  font-size: 12px;
  padding-top: 3px;
}
.article-body {
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: -0.01em;
}
.article-body p {
  margin: 0 0 24px;
}
.article-body .article-lead {
  font-size: 19px;
  line-height: 1.9;
}
.article-body h2 {
  font-size: 28px;
  margin: 58px 0 22px;
  font-weight: 500;
}
.article-body blockquote {
  margin: 40px 0;
  border-left: 3px solid var(--accent);
  padding: 15px 0 15px 26px;
  font-size: 25px;
  line-height: 1.65;
}
.code-block {
  background: var(--surface-soft);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  overflow: hidden;
  margin: 32px 0;
  font-size: 12px;
}
.code-block > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding: 5px 18px;
  color: var(--text-secondary);
}
.code-block pre {
  margin: 0;
  padding: 24px;
  font-size: 13px;
  overflow: auto;
}
.code-block code {
  font-family: var(--font-code);
}
.code-comment {
  color: var(--text-muted);
}
.copy-control {
  display: inline-flex;
  position: relative;
  flex-wrap: wrap;
}
.copy-button {
  min-height: 40px;
  font-size: 12px;
  padding: 7px 10px;
}
.copy-button:is(:hover, :focus-visible) {
  background: var(--border-soft);
}
.copy-error {
  font-size: 12px;
  color: var(--text-secondary);
}
.related-product {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  background: var(--mint-surface);
  border-radius: 16px;
  margin: 36px 0;
}
.related-product .eyebrow {
  font-size: 12px;
}
.related-product h3 {
  font-size: 15px;
  margin-top: 5px;
}
.related-product > svg {
  margin-left: auto;
}
.article-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 25px;
  margin-top: 50px;
  font-size: 12px;
  color: var(--text-secondary);
}
.fixture-caption,
.article-body .fixture-caption {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.7;
  margin-top: 24px;
}
.short-article {
  display: block;
  max-width: 680px;
  margin-inline: auto;
}
.related-section {
  border-top: 1px solid var(--border);
  padding-top: 50px;
  margin-bottom: 90px;
}
.software-catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.software-catalog-item {
  border: 1px solid var(--border-soft);
  border-radius: 25px;
  overflow: hidden;
}
.software-catalog-item .artwork {
  border-radius: 0;
}
.software-catalog-item .product-card {
  background: var(--surface);
}
.product-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 24px;
  gap: 60px;
  margin-bottom: 45px;
}
.product-title-row > div {
  max-width: 600px;
}
.product-title-row .product-mark {
  display: inline-flex;
  vertical-align: middle;
  margin-right: 17px;
}
.product-title-row h1 {
  font-size: 64px;
  margin-top: 20px;
  letter-spacing: -0.04em;
}
.product-headline {
  font-size: 25px;
  margin-top: 4px;
  letter-spacing: -0.01em;
}
.product-title-row p + p {
  margin-top: 18px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.9;
}
.product-title-row > .button {
  flex-shrink: 0;
  margin-bottom: 5px;
}
.product-cover {
  height: 440px;
  aspect-ratio: auto;
}
.product-cover svg {
  max-width: 820px;
}
.product-tabs {
  display: flex;
  gap: 35px;
  border-bottom: 1px solid var(--border);
  margin-top: 20px;
}
.product-tabs a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 4px;
  font-size: 14px;
  border-bottom: 2px solid transparent;
}
.product-tabs a.active {
  border-bottom-color: var(--accent);
  color: var(--text);
}
.product-tabs span {
  font-size: 12px;
  border-radius: 20px;
  padding: 1px 7px;
  background: var(--surface-soft);
  color: var(--text-secondary);
}
.product-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
  padding: 65px 0;
}
.benefit-number {
  font-size: 12px;
  color: var(--text-muted);
}
.product-benefits h2 {
  margin-top: 20px;
  font-size: 23px;
}
.product-benefits p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.9;
  margin-top: 15px;
}
.try-product {
  border-radius: 24px;
  padding: 54px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.try-product h2 {
  font-size: 29px;
  margin: 16px 0;
}
.try-product p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.9;
}
.try-product > div > .version-badge {
  margin-top: 28px;
}
.download-panel {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 25px;
}
.select-label {
  display: block;
  font-size: 12px;
  margin: 22px 0 7px;
}
select {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 8px;
  padding: 11px 13px;
  color: var(--text);
  font-size: 13px;
}
.file-info {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 22px 0;
}
.file-info strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
}
.file-info span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
.download-button {
  width: 100%;
}
.download-panel .download-note {
  font-size: 12px;
  margin-top: 12px;
  text-align: center;
}
.live-palette {
  display: flex;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
}
.swatch {
  flex: 1;
}
.swatch-mint {
  background: var(--art-mint);
}
.swatch-butter {
  background: var(--art-butter);
}
.swatch-lavender {
  background: var(--art-lavender);
}
.swatch-blue {
  background: var(--art-blue);
}
.swatch-coral {
  background: var(--art-coral);
}
.palette-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.palette-step {
  width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 50%;
  border-color: var(--border);
  background: var(--surface);
  flex-shrink: 0;
}
.palette-step:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-ink);
}
.download-panel .palette-label {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text);
  line-height: 1.5;
}
.palette-name {
  font-size: 15px;
  font-weight: 500;
}
.palette-count {
  font-size: 12px;
  color: var(--text-muted);
}
.palette-save {
  margin-left: 8px;
  padding: 8px 16px;
  font-size: 13px;
}
@media (max-width: 600px) {
  .palette-save {
    flex-basis: 100%;
    margin-left: 0;
  }
}
.download-panel > .button + .button {
  margin-left: 8px;
}
.product-story {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 60px;
}
.product-story > svg {
  color: var(--accent);
}
.product-story h2 {
  font-size: 20px;
}
.product-story p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 5px;
}
.product-story .text-link {
  margin-left: auto;
}
.releases {
  padding-top: 55px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 70px;
}
.releases h2 {
  font-size: 28px;
  margin-top: 18px;
}
.releases > div > p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 18px;
}
.release-entry {
  border-bottom: 1px solid var(--border);
  padding-bottom: 40px;
  margin-bottom: 40px;
}
.release-entry > div {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.release-entry h3 {
  font-size: 26px;
}
.release-entry time {
  color: var(--text-muted);
  font-size: 12px;
  margin-left: auto;
}
.release-entry h4 {
  margin-top: 24px;
  font-size: 19px;
}
.release-entry ul {
  padding-left: 20px;
  font-size: 14px;
  line-height: 2;
  color: var(--text-secondary);
}
.product-title-row .status-badge {
  margin-left: 14px;
}
.product-problem {
  max-width: 680px;
  padding-top: 56px;
}
.product-problem p {
  font-size: 20px;
  line-height: 1.8;
  letter-spacing: -0.01em;
  margin-top: 16px;
}
.install-command {
  margin-bottom: 22px;
}
.install-command .select-label {
  margin-top: 0;
}
.install-command .code-block {
  display: flex;
  align-items: center;
  margin: 0;
  border-radius: 10px;
}
.try-product > * {
  min-width: 0;
}
.install-command pre {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
}
.asset-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.asset-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
}
.asset-list li:first-child {
  padding-top: 0;
}
.asset-list strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.asset-list li span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.asset-list li .asset-name {
  font-family: var(--font-code);
  color: var(--text-secondary);
}
.asset-list .button {
  flex-shrink: 0;
  padding: 8px 16px;
  font-size: 13px;
}
.try-product .beta-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  margin-top: 16px;
}
.beta-note a {
  color: var(--text);
  text-decoration: underline 2px var(--accent);
  text-underline-offset: 0.25em;
}
.product-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.product-facts h2 {
  font-size: 20px;
  margin-bottom: 16px;
}
.product-facts ul {
  padding-left: 20px;
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-secondary);
}
.product-facts-version {
  font-size: 15px;
  margin-bottom: 8px;
}
.product-links {
  margin: 0;
}
.product-links div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border-soft);
  padding: 10px 0;
  font-size: 15px;
}
.product-links dt {
  color: var(--text-muted);
}
.product-links dd {
  margin: 0;
}
.product-facts .fixture-caption {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 14px;
}
.releases .filter-chips {
  margin-top: 24px;
}
.release-assets {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
}
.table-scroll {
  overflow-x: auto;
  margin: 32px 0;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
}
.table-scroll table {
  border-collapse: collapse;
  width: 100%;
  min-width: 640px;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0;
}
.table-scroll th,
.table-scroll td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
}
.table-scroll th {
  background: var(--surface-soft);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.table-scroll tr:last-child td {
  border-bottom: 0;
}
.code-language {
  font-weight: 600;
  color: var(--text);
  margin-right: 8px;
}
@media (max-width: 1100px) {
  .product-grid,
  .software-catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .product-facts {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
@media (max-width: 600px) {
  .product-grid,
  .software-catalog {
    grid-template-columns: 1fr;
  }
  .product-problem p {
    font-size: 17px;
  }
  .asset-list li {
    flex-direction: column;
    align-items: stretch;
  }
}
/* Status illustrations (ui/status-art): one 400×300 canvas, scaled by width only. */
.status-art-frame {
  width: 300px;
  max-width: 100%;
  margin: 0 auto 20px;
}
.status-art-frame svg {
  display: block;
  width: 100%;
  height: auto;
}
.status-art-num,
.status-art-label {
  font-family: var(--font-brand);
  font-weight: 600;
}
.status-page h1 {
  font-size: 42px;
  margin: 0 0 20px;
  line-height: 1.5;
}
.status-page p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.9;
}
.status-path {
  display: block;
  max-width: 46ch;
  margin: 14px auto 0;
  font-family: var(--font-code);
  font-size: 13px;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}
.share-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-soft);
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 44px;
}
.case-study .artwork {
  max-height: 470px;
}
.case-study .artwork svg {
  max-width: 800px;
}
.case-intro {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 70px;
  margin-top: 40px;
}
.case-intro h2 {
  margin-top: 16px;
}
.case-intro p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.9;
  margin-top: 20px;
}
.case-intro dl {
  margin: 0;
}
.case-intro dl div {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.case-intro dt {
  font-size: 12px;
  color: var(--text-muted);
}
.case-intro dd {
  font-size: 14px;
  margin: 5px 0 0;
}
.case-study > .button {
  margin-top: 28px;
}
.rotate {
  transform: rotate(180deg);
}
.case-details {
  max-width: 700px;
  padding-top: 15px;
}
.case-details > div {
  margin-top: 40px;
}
.case-details h3 {
  font-size: 24px;
  margin-top: 15px;
}
.case-details p {
  font-size: 16px;
  line-height: 1.9;
  margin-top: 16px;
  color: var(--text-secondary);
}
.case-page > .share-notice {
  margin-bottom: 40px;
}
.case-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 680px;
  margin: 48px auto 0;
  padding-bottom: 8px;
}
.case-facts div {
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.case-facts dt {
  font-size: 12px;
  color: var(--text-muted);
}
.case-facts dd {
  font-size: 15px;
  line-height: 1.6;
  margin: 6px 0 0;
}
.case-page .article-layout {
  margin-top: 16px;
}
.case-decisions {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  counter-reset: decision;
}
.case-decisions li {
  counter-increment: decision;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  border-top: 1px solid var(--border-soft);
  padding: 18px 0;
}
.case-decisions li::before {
  content: '0' counter(decision);
  grid-row: 1 / 3;
  font-size: 12px;
  color: var(--text-muted);
  padding-top: 5px;
}
.case-decisions strong {
  font-weight: 500;
}
.case-decisions span {
  color: var(--text-secondary);
  font-size: 15px;
}
.case-attachment-note {
  color: var(--text-secondary);
}
.case-page .related-product {
  margin-top: 40px;
}
@media (min-width: 801px) {
  .story-grid.case-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .case-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
  }
}
.shared-end {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  margin-top: 60px;
  padding-top: 28px;
  font-size: 13px;
}
.dialog {
  padding: 0;
  width: min(720px, calc(100% - 32px));
  max-height: calc(100dvh - 64px);
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  box-shadow: 0 20px 60px var(--shadow);
}
.dialog::backdrop {
  background: var(--overlay);
  backdrop-filter: blur(4px);
}
.dialog-content {
  padding: 24px;
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
}
.dialog-top > .eyebrow {
  font-size: 12px;
}
.search-form {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px 15px;
  margin-bottom: 20px;
}
.search-form:focus-within {
  border-color: var(--focus);
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.search-form input {
  border: 0;
  outline: 0;
  min-width: 0;
  flex: 1;
  height: 44px;
  background: transparent;
  color: var(--text);
  font-size: 17px;
}
.search-form input::placeholder {
  color: var(--text-muted);
  font-size: 15px;
}
.search-submit {
  padding: 9px;
}
.search-count {
  font-size: 12px;
  color: var(--text-muted);
  margin: 23px 0 8px;
}
.search-result {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 10px;
  border-radius: 12px;
}
.search-result:hover {
  background: var(--surface-soft);
}
.result-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 44px;
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--text-muted);
  flex-shrink: 0;
}
.search-result .eyebrow {
  font-size: 12px;
}
.search-result h3 {
  font-size: 15px;
  margin-top: 4px;
}
.search-result > svg {
  margin-left: auto;
  color: var(--text-muted);
}
.search-hint {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 17px;
  margin-top: 20px;
  gap: 20px;
}
.empty-state {
  text-align: center;
  padding: 45px 20px;
}
.empty-state > svg {
  margin: 0 auto 18px;
  color: var(--text-muted);
}
.empty-state h2 {
  font-size: 23px;
  margin-bottom: 12px;
}
.empty-state p {
  font-size: 13px;
  color: var(--text-secondary);
}
.search-page {
  max-width: 846px;
}
.search-page .page-heading {
  margin-bottom: 35px;
}
.search-page .list-toolbar {
  margin-top: 28px;
}
.search-page-result {
  display: block;
  position: relative;
  padding: 28px 50px 28px 0;
  border-bottom: 1px solid var(--border);
}
.search-page-result .eyebrow {
  font-size: 12px;
}
.search-page-result h2 {
  margin-top: 8px;
  font-size: 24px;
}
.search-page-result p {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}
.search-page-result > svg {
  position: absolute;
  right: 2px;
  top: 50%;
}
.prototype-switcher {
  position: fixed;
  bottom: 15px;
  left: 16px;
  z-index: 25;
}
.prototype-toggle {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 3px 15px var(--shadow);
  font-size: 12px;
  padding: 8px 13px;
  min-height: 37px;
  gap: 8px;
}
.prototype-dot {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
}
.prototype-toggle-label {
  color: var(--text-muted);
  font-size: 12px;
  border-left: 1px solid var(--border);
  padding-left: 8px;
}
.prototype-panel {
  width: 285px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 9px;
  box-shadow: 0 10px 45px var(--shadow);
}
.prototype-panel > p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 10px 0 15px;
}
.prototype-panel nav {
  display: flex;
  flex-direction: column;
}
.prototype-panel nav a {
  padding: 10px 8px;
  border-radius: 7px;
  font-size: 12px;
}
.prototype-panel nav a:is(:hover, :focus-visible) {
  background: var(--surface-soft);
  color: var(--text);
}
.about-page h1 {
  margin-top: 20px;
}
.about-page-body {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  margin-top: 65px;
  align-items: start;
}
.about-large-symbol {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-height: 380px;
  border-radius: 24px;
  background: var(--art-butter);
}
.about-large-symbol svg {
  width: 150px;
  height: 150px;
}
.about-page-body h2 {
  font-size: 28px;
  margin-bottom: 25px;
}
.about-page-body p {
  color: var(--text-secondary);
  margin-top: 20px;
  line-height: 1.95;
}
.about-interests {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 27px 0;
}
.about-interests span {
  font-size: 12px;
  padding: 7px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

@media (min-width: 1600px) {
  .hero-copy h1 {
    font-size: 38px;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 64px);
  }
  .hero-copy {
    padding: 30px 24px 24px;
  }
  .hero-copy h1 {
    font-size: 29px;
  }
  .hero-copy .eyebrow {
    margin-bottom: 24px;
  }
  .hero-copy p {
    font-size: 13px;
  }
  .hero-art-link .artwork {
    min-height: 390px;
  }
  .story-grid {
    gap: 22px;
  }
  .story-card h3 {
    font-size: 21px;
  }
  .latest-section {
    grid-template-columns: 0.8fr 2fr;
    gap: 32px;
  }
  .note-row {
    gap: 12px;
  }
  .article-layout {
    display: block;
    max-width: 680px;
    margin-inline: auto;
  }
  .article-toc {
    position: static;
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 40px;
  }
  .try-product {
    padding: 36px;
    gap: 35px;
  }
  .try-product h2 {
    font-size: 25px;
  }
  .about-strip {
    gap: 20px;
  }
  .about-strip h2 {
    font-size: 21px;
  }
  .about-strip p {
    max-width: 400px;
  }
}
@media (max-width: 800px) {
  .site-header {
    padding: 0 26px;
    height: 64px;
  }
  .brand-description {
    display: none;
  }
  .desktop-nav {
    gap: 25px;
  }
  .header-actions {
    margin-left: 5px;
  }
  .search-trigger kbd {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr 1.35fr;
  }
  .hero-copy h1 {
    font-size: 26px;
  }
  .hero-copy {
    padding: 24px;
  }
  .hero-art-link .artwork {
    min-height: 350px;
  }
  .hero-art-link .artwork svg {
    width: 135%;
    max-width: none;
    flex-shrink: 0;
  }
  .hero-copy p {
    margin-block: 18px 24px;
  }
  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 22px;
  }
  .story-grid > :last-child:nth-child(3) {
    grid-column: auto;
  }
  .story-grid > :last-child:nth-child(3) .artwork {
    aspect-ratio: 1.65;
  }
  .section {
    margin-top: 60px;
  }
  .latest-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .latest-heading > div {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .latest-heading .eyebrow {
    grid-column: 1/-1;
  }
  .latest-heading h2 {
    margin-bottom: 0;
  }
  .latest-heading p {
    display: none;
  }
  .latest-heading .text-link {
    grid-column: 2;
    grid-row: 2;
  }
  .product-card {
    padding: 25px;
  }
  .about-strip {
    flex-wrap: wrap;
  }
  .about-strip > div:nth-child(2) {
    flex: 1;
  }
  .about-strip .text-link {
    margin-left: 98px;
  }
  .footer-top {
    flex-wrap: wrap;
  }
  .footer-top nav {
    margin-left: 0;
    gap: 25px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-bottom > span:nth-child(2) {
    order: 3;
    width: 100%;
  }
  .page-content {
    padding-top: 45px;
  }
  .page-heading {
    margin-bottom: 45px;
  }
  .article-toc > span {
    margin-bottom: 7px;
  }
  .article-toc a {
    font-size: 13px;
    padding-block: 7px;
  }
  .article-heading h1 {
    font-size: 42px;
  }
  .article-cover {
    aspect-ratio: 1.8;
  }
  .product-title-row {
    gap: 30px;
  }
  .product-title-row > .button {
    max-width: 175px;
  }
  .product-benefits {
    gap: 24px;
  }
  .product-benefits h2 {
    font-size: 20px;
  }
  .try-product {
    grid-template-columns: 1fr;
  }
  .try-product > div > .version-badge {
    margin-top: 18px;
  }
  .download-panel {
    max-width: 460px;
    width: 100%;
  }
  .product-story {
    flex-wrap: wrap;
  }
  .product-story .text-link {
    margin-left: 52px;
  }
  .releases {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .case-intro {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .about-page-body {
    gap: 40px;
    grid-template-columns: 1fr 1.3fr;
  }
  .about-page-body h2 {
    font-size: 24px;
  }
}
@media (max-width: 600px) {
  .container {
    width: calc(100% - 36px);
  }
  .site-header {
    padding: 0 18px;
    gap: 10px;
  }
  .wordmark {
    font-size: 26px;
  }
  .wordmark span {
    font-size: 35px;
  }
  .desktop-nav {
    display: none;
  }
  .header-actions {
    margin-left: auto;
  }
  .mobile-menu-trigger {
    display: inline-flex;
  }
  .edition-line {
    padding: 20px 0 15px;
    font-size: 12px;
  }
  .edition-line span:last-child {
    font-size: 12px;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .hero-art-link {
    order: -1;
    border-radius: 20px;
  }
  .hero-art-link .artwork {
    min-height: 0;
    aspect-ratio: 1.65;
    height: auto;
  }
  .hero-art-link .artwork svg {
    width: 100%;
  }
  .hero-copy {
    border-radius: 20px;
    padding: 25px;
  }
  .hero-copy .eyebrow {
    font-size: 12px;
    margin-bottom: 15px;
  }
  .hero-copy h1 {
    font-size: 29px;
    line-height: 1.45;
  }
  .hero-copy p {
    font-size: 13px;
    margin: 15px 0 23px;
  }
  .hero-copy p br {
    display: none;
  }
  .hero-link {
    font-size: 12px;
  }
  .hero-link .circle-arrow {
    width: 36px;
    height: 36px;
  }
  .section {
    margin-top: 48px;
  }
  h2 {
    font-size: 27px;
  }
  .section-heading {
    gap: 12px;
    margin-bottom: 22px;
  }
  .section-heading .text-link {
    font-size: 12px;
    gap: 7px;
    white-space: nowrap;
  }
  .section-heading .text-link svg {
    width: 15px;
  }
  .story-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .story-card .artwork {
    aspect-ratio: 1.8;
    border-radius: 18px;
  }
  .story-card h3 {
    font-size: 22px;
  }
  .story-card > p {
    font-size: 13px;
    margin-top: 9px;
  }
  .card-meta {
    margin-top: 18px;
    margin-bottom: 9px;
    font-size: 12px;
  }
  .card-bottom {
    padding-top: 15px;
    font-size: 12px;
  }
  .card-bottom .circle-arrow {
    width: 37px;
    height: 37px;
  }
  .latest-section {
    padding-top: 32px;
    gap: 25px;
  }
  .latest-heading .text-link {
    font-size: 12px;
  }
  .latest-heading .eyebrow {
    font-size: 12px;
  }
  .filter-chips {
    gap: 7px;
  }
  .chip {
    font-size: 13px;
    min-height: 44px;
    padding: 8px 17px;
  }
  .note-row,
  .short-notes .note-row {
    grid-template-columns: 1fr 19px;
    gap: 5px 14px;
    padding: 20px 0;
  }
  .note-row-category {
    grid-column: 1;
    font-size: 12px;
    padding: 0;
  }
  .note-row > div {
    grid-column: 1;
  }
  .note-row h3 {
    font-size: 16px;
  }
  .note-row-description {
    display: none;
  }
  .note-row-meta {
    grid-column: 1;
    flex-direction: row;
    gap: 10px;
    font-size: 12px;
    margin-top: 5px;
  }
  .note-row > svg {
    grid-column: 2;
    grid-row: 2;
    width: 18px;
  }
  .software-section {
    padding-block: 38px;
  }
  .section-description {
    font-size: 12px;
    margin: 12px 0 25px;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .product-card {
    padding: 24px;
  }
  .product-card h3 {
    margin-top: 20px;
  }
  .product-card .product-tagline {
    font-size: 18px;
  }
  .product-card > p:not(.product-tagline) {
    font-size: 14px;
  }
  .about-strip {
    padding-block: 40px;
    gap: 18px;
  }
  .about-symbol {
    width: 55px;
    height: 55px;
  }
  .about-symbol svg {
    width: 28px;
    height: 28px;
  }
  .about-strip h2 {
    font-size: 19px;
  }
  .about-strip p {
    font-size: 12px;
  }
  .about-strip .text-link {
    margin-left: 73px;
    font-size: 12px;
  }
  .site-footer {
    padding-top: 30px;
    padding-bottom: 70px;
  }
  .footer-top {
    gap: 18px;
  }
  .footer-top p {
    font-size: 12px;
  }
  .footer-top nav {
    width: 100%;
    gap: 22px;
  }
  .footer-bottom {
    margin-top: 5px;
    gap: 4px;
    font-size: 12px;
  }
  .footer-bottom > span:nth-child(2) {
    margin-top: 5px;
    font-size: 12px;
  }
  .page-content {
    padding-top: 38px;
    padding-bottom: 60px;
  }
  .page-heading {
    margin-bottom: 35px;
  }
  .page-heading .eyebrow {
    font-size: 12px;
  }
  .page-heading h1 {
    font-size: 34px;
    margin: 16px 0 18px;
    line-height: 1.5;
  }
  .page-heading p {
    font-size: 14px;
  }
  .list-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 26px;
  }
  .list-toolbar .result-count {
    font-size: 12px;
  }
  .short-notes {
    margin-top: 42px;
    padding-top: 28px;
  }
  .short-notes h2 {
    font-size: 22px;
  }
  .article-page {
    padding-top: 25px;
  }
  .article-heading {
    margin-bottom: 28px;
  }
  .article-heading h1 {
    font-size: 34px;
  }
  .article-heading .card-meta {
    font-size: 12px;
  }
  .article-heading > .text-link {
    margin-bottom: 20px;
  }
  .article-summary {
    font-size: 15px;
    margin-top: 18px;
  }
  .article-meta {
    gap: 8px;
    font-size: 12px;
  }
  .author-avatar {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .article-cover {
    aspect-ratio: 1.6;
    border-radius: 18px;
  }
  .article-layout {
    margin-top: 35px;
  }
  .article-toc {
    padding: 18px;
    margin-bottom: 30px;
  }
  .article-toc a {
    font-size: 12px;
  }
  .article-body {
    font-size: 16px;
    line-height: 1.9;
  }
  .article-body .article-lead {
    font-size: 17px;
  }
  .article-body h2 {
    font-size: 24px;
    margin-top: 40px;
  }
  .article-body blockquote {
    font-size: 22px;
    padding-left: 20px;
  }
  .code-block pre {
    padding: 20px 15px;
    font-size: 12px;
  }
  .code-block > div {
    padding-inline: 12px;
    font-size: 12px;
  }
  .related-product {
    padding: 18px;
    gap: 12px;
  }
  .related-product .product-mark {
    width: 40px;
    height: 40px;
    font-size: 31px;
  }
  .related-product .eyebrow {
    font-size: 12px;
  }
  .related-product h3 {
    font-size: 13px;
  }
  .article-end {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
  }
  .article-end .copy-button {
    padding-left: 0;
  }
  .related-section {
    padding-top: 30px;
    margin-bottom: 50px;
  }
  .related-section h2 {
    font-size: 24px;
  }
  .software-catalog {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .product-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 30px;
  }
  .product-title-row h1 {
    font-size: 52px;
  }
  .product-title-row .eyebrow {
    font-size: 12px;
  }
  .product-title-row > .button {
    max-width: none;
  }
  .product-headline {
    font-size: 23px;
  }
  .product-title-row p + p {
    font-size: 14px;
  }
  .product-cover {
    height: auto;
    aspect-ratio: 1.6;
    border-radius: 18px;
  }
  .product-benefits {
    grid-template-columns: 1fr;
    padding-block: 35px;
    gap: 30px;
  }
  .product-benefits h2 {
    font-size: 23px;
    margin-top: 9px;
  }
  .product-benefits p {
    font-size: 13px;
    margin-top: 10px;
  }
  .try-product {
    padding: 25px 20px;
    border-radius: 18px;
    gap: 25px;
  }
  .try-product .eyebrow {
    font-size: 12px;
  }
  .try-product h2 {
    font-size: 25px;
    margin-block: 12px;
  }
  .try-product p {
    font-size: 12px;
  }
  .download-panel {
    padding: 20px 16px;
  }
  .download-panel > .button {
    padding-inline: 14px;
    font-size: 12px;
  }
  .download-panel > .button + .button {
    margin-left: 5px;
  }
  .product-story {
    margin-top: 38px;
    gap: 17px;
  }
  .product-story > div {
    flex: 1;
  }
  .product-story h2 {
    font-size: 18px;
  }
  .product-story p {
    font-size: 12px;
  }
  .product-story .text-link {
    margin-left: 45px;
  }
  .releases {
    padding-top: 35px;
  }
  .releases h2 {
    font-size: 25px;
  }
  .release-entry h3 {
    font-size: 24px;
  }
  .release-entry > div {
    gap: 10px;
  }
  .release-entry .version-badge {
    font-size: 12px;
  }
  .release-entry time {
    font-size: 12px;
  }
  .release-entry ul {
    font-size: 13px;
  }
  .status-art-frame {
    width: 250px;
    margin-bottom: 12px;
  }
  .status-page h1 {
    font-size: 30px;
    margin-bottom: 14px;
  }
  .status-page p {
    font-size: 14px;
  }
  .status-path {
    font-size: 12px;
  }
  .share-notice {
    font-size: 12px;
    padding: 12px;
    margin-bottom: 30px;
    align-items: flex-start;
  }
  .share-notice svg {
    margin-top: 2px;
  }
  .shared-portfolio .page-heading h1 {
    font-size: 31px;
  }
  .case-intro {
    margin-top: 28px;
  }
  .case-intro h2 {
    font-size: 27px;
  }
  .case-intro p {
    font-size: 14px;
  }
  .case-details h3 {
    font-size: 22px;
  }
  .case-details p {
    font-size: 14px;
  }
  .shared-end {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .dialog {
    border-radius: 18px;
    max-height: calc(100dvh - 32px);
  }
  .dialog-content {
    padding: 18px;
  }
  .dialog-top {
    margin-bottom: 10px;
  }
  .search-form {
    gap: 8px;
    padding-inline: 11px;
  }
  .search-form input {
    font-size: 16px;
  }
  .search-form input::placeholder {
    font-size: 12px;
  }
  .search-form > svg {
    width: 19px;
  }
  .search-form .button-primary {
    font-size: 12px;
    padding-inline: 14px;
  }
  .search-result {
    gap: 11px;
    padding: 14px 0;
  }
  .search-result h3 {
    font-size: 13px;
  }
  .result-icon {
    width: 34px;
    height: 38px;
  }
  .search-result > svg {
    width: 16px;
  }
  .search-hint {
    font-size: 12px;
  }
  .search-hint > span:last-child {
    display: none;
  }
  .search-page-result h2 {
    font-size: 21px;
  }
  .search-page-result p {
    font-size: 12px;
  }
  .dialog.mobile-menu {
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .mobile-menu nav {
    display: flex;
    flex-direction: column;
    padding: 10px 0 20px;
  }
  .mobile-menu nav a {
    font-size: 29px;
    padding: 18px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-soft);
  }
  .mobile-menu nav a svg {
    width: 22px;
    color: var(--text-muted);
  }
  .prototype-switcher {
    bottom: 11px;
    left: 12px;
  }
  .prototype-toggle {
    min-height: 35px;
    padding: 7px 11px;
    font-size: 12px;
  }
  .prototype-toggle-label {
    font-size: 12px;
  }
  .about-page h1 {
    font-size: 34px;
  }
  .about-page-body {
    grid-template-columns: 1fr;
    margin-top: 35px;
    gap: 35px;
  }
  .about-large-symbol {
    aspect-ratio: 1.5;
  }
  .about-page-body h2 {
    font-size: 25px;
  }
  .about-page-body p {
    font-size: 14px;
  }
  .about-page-body .fixture-caption {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* The original palette and coral interaction rules remain in app.css and tokens/theme.css. */
.wordmark {
  gap: 0.23em;
  letter-spacing: -0.035em;
  line-height: 1.12;
  white-space: nowrap;
  flex-shrink: 0;
}

.wordmark .wordmark-label {
  color: var(--text-muted);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: max(11px, 0.29em);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-left: 0;
}

.prototype-panel {
  max-height: min(680px, calc(100dvh - 90px));
  overflow-y: auto;
}

.prototype-version-links {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border-soft);
}

.home-intro {
  padding-top: 32px;
}

.hero-copy {
  min-width: 0;
}

.hero-copy h1 {
  white-space: normal;
  text-wrap: balance;
}

.hero-copy .eyebrow {
  margin-bottom: 22px;
}

.hero-copy p {
  margin-block: 20px 24px;
}

.latest-section {
  display: block;
  padding-top: 42px;
}

.latest-section .section-heading {
  margin-bottom: 24px;
}

.latest-list .list-toolbar {
  margin-bottom: 6px;
}

.latest-list .note-row {
  grid-template-columns: 56px minmax(0, 1fr) 100px 24px;
  gap: 24px;
}

.latest-list .note-row h3 {
  max-width: 54ch;
}

.latest-list .note-row-description {
  max-width: 76ch;
}

.software-section .section-heading {
  margin-bottom: 28px;
}

.product-card h3 {
  margin-top: 20px;
}

.product-card > p:not(.product-tagline) {
  margin-top: 10px;
}

.product-card-bottom {
  margin-top: auto;
  padding-top: 24px;
}

.software-catalog-item {
  display: flex;
  flex-direction: column;
}

.software-catalog-item .product-card {
  flex: 1;
}

.software-catalog-item > a:focus-visible,
.software-catalog-item .product-card:focus-visible {
  outline-offset: -3px;
}

.page-content {
  padding-top: 48px;
  padding-bottom: 72px;
}

.page-heading {
  margin-bottom: 36px;
}

.page-heading h1 {
  margin: 0;
}

.page-heading p {
  margin-top: 14px;
}

.notes-grid:empty {
  display: none;
}

.notes-grid:empty + .short-notes {
  margin-top: 0;
}

.article-end {
  justify-content: flex-end;
}

.article-page--without-related {
  padding-bottom: 64px;
}

.article-body.note-body {
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: 0;
}

.product-title-row .product-headline {
  font-size: 22px;
  line-height: 1.6;
  margin-top: 12px;
}

.product-story h2 {
  margin-top: 6px;
  font-size: 21px;
}

/* Page-level states fill the space left by the actual header and footer. */
.site-shell:has(> main > .page-state) {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.site-shell > .site-header,
.site-shell > .site-footer {
  flex-shrink: 0;
}

.site-shell > main:has(> .page-state) {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.page-state {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-block: 48px 96px;
  text-align: center;
}

.page-state-content {
  width: 100%;
  /* Auto margins center spare space without clipping content on short screens. */
  margin-block: auto;
}

.page-state h1 {
  max-width: 28ch;
  margin-inline: auto;
  text-wrap: balance;
}

.status-page h1 {
  font-size: clamp(30px, 3.4vw, 44px);
}

.page-state p {
  max-width: 46ch;
  margin-inline: auto;
}

@media (max-height: 600px) {
  .page-state {
    padding-block: 32px 48px;
  }

  .status-art-frame {
    width: 200px;
  }
}

.about-page {
  max-width: 880px;
}

.about-directory {
  border-top: 1px solid var(--border);
}

.about-directory a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
  border-bottom: 1px solid var(--border-soft);
}

.about-directory h2 {
  font-size: 25px;
}

.about-directory p {
  color: var(--text-secondary);
  margin-top: 8px;
}

.about-directory a:is(:hover, :focus-visible) h2 {
  text-decoration: underline 2px var(--accent);
  text-underline-offset: 0.25em;
}

.about-page > .fixture-caption {
  margin-top: 28px;
}

.about-intro {
  max-width: 680px;
  margin-bottom: 56px;
}

.about-intro p {
  font-size: 19px;
  line-height: 1.85;
}

.about-intro p + p {
  margin-top: 12px;
  color: var(--text-secondary);
}

.about-contact,
.about-now {
  margin-top: 56px;
}

.about-now {
  margin-top: 0;
  margin-bottom: 56px;
}

.about-contact h2,
.about-now h2,
.about-section-title {
  font-size: 25px;
  margin-bottom: 16px;
}

.about-now h2 span {
  margin-left: 10px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text-muted);
}

.about-directory h2 {
  font-size: 21px;
}

.about-contact dl,
.about-now dl {
  margin: 0;
  border-top: 1px solid var(--border);
}

.about-now dl div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 60px;
  padding-block: 12px;
  border-bottom: 1px solid var(--border-soft);
}

.about-now dt {
  color: var(--text-secondary);
}

.about-now dd {
  margin: 0;
}

@media (max-width: 600px) {
  .about-intro p {
    font-size: 17px;
  }

  .about-now dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .about-now dt {
    font-size: 13px;
  }
}

.about-contact dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 60px;
  border-bottom: 1px solid var(--border-soft);
}

.about-contact dt {
  color: var(--text-secondary);
}

.about-contact dd {
  margin: 0;
}

.about-contact dd span {
  color: var(--text-muted);
  font-size: 14px;
}

.about-contact dd a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

.about-contact dd a:is(:hover, :focus-visible) {
  text-decoration: underline 2px var(--accent);
  text-underline-offset: 0.25em;
}

/* New illustrations reuse the existing palette tokens. */
.artwork-defaults {
  background: var(--art-pink);
}

.artwork-idea {
  background: var(--art-butter);
}

.artwork-desk {
  background: var(--art-mint);
}

.artwork-drafts {
  background: var(--art-lavender);
}

.artwork-question {
  background: var(--art-blue);
}

.artwork-release {
  background: var(--art-pink);
}

.artwork-terminal {
  background: var(--art-butter);
}

.artwork-compare {
  background: var(--art-blue);
}

.artwork-shelf {
  background: var(--art-pink);
}

.artwork-night {
  background: var(--art-lavender);
}

.artwork-sprout {
  background: var(--art-mint);
}

/* Table cells break between words, like body text. */
.table-scroll th,
.table-scroll td {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

@media (max-width: 800px) {
  .home-intro {
    padding-top: 24px;
  }

  .latest-list .note-row {
    grid-template-columns: 40px minmax(0, 1fr) 90px 20px;
    gap: 14px;
  }

  .page-content {
    padding-top: 36px;
  }
}

@media (max-width: 600px) {
  .wordmark {
    font-size: clamp(20px, 6.25vw, 26px);
  }

  .home-intro {
    padding-top: 20px;
  }

  .hero-copy .eyebrow {
    margin-bottom: 15px;
  }

  .hero-copy p {
    margin-block: 15px 20px;
  }

  .latest-section {
    padding-top: 30px;
  }

  .latest-list .list-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .latest-list .note-row {
    grid-template-columns: minmax(0, 1fr) 20px;
    gap: 6px 14px;
  }

  .software-section .section-heading {
    margin-bottom: 24px;
  }

  .page-heading {
    margin-bottom: 28px;
  }

  .article-body.note-body {
    font-size: 17px;
  }

  .article-page--without-related {
    padding-bottom: 48px;
  }

  .product-title-row .product-headline {
    font-size: 19px;
  }

  .page-state {
    padding-block: 32px 48px;
  }

  .about-directory a {
    padding-block: 22px;
  }

  .about-directory p {
    font-size: 14px;
  }

  .footer-top nav {
    margin-left: auto;
    width: auto;
  }
}

/*
 * List controls, pagination, search matches, and the loading / failure screens.
 * Only semantic colors from tokens/theme.css are used here.
 */

/* ---- List toolbar: category chips, topic and order ---- */
.notes-toolbar {
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.list-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.select-field {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding-inline: 16px 12px;
  border: 1px solid var(--border);
  border-radius: 24px;
  font-size: 13px;
  color: var(--text-secondary);
}
.select-field > span {
  white-space: nowrap;
}
.select-field:hover {
  background: var(--surface-soft);
}
.select-field:focus-within {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.select-field select {
  appearance: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 500;
  /* Room for the chevron drawn after it; the whole pill opens the menu. */
  padding: 10px 22px 10px 0;
  margin-right: -22px;
  cursor: pointer;
}
.select-field > svg {
  pointer-events: none;
  color: var(--text-muted);
}
.list-status {
  min-height: 1.6em;
  margin-bottom: 26px;
}
.short-notes--only {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}
.empty-state a {
  color: var(--text);
  text-decoration: underline 2px var(--accent);
  text-underline-offset: 0.25em;
}

/* Transition: the previous content stays while the next response loads. */
.is-refreshing {
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 0.15s ease 0.12s;
}

/* ---- Pagination ---- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 64px;
  font-size: 14px;
}
.pagination ol {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pagination li {
  display: flex;
  align-items: center;
  gap: 4px;
}
.pagination ol a,
.pagination-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding-inline: 12px;
  border-radius: 22px;
  color: var(--text-secondary);
}
.pagination ol a:hover,
a.pagination-step:hover {
  background: var(--surface-soft);
  color: var(--text);
}
.pagination ol a[aria-current='page'] {
  background: var(--text);
  color: var(--surface);
  font-weight: 600;
}
.pagination-step.is-disabled {
  color: var(--border);
}
.pagination-gap {
  color: var(--text-muted);
  padding-inline: 4px;
}

/* ---- Topics ---- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.tag-list a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-secondary);
}
.tag-list a:hover {
  background: var(--surface-soft);
  color: var(--text);
}
.article-end {
  gap: 16px;
}
.article-end .tag-list {
  margin-right: auto;
}

/* ---- Search ---- */
mark {
  background: var(--accent-soft);
  color: inherit;
  border-radius: 3px;
  padding-block: 0.08em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.search-result > div {
  min-width: 0;
}
.search-result-snippet {
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;
}
.search-result > svg {
  flex-shrink: 0;
}
.search-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 6px 10px 0;
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline 2px var(--accent);
  text-underline-offset: 0.25em;
}
.search-topics {
  padding: 4px 10px 8px;
}
.search-topics .eyebrow {
  display: block;
  margin-bottom: 12px;
}
.search-before {
  margin-top: 28px;
}
.search-before > p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 28px;
}
.search-before .search-topics {
  padding-inline: 0;
}
.search-page-result p {
  font-size: 14px;
  line-height: 1.75;
}
.snippet-source {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 7px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  vertical-align: 1px;
}
.result-tags {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
}
.spinner {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-top-color: var(--text);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---- Skeletons (Suspense fallbacks) ---- */
.bone {
  display: block;
  max-inline-size: 100%;
  border-radius: 6px;
  background: linear-gradient(100deg, transparent 30%, var(--surface) 50%, transparent 70%)
    var(--border-soft);
  background-size: 300% 100%;
  animation: bone-sweep 1.6s ease-in-out infinite;
}
@keyframes bone-sweep {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -50% 0;
  }
}
/* A fast response never shows the skeleton: it fades in only after a short wait. */
.loading-shapes {
  animation: loading-appear 0.2s ease 0.18s both;
}
@keyframes loading-appear {
  from {
    opacity: 0;
  }
}
.bone-card,
.bone-product,
.bone-result,
.bone-article-heading,
.bone-article-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bone-art {
  aspect-ratio: 1.65;
  inline-size: 100%;
  border-radius: 20px;
  margin-bottom: 8px;
}
.bone-rows {
  margin-top: 70px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.bone-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 120px;
  align-items: center;
  gap: 16px;
  padding-block: 22px;
  border-bottom: 1px solid var(--border-soft);
}
.bone-row > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bone-result {
  padding-block: 28px;
  border-bottom: 1px solid var(--border);
}
.search-skeleton.is-compact .bone-result {
  padding: 14px 10px;
  border-bottom: 0;
  gap: 9px;
}
.bone-product {
  padding: 28px;
  border-radius: 24px;
  background: var(--surface-soft);
  min-height: 250px;
}
.article-skeleton {
  padding-top: 44px;
}
.bone-article-heading {
  max-width: 680px;
  gap: 16px;
}
.bone-cover {
  inline-size: min(100%, 850px);
  aspect-ratio: 2;
  border-radius: 24px;
  margin-top: 44px;
}
.bone-article-body {
  max-width: 680px;
  margin: 65px auto 120px;
  gap: 16px;
}
.bone-gap {
  margin-top: 28px;
}

/* ---- Failures (ErrorBoundary fallbacks) ---- */
.section-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 20px;
  text-align: center;
}
/* Same soft badge as the page-level states, without warning red. */
.section-error-badge {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
  border-radius: 14px;
  background: var(--art-pink);
  color: var(--text);
}
.section-error h2 {
  font-size: 22px;
}
.section-error p {
  max-width: 42ch;
  font-size: 14px;
  color: var(--text-secondary);
}
.section-error .button {
  margin-top: 8px;
}
.section-error.is-compact {
  padding: 26px 16px;
  gap: 8px;
}
.section-error.is-compact .section-error-badge {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}
.section-error.is-compact h2 {
  font-size: 16px;
}
.section-error.is-compact p {
  font-size: 13px;
}
.page-content > .text-link + .section-error {
  margin-top: 32px;
}
.page-state-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 28px;
  margin-top: 26px;
}

/* ---- Sign-in: the same composition as the page-level states ---- */
/* The title and its note read as one group; the sign-in action sits apart from it. */
.login-page h1 {
  margin-bottom: 0;
}
/* Microsoft sign-in button: light surface, light gray border, the four-color mark. */
.login-page .login-button {
  gap: 12px;
  min-width: 240px;
  min-height: 48px;
  margin-top: 40px;
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}
.login-page .login-button:hover:not(:disabled) {
  background: var(--surface-soft);
}
.login-page .login-button:disabled {
  color: var(--text-muted);
}
/* A sign-in error is about the next attempt, so it sits with the button. */
.login-page .form-error {
  max-width: 40ch;
  margin: 36px auto 0;
  padding: 0;
}
.login-page .form-error + .login-button {
  margin-top: 16px;
}
.login-page .login-scenarios {
  margin-top: 20px;
}
.login-page .login-scenarios summary {
  display: inline-block;
  min-height: 32px;
  cursor: pointer;
}
.login-page .login-scenarios .button {
  min-height: 40px;
  margin: 10px 6px 0;
  padding: 8px 18px;
}

/* ---- State catalog (prototype review page) ---- */
.states-page .page-heading p {
  max-width: 60ch;
  color: var(--text-secondary);
}
.state-frame {
  margin-top: 64px;
}
.state-frame-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}
.state-frame-heading h2 {
  font-size: 22px;
}
.state-frame-heading code {
  justify-self: start;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--surface-soft);
  font-size: 12px;
  color: var(--text-secondary);
}
.state-frame-heading p {
  max-width: 68ch;
  font-size: 14px;
  color: var(--text-secondary);
}
.state-frame-body {
  padding: 32px;
  border: 1px dashed var(--border);
  border-radius: 24px;
  overflow: hidden;
}
.state-frame-body .loading-shapes {
  animation: none;
}
.state-frame-body .article-skeleton {
  padding-top: 0;
}
.state-frame-body .bone-article-body {
  margin-bottom: 0;
}
.state-frame-body .page-state {
  width: auto;
  padding-block: 24px;
}
.status-art-gallery {
  display: grid;
  gap: 40px;
}
.status-art-gallery h3 {
  margin: 0 0 16px;
  font-size: 16px;
}
.status-art-gallery ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.status-art-gallery li {
  display: grid;
  justify-items: center;
  gap: 2px;
  text-align: center;
}
.status-art-gallery .status-art-frame {
  width: 100%;
  margin: 0 0 4px;
}
.status-art-gallery strong {
  font-size: 13px;
  font-weight: 600;
}
.status-art-gallery code {
  font-size: 11px;
  color: var(--text-muted);
}
.state-trigger {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--text-secondary);
}
.state-trigger a {
  text-decoration: underline 2px var(--accent);
  text-underline-offset: 0.25em;
}

/* ---- Prototype switcher: sample server response ---- */
.net-mode {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 12px;
}
.net-mode > span {
  margin-right: 6px;
  color: var(--text-secondary);
}
.net-mode .chip {
  min-height: 36px;
  padding: 4px 14px;
  font-size: 12px;
}

@media (max-width: 800px) {
  .bone-rows {
    margin-top: 44px;
  }
  .state-frame-body {
    padding: 20px;
  }
}
@media (max-width: 600px) {
  .notes-toolbar {
    align-items: stretch;
  }
  .list-controls {
    width: 100%;
  }
  .select-field {
    flex: 1;
    justify-content: space-between;
  }
  .select-field select {
    flex: 1;
    min-width: 0;
  }
  .list-status {
    margin-bottom: 20px;
  }
  .pagination {
    margin-top: 44px;
    gap: 2px;
  }
  .pagination-step {
    padding-inline: 8px;
    font-size: 13px;
  }
  .pagination ol a {
    min-width: 40px;
    padding-inline: 6px;
  }
  .bone-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .section-error {
    padding: 40px 16px;
  }
  .section-error h2 {
    font-size: 19px;
  }
  .search-hint > span:first-child {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bone {
    animation: none;
    background: var(--border-soft);
  }
  .spinner {
    animation-duration: 1.4s !important;
  }
}

/* Editorial reading styles. Product cards and the site shell keep their own rules. */
.file-tree-label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
}
.file-tree-label svg {
  flex-shrink: 0;
}
.lightbox-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--text-secondary);
}
.lightbox-tools button {
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 4px;
}
.lightbox-viewport {
  max-height: 65vh;
  overflow: auto;
}
.lightbox-viewport img {
  display: block;
  margin: 0 auto;
  max-height: 65vh;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox-viewport.is-original img {
  max-width: none;
  max-height: none;
  width: revert;
  margin: 0;
}
.article-layout--rich {
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 40px;
}
.article-body {
  min-inline-size: 0;
}
.article-body--rich .article-end {
  max-width: 680px;
  margin-inline: auto;
}
.article-prose {
  /* Reading aids use quiet surfaces; code and attachments use a white frame.
     Serial data uses hairlines. Only quotations keep a side rule. */
  --article-radius: 16px;
  /* The bundled mono face also draws the wordmark label and file type tiles. */
  --font-code: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: keep-all;
}
.article-block,
.article-footnotes {
  width: 100%;
  max-width: 680px;
  min-width: 0;
  margin: 0;
}
.article-prose > .article-block {
  margin-block-start: 24px;
}
.article-prose > .article-block:first-child {
  margin-block-start: 0;
}
.article-block[data-width='wide'] {
  max-width: 900px;
}
.article-block[data-width='full'] {
  max-width: none;
}
.article-prose p {
  margin: 0;
}
.article-prose .article-lead {
  font-size: 21px;
  line-height: 1.75;
}
.article-prose strong {
  font-weight: 650;
}
.article-prose a:not(.button, .article-link-card),
.article-legacy-prose a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--text-muted);
  text-underline-offset: 0.19em;
  text-decoration-thickness: 0.07em;
}
.article-prose a:hover,
.article-legacy-prose a:hover {
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
}
.article-prose :not(pre) > code,
.article-legacy-prose :not(pre) > code {
  font: 0.9em var(--font-code);
  background: var(--surface-soft);
  border-radius: 4px;
  padding: 0.12em 0.28em;
  overflow-wrap: anywhere;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.article-prose :is(kbd, samp) {
  font: 0.9em var(--font-code);
}
.article-prose kbd {
  padding: 0.05em 0.35em;
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 4px;
  background: var(--surface-soft);
  white-space: nowrap;
}
.article-prose var {
  font-family: var(--font-body);
  font-style: italic;
}
.article-prose mark {
  background: var(--butter-surface);
  color: var(--text);
  padding: 0.06em 0.1em;
}
.article-prose ins {
  color: var(--syntax-string);
  text-underline-offset: 0.2em;
}
.article-prose del {
  color: var(--text-secondary);
}
.article-prose :is(abbr, u) {
  text-decoration: underline dotted;
  text-underline-offset: 0.24em;
}
.article-prose :is(sup, sub) {
  font-size: 0.72em;
  line-height: 0;
}
.article-prose ruby {
  ruby-position: over;
}
.article-prose rt {
  font-size: 0.55em;
  letter-spacing: 0.04em;
}
.article-poem {
  white-space: pre-line;
  color: var(--text-secondary);
  line-height: 2;
}
.article-prose :is(h2, h3, h4, h5, h6) {
  margin: 0;
  line-height: 1.4;
  letter-spacing: -0.018em;
  text-wrap: pretty;
}
.article-prose h2 {
  font-size: 28px;
  font-weight: 550;
}
.article-prose h3,
.article-legacy-prose h3 {
  font-size: 22px;
  font-weight: 600;
}
.article-prose h4 {
  font-size: 18px;
  font-weight: 650;
}
.article-prose :is(h5, h6) {
  font-size: 16px;
  font-weight: 650;
}
.article-prose h6 {
  color: var(--text-secondary);
}
.article-prose > .block-heading[data-level='2'] {
  margin-block-start: 64px;
}
.article-prose > .block-heading[data-level='3'] {
  margin-block-start: 40px;
}
.article-prose > .block-heading:is([data-level='4'], [data-level='5'], [data-level='6']) {
  margin-block-start: 30px;
}
.article-prose > .block-heading + .article-block {
  margin-block-start: 16px;
}
.article-prose > .block-heading + .block-heading {
  margin-block-start: 20px;
}
.article-prose
  > :is(
    .block-figure,
    .block-gallery,
    .block-comparison,
    .block-code,
    .block-table,
    .block-diagram,
    .block-chart,
    .block-media,
    .block-map,
    .block-model,
    .block-columns,
    .block-fileTree,
    .block-attachment,
    .block-unsupported,
    .block-demo,
    .block-calculator,
    .block-quiz
  ) {
  margin-block-start: 36px;
}
.article-prose
  > :is(.block-figure, .block-gallery, .block-code, .block-table, .block-chart, .block-media)
  + .block-paragraph {
  margin-block-start: 32px;
}
.article-legacy-prose :is(h3, h4, h5, h6) {
  margin-block: 40px 16px;
}
.article-prose .heading-anchor {
  display: inline-block;
  margin-inline-start: 0.4em;
  padding: 0.1em 0.2em;
  color: var(--text-muted);
  font-size: 0.7em;
  font-weight: 400;
  text-decoration: none;
  opacity: 0;
}
.article-prose :is(h2, h3, h4, h5, h6):hover .heading-anchor,
.article-prose .heading-anchor:focus-visible {
  opacity: 1;
}
.article-prose [id],
.article-legacy-prose [id] {
  scroll-margin-top: 24px;
}
/* Anchor destinations remain visibly focused without turning whole figures into controls. */
.article-prose [tabindex='-1']:focus-visible {
  outline: 0;
  box-shadow: -3px 0 var(--focus);
  border-radius: 0;
}
.article-prose :is(a, button, input, select, summary, [tabindex='0']):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.article-prose hr {
  width: 48px;
  border: 0;
  border-top: 1px solid var(--text-muted);
  margin: 32px auto;
}
.article-nested > .article-block + .article-block {
  margin-block-start: 14px;
}
.article-nested > .block-heading {
  margin-block-start: 24px;
}
.article-nested > .block-heading:first-child {
  margin-block-start: 0;
}
.article-nested > .block-heading + .article-block {
  margin-block-start: 10px;
}
.article-prose :is(ul, ol),
.article-legacy-prose :is(ul, ol) {
  padding-inline-start: 1.45em;
  margin: 0;
}
.article-list > li {
  padding-inline-start: 0.2em;
  margin-block: 6px;
}
.article-list li::marker {
  color: var(--text-muted);
  font-family: var(--font-brand);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
/* Every level uses the same small dot; indentation alone shows depth. */
.article-list.list-unordered {
  list-style: disc;
}
.article-list .article-list {
  margin-block: 6px 0;
  padding-inline-start: 1.25em;
}
.article-list .article-nested > .block-list {
  margin-block-start: 8px;
}
.article-list.list-task {
  list-style: none;
  padding: 0;
}
.article-list.list-task > li {
  display: flex;
  gap: 12px;
  align-items: start;
  padding: 0;
}
.task-status {
  display: grid;
  place-items: center;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  margin-top: 0.4em;
  color: var(--text-secondary);
  border: 1px solid var(--text-muted);
  border-radius: 5px;
}
.task-status.is-complete {
  background: var(--text);
  color: var(--surface);
  border-color: var(--text);
}
.article-definitions {
  margin: 0;
}
.article-definitions > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 24px;
  padding-block: 16px;
  border-block-start: 1px solid var(--border-soft);
}
.article-definitions dt {
  font-weight: 650;
}
.article-definitions dd {
  margin: 0;
}
.article-prose figure,
.article-legacy-prose figure {
  margin: 0;
  min-width: 0;
}
.article-prose figcaption,
.article-legacy-prose figcaption {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 12px;
}
.article-prose .article-quote blockquote {
  border-inline-start: 2px solid var(--text-muted);
  margin: 0;
  padding: 2px 0 2px 22px;
  font-size: inherit;
  line-height: inherit;
}
.article-quote > figcaption {
  margin-inline-start: 24px;
}
.article-prose .quote-pull {
  padding-block: 14px;
  position: relative;
}
.article-prose .quote-pull blockquote {
  border: 0;
  padding: 0;
  font-size: 30px;
  line-height: 1.6;
  letter-spacing: -0.02em;
  font-weight: 400;
  max-width: 600px;
}
.article-prose .quote-pull::before {
  content: '';
  display: block;
  width: 36px;
  height: 4px;
  margin-bottom: 22px;
  border-radius: 2px;
  background: var(--accent);
}
.quote-pull > figcaption {
  margin-inline-start: 0;
}
.article-callout {
  padding: 20px 24px 22px;
  border-radius: var(--article-radius);
  background: var(--art-neutral-light);
  font-size: 17px;
  line-height: 1.7;
}
.callout-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 6px;
}
.callout-kind {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
  color: var(--text-secondary);
}
.callout-title {
  font-weight: 650;
}
.callout-tip {
  background: var(--mint-surface);
}
.callout-warning {
  background: var(--butter-surface);
}
:is(.callout-tip, .callout-success) .callout-kind {
  color: var(--art-forest);
}
.callout-warning .callout-kind {
  color: var(--notice-warning);
}
.callout-danger {
  background: var(--accent-soft);
}
.callout-danger .callout-kind {
  color: var(--notice-danger);
}
.callout-success {
  background: var(--mint-surface);
}
.article-disclosure,
.panels-accordion details {
  border-block: 1px solid var(--border);
}
.article-prose summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding-block: 14px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 550;
  line-height: 1.6;
}
.article-prose summary::-webkit-details-marker {
  display: none;
}
.article-prose summary > svg {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.15s;
}
.article-prose details[open] > summary > svg {
  transform: rotate(180deg);
}
.article-disclosure > .article-nested,
.panels-accordion details > .article-nested {
  padding-block: 4px 22px;
}
.article-steps {
  list-style: none;
  padding: 0 !important;
}
.article-steps > li {
  display: flex;
  position: relative;
  gap: 20px;
  padding-block: 0 28px;
}
.article-steps > li:last-child {
  padding-bottom: 0;
}
.step-number {
  flex: 0 0 34px;
  font: 600 22px/1.4 var(--font-brand);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.article-steps > li > div {
  min-width: 0;
}
.article-steps h4 {
  margin-bottom: 8px;
}
.article-panels [role='tablist'] {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  scrollbar-width: thin;
}
.article-panels [role='tab'] {
  appearance: none;
  flex-shrink: 0;
  color: var(--text-secondary);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 12px 2px;
  font: 500 16px/1.6 var(--font-body);
  cursor: pointer;
  min-height: 48px;
}
.article-panels [role='tab'][aria-selected='true'] {
  color: var(--text);
  border-bottom-color: var(--accent);
  font-weight: 650;
}
.article-panel {
  padding-block: 22px 4px;
}
.panels-accordion details + details {
  border-top: 0;
}
.panels-code {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--article-radius);
  overflow: hidden;
}
.panels-code [role='tablist'] {
  padding-inline: 20px;
  border-bottom-color: var(--border-soft);
}
.panels-code [role='tab'] {
  font-size: 15px;
}
.panels-code .article-panel {
  padding: 0;
}
.panels-code .article-code-header {
  border-bottom: 0;
  margin-bottom: -12px;
}
.panels-code .code-frame {
  border: 0;
  border-radius: 0;
}
.panels-code .code-title {
  display: none;
}
.article-figure .figure-image {
  position: relative;
}
.article-figure img,
.article-legacy-prose img {
  display: block;
  max-inline-size: 100%;
  block-size: auto;
  border-radius: var(--article-radius);
}
.article-figure picture {
  display: block;
}
.figure-framed .figure-image {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--article-radius);
}
.figure-credit {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 13px;
}
.figure-zoom {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: var(--article-radius);
  background: transparent;
  opacity: 0;
  cursor: zoom-in;
}
.figure-zoom span {
  display: none;
}
/* The whole image opens the larger view; the button only shows its focus ring. */
.figure-zoom:focus-visible {
  opacity: 1;
}
.figure-zoom > * {
  display: none;
}
.article-lightbox {
  max-width: min(1200px, calc(100vw - 32px));
  width: fit-content;
}
.article-lightbox img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 70vh;
  height: auto;
  object-fit: contain;
}
.article-lightbox p {
  margin-block: 16px;
  font-size: 15px;
}
.article-media-fallback {
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 24px;
  color: var(--text-secondary);
  font-size: 16px;
  text-align: center;
  background: var(--surface-soft);
  border: 1px dashed var(--border);
  border-radius: 10px;
}
.article-media-fallback small {
  font-size: 15px;
}
.gallery-grid .gallery-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.gallery-rows .gallery-items {
  display: flex;
  gap: 20px;
  align-items: start;
}
.gallery-rows .article-figure {
  flex: var(--image-ratio, 1) 1 0;
  min-width: 0;
}
.gallery-rows .figure-image img {
  width: 100%;
}
.gallery-stack .gallery-items {
  display: grid;
  gap: 28px;
}
.gallery-carousel .gallery-items {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery-carousel .gallery-items::-webkit-scrollbar {
  display: none;
}
.gallery-carousel .article-figure {
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.gallery-carousel .figure-image {
  aspect-ratio: 3/2;
  max-height: 540px;
}
.gallery-carousel picture {
  height: 100%;
}
.gallery-carousel .figure-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-carousel .figure-photo .figure-image img {
  object-fit: cover;
}
.gallery-navigation {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  font: 500 14px var(--font-brand);
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
}
.gallery-navigation button {
  border: 1px solid var(--border);
  border-radius: 50%;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
}
.gallery-navigation button:disabled {
  opacity: 0.4;
  cursor: default;
}
.comparison-images {
  position: relative;
  border-radius: var(--article-radius);
  overflow: hidden;
}
.comparison-slider .comparison-images {
  touch-action: pan-y;
  cursor: ew-resize;
}
.comparison-images img {
  width: 100%;
  height: auto;
  display: block;
}
.comparison-images > div > span {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--surface);
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
}
.comparison-slider .comparison-images > div:nth-child(2) {
  position: absolute;
  inset: 0;
}
.comparison-slider .comparison-images > div:nth-child(2) > span {
  left: auto;
  right: 14px;
}
.comparison-divider {
  position: absolute;
  inset-block: 0;
  width: 2px;
  background: var(--surface);
  pointer-events: none;
}
.comparison-divider > span {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50% !important;
  padding: 0 !important;
  box-shadow: 0 2px 12px var(--shadow);
}
.comparison-side-by-side .comparison-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.comparison-side-by-side .comparison-images > div {
  position: relative;
}
.comparison-drag {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.article-range {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 15px;
  margin-top: 14px;
  line-height: 1.6;
}
.article-range input {
  min-width: 100px;
  flex: 1;
}
.article-range output {
  min-width: 3em;
  text-align: end;
  font: 500 14px var(--font-brand);
  font-variant-numeric: tabular-nums;
}
.article-prose input[type='range'] {
  accent-color: var(--text);
  height: 36px;
}
.article-code .code-title {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}
.code-frame {
  border: 1px solid var(--border);
  border-radius: var(--article-radius);
  overflow: hidden;
  background: var(--surface);
}
.article-code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding-inline: 20px 6px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}
.code-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.code-language {
  flex-shrink: 0;
  color: var(--text-muted);
  font: 13px var(--font-code);
}
.code-filename {
  overflow-wrap: anywhere;
}
.article-code-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 2px;
}
.article-code-actions button {
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  min-height: 40px;
  color: var(--text-secondary);
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.article-code-actions button[aria-pressed='true'],
.article-code-actions button:hover {
  background: var(--surface-soft);
  color: var(--text);
}
/* The copy label stays as the accessible name; only the icon shows. */
.article-code-actions .copy-button {
  min-width: 40px;
  padding: 8px;
  font-size: 0;
  gap: 0;
}
.article-code-actions {
  opacity: 0;
  transition: opacity 0.15s;
}
.code-frame:is(:hover, :focus-within) .article-code-actions {
  opacity: 1;
}
@media (hover: none) {
  .article-code-actions {
    opacity: 1;
  }
}
.article-code pre {
  font: 15px/1.75 var(--font-code);
  letter-spacing: 0;
  white-space: pre;
  margin: 0;
  overflow: auto;
  padding: 16px 0 18px;
  tab-size: 2;
  scrollbar-width: thin;
}
.article-code code {
  font: inherit;
}
.article-code pre.code-wrap {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.code-line {
  display: flex;
  align-items: baseline;
  width: max-content;
  min-width: 100%;
  padding-inline: 20px;
}
.code-line[hidden] {
  display: none;
}
.code-wrap .code-line {
  width: 100%;
}
.line-source {
  min-width: 0;
  flex: 1;
}
.line-number {
  width: 2.5ch;
  flex: 0 0 2.5ch;
  margin-inline-end: 0;
  font-size: 13px;
  text-align: end;
  color: var(--text-muted);
  user-select: none;
}
.code-gutter {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  position: sticky;
  inset-inline-start: -1px;
  margin-inline-end: 16px;
  padding-inline-end: 5px;
  background: var(--surface);
}
.line-highlighted .code-gutter {
  background: var(--butter-surface);
}
.line-added .code-gutter {
  background: var(--mint-surface);
}
.line-removed .code-gutter {
  background: var(--accent-soft);
}
.line-highlighted {
  background: var(--butter-surface);
}
.line-added {
  background: var(--mint-surface);
}
.line-removed {
  background: var(--accent-soft);
}
.article-prose a.code-annotation-link,
.article-prose .code-annotations > li > a {
  display: inline-grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-inline-start: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--art-neutral-light);
  color: var(--text-secondary);
  text-decoration: none;
  font: 600 14px var(--font-brand);
}
.article-prose a.code-annotation-link {
  margin-inline-start: 16px;
}
.code-expand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  border-top: 1px solid var(--border-soft);
  background: transparent;
  color: var(--text-secondary);
  font: 15px var(--font-body);
  cursor: pointer;
}
/* Every visible row stays readable; the footer describes the hidden content. */
.code-collapsed pre {
  mask-image: none;
}
.code-expand[aria-expanded='true'] svg {
  transform: rotate(180deg);
}
.article-prose .code-annotations {
  list-style: none;
  padding: 12px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}
.code-annotations > li {
  display: flex;
  gap: 12px;
  align-items: start;
  margin-top: 10px;
}
.code-annotations > li:first-child {
  margin-top: 0;
}
.article-prose .code-annotations > li > a {
  margin: 1px 0 0;
}
.annotation-line-label {
  display: inline-block;
  margin-inline-start: 8px;
  font: 13px var(--font-code);
  color: var(--text-muted);
  white-space: nowrap;
}
.article-file-tree {
  border: 1px solid var(--border);
  border-radius: var(--article-radius);
  overflow: hidden;
}
.article-file-tree > figcaption {
  margin: 0;
  padding: 11px 20px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.article-file-tree ul {
  list-style: none;
  padding: 0;
}
.article-file-tree > ul {
  padding: 12px 20px 14px;
}
.article-file-tree li {
  line-height: 2.1;
  font-size: 15px;
}
.article-file-tree li > svg {
  color: var(--text-muted);
  margin-inline-end: 10px;
  vertical-align: -0.1em;
}
.article-file-tree li > ul {
  margin-inline-start: 7px;
  padding-inline-start: 23px;
  border-inline-start: 1px solid var(--border);
}
/* Files have no icon; they line up under the folder name. */
.file-tree-label:not(.file-tree-folder) {
  padding-inline-start: 22px;
}
.file-tree-folder code {
  font-weight: 600;
}
.article-prose .article-file-tree code {
  padding: 0;
  border: 0;
  font-size: 15px;
  background: transparent;
}
.article-equation {
  position: relative;
  padding-block: 12px;
}
.article-equation > div {
  overflow-x: auto;
  padding: 16px 36px;
}
.article-equation .katex-display {
  margin: 0;
}
.article-math {
  font-size: 1em;
}
.equation-number {
  position: absolute;
  inset-inline-end: 0;
  top: 28px;
  font: 500 15px var(--font-brand);
  color: var(--text-muted);
}
.article-equation figcaption {
  max-width: 540px;
}
.article-data-table {
  container-type: inline-size;
}
.article-table-scroll {
  overflow: auto;
  max-width: 100%;
  border-bottom: 1px solid var(--border);
  scrollbar-width: thin;
}
.article-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.65;
}
.article-prose caption {
  text-align: start;
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
  padding: 0 0 12px;
}
.article-prose :is(th, td) {
  text-align: start;
  padding: 13px 12px;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
  word-break: keep-all;
  /* Preserve word widths when the table allocates its columns. */
  overflow-wrap: normal;
}
.article-prose :is(th, td):first-child {
  padding-inline-start: 0;
}
.article-prose :is(th, td):last-child {
  padding-inline-end: 0;
}
.article-prose thead {
  background: var(--surface);
}
.article-prose thead th {
  border-bottom-color: var(--border);
  font-weight: 650;
  color: var(--text-secondary);
  font-size: 15px;
}
.article-prose tbody th {
  font-weight: 550;
}
.article-prose tbody tr:last-child > * {
  border-bottom: 0;
}
.article-prose .align-end {
  text-align: end;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.article-prose .align-center {
  text-align: center;
}
.article-table-scroll.is-wide {
  overflow-y: visible;
}
.article-table-scroll.is-wide table {
  min-width: 820px;
}
.article-table-scroll.is-wide :is(th, td):first-child {
  position: sticky;
  left: 0;
  background: var(--surface);
}
.article-table-scroll.is-wide caption {
  position: sticky;
  left: 0;
  width: 100cqi;
  max-width: 100cqi;
}
.table-compact :is(th, td) {
  padding-block: 11px;
  font-size: 15px;
}
.article-table-scroll.is-wide thead {
  position: sticky;
  top: 0;
  z-index: 1;
  box-shadow: 0 1px var(--border);
}
.table-tools {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 15px;
}
.table-tools label {
  display: grid;
  gap: 8px;
  width: min(360px, 75%);
}
.table-tools input,
.article-widget input[type='number'],
.chart-controls select {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  min-height: 44px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  min-width: 0;
}
.table-tools input {
  width: 100%;
  font-size: 16px;
  border-color: transparent;
  border-radius: 22px;
  padding-inline: 18px;
  background: var(--surface-soft);
}
.table-tools [role='status'] {
  padding-bottom: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}
.article-prose .table-scroll-hint {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.article-data-table th button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0;
  border: 0;
  min-height: 32px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: start;
}
/* Sorting remains discoverable before a pointer or keyboard interaction. */
.article-data-table th[aria-sort='none'] button > span {
  color: var(--text-muted);
  opacity: 1;
}
.article-data-table th[aria-sort='none'] button:is(:hover, :focus-visible) > span {
  opacity: 1;
}
.table-more {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font: 15px var(--font-body);
  cursor: pointer;
}
.table-more[aria-expanded='true'] svg {
  transform: rotate(180deg);
}
.table-empty {
  padding: 24px;
  font-size: 15px;
  color: var(--text-secondary);
  text-align: center;
}
.article-diagram {
  padding: 0;
}
.diagram-scroll {
  overflow: auto;
}
.diagram-scroll svg {
  display: block;
  width: 100%;
  min-width: 0;
}
.article-diagram rect {
  fill: var(--art-blue);
  stroke: none;
}
.article-diagram g:nth-of-type(3n + 2) rect {
  fill: var(--art-mint);
}
.article-diagram g:nth-of-type(3n) rect {
  fill: var(--art-lavender);
}
.article-diagram text {
  fill: var(--text);
  font: 15px var(--font-body);
}
.article-diagram path {
  fill: none;
  stroke: var(--text);
  stroke-width: 1.5;
}
.article-diagram path.diagram-arrow {
  fill: var(--text);
  stroke: none;
}
.article-diagram .diagram-lifeline {
  stroke-dasharray: 4 5;
  stroke: var(--border);
}
.article-chart {
  padding-block: 4px;
}
.chart-heading {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.chart-heading > strong {
  font-size: 17px;
  font-weight: 600;
}
.chart-heading > span {
  font-size: 15px;
  color: var(--text-muted);
}
.article-chart > svg {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  overflow: visible;
}
.article-chart svg text {
  font: 15px var(--font-body);
  fill: var(--text-secondary);
}
.chart-grid {
  fill: none;
  stroke: var(--border-soft);
}
.chart-series-primary {
  fill: var(--chart-primary);
  stroke: var(--chart-primary);
}
.chart-series-secondary {
  fill: var(--chart-secondary);
  stroke: var(--chart-secondary-stroke);
  stroke-width: 1.5;
}
.chart-dot {
  fill: var(--chart-primary);
}
.chart-line {
  stroke: var(--chart-primary);
  stroke-width: 2.5;
  fill: none;
}
.chart-legend {
  display: flex;
  gap: 20px;
  margin-top: 18px;
  font-size: 15px;
  color: var(--text-secondary);
}
.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.chart-legend span::before {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--chart-primary);
  border-radius: 2px;
}
.chart-legend .legend-secondary::before {
  background: var(--chart-secondary);
  border: 1px solid var(--chart-secondary-stroke);
}
.article-chart svg .chart-value {
  fill: var(--text);
  font-size: 13px;
  font-weight: 600;
}
.chart-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 20px;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 15px;
}
.chart-controls label {
  display: flex;
  gap: 10px;
  align-items: center;
  white-space: nowrap;
}
.chart-controls select {
  min-width: 110px;
  font-size: 15px;
  border-radius: 22px;
  padding-inline: 16px 12px;
}
.chart-controls [role='group'] {
  display: flex;
  gap: 6px;
}
.chart-controls button,
.map-places button {
  min-height: 40px;
  padding: 8px 16px;
  font: inherit;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 22px;
  color: var(--text-secondary);
  cursor: pointer;
}
.chart-controls button[aria-pressed='true'] {
  background: var(--ink);
  color: var(--on-ink);
  border-color: var(--ink);
}
.chart-data {
  border-top: 1px solid var(--border-soft);
  margin-top: 18px;
  font-size: 15px;
}
.chart-data summary {
  padding-block: 12px 0;
}
.chart-data[open] summary {
  padding-bottom: 12px;
}
.article-margin-pair {
  position: relative;
}
.article-sidenote {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
}
.margin-prose + .article-sidenote {
  margin-top: 20px;
}
.article-sidenote .eyebrow {
  color: var(--text-muted);
  font-size: 13px;
}
.article-sidenote h4::before {
  content: '※ ';
  color: var(--text-muted);
  font-weight: 400;
}
.article-sidenote h4 {
  margin-block: 6px 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}
.article-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}
.article-columns > div + div {
  border-inline-start: 1px solid var(--border);
  padding-inline-start: 30px;
}
.article-columns h4 {
  margin-bottom: 12px;
}
.article-timeline {
  list-style: none;
  padding: 0 !important;
}
.article-timeline li {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  gap: 24px;
  padding-block: 20px;
  border-block-start: 1px solid var(--border-soft);
}
.article-timeline time {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 2;
  font-variant-numeric: tabular-nums;
}
.article-timeline h4 {
  margin-bottom: 8px;
}
.media-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 600;
}
.media-title small {
  margin-inline-start: auto;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
}
.article-media :is(video, audio) {
  display: block;
  width: 100%;
  max-width: 100%;
}
.article-media video {
  height: auto;
  border-radius: var(--article-radius);
  background: var(--surface-soft);
}
.media-audio {
  padding: 0;
}
.audio-player {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 22px 10px 10px;
  border: 1px solid var(--border);
  border-radius: 34px;
}
.audio-player audio {
  display: none;
}
.audio-toggle {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-ink);
  cursor: pointer;
}
.audio-toggle:hover {
  background: var(--ink-hover);
}
.audio-player input[type='range'] {
  flex: 1;
  min-width: 0;
}
.audio-time {
  flex-shrink: 0;
  font: 500 14px var(--font-brand);
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
}
.audio-options,
.audio-options > div,
.audio-options label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.audio-options {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 6px;
  color: var(--text-secondary);
  font-size: 14px;
}
.audio-options button,
.audio-options select,
.media-retry {
  min-height: 44px;
  padding: 6px 8px;
  border: 0;
  border-radius: 6px;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.audio-options select {
  background: var(--surface);
  border: 1px solid var(--border-soft);
}
.audio-options label {
  white-space: nowrap;
}
.audio-options select {
  width: auto;
  flex: 0 0 auto;
}
.audio-options button:hover,
.media-retry:hover {
  background: var(--surface-soft);
}
.audio-options button:disabled,
.audio-toggle:disabled {
  opacity: 0.45;
  cursor: default;
}
.article-prose .audio-feedback {
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}
.audio-feedback:empty {
  display: none;
}
.media-retry {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.media-transcript {
  margin-top: 12px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 15px;
}
.media-transcript ol {
  list-style: none;
  padding: 0;
}
.media-transcript li {
  display: flex;
  align-items: start;
  gap: 16px;
  padding-block: 8px;
}
.media-transcript li button {
  flex-shrink: 0;
  min-height: 36px;
  min-width: 54px;
  font: 13px var(--font-code);
  padding: 6px 8px;
  border: 0;
  border-radius: 4px;
  background: var(--surface-soft);
  color: var(--text-secondary);
  cursor: pointer;
}
.media-transcript li span {
  padding-top: 4px;
}
.media-transcript li[data-current='true'] {
  color: var(--text);
  font-weight: 600;
}
.article-embed {
  border-block: 1px solid var(--border);
}
.article-prose > .block-embed + .block-embed {
  margin-block-start: 0;
}
.article-prose > .block-embed + .block-embed > .article-embed {
  border-top: 0;
}
.article-embed > img {
  width: 100%;
  margin-top: 22px;
  aspect-ratio: 16/7;
  object-fit: cover;
  display: block;
  border-radius: var(--article-radius);
}
.article-embed > div {
  padding: 20px 0 6px;
}
.article-embed h4 {
  margin-block: 8px 10px;
  font-size: 17px;
  font-weight: 600;
}
.article-embed p {
  font-size: 16px;
  color: var(--text-secondary);
}
.article-embed .text-link {
  margin-top: 14px;
  font-size: 15px;
}
.article-embed figcaption {
  padding: 0 0 20px;
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}
.article-demo {
  border: 1px solid var(--border);
  border-radius: var(--article-radius);
  overflow: hidden;
}
.demo-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 12px 12px 22px;
  font-size: 17px;
  font-weight: 600;
}
.demo-heading button {
  border: 0;
  border-radius: 24px;
  background: var(--surface-soft);
  min-height: 44px;
  font-size: 15px;
}
.article-demo iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}
.demo-preview {
  display: flex;
  gap: 16px;
  padding: 8px 22px 24px;
}
.demo-preview span {
  flex: 1;
  padding: 22px 8px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  font-size: 15px;
}
.article-demo figcaption {
  padding: 0 20px 18px;
}
.article-attachment {
  padding-inline: 20px;
  border: 1px solid var(--border);
  border-radius: var(--article-radius);
}
.article-attachment > a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0 4px;
  text-decoration: none !important;
}
.article-attachment > a:hover strong {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.article-attachment > a > span {
  flex: 1;
  min-width: 0;
}
.article-attachment > a > svg {
  flex-shrink: 0;
  color: var(--text);
}
.article-prose > .block-attachment + .block-attachment {
  margin-block-start: 0;
}
.article-prose > .block-attachment + .block-attachment > .article-attachment {
  border-top: 0;
  border-start-start-radius: 0;
  border-start-end-radius: 0;
}
.article-prose > .block-attachment:has(+ .block-attachment) > .article-attachment {
  border-bottom-color: var(--border-soft);
  border-end-start-radius: 0;
  border-end-end-radius: 0;
}
.pixel-file {
  flex-shrink: 0;
}
.article-attachment strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
}
.article-attachment small {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  color: var(--text-muted);
}
.article-attachment figcaption {
  padding: 0 0 16px 64px;
  margin: 0;
  font-size: 14px;
}
.article-link-card {
  display: flex;
  align-items: center;
  gap: 22px;
  border-block: 1px solid var(--border);
  padding: 22px 0;
  color: var(--text);
  text-decoration: none;
}
.article-prose > .block-card + .block-card {
  margin-block-start: 0;
}
.article-prose > .block-card + .block-card > .article-link-card:not(.card-product) {
  border-top: 0;
}
.article-link-card:hover strong {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.article-link-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 12px;
}
.article-link-card > div {
  flex: 1;
  min-width: 0;
}
.article-link-card .eyebrow {
  font-size: 13px;
  color: var(--text-muted);
}
.article-link-card strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  margin-block: 4px 6px;
}
.article-link-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.article-link-card > svg {
  flex-shrink: 0;
  color: var(--accent);
}
.card-product {
  background: var(--mint-surface);
  padding: 22px 24px;
  border: 0;
  border-radius: var(--article-radius);
}
.article-prose > .block-card + .block-card:has(.card-product) {
  margin-block-start: 24px;
}
.article-excerpt {
  padding: 2px 0 2px 22px;
  border-inline-start: 2px solid var(--text-muted);
}
.excerpt-origin {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}
.article-excerpt > a:last-child {
  display: inline-block;
  font-size: 15px;
  margin-top: 14px;
}
.article-widget {
  border: 1px solid var(--border);
  border-radius: var(--article-radius);
  padding: 26px;
  background: var(--surface);
}
.calculator {
  background: var(--surface);
}
.calculator .eyebrow {
  font-size: 13px;
  color: var(--text-muted);
}
.calculator h4 {
  margin-block: 8px 24px;
  font-size: 17px;
  font-weight: 600;
}
.calculator > label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  align-items: center;
  margin-block: 20px;
  font-size: 16px;
}
.calculator input[type='range'] {
  grid-row: 2;
  grid-column: 1 / -1;
  width: 100%;
}
.calculator input[type='number'] {
  width: 92px;
  grid-column: 2;
  grid-row: 1;
  font-variant-numeric: tabular-nums;
}
.calculator > label > span {
  grid-column: 2;
  grid-row: 1;
  font: 15px var(--font-code);
}
.calculator > output {
  display: block;
  margin-top: 24px;
  padding: 20px;
  background: var(--surface-soft);
  border-radius: 12px;
  font-size: 16px;
}
.calculator output strong {
  font: 600 38px var(--font-brand);
  letter-spacing: -0.03em;
  margin-inline-end: 8px;
}
.calculator p {
  margin-top: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}
.calculator > button {
  font-size: 15px;
  text-decoration: underline;
  padding-inline: 0;
  margin-top: 6px;
  min-height: 44px;
}
.article-quiz fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 20px;
  min-width: 0;
}
.article-quiz legend {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 16px;
}
.article-quiz label {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-height: 52px;
  padding: 13px 16px;
  margin-top: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--surface-soft);
  font-size: 16px;
  cursor: pointer;
  line-height: 1.55;
}
.article-quiz label:has(input:checked) {
  border-color: var(--text);
}
.article-quiz input {
  accent-color: var(--text);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 0;
  vertical-align: middle;
}
.article-quiz .button {
  min-height: 44px;
  padding-inline: 22px;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-ink);
  border-radius: 24px;
  font-size: 15px;
}
.article-quiz small {
  display: block;
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 14px;
}
.article-quiz [role='status'] {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  font-size: 16px;
}
.article-map svg {
  display: block;
  width: 100%;
}
.map-land {
  fill: var(--art-neutral-deep);
  stroke: var(--surface);
  stroke-width: 0.5;
}
.map-graticule {
  fill: none;
  stroke: var(--border-soft);
  stroke-width: 0.6;
}
.map-pin circle {
  fill: var(--surface);
  stroke: var(--text-muted);
  stroke-width: 1.5;
}
.map-pin text {
  fill: var(--text);
  font: 13px var(--font-body);
}
.map-pin.selected circle {
  fill: var(--art-forest);
  stroke: var(--surface);
  stroke-width: 2;
}
.map-pin.selected text:first-of-type {
  fill: var(--surface);
}
.map-places {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  font-size: 15px;
}
.map-places button {
  border-color: var(--border);
  min-height: 44px;
}
.map-places button[aria-pressed='true'] {
  background: var(--text);
  color: var(--surface);
  border-color: var(--text);
}
.map-credit {
  display: block;
  margin-top: 8px;
  font-size: 13px;
}
.model-stage {
  position: relative;
  height: 400px;
  background: var(--surface-soft);
  border-radius: var(--article-radius);
  overflow: hidden;
}
.model-stage model-viewer {
  display: block;
  width: 100%;
  height: 100%;
  --poster-color: transparent;
}
.model-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.model-launch {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 0;
  border-radius: 24px;
  box-shadow: 0 2px 10px var(--shadow);
  min-height: 44px;
  white-space: nowrap;
}
.model-status {
  position: absolute;
  inset: auto 16px 16px;
  padding: 12px;
  background: var(--surface);
  font-size: 15px;
  text-align: center;
}
.model-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.model-tools .article-range {
  flex: 1;
  min-width: 220px;
}
.model-tools button {
  min-height: 44px;
  margin-top: 14px;
  font-size: 15px;
}
.article-motion video {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--article-radius);
  background: var(--surface-soft);
}
.article-motion > button {
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-top: 14px;
  min-height: 44px;
  font-size: 15px;
}
.article-unsupported {
  padding: 18px 20px 6px;
  border: 1px solid var(--border);
  border-radius: var(--article-radius);
  font-size: 16px;
}
.article-unsupported > p {
  color: var(--text-secondary);
  margin-top: 8px;
  font-size: 15px;
}
.article-unsupported details {
  margin-top: 10px;
}
.article-unsupported pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 15px/1.75 var(--font-code);
  padding-block: 4px 12px;
  margin: 0;
}
.article-references {
  font-size: 15px;
  line-height: 1.75;
}
.article-references h3 {
  font-size: 20px;
  margin-bottom: 18px;
}
.article-references li {
  margin-block: 14px;
  padding-inline-start: 6px;
}
.article-prose .article-note-ref a {
  padding-inline: 4px;
  text-decoration: none;
  font: 500 13px var(--font-brand);
  color: var(--text-secondary);
}
.article-prose .article-note-ref a[aria-expanded='true'] {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-note-preview {
  position: fixed;
  inset: auto;
  margin: 0;
  padding: 12px 20px 18px;
  box-sizing: border-box;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 6px 24px var(--shadow);
  font: 15px/1.75 var(--font-body);
  overscroll-behavior: contain;
}
.article-note-preview > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.article-note-preview > header strong {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
}
.article-note-preview > header button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-inline-end: -10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
}
.article-note-preview > header button:hover {
  background: var(--surface-soft);
}
.article-note-preview .article-block {
  margin-block: 0 12px;
}
.article-note-preview p {
  font-size: inherit;
}
.article-note-preview .note-preview-endnote {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 36px;
  color: var(--text-secondary);
  font-size: 14px;
}
.article-citation {
  font-size: 0.9em;
}
.article-footnotes {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  margin-top: 40px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}
.article-footnotes h2 {
  font-size: 20px;
  margin: 0 0 20px;
  color: var(--text);
}
.article-footnotes li {
  padding-inline-start: 8px;
  margin-bottom: 20px;
}
.article-footnotes .article-block {
  font-size: inherit;
}
.footnote-backlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font: 500 14px var(--font-brand);
  margin-top: 8px;
}
.article-toc--desktop {
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  padding-inline-end: 10px;
  scrollbar-width: thin;
}
.article-toc .toc-list,
.article-toc-mobile .toc-list,
.toc-children {
  list-style: none;
  padding: 0;
  margin: 0;
}
.article-toc--desktop .toc-list > li {
  margin-bottom: 6px;
}
.article-toc--desktop a {
  display: block;
  font-size: 13px;
  line-height: 1.65;
  padding-block: 7px;
  text-decoration: none;
}
.article-toc a[aria-current='location'],
.article-toc-mobile a[aria-current='location'] {
  color: var(--text);
  font-weight: 650;
}
.article-toc a[aria-current='location'] {
  box-shadow: -2px 0 var(--text);
  padding-inline-start: 10px;
}
.article-toc--desktop .toc-children {
  display: none;
  border-inline-start: 1px solid var(--border-soft);
  padding-inline-start: 12px;
  margin-block: 4px 10px;
}
.article-toc--desktop [data-current-group='true'] .toc-children,
.article-toc--desktop li:focus-within .toc-children {
  display: block;
}
.article-toc--desktop .toc-subsection {
  font-size: 13px;
}
.article-toc-mobile,
.print-only {
  display: none;
}
@media (min-width: 1440px) {
  .margin-prose + .article-sidenote {
    position: absolute;
    top: 0;
    inset-inline-start: calc(100% + 24px);
    width: 170px;
    margin-top: 0;
  }
}
@media (max-width: 1100px) {
  .article-layout,
  .article-layout--rich {
    display: block;
  }
  .article-toc--desktop {
    display: none;
  }
  .article-toc-mobile {
    display: block;
    border-block: 1px solid var(--border);
    margin: 0 auto 36px;
    max-width: 680px;
    font-size: 15px;
  }
  .article-toc-mobile summary {
    display: flex;
    gap: 12px;
    align-items: center;
    min-height: 58px;
    padding: 16px 0;
    cursor: pointer;
    list-style: none;
    font-weight: 550;
  }
  .article-toc-mobile summary::-webkit-details-marker {
    display: none;
  }
  .article-toc-mobile summary > span {
    color: var(--text-muted);
    font-size: 13px;
  }
  .article-toc-mobile summary > svg {
    margin-inline-start: auto;
  }
  .article-toc-mobile[open] summary > svg {
    transform: rotate(180deg);
  }
  .article-toc-mobile nav {
    padding: 4px 0 18px;
    max-height: 55vh;
    overflow: auto;
  }
  .article-toc-mobile nav a {
    display: block;
    padding: 11px 4px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
  }
  .article-toc-mobile .toc-children {
    padding-inline-start: 18px;
    border-inline-start: 1px solid var(--border);
    margin-inline-start: 4px;
    margin-bottom: 8px;
  }
  .article-toc-mobile .toc-subsection {
    font-size: 15px;
  }
  .article-legacy-prose {
    max-width: 680px;
    margin-inline: auto;
  }
}
@media (max-width: 600px) {
  .article-prose .article-lead {
    font-size: 19px;
    line-height: 1.75;
  }
  .article-prose h2 {
    font-size: 25px;
  }
  .article-prose h3 {
    font-size: 21px;
  }
  .article-prose > .article-block {
    margin-block-start: 22px;
  }
  .article-prose > .block-heading[data-level='2'] {
    margin-block-start: 52px;
  }
  .article-prose > .block-heading[data-level='3'] {
    margin-block-start: 36px;
  }
  .article-prose > .block-heading + .article-block {
    margin-block-start: 14px;
  }
  .article-prose
    > :is(.block-figure, .block-gallery, .block-code, .block-table, .block-chart, .block-media) {
    margin-block-start: 30px;
  }
  .article-definitions > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .article-callout {
    padding: 16px 18px;
    font-size: 16px;
  }
  .article-prose .quote-pull blockquote {
    font-size: 25px;
  }
  .article-steps > li {
    gap: 14px;
  }
  .article-prose figcaption {
    font-size: 15px;
  }
  .figure-credit {
    font-size: 13px;
  }
  .figure-framed .figure-image {
    padding: 10px;
  }
  .figure-zoom {
    right: 8px;
    bottom: 8px;
    min-width: 44px;
    padding: 10px;
  }
  .figure-zoom span {
    display: none;
  }
  .gallery-grid .gallery-items {
    gap: 16px;
  }
  .gallery-rows .gallery-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .gallery-rows .figure-photo img {
    max-height: 520px;
    width: auto;
    max-width: 100%;
  }
  .gallery-carousel .figure-image {
    aspect-ratio: 4/3;
  }
  .comparison-side-by-side .comparison-images {
    gap: 10px;
  }
  .comparison-images > div > span {
    font-size: 13px;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
  }
  .comparison-slider .comparison-images > div:nth-child(2) > span {
    right: 8px;
  }
  .article-code-header {
    flex-wrap: wrap;
    gap: 4px 8px;
  }
  .code-identity {
    flex-basis: auto;
    gap: 10px;
    min-height: 28px;
  }
  .has-long-filename .code-identity {
    flex-basis: 100%;
  }
  .article-code-actions {
    margin-inline-start: auto;
    opacity: 1;
  }
  .article-code-actions button {
    min-height: 40px;
  }
  .article-code pre {
    font-size: 15px;
    padding-block: 16px;
  }
  .code-line {
    padding-inline: 14px;
  }
  .line-number {
    margin-inline-end: 0;
  }
  .article-prose .code-annotations {
    font-size: 15px;
  }
  .article-file-tree li > ul {
    padding-inline-start: 16px;
  }
  .article-diagram {
    padding: 16px;
  }
  .article-chart {
    padding-block: 20px;
  }
  .chart-controls {
    font-size: 15px;
  }
  .chart-controls button {
    min-height: 44px;
  }
  .article-prose table {
    font-size: 15px;
  }
  .article-prose :is(th, td) {
    padding: 11px 9px;
  }
  .article-equation > div {
    padding-inline: 8px 32px;
  }
  .article-equation .katex {
    font-size: 1em;
  }
  .article-columns {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .article-columns > div + div {
    border-inline-start: 0;
    padding-inline-start: 0;
    padding-block-start: 22px;
    border-block-start: 1px solid var(--border);
  }
  .article-timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .media-transcript li {
    gap: 12px;
  }
  .article-link-card {
    gap: 14px;
  }
  .article-link-card img {
    width: 78px;
    height: 92px;
  }
  .article-link-card p {
    font-size: 15px;
  }
  .article-widget {
    padding: 20px;
  }
  .calculator > label {
    font-size: 15px;
  }
  .calculator > output {
    padding: 18px;
  }
  .article-quiz label {
    font-size: 15px;
    padding: 12px;
  }
  .model-stage {
    height: 340px;
  }
  .demo-preview {
    padding-inline: 12px;
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .article-prose * {
    scroll-behavior: auto;
    transition: none;
  }
}
@media (max-width: 360px) {
  .table-tools {
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
  }
  .table-tools label {
    width: 100%;
  }
  .table-tools [role='status'] {
    padding-bottom: 0;
    font-size: 14px;
  }
}

@media print {
  .article-note-preview {
    display: none !important;
  }
  .article-prose {
    display: block;
  }
  .article-block,
  .article-footnotes {
    max-width: none;
  }
  .article-toc--desktop,
  .article-toc-mobile,
  .article-prose button,
  .article-range,
  .table-tools,
  .chart-controls,
  .map-places,
  .article-prose [role='tablist'],
  .prototype-switcher,
  .heading-anchor,
  .comparison-drag {
    display: none !important;
  }
  .article-prose [hidden],
  .print-only {
    display: block !important;
  }
  .article-prose .code-line[hidden] {
    display: flex !important;
  }
  .article-table-scroll,
  .article-table-scroll.is-wide {
    max-height: none;
    overflow: visible;
  }
  .article-prose table,
  .article-table-scroll.is-wide table {
    min-width: 0;
    font-size: 10px;
  }
  .article-code pre {
    white-space: pre-wrap;
    font-size: 11px;
  }
  .code-line {
    width: 100%;
  }
  .gallery-carousel .gallery-items,
  .article-columns,
  .gallery-rows .gallery-items {
    display: block;
  }
  .comparison-slider .comparison-images {
    display: flex;
  }
  .comparison-slider .comparison-images > div:nth-child(2) {
    position: static;
    clip-path: none !important;
  }
  .comparison-images > div {
    width: 50%;
  }
  .comparison-divider {
    display: none;
  }
  .article-margin-pair .article-sidenote {
    position: static;
    width: auto;
    margin-top: 16px;
  }
  .article-block {
    break-inside: avoid;
  }
}
