/* Editorial system, 18 October 2026.
 * Scope: the journal, category/search archives and article reader only.
 * White surfaces, navy typography, violet navigation, fine cool-gray rules.
 * Images remain original, unobscured 3:2 media; code remains selectable LTR text.
 */
html body.ks-editorial {
  --paper: #fff;
  --ink: #18213a;
  --muted: #667085;
  --accent: #7652e8;
  --border: #e1e5ed;
  --soft: #f7f8fc;
  --night: #18213a;
  --line: #e1e5ed;
  --focus-ring: #7652e8;
  --editorial-ink: #18213a;
  --editorial-muted: #667085;
  --editorial-accent: #7652e8;
  --editorial-rule: #e1e5ed;
  --editorial-tint: #f7f8fc;
  background: #fff;
  color: #18213a;
  color-scheme: light;
  font-family: var(--site-font, Vazirmatn, Tahoma, sans-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.9;
}

html body.ks-editorial *,
html body.ks-editorial *::before,
html body.ks-editorial *::after { box-sizing: border-box; }
html body.ks-editorial ::selection { background: #e5ddff; color: #18213a; }
html body.ks-editorial :is(h1,h2,h3,h4) { color: #18213a; font-weight: 750; letter-spacing: 0; }
html body.ks-editorial :is(p,li,td,th) { font-weight: 400; }
html body.ks-editorial p { color: #667085; }
html body.ks-editorial :is(strong,b) { font-weight: 700; }
html body.ks-editorial .wrap { width: calc(100% - 80px); max-width: 1200px; margin-inline: auto; }
html body.ks-editorial a { text-underline-offset: .24em; text-decoration-thickness: 1px; }
html body.ks-editorial a:hover { color: #6240ce; }
html body.ks-editorial :is(a,button,summary,input,select,textarea):focus-visible {
  outline: 3px solid #7652e8;
  outline-offset: 4px;
}
html body.ks-editorial .studio-icon { width: 20px; height: 20px; stroke-width: 1.7; }
html body.ks-editorial .skip-link:focus { background: #7652e8; color: #fff; }

/* A quiet header keeps the site's existing identity and navigation. */
html body.ks-editorial .header-shell { background: #fff; color: #18213a; border-bottom: 1px solid #edf0f5; box-shadow: none; }
html body.ks-editorial .site-header { height: 76px; gap: 28px; }
html body.ks-editorial .site-header .brand { gap: 11px; color: #18213a; font-size: 21px; font-weight: 750; }
html body.ks-editorial .site-header .brand img { width: 36px; height: 36px; border-radius: 5px; filter: none; }
html body.ks-editorial .site-header .monogram { color: #7652e8; font-size: 25px; font-weight: 750; border: 0; padding: 0; }
html body.ks-editorial .site-header nav { position: static; display: flex; align-items: center; gap: 28px; color: #18213a; background: transparent; border: 0; box-shadow: none; padding: 0; font-size: 15px; font-weight: 500; }
html body.ks-editorial .site-header nav a { position: relative; min-height: 44px; display: inline-flex; align-items: center; color: #18213a; padding: 9px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
html body.ks-editorial .site-header nav a[aria-current],
html body.ks-editorial .site-header nav a:hover { color: #6240ce; background: transparent; box-shadow: none; }
html body.ks-editorial .site-header nav a[aria-current]::after { content: ""; position: absolute; inset-inline: 0; bottom: -16px; height: 2px; background: #7652e8; }
html body.ks-editorial .site-header .header-cta,
html body.ks-editorial .site-header .header-cta:hover { min-height: 44px; padding: 10px 0; gap: 9px; background: transparent; border: 0; border-radius: 0; box-shadow: none; color: #18213a; font-size: 14px; font-weight: 500; transform: none; }
html body.ks-editorial .site-header .header-cta:hover { color: #6240ce; }
html body.ks-editorial .header-cta .studio-icon { width: 18px; height: 18px; }
html body.ks-editorial .menu-toggle { display: none; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 10px; background: #fff; color: #18213a; border: 0; border-radius: 4px; }

/* Archive: an open editorial layout, not a tile grid. */
html body.ks-editorial .journal-hero { padding-block: 38px 0; background: #f7f8fc; border-bottom: 1px solid #e1e5ed; }
html body.ks-editorial .journal-hero h1 { margin: 0; font-size: 42px; font-weight: 800; line-height: 1.55; }
html body.ks-editorial .journal-intro { max-width: 900px; margin-top: 4px; color: #667085; font-size: 21px; line-height: 1.9; }
html body.ks-editorial .journal-search { margin-block: 22px 12px; max-width: none; }
html body.ks-editorial .journal-search-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
html body.ks-editorial .journal-search-controls { display: flex; align-items: stretch; min-width: 0; width: 100%; background: #fff; border: 1px solid #cfd5e2; border-radius: 6px; }
html body.ks-editorial .journal-search-controls:focus-within { border-color: #7652e8; box-shadow: 0 0 0 3px #7652e816; }
html body.ks-editorial .journal-search input { flex: 1; min-width: 0; min-height: 52px; width: 100%; padding: 11px 16px; border: 0; border-radius: 0 6px 6px 0; box-shadow: none; background: #fff; color: #18213a; font: 400 16px/1.8 var(--site-font, Vazirmatn, Tahoma, sans-serif); }
html body.ks-editorial .journal-search input::placeholder { color: #667085; opacity: 1; }
html body.ks-editorial .journal-search input:focus-visible { outline: 0; }
html body.ks-editorial .journal-search button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; min-width: 54px; min-height: 52px; padding: 10px 17px; background: #7652e8; color: #fff; border: 0; border-radius: 5px 0 0 5px; box-shadow: none; font: 600 15px/1.7 var(--site-font, Vazirmatn, Tahoma, sans-serif); cursor: pointer; }
html body.ks-editorial .journal-search button:hover { background: #6240ce; color: #fff; }
html body.ks-editorial .journal-search button .studio-icon { width: 22px; height: 22px; }
html body.ks-editorial .journal-search-submit-label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html body.ks-editorial .journal-topic-rail { position: relative; display: flex; align-items: stretch; gap: 20px; margin-top: 4px; }
html body.ks-editorial .journal-topic-links { display: flex; align-items: stretch; gap: 30px; min-width: 0; flex: 1; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #c7bfdc transparent; }
html body.ks-editorial .journal-topic-links > a { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 60px; padding: 12px 2px; border-bottom: 2px solid transparent; color: #18213a; font-size: 15px; line-height: 1.7; font-weight: 550; white-space: nowrap; }
html body.ks-editorial .journal-topic-links > a:hover,
html body.ks-editorial .journal-topic-links > a[aria-current] { color: #6240ce; border-bottom-color: #7652e8; }
html body.ks-editorial .journal-directory { flex: 0 0 auto; color: #18213a; }
html body.ks-editorial .journal-directory > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 60px; padding: 12px 0 12px 2px; color: #18213a; font-size: 15px; font-weight: 550; list-style: none; cursor: pointer; }
html body.ks-editorial .journal-directory > summary::-webkit-details-marker { display: none; }
html body.ks-editorial .journal-directory > summary .studio-icon { width: 17px; height: 17px; transition: transform .18s ease; }
html body.ks-editorial .journal-directory[open] > summary { color: #6240ce; }
html body.ks-editorial .journal-directory[open] > summary .studio-icon { transform: rotate(180deg); }
html body.ks-editorial .journal-directory-groups { position: absolute; z-index: 12; top: calc(100% + 1px); inset-inline: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px 32px; padding: 28px; max-height: min(70vh,680px); overflow-y: auto; overscroll-behavior: contain; background: #fff; color: #18213a; border: 1px solid #e1e5ed; border-radius: 0 0 8px 8px; box-shadow: 0 16px 36px #18213a12; }
html body.ks-editorial .journal-directory-group { min-width: 0; }
html body.ks-editorial .journal-directory-group h2 { margin: 0 0 10px; color: #18213a; font-size: 17px; font-weight: 700; line-height: 1.8; }
html body.ks-editorial .journal-directory-group ul { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; list-style: none; }
html body.ks-editorial .journal-directory-group li { margin: 0; padding: 0; }
html body.ks-editorial .journal-directory-group li a { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; padding-block: 8px; color: #667085; font-size: 15px; line-height: 1.75; }
html body.ks-editorial .journal-directory-group li a:hover { color: #6240ce; }
html body.ks-editorial .journal-category-count { color: #667085; font-size: 13px; font-variant-numeric: tabular-nums; }
html body.ks-editorial .journal-results { padding-block: 30px 64px; }
html body.ks-editorial .journal-feature { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); align-items: center; gap: 48px; margin-bottom: 42px; }
html body.ks-editorial .journal-feature-image { grid-column: 2; grid-row: 1; display: block; overflow: hidden; min-width: 0; border-radius: 5px; background: #f7f8fc; }
html body.ks-editorial .journal-feature-image img { display: block; width: 100%; height: auto; max-height: none; aspect-ratio: 3/2; object-fit: contain; border-radius: 5px; transition: transform .24s ease; }
html body.ks-editorial .journal-feature-copy { grid-column: 1; grid-row: 1; min-width: 0; }
html body.ks-editorial .journal-categories { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-bottom: 12px; color: #6240ce; font-size: 14px; font-weight: 550; }
html body.ks-editorial .journal-categories a { display: inline-flex; align-items: center; min-height: 32px; color: #6240ce; text-decoration: underline; }
html body.ks-editorial .journal-feature h2 { margin: 0; font-size: 29px; font-weight: 800; line-height: 1.7; }
html body.ks-editorial .journal-feature h2 a { color: #18213a; }
html body.ks-editorial .journal-feature h2 a:hover { color: #6240ce; }
html body.ks-editorial .journal-excerpt { margin-top: 12px; color: #667085; font-size: 17px; line-height: 1.95; }
html body.ks-editorial .journal-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 17px; margin-top: 13px; color: #667085; font-size: 13px; font-weight: 400; line-height: 1.8; }
html body.ks-editorial .journal-meta > :is(time,span,a) { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; }
html body.ks-editorial .journal-meta > :is(time,span) + :is(time,span) { border-inline-start: 1px solid #dce1eb; padding-inline-start: 17px; }
html body.ks-editorial .journal-meta .studio-icon { width: 18px; height: 18px; color: #788398; }
html body.ks-editorial .journal-meta a { color: #6240ce; }
html body.ks-editorial .journal-read-link { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; margin-top: 10px; color: #6240ce; font-size: 16px; font-weight: 600; }
html body.ks-editorial .journal-read-link:hover { text-decoration: underline; }
html body.ks-editorial .journal-read-link .studio-icon { width: 19px; height: 19px; }
html body.ks-editorial .journal-list-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding-bottom: 12px; border-bottom: 1px solid #e1e5ed; }
html body.ks-editorial .journal-list-heading h2 { margin: 0; color: #18213a; font-size: 26px; font-weight: 800; line-height: 1.6; }
html body.ks-editorial .journal-result-count { color: #667085; font-size: 14px; line-height: 1.8; }
html body.ks-editorial .journal-row { display: grid; grid-template-columns: 190px minmax(0,1fr); align-items: start; gap: 24px; padding-block: 20px; border-bottom: 1px solid #e1e5ed; }
html body.ks-editorial .journal-row-image { display: block; min-width: 0; overflow: hidden; border-radius: 4px; background: #f7f8fc; }
html body.ks-editorial .journal-row-image img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: contain; border-radius: 4px; }
html body.ks-editorial .journal-row-copy { min-width: 0; }
html body.ks-editorial .journal-row h2 { margin: 0; color: #18213a; font-size: 21px; font-weight: 750; line-height: 1.7; }
html body.ks-editorial .journal-row h2 a { color: #18213a; }
html body.ks-editorial .journal-row h2 a:hover { color: #6240ce; }
html body.ks-editorial .journal-row-copy > p { margin-top: 4px; color: #667085; font-size: 16px; line-height: 1.9; }
html body.ks-editorial .journal-row .journal-meta { margin-top: 6px; }
html body.ks-editorial .journal-pagination { margin-top: 30px; }
html body.ks-editorial .journal-pagination :is(.nav-links,ul) { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px; padding: 0; list-style: none; }
html body.ks-editorial .journal-pagination .page-numbers { display: inline-flex; justify-content: center; align-items: center; min-width: 44px; min-height: 44px; padding: 7px 13px; color: #18213a; background: #fff; border: 1px solid #d7ddea; border-radius: 5px; box-shadow: none; font-size: 15px; font-weight: 500; line-height: 1.7; }
html body.ks-editorial .journal-pagination a.page-numbers:hover { border-color: #7652e8; color: #6240ce; background: #f7f5ff; }
html body.ks-editorial .journal-pagination .page-numbers.current { background: #7652e8; color: #fff; border-color: #7652e8; }
html body.ks-editorial .journal-pagination .page-numbers.dots { min-width: 24px; padding-inline: 0; border-color: transparent; }
html body.ks-editorial .journal-empty { padding-block: 44px 80px; }
html body.ks-editorial .journal-empty h2 { font-size: 26px; }
html body.ks-editorial .journal-empty p { margin-top: 12px; font-size: 17px; }

/* Reader: prose on the right, a quiet sticky navigation rail on the left. */
html body.ks-editorial .reader-page { position: relative; background: #fff; color: #18213a; }
html body.ks-editorial .reading-progress { height: 4px; position: sticky; top: 0; z-index: 20; overflow: hidden; width: 100%; background: #eef0f7; }
html body.ks-editorial .reading-progress > span { display: block; width: 100%; height: 100%; background: #7652e8; transform: scaleX(0); transform-origin: right; }
html body.ks-editorial .reader-layout { display: grid; grid-template-columns: minmax(0,820px) 240px; gap: 64px; justify-content: center; padding-top: 32px; padding-bottom: 48px; }
html body.ks-editorial .reader-main { grid-column: 1; min-width: 0; }
html body.ks-editorial .reader-header { padding: 0 0 24px; text-align: right; }
html body.ks-editorial .reader-header .breadcrumb { display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; gap: 8px 11px; margin: 0 0 24px; color: #667085; font-size: 14px; font-weight: 400; line-height: 1.8; }
html body.ks-editorial .reader-header .breadcrumb a { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; color: #667085; }
html body.ks-editorial .reader-header .breadcrumb a:hover { color: #6240ce; }
html body.ks-editorial .reader-header .breadcrumb .studio-icon { width: 16px; height: 16px; }
html body.ks-editorial .reader-header h1 { margin: 0; max-width: none; color: #18213a; font-size: 42px; line-height: 1.6; font-weight: 800; }
html body.ks-editorial .reader-deck { margin-top: 10px; color: #667085; font-size: 20px; font-weight: 400; line-height: 1.95; }
html body.ks-editorial .reader-header .article-meta { display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; gap: 9px 20px; margin-top: 23px; color: #667085; font-size: 14px; font-weight: 400; line-height: 1.8; }
html body.ks-editorial .reader-header .article-meta > :is(span,time,a) { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; }
html body.ks-editorial .reader-header .article-meta > :is(span,time) + :is(span,time) { padding-inline-start: 20px; border-inline-start: 1px solid #e1e5ed; }
html body.ks-editorial .reader-header .article-meta .studio-icon { color: #77839b; width: 19px; height: 19px; }
html body.ks-editorial .reader-header .article-meta a { color: #6240ce; }
html body.ks-editorial .reader-main .reader-cover { width: 100%; max-width: none; margin: 0 0 32px; }
html body.ks-editorial .reader-cover img { display: block; width: 100%; height: auto; max-height: none; aspect-ratio: 3/2; object-fit: contain; border-radius: 7px; }
html body.ks-editorial .reader-cover figcaption { max-width: none; margin: 0; padding-top: 10px; color: #667085; text-align: center; font-size: 14px; font-weight: 400; line-height: 1.9; }
html body.ks-editorial .reader-main .prose { width: 100%; max-width: 820px; color: #26324b; font-size: 19px; font-weight: 400; line-height: 1.95; overflow-wrap: anywhere; }
html body.ks-editorial .reader-main .prose p { margin: 0 0 23px; color: #34405a; font-weight: 400; line-height: 1.95; }
html body.ks-editorial .reader-main .prose h2 { margin: 40px 0 17px; color: #18213a; font-size: 28px; font-weight: 750; line-height: 1.75; scroll-margin-top: 28px; }
html body.ks-editorial .reader-main .prose > h2:first-child { margin-top: 0; }
html body.ks-editorial .reader-main .prose h3 { margin: 30px 0 13px; color: #18213a; font-size: 23px; font-weight: 700; line-height: 1.8; scroll-margin-top: 28px; }
html body.ks-editorial .reader-main .prose h4 { color: #18213a; font-size: 20px; margin: 24px 0 10px; }
html body.ks-editorial .reader-main .prose :is(li,td,th) { color: #34405a; font-weight: 400; }
html body.ks-editorial .reader-main .prose :is(ul,ol) { margin-block: 14px 24px; padding-inline-start: 26px; }
html body.ks-editorial .reader-main .prose li { margin-bottom: 9px; }
html body.ks-editorial .reader-main .prose a { color: #6240ce; background: none; font-weight: 450; text-decoration: underline; text-underline-offset: .22em; }
html body.ks-editorial .reader-main .prose a:hover { color: #4f2cb6; }
html body.ks-editorial .reader-main .prose blockquote { margin: 28px 0; padding: 15px 22px; border-inline-start: 3px solid #7652e8; background: #f7f8fc; border-radius: 3px; }
html body.ks-editorial .reader-main .prose blockquote p:last-child { margin-bottom: 0; }
html body.ks-editorial .reader-main .prose :not(pre) > code { padding: 2px 5px; border-radius: 3px; background: #eeebfa; color: #2e2752; font-family: Consolas,"SFMono-Regular",monospace; font-size: .87em; direction: ltr; unicode-bidi: isolate; }
html body.ks-editorial .reader-main .prose :is(table,.wp-block-table) { width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
html body.ks-editorial .reader-main .prose :is(th,td) { padding: 12px 14px; border: 1px solid #e1e5ed; background: #fff; text-align: start; font-size: 16px; line-height: 1.9; }
html body.ks-editorial .reader-main .prose th { background: #f7f8fc; font-weight: 650; color: #18213a; }
html body.ks-editorial .reader-main .studio-article-figure,
html body.ks-editorial .reader-main .wp-block-image { margin: 30px 0 36px; max-width: 100%; }
html body.ks-editorial .reader-main :is(.studio-article-figure,.wp-block-image) img { display: block; width: 100%; height: auto; max-height: none; aspect-ratio: 3/2; object-fit: contain; border-radius: 6px; }
html body.ks-editorial .reader-main :is(.studio-article-figure,.wp-block-image) figcaption { color: #667085; font-size: 14px; font-weight: 400; line-height: 1.9; margin-top: 10px; }
html body.ks-editorial .reader-rail { display: block; grid-column: 2; grid-row: 1; align-self: stretch; position: relative; top: auto; min-width: 0; padding-top: 16px; border-inline-start: 1px solid #edf0f6; }
html body.ks-editorial .reader-rail-inner { position: sticky; top: 30px; padding-inline-start: 23px; }
html body.ks-editorial .reader-rail .toc { border: 0; padding: 0; }
html body.ks-editorial .reader-rail .toc h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 17px; color: #18213a; font-size: 20px; font-weight: 750; line-height: 1.8; }
html body.ks-editorial .reader-rail .toc h2 .studio-icon { width: 20px; height: 20px; }
html body.ks-editorial .reader-rail .toc a { display: block; min-height: 44px; margin: 0; padding: 9px 11px 9px 0; border-inline-start: 3px solid transparent; border-radius: 0; background: transparent; color: #667085; font-size: 15px; font-weight: 450; line-height: 1.9; }
html body.ks-editorial .reader-rail .toc a:hover,
html body.ks-editorial .reader-rail .toc a[aria-current] { color: #6240ce; border-inline-start-color: #7652e8; background: #f7f5ff; }
html body.ks-editorial .reader-rail .toc a.toc-subheading { font-size: 14px; padding-inline-start: 22px; }
html body.ks-editorial .reader-back-link { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 30px; padding-top: 22px; border-top: 1px solid #e1e5ed; color: #6240ce; font-size: 15px; font-weight: 500; }
html body.ks-editorial .reader-back-link:hover { text-decoration: underline; }
html body.ks-editorial .reader-main .mobile-toc { display: none; }

/* Complete source code remains a single LTR, horizontally scrollable surface. */
html body.ks-editorial .reader-main .code-block { margin-block: 25px; min-width: 0; max-width: 100%; background: #152035; border: 1px solid #25334c; border-radius: 6px; box-shadow: none; overflow: hidden; }
html body.ks-editorial .reader-main .code-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 12px; background: #1e2b42; color: #d8e1f1; border-bottom: 1px solid #36435c; font-family: var(--site-font, Vazirmatn, Tahoma, sans-serif); font-size: 13px; line-height: 1.7; direction: rtl; }
html body.ks-editorial .reader-main .code-tools > span { color: #c8d6ee; font-size: 13px; font-weight: 450; }
html body.ks-editorial .reader-main .copy-code { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 11px; border: 1px solid #586985; border-radius: 4px; background: transparent; color: #f5f7fc; font: 450 14px/1.6 var(--site-font, Vazirmatn, Tahoma, sans-serif); cursor: pointer; }
html body.ks-editorial .reader-main .copy-code:hover { background: #2a3b57; color: #fff; border-color: #b7c5e1; }
html body.ks-editorial .reader-main .copy-code:focus-visible { outline-color: #d1beff; }
html body.ks-editorial .reader-main .copy-code .studio-icon { width: 17px; height: 17px; }
html body.ks-editorial .reader-main .code-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
html body.ks-editorial .reader-main .expand-code { min-height: 44px; padding: 6px 10px; border: 1px solid #586985; border-radius: 4px; color: #f5f7fc; background: transparent; font: 450 13px/1.6 var(--site-font,Vazirmatn,Tahoma,sans-serif); cursor: pointer; }
html body.ks-editorial .reader-main .expand-code:hover { background: #2a3b57; border-color: #b7c5e1; }
html body.ks-editorial .reader-main .expand-code:focus-visible { outline-color: #d1beff; }
html body.ks-editorial .reader-main .prose .code-block pre { max-height: min(36rem,70vh); }
html body.ks-editorial .reader-main .prose .code-block.is-expanded pre { max-height: none; }
html body.ks-editorial .reader-main .prose pre,
html body.ks-editorial .reader-main .prose .code-block pre { display: block; max-width: 100%; margin: 0; padding: 18px 22px 22px; border: 0; border-radius: 0; background: #152035; color: #f0f4fc; font-family: Consolas,"SFMono-Regular","Liberation Mono",monospace; font-size: 14px; font-weight: 400; line-height: 1.85; letter-spacing: 0; white-space: pre; overflow-wrap: normal; word-break: normal; overflow-x: auto; overflow-y: auto; text-align: left; direction: ltr; unicode-bidi: isolate; tab-size: 4; scrollbar-width: auto; scrollbar-color: #7d8ca5 #25334b; }
html body.ks-editorial .reader-main .prose pre code { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; white-space: inherit; direction: ltr; unicode-bidi: isolate; }
html body.ks-editorial .reader-main .prose > pre { margin-block: 25px; border-radius: 6px; }
html body.ks-editorial .reader-main .prose .code-block :is(pre,code) .emoji { display: inline; width: 1em; height: 1em; vertical-align: -.15em; }
html body.ks-editorial .reader-main .prose .source-list { margin-top: 36px; padding-top: 10px; border-top: 1px solid #e1e5ed; }
html body.ks-editorial .reader-main .prose .source-list h2 { margin-top: 12px; font-size: 24px; }
html body.ks-editorial .reader-main .prose .source-list :is(ul,ol) { margin-block: 10px 16px; }
html body.ks-editorial .reader-main .prose .source-list li { font-size: 16px; line-height: 1.95; }
html body.ks-editorial .reader-main .prose .source-list p { color: #667085; font-size: 13px; margin-bottom: 0; }
html body.ks-editorial .journal-related { padding-block: 24px 40px; border-top: 1px solid #e1e5ed; }
html body.ks-editorial .journal-related > h2 { color: #18213a; margin: 0 0 12px; font-size: 25px; font-weight: 750; }
html body.ks-editorial .journal-related-rows { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; }
html body.ks-editorial .journal-related .journal-row { grid-template-columns: 150px minmax(0,1fr); gap: 18px; padding-block: 10px 20px; border: 0; }
html body.ks-editorial .journal-related .journal-row :is(h2,h3) { margin: 0; font-size: 18px; font-weight: 750; line-height: 1.8; }
html body.ks-editorial .journal-related .journal-row :is(h2,h3) a { color: #18213a; }
html body.ks-editorial .journal-related .journal-row :is(h2,h3) a:hover { color: #6240ce; }
html body.ks-editorial .journal-related .journal-row-copy > p { font-size: 14px; line-height: 1.9; }
html body.ks-editorial .journal-related .journal-meta { font-size: 12px; gap: 4px 10px; }
html body.ks-editorial .journal-related .journal-meta > :is(time,span) + :is(time,span) { padding-inline-start: 10px; }

/* All existing footer links remain available, with the same calm reading palette. */
html body.ks-editorial .site-footer { padding-top: 30px; background: #fff; border-top: 1px solid #e1e5ed; color: #18213a; box-shadow: none; }
html body.ks-editorial .footer-main { grid-template-columns: 1.6fr .7fr 1fr; gap: 48px; padding-bottom: 24px; }
html body.ks-editorial .footer-main .brand { color: #18213a; font-size: 18px; font-weight: 650; }
html body.ks-editorial .footer-main .brand img { width: 30px; height: 30px; border-radius: 4px; filter: none; }
html body.ks-editorial .footer-main p { margin-top: 10px; color: #667085; font-size: 14px; font-weight: 400; line-height: 1.9; }
html body.ks-editorial .footer-main nav,
html body.ks-editorial .social-links { color: #667085; gap: 0; font-size: 14px; font-weight: 400; line-height: 1.8; }
html body.ks-editorial :is(.footer-main nav,.social-links) a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; color: #667085; }
html body.ks-editorial :is(.footer-main nav,.social-links) a:hover { color: #6240ce; }
html body.ks-editorial .social-links .studio-icon { width: 16px; height: 16px; color: #7b8598; }
html body.ks-editorial .footer-bottom { padding-block: 16px; border-top: 1px solid #edf0f5; color: #667085; font-size: 12px; font-weight: 400; gap: 20px; }
html body.ks-editorial .footer-bottom a { display: inline-flex; min-height: 32px; align-items: center; }

@media (min-width: 961px) {
  html body.ks-editorial .site-header .mobile-contact-link { display: none !important; }
  html body.ks-editorial .journal-topic-links { overflow-x: hidden; gap: 24px; }
  html body.ks-editorial .journal-topic-links > a { min-width: 0; flex-shrink: 1; max-width: 215px; }
  html body.ks-editorial .journal-topic-links > a:first-child { flex-shrink: 0; }
  html body.ks-editorial .journal-topic-label { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  html body.ks-editorial .journal-topic-links > a:nth-child(n+6) { display: none; }
}

@media (max-width: 1150px) {
  html body.ks-editorial .wrap { width: calc(100% - 64px); }
  html body.ks-editorial .site-header { gap: 22px; }
  html body.ks-editorial .site-header .brand { font-size: 19px; }
  html body.ks-editorial .site-header nav { gap: 21px; font-size: 14px; }
  html body.ks-editorial .site-header .header-cta { font-size: 13px; }
  html body.ks-editorial .journal-topic-links { gap: 22px; }
  html body.ks-editorial .journal-feature { gap: 32px; }
  html body.ks-editorial .journal-feature h2 { font-size: 27px; }
  html body.ks-editorial .reader-layout { grid-template-columns: minmax(0,1fr) 220px; gap: 40px; }
  html body.ks-editorial .reader-header h1 { font-size: 38px; }
  html body.ks-editorial .journal-related .journal-row { grid-template-columns: 125px minmax(0,1fr); gap: 16px; }
}

@media (max-width: 960px) {
  html body.ks-editorial .site-header { position: relative; height: 74px; }
  html body.ks-editorial .site-header .brand { font-size: 19px; }
  html body.ks-editorial .site-header .header-cta { display: none; }
  html body.ks-editorial .site-header .menu-toggle { display: inline-flex; margin-inline-start: auto; color: #18213a; background: #fff; }
  html body.ks-editorial .site-header nav { display: none; position: absolute; top: 73px; inset-inline: 0; z-index: 45; padding: 12px; background: #fff; color: #18213a; border: 1px solid #e1e5ed; border-radius: 0 0 7px 7px; box-shadow: 0 14px 28px #18213a12; }
  html body.ks-editorial .site-header nav.is-open { display: flex; align-items: stretch; flex-direction: column; }
  html body.ks-editorial .site-header nav a { min-height: 48px; padding: 10px 14px; color: #18213a; border-radius: 4px; font-size: 16px; }
  html body.ks-editorial .site-header nav a[aria-current],
  html body.ks-editorial .site-header nav a:hover { color: #6240ce; background: #f7f5ff; }
  html body.ks-editorial .site-header nav a[aria-current]::after { display: none; }
  html body.ks-editorial .site-header .mobile-contact-link { display: flex !important; margin-top: 6px; border-top: 1px solid #e1e5ed; border-radius: 0; }
  html body.ks-editorial .journal-hero { padding-top: 30px; }
  html body.ks-editorial .journal-hero h1 { font-size: 36px; }
  html body.ks-editorial .journal-intro { font-size: 19px; }
  html body.ks-editorial .journal-topic-rail { gap: 18px; }
  html body.ks-editorial .journal-directory-groups { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  html body.ks-editorial .journal-feature { gap: 28px; }
  html body.ks-editorial .journal-feature h2 { font-size: 25px; }
  html body.ks-editorial .journal-excerpt { font-size: 16px; }
  html body.ks-editorial .reader-layout { display: block; max-width: 820px; padding-top: 26px; }
  html body.ks-editorial .reader-rail { display: none; }
  html body.ks-editorial .reader-header h1 { font-size: 36px; }
  html body.ks-editorial .reader-main .mobile-toc:not([hidden]) { display: block; width: 100%; margin: 0 0 28px; background: #fff; border: 1px solid #d9d1fb; border-radius: 5px; color: #18213a; }
  html body.ks-editorial .reader-main .mobile-toc summary { display: flex; align-items: center; gap: 9px; min-height: 52px; padding: 11px 15px; background: #f7f5ff; color: #18213a; font: 650 17px/1.8 var(--site-font, Vazirmatn, Tahoma, sans-serif); list-style: none; cursor: pointer; }
  html body.ks-editorial .reader-main .mobile-toc summary::-webkit-details-marker { display: none; }
  html body.ks-editorial .reader-main .mobile-toc .toc-chevron { display: flex; margin-inline-start: auto; color: #6240ce; }
  html body.ks-editorial .reader-main .mobile-toc[open] .toc-chevron { transform: rotate(180deg); }
  html body.ks-editorial .reader-main .mobile-toc nav { padding: 0; }
  html body.ks-editorial .reader-main .mobile-toc a { display: block; min-height: 46px; padding: 9px 14px; border-top: 1px solid #edf0f6; border-inline-start: 3px solid transparent; border-radius: 0; color: #667085; font-size: 15px; font-weight: 450; line-height: 1.9; text-decoration: none; }
  html body.ks-editorial .reader-main .mobile-toc a:hover,
  html body.ks-editorial .reader-main .mobile-toc a[aria-current] { color: #6240ce; background: #f7f5ff; border-inline-start-color: #7652e8; }
  html body.ks-editorial .reader-main .mobile-toc a.toc-subheading { padding-inline-start: 27px; font-size: 14px; }
  html body.ks-editorial .journal-related-rows { gap: 24px; }
  html body.ks-editorial .journal-related .journal-row { grid-template-columns: 110px minmax(0,1fr); gap: 14px; }
}

@media (max-width: 760px) {
  html body.ks-editorial .wrap { width: calc(100% - 40px); }
  html body.ks-editorial .site-header { gap: 12px; height: 70px; }
  html body.ks-editorial .site-header .brand { font-size: 17px; gap: 9px; }
  html body.ks-editorial .site-header .brand img { width: 32px; height: 32px; }
  html body.ks-editorial .site-header .monogram { font-size: 23px; }
  html body.ks-editorial .site-header nav { top: 69px; }
  html body.ks-editorial .journal-hero { padding-top: 26px; }
  html body.ks-editorial .journal-hero h1 { font-size: 30px; line-height: 1.7; }
  html body.ks-editorial .journal-intro { margin-top: 0; font-size: 17px; line-height: 1.95; }
  html body.ks-editorial .journal-search { margin-block: 18px 10px; }
  html body.ks-editorial .journal-search input { min-height: 50px; font-size: 15px; padding-inline: 12px; }
  html body.ks-editorial .journal-search button { min-height: 50px; min-width: 50px; padding-inline: 12px; font-size: 14px; }
  html body.ks-editorial .journal-topic-rail { flex-wrap: wrap; gap: 0; margin-top: 0; }
  html body.ks-editorial .journal-topic-links { flex: 1 1 100%; gap: 23px; margin-bottom: 0; }
  html body.ks-editorial .journal-topic-links > a { min-height: 54px; padding-block: 12px; font-size: 14px; }
  html body.ks-editorial .journal-directory { flex: 1 1 100%; border-top: 1px solid #e1e5ed; }
  html body.ks-editorial .journal-directory > summary { min-height: 48px; justify-content: flex-start; gap: 9px; font-size: 14px; }
  html body.ks-editorial .journal-directory > summary .studio-icon { margin-inline-start: auto; }
  html body.ks-editorial .journal-directory-groups { position: static; display: grid; grid-template-columns: 1fr; gap: 19px; padding: 12px 0 20px; max-height: none; overflow: visible; border: 0; box-shadow: none; background: #f7f8fc; }
  html body.ks-editorial .journal-directory-group h2 { margin-bottom: 3px; font-size: 16px; }
  html body.ks-editorial .journal-directory-group li a { min-height: 44px; font-size: 15px; }
  html body.ks-editorial .journal-results { padding-block: 22px 40px; }
  html body.ks-editorial .journal-feature { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin-bottom: 29px; border: 1px solid #e7eaf1; border-radius: 5px; overflow: hidden; }
  html body.ks-editorial .journal-feature-image { border-radius: 0; }
  html body.ks-editorial .journal-feature-image img { border-radius: 0; }
  html body.ks-editorial .journal-feature-copy { padding: 12px 15px 14px; }
  html body.ks-editorial .journal-categories { margin-bottom: 5px; font-size: 13px; }
  html body.ks-editorial .journal-categories a { min-height: 32px; }
  html body.ks-editorial .journal-feature h2 { font-size: 23px; font-weight: 800; line-height: 1.8; }
  html body.ks-editorial .journal-excerpt { margin-top: 8px; font-size: 16px; line-height: 1.95; }
  html body.ks-editorial .journal-meta { gap: 4px 11px; font-size: 12px; margin-top: 10px; }
  html body.ks-editorial .journal-meta > :is(time,span) + :is(time,span) { padding-inline-start: 11px; }
  html body.ks-editorial .journal-read-link { min-height: 44px; margin-top: 5px; font-size: 15px; }
  html body.ks-editorial .journal-list-heading { align-items: flex-start; gap: 10px; padding-bottom: 10px; }
  html body.ks-editorial .journal-list-heading h2 { font-size: 23px; }
  html body.ks-editorial .journal-result-count { padding-top: 4px; font-size: 12px; }
  html body.ks-editorial .journal-row { grid-template-columns: 104px minmax(0,1fr); gap: 14px; padding-block: 17px; }
  html body.ks-editorial .journal-row h2 { font-size: 17px; line-height: 1.85; }
  html body.ks-editorial .journal-row-copy > p { display: none; }
  html body.ks-editorial .journal-row .journal-meta { margin-top: 5px; font-size: 11px; gap: 2px 9px; }
  html body.ks-editorial .journal-row .journal-meta .studio-icon { width: 15px; height: 15px; }
  html body.ks-editorial .journal-row .journal-meta > :is(time,span) + :is(time,span) { padding-inline-start: 9px; }
  html body.ks-editorial .journal-row .journal-meta > a { min-height: 28px; }
  html body.ks-editorial .journal-pagination { margin-top: 24px; }
  html body.ks-editorial .journal-pagination :is(.nav-links,ul) { gap: 7px; }
  html body.ks-editorial .journal-pagination .page-numbers { font-size: 14px; padding-inline: 11px; }
  html body.ks-editorial .reader-layout { padding-top: 22px; padding-bottom: 30px; }
  html body.ks-editorial .reader-header { padding-bottom: 20px; }
  html body.ks-editorial .reader-header .breadcrumb { margin-bottom: 19px; gap: 5px 9px; font-size: 12px; }
  html body.ks-editorial .reader-header h1 { font-size: 30px; line-height: 1.75; font-weight: 800; }
  html body.ks-editorial .reader-deck { margin-top: 12px; font-size: 17px; line-height: 2; }
  html body.ks-editorial .reader-header .article-meta { margin-top: 20px; gap: 6px 12px; font-size: 12px; }
  html body.ks-editorial .reader-header .article-meta > :is(span,time) + :is(span,time) { padding-inline-start: 0; border: 0; }
  html body.ks-editorial .reader-header .article-meta .studio-icon { width: 17px; height: 17px; }
  html body.ks-editorial .reader-main .reader-cover { margin-bottom: 24px; }
  html body.ks-editorial .reader-cover img { border-radius: 5px; }
  html body.ks-editorial .reader-cover figcaption { text-align: right; font-size: 12px; padding-top: 8px; }
  html body.ks-editorial .reader-main .prose { font-size: 18px; line-height: 1.95; }
  html body.ks-editorial .reader-main .prose p { margin-bottom: 21px; }
  html body.ks-editorial .reader-main .prose h2 { margin-top: 31px; margin-bottom: 13px; font-size: 24px; line-height: 1.85; }
  html body.ks-editorial .reader-main .prose h3 { font-size: 21px; }
  html body.ks-editorial .reader-main .prose :is(th,td) { font-size: 14px; padding: 9px 11px; }
  html body.ks-editorial .reader-main .prose :is(ul,ol) { padding-inline-start: 22px; }
  html body.ks-editorial .reader-main :is(.studio-article-figure,.wp-block-image) { margin-block: 24px 29px; }
  html body.ks-editorial .reader-main :is(.studio-article-figure,.wp-block-image) figcaption { font-size: 12px; margin-top: 8px; }
  html body.ks-editorial .reader-main .code-tools { gap: 9px; padding: 5px 9px; }
  html body.ks-editorial .reader-main .copy-code { padding-inline: 9px; font-size: 13px; }
  html body.ks-editorial .reader-main .prose pre,
  html body.ks-editorial .reader-main .prose .code-block pre { font-size: 13px; padding: 14px 15px 18px; line-height: 1.85; }
  html body.ks-editorial .reader-main .prose .source-list { margin-top: 28px; }
  html body.ks-editorial .reader-main .prose .source-list h2 { font-size: 22px; }
  html body.ks-editorial .reader-main .prose .source-list li { font-size: 14px; }
  html body.ks-editorial .journal-related { padding-block: 22px 28px; }
  html body.ks-editorial .journal-related > h2 { font-size: 23px; }
  html body.ks-editorial .journal-related-rows { display: block; }
  html body.ks-editorial .journal-related .journal-row { grid-template-columns: 104px minmax(0,1fr); gap: 14px; padding-block: 15px; border-bottom: 1px solid #e1e5ed; }
  html body.ks-editorial .journal-related .journal-row:last-child { border-bottom: 0; }
  html body.ks-editorial .journal-related .journal-row :is(h2,h3) { font-size: 17px; }
  html body.ks-editorial .site-footer { padding-top: 24px; }
  html body.ks-editorial .footer-main { grid-template-columns: 1fr 1fr; gap: 18px 24px; padding-bottom: 20px; }
  html body.ks-editorial .footer-main > div:first-child { grid-column: 1/-1; }
  html body.ks-editorial .footer-main .brand { font-size: 17px; }
  html body.ks-editorial .footer-main :is(p,nav),
  html body.ks-editorial .social-links { font-size: 13px; }
  html body.ks-editorial .footer-bottom { align-items: flex-start; flex-wrap: wrap; gap: 4px 18px; padding-block: 12px; font-size: 11px; }
}

@media (max-width: 380px) {
  html body.ks-editorial .site-header .brand { font-size: 15px; gap: 7px; }
  html body.ks-editorial .site-header .brand img { width: 30px; height: 30px; }
  html body.ks-editorial .journal-feature-copy { padding-inline: 12px; }
  html body.ks-editorial .journal-row,
  html body.ks-editorial .journal-related .journal-row { grid-template-columns: 88px minmax(0,1fr); gap: 12px; }
  html body.ks-editorial .journal-row h2 { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html body.ks-editorial *,
  html body.ks-editorial *::before,
  html body.ks-editorial *::after { scroll-behavior: auto; animation: none !important; transition: none !important; }
}
