





:root {
  color-scheme: light;
  --page: #fff;
  --surface: #fff;
  --surface-soft: #f2f2f2;
  --text: #252525;
  --muted: rgba(37, 37, 37, .68);
  --border: #e5e7eb;
  --blue: #924ff7;
  --orange: #c95b3d;
  --yellow: #f4c84b;
  --cloud: rgba(23, 105, 210, .11);
  --cloud-strong: rgba(23, 105, 210, .22);
  --warm-cloud: rgba(201, 91, 61, .16);
  --note-bg: #fff0e8;
  --note-title: #934329;
  --note-text: #3a2a24;
  --shadow: 0 16px 42px rgba(37, 37, 37, .08);
}
html[data-theme="dark"] {
  color-scheme: dark;
  --page: #252525;
  --surface: #252525;
  --surface-soft: rgba(255, 255, 255, .07);
  --text: #fff;
  --muted: rgba(255, 255, 255, .72);
  --border: rgba(255, 255, 255, .16);
  --cloud: rgba(23, 105, 210, .28);
  --cloud-strong: rgba(23, 105, 210, .48);
  --warm-cloud: rgba(201, 91, 61, .32);
  --note-bg: rgba(201, 91, 61, .22);
  --note-title: #ffb096;
  --note-text: #fff;
  --shadow: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--ed-font-body, Manrope, Arial, sans-serif);
  font-size: var(--ed-text-size,16px);
  line-height: var(--ed-text-leading,1.55);
  transition: background-color .2s ease, color .2s ease;
}
button, a { font: inherit; }
a { color: inherit; }
img { max-width: 100%; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
  background: color-mix(in srgb, var(--page) 92%, transparent);
  backdrop-filter: blur(16px);
}
.header-inner {
  position: relative;
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(215px, 1fr) auto minmax(215px, 1fr);
  align-items: center;
  gap: 20px;
}
.brand { display: grid; justify-items: center; gap: 4px; justify-self: center; text-decoration: none; line-height: 1.1; white-space: nowrap; }
.brand strong { font-size: 15px; font-weight: 800; letter-spacing: -.025em; }
.brand span { color: var(--muted); font-size: 11px; font-weight: 600; }
.nav { display: flex; align-items: center; justify-content: center; gap: 5px; }
.nav > a, .nav-contact-trigger {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-bottom: 2px solid transparent;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.nav > a:hover, .nav > a:focus-visible, .nav > a[aria-current="page"], .nav-contact-trigger:hover, .nav-contact-trigger:focus-visible, .nav-contact-trigger[aria-expanded="true"] { border-color: var(--blue); color: var(--text); }
.nav-contact { position: relative; display: flex; align-items: center; }
.nav-contact-trigger { gap: 7px; }
.nav-contact-chevron { width: 7px; height: 7px; border-right: 1.7px solid currentColor; border-bottom: 1.7px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .16s ease; }
.nav-contact-trigger[aria-expanded="true"] .nav-contact-chevron { transform: translateY(2px) rotate(225deg); }
.nav-contact-panel { position: absolute; z-index: 45; top: calc(100% + 8px); right: 0; display: grid; width: 270px; padding: 7px; border: 1px solid var(--border); border-radius: 15px; background: color-mix(in srgb, var(--surface) 97%, transparent); box-shadow: 0 16px 32px -20px rgba(37, 37, 37, .3); backdrop-filter: blur(12px); }
.nav-contact-panel[hidden] { display: none; }
.nav-contact-panel a { display: flex; min-height: 41px; align-items: center; padding: 9px 12px; border-radius: 10px; color: var(--text); font-size: 13px; font-weight: 700; line-height: 1.25; text-decoration: none; }
.nav-contact-panel a:hover, .nav-contact-panel a:focus-visible { background: var(--cloud); color: var(--blue); }
.mobile-nav-toggle { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; justify-self: end; }
.blog-search { position: static; }
.blog-search summary { display: flex; align-items: center; min-height: 38px; padding: 7px 10px; border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-size: 13px; font-weight: 600; cursor: pointer; list-style: none; }
.blog-search summary::-webkit-details-marker { display: none; }
.blog-search summary:focus-visible, .blog-search input:focus-visible { outline: 3px solid var(--cloud-strong); outline-offset: 3px; }
.blog-search[open] summary, .blog-search summary:hover { border-color: var(--blue); }
.blog-search form { position: absolute; z-index: 46; right: 0; top: calc(100% + 12px); width: min(380px, calc(100vw - 32px)); padding: 18px; border: 1px solid var(--border); border-radius: 15px; background: var(--surface); box-shadow: var(--shadow); }
.blog-search label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 700; }
.blog-search-fields { display: flex; gap: 8px; }
.blog-search input { min-width: 0; width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid var(--border); border-radius: 9px; font: inherit; font-size: 16px; background: var(--page); color: var(--text); }
.blog-search button { border: 0; border-radius: 9px; padding: 9px 12px; background: var(--blue); color: white; cursor: pointer; }
.search-results { margin: 0 0 24px; overflow-wrap: anywhere; }
.theme-toggle {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  justify-self: end;
  border: 1px solid color-mix(in srgb, var(--border) 65%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--text);
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.theme-toggle:hover { border-color: var(--blue); background: var(--cloud); color: var(--blue); }
.theme-toggle:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--cloud-strong); outline-offset: 3px; }
.theme-toggle svg { width: 21px; height: 21px; }
.theme-toggle .moon, html[data-theme="dark"] .theme-toggle .sun { display: none; }
html[data-theme="dark"] .theme-toggle .moon { display: block; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  align-items: center;
  column-gap: clamp(36px, 7vw, 90px);
  row-gap: 32px;
  padding: clamp(48px, 6vw, 82px) 0 58px;
}
.hero-copy { grid-column: 1; }
.eyebrow, .article-category, .blog-cta-eyebrow { margin: 0; color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.hero .eyebrow { margin-top: 18px; color: var(--blue); font-size: 18px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.hero h1 { max-width: 800px; margin: 0; font-family: var(--ed-font-body, Manrope, Arial, sans-serif); font-size: clamp(46px, 6.5vw, 76px); font-weight: 800; letter-spacing: -.055em; line-height: 1; }
.lead { max-width: 720px; margin: 25px 0 0; color: var(--muted); font-size: clamp(19px, 2vw, 23px); line-height: 1.5; }
.hero-photo { position: relative; grid-column: 2; grid-row: 1 / span 2; margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 24px 24px 10px 24px; background: var(--surface-soft); box-shadow: var(--shadow); }
.hero-photo::before { content: ""; display: block; padding-top: 100%; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: none; }
.categories { grid-column: 1; display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; list-style: none; }
.categories :is(button, a) { display: inline-block; text-decoration: none; padding: 9px 13px; border: 1px solid color-mix(in srgb, var(--border) 76%, transparent); border-radius: 7px; background: color-mix(in srgb, var(--surface-soft) 72%, transparent); color: var(--text); font-size: 13px; font-weight: 600; cursor: pointer; }
.categories :is(button, a):hover, .categories :is(button, a).active { border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: none; }

.articles-section { padding: 28px 0 84px; border-top: 1px solid var(--border); }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.article-card { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); }
.article-card[hidden] { display: none; }
.article-card:nth-child(3n + 2) { --card-cloud: var(--warm-cloud); }
.article-card:nth-child(3n) { --card-cloud: var(--cloud-strong); }
.card-link { height: 100%; display: flex; flex-direction: column; text-decoration: none; }
.card-visual { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-soft); }
.card-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .24s ease; }
.card-visual img.card-image--contain { object-fit: contain; padding: 8px; background: var(--surface-soft); }
.card-link:hover .card-visual img { transform: scale(1.025); }
.card-tag { width: max-content; max-width: 100%; display: inline-flex; padding: 6px 10px; border: 1px solid color-mix(in srgb, var(--blue) 32%, var(--border)); border-radius: 7px; background: var(--cloud); color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
html[data-theme="dark"] .card-tag { background: var(--cloud); color: #fff; }
.card-body { display: grid; gap: 9px; padding: 21px; }
.card-title { margin: 0; font-size: 23px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.card-copy { display: -webkit-box; overflow: hidden; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.empty-state { margin: 34px 0 0; color: var(--muted); text-align: center; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 40px; }
.page-link { min-width: 42px; height: 42px; display: grid; place-items: center; text-decoration: none; padding: 0 13px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); color: var(--text); font-weight: 600; cursor: pointer; }
.page-link[aria-current="page"] { border-color: var(--blue); background: var(--blue); color: #fff; }

.owner-panel { margin-top: 34px; padding: 26px; border: 1px solid color-mix(in srgb, var(--blue) 32%, var(--border)); border-radius: 12px; background: var(--cloud); }
.owner-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.owner-panel h2 { margin: 5px 0 0; font-size: 28px; line-height: 1.15; }
.owner-api-link { color: var(--blue); font-size: 13px; font-weight: 800; }
.owner-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.owner-filters button { padding: 8px 12px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface); color: var(--text); font-weight: 700; cursor: pointer; }
.owner-filters button.active { border-color: var(--blue); background: var(--blue); color: #fff; }
.owner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.owner-card { min-width: 0; padding: 17px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.owner-card[hidden] { display: none; }
.owner-card h3 { margin: 12px 0 7px; font-size: 18px; line-height: 1.3; }
.owner-card p, .owner-empty { margin: 0; color: var(--muted); font-size: 13px; }
.owner-card-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.owner-card-actions a { color: var(--blue); font-size: 13px; font-weight: 800; }
.owner-empty { margin-top: 18px; }

.article-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 24px 0 70px; }
.article-hero { width: min(760px, 100%); margin: 0 auto; }
.article-tools { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 30px; }
.article-meta + .article-tools { display: none; justify-content: flex-end; margin: 12px 0 0; }
.back-link { display: inline-block; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; }
.article-category { display: block; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; color: var(--muted); font-size: 13px; }
.breadcrumbs a { text-decoration: none; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 14px; }
.article-meta:empty { display: none; }
.author-byline { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; color: var(--muted); font-size: 14px; text-decoration: none; }
.author-byline img { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.article-dates { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); font-size: 12px; }
.article-dates > span { white-space: nowrap; }
.author-profile { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
#article .author-profile-avatar { width: 160px; height: 160px; margin: 0; border-radius: 50%; object-fit: cover; }
.author-profile > div { flex: 1 1 250px; }
.article-hero h1 { margin: 15px 0 0; font-size: var(--ed-article-h1,44px); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; }
.article-hero figure { margin: 28px 0 0; overflow: hidden; border-radius: 14px; background: var(--surface-soft); }
.article-hero figure img { width: 100%; height: auto; display: block; object-fit: contain; }
.article-layout { width: min(760px, 100%); margin: 28px auto 0; }
.article-body { width: 100%; margin: 0; }
/* Article bodies use the cabinet reading layer; blog navigation and CTA keep their palette. */
#article h2, #article h3 { scroll-margin-top: 110px; }
html[data-theme="dark"] #article {
  --article-ink: var(--text);
  --article-link: #69c9ff;
  --article-link-hover: #69c9ff;
  --article-note-bg: #51472b;
}
#article figcaption { color: var(--muted); text-align: center; }
.toc-dock { position: fixed; z-index: 28; bottom: 24px; right: 24px; }
.toc-button { padding: 11px 16px; border: 1px solid color-mix(in srgb, var(--blue) 45%, var(--border)); border-radius: 11px; background: var(--surface); color: var(--blue); box-shadow: 0 8px 24px rgba(36, 54, 75, .09); font-size: 14px; font-weight: 800; cursor: pointer; }
.toc-popover { position: absolute; bottom: 100%; right: 0; width: 300px; max-height: min(60vh, 500px); overflow: auto; padding: 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: 0 18px 50px rgba(62, 48, 28, .14); }
.toc-popover strong, .toc-mobile strong { display: block; margin-bottom: 8px; font-size: 14px; }
.toc-popover ol, .toc-mobile ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.toc-popover a, .toc-mobile a { position: relative; display: block; padding: 8px 9px 8px 23px; border-radius: 9px; color: var(--text); font-size: 14px; line-height: 1.35; text-decoration: none; }
.toc-popover a::before, .toc-mobile a::before { content: "•"; position: absolute; left: 9px; color: var(--muted); }
.toc-popover a:hover, .toc-mobile a:hover { background: var(--surface-soft); color: var(--text); }
.toc-popover a[aria-current="location"], .toc-mobile a[aria-current="location"] { background: var(--cloud); color: var(--blue); }
.toc-popover a[aria-current="location"]::before, .toc-mobile a[aria-current="location"]::before { color: var(--blue); }
.toc-mobile { display: none; }
.toc-mobile summary { padding: 8px 12px; border: 1px solid var(--blue); border-radius: 10px; color: var(--blue); font-size: 14px; font-weight: 800; cursor: pointer; }
.toc-mobile nav { position: absolute; z-index: 29; top: calc(100% + 8px); left: 0; right: 0; max-height: 60vh; overflow: auto; padding: 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.blog-cta { margin: 38px 0; padding: 28px; border: 1px solid color-mix(in srgb, var(--blue) 35%, var(--border)); border-radius: 10px; background: linear-gradient(135deg, var(--cloud), color-mix(in srgb, var(--surface) 90%, transparent)); }
.blog-cta-masterclass { border-color: color-mix(in srgb, var(--orange) 42%, var(--border)); background: linear-gradient(135deg, var(--warm-cloud), color-mix(in srgb, var(--surface) 90%, transparent)); }
#article .blog-cta h3 { margin: 8px 0 9px; font-size: 25px; }
#article .blog-cta p { margin-bottom: 18px; color: var(--muted); }
#article .blog-cta a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 10px 17px; border-radius: 9px; background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; }
#article .blog-cta-masterclass a { background: var(--orange); }
.related-section { padding: 54px 0 84px; border-top: 1px solid var(--border); }
.reader-related { margin: 32px 0; padding: 20px; border: 2px solid var(--border); border-radius: 12px; background: var(--surface); transition: border-color .15s cubic-bezier(.4,0,.2,1); }
#article .reader-related a { display: grid; gap: 9px; color: var(--text); text-decoration: none; }
.reader-related small { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.reader-related strong { font-size: 18px; line-height: 1.375; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.reader-related span { font-size: 14px; line-height: 1.55; color: var(--muted); }
.reader-related:hover { border-color: color-mix(in srgb, var(--text) 40%, transparent); }
.reader-related:hover strong { text-decoration-line: underline; }
.reader-related-arrow { display: inline-block; transition: transform .15s cubic-bezier(.4,0,.2,1); }
.reader-related:hover .reader-related-arrow { transform: translate(2px,-2px); }
.related-section > h2 { margin: 0 0 26px; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.035em; }
#contacts { border-top: 1px solid var(--border); background: var(--surface-soft); }

@media (max-width: 1120px) {
  .header-inner { gap: 12px; }
  .brand span { display: none; }
  .nav > a, .nav-contact-trigger { padding-inline: 8px; font-size: 13px; }
}
@media (max-width: 920px) {
  .site-header:not(.site-header--public) .header-inner { grid-template-columns: 1fr auto; }
  .site-header:not(.site-header--public) .brand { display: none; }
  .site-header:not(.site-header--public) .nav { justify-content: flex-start; overflow-x: auto; }
  .hero { grid-template-columns: minmax(0, 1.25fr) minmax(220px, .75fr); column-gap: 30px; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .owner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .toc-dock { display: none; }
  .toc-mobile { display: block; flex: 0 0 auto; }
  .article-meta + .article-tools:has(.toc-mobile) { display: flex; }
  .site-header--public { position: sticky; }
  .site-header--public .header-inner { min-height: 56px; grid-template-columns: minmax(0, 1fr) auto auto; gap: 7px; }
  .site-header--public .brand { display: flex; min-width: 0; justify-self: start; }
  .site-header--public .brand strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; }
  .site-header--public .brand span { display: none; }
  .site-header--public .mobile-nav-toggle { width: 38px; height: 38px; display: grid; place-content: center; gap: 4px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); cursor: pointer; }
  .site-header--public .mobile-nav-toggle span { width: 17px; height: 2px; display: block; border-radius: 2px; background: currentColor; transition: transform .16s ease, opacity .16s ease; }
  .site-header--public .mobile-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .site-header--public .mobile-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .site-header--public .mobile-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-header--public .nav { position: absolute; z-index: 44; top: calc(100% + 1px); left: 20px; right: 20px; display: none; align-items: stretch; gap: 5px; padding: 10px; border: 1px solid var(--border); border-radius: 0 0 15px 15px; background: color-mix(in srgb, var(--surface) 98%, transparent); box-shadow: 0 18px 34px -24px rgba(37, 37, 37, .34); backdrop-filter: blur(16px); }
  .site-header--public .nav.is-open { display: grid; }
  .site-header--public .nav > a, .site-header--public .nav-contact-trigger { width: 100%; min-height: 43px; justify-content: space-between; padding: 10px 12px; border: 0; border-radius: 10px; font-size: 14px; text-align: left; }
  .site-header--public .nav > a:hover, .site-header--public .nav > a:focus-visible, .site-header--public .nav > a[aria-current="page"], .site-header--public .nav-contact-trigger:hover, .site-header--public .nav-contact-trigger:focus-visible, .site-header--public .nav-contact-trigger[aria-expanded="true"] { background: var(--surface-soft); color: var(--text); }
  .site-header--public .nav-contact { display: grid; }
  .site-header--public .nav-contact-panel { position: static; width: auto; margin: 2px 0 0 10px; padding: 3px; border: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
  .site-header--public .nav-contact-panel a { min-height: 39px; padding: 8px 10px; font-size: 13px; }
  .site-header--public .theme-toggle { width: 38px; height: 38px; }
}
@media (max-width: 640px) {
  .shell, .article-shell { width: min(100% - 32px, 1180px); }
  .site-header:not(.site-header--public) { position: static; }
  .site-header:not(.site-header--public) .header-inner { min-height: auto; padding: 12px 0; }
  .site-header:not(.site-header--public) .nav { gap: 14px; padding: 4px 2px 8px; scrollbar-width: none; }
  .site-header:not(.site-header--public) .nav::-webkit-scrollbar { display: none; }
  .site-header:not(.site-header--public) .nav > a { flex: 0 0 auto; font-size: 13px; }
  .site-header:not(.site-header--public) .theme-toggle { width: 38px; height: 38px; }
  .site-header--public .nav { left: 16px; right: 16px; }
  .hero { grid-template-columns: minmax(0, 1fr) clamp(108px, 33vw, 140px); align-items: start; column-gap: 14px; row-gap: 20px; padding: 30px 0 40px; }
  .hero-copy { grid-column: 1; min-width: 0; }
  .hero h1 { font-size: clamp(34px, 8vw, 48px); }
  .hero .eyebrow { margin-top: 10px; font-size: 15px; }
  .lead { margin-top: 14px; font-size: 16px; line-height: 1.42; }
  .hero-photo { width: 100%; grid-column: 2; grid-row: 1; align-self: start; border-radius: 16px 16px 8px 16px; }
  .hero-photo::before { padding-top: 100%; }
  .categories { grid-column: 1 / -1; gap: 7px; }
  .categories :is(button, a) { padding: 8px 10px; font-size: 12px; }
  .article-grid { grid-template-columns: 1fr; gap: 18px; }
  .owner-panel { width: min(100% - 32px, 1180px); padding: 20px 16px; }
  .owner-panel-head { display: block; }
  .owner-api-link { display: inline-block; margin-top: 12px; }
  .owner-grid { grid-template-columns: 1fr; }
  .articles-section { padding-bottom: 64px; }
  .article-shell { padding-top: 20px; }
  .blog-cta { padding: 23px 20px; }
  .related-section { padding: 44px 0 64px; }
}
@media (max-width: 620px) {
  .article-hero h1 { font-size: var(--ed-article-h1,32px); }
  .article-hero figure { margin-top: 22px; }
}
@media (max-width: 400px) {
  .site-header:not(.site-header--public) .header-inner { gap: 6px; }
  .site-header:not(.site-header--public) .nav { gap: 10px; }
  .site-header:not(.site-header--public) .nav > a { font-size: 12px; }
  .site-header:not(.site-header--public) .theme-toggle { width: 36px; height: 36px; }
  .site-header--public .header-inner { gap: 5px; }
  .site-header--public .brand strong { font-size: 12px; }
  .site-header--public .mobile-nav-toggle, .site-header--public .theme-toggle { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body, .card-visual img { transition: none; }
  .reader-related, .reader-related-arrow { transition: none; }
  .reader-related:hover .reader-related-arrow { transform: none; }
}

/* Approved reader prototype: origin is editorial metadata, not a category. */
.reader-telegram-source { display: flex; align-items: center; gap: 12px; margin: 40px 0 24px; padding: 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); font-size: 14px; transition: background-color .15s ease, border-color .15s ease; }
.reader-telegram-source:hover { background: var(--surface-soft); border-color: rgba(42,171,238,.3); }
.reader-telegram-source svg { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: #2aabee; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.reader-telegram-source strong { font-size: 14px; font-weight: 500; }
.reader-source-actions { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 8px; line-height: 1.5; }
#article .reader-source-title { color: inherit; text-decoration: none; }
#article .reader-source-title:hover { text-decoration: underline; }
#article .reader-source-actions a { color: #2aabee; font-weight: 500; text-decoration: none; }
#article .reader-source-actions a:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .reader-telegram-source { transition: none; } }
