

.rhub{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rhub-wide{ grid-column: 1 / -1; }

.rcard{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 26px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.rcard:hover{
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: rgba(0, 110, 183, .18);
}
.rcard-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-bottom: 14px;
}
.rcard-count{
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  white-space: nowrap;
}
.rcard-name{
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: 10px;
}
.rcard-desc{
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}
.rcard-link{
  margin-top: auto;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-brand);
}
.rcard:hover .rcard-link{ text-decoration: underline; text-underline-offset: 3px; }

.rcard-link .cta-arrow,
.csi-go .cta-arrow{ display: inline-block; margin-left: .35em; }


.rgrid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.ritem{
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.ritem:hover{
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: rgba(0, 110, 183, .18);
}
.ritem-thumb{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--color-surface-sunken);
  border-bottom: 1px solid var(--color-border);
}
.ritem-body{ display: flex; flex-direction: column; flex: 1; padding: 20px; }
.ritem-meta{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}
.ritem-cat{ color: var(--color-brand); }
.ritem-title{
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: -.022em;
  line-height: 1.32;
  color: var(--color-text);
  margin-bottom: 9px;
}
.ritem-excerpt{
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}
.ritem-foot{
  margin-top: auto;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-brand);
}

.ritem-thumb-wrap{ position: relative; display: block; }
.ritem-play{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius:var(--radius-sm);
  background: rgba(0, 110, 183, .92);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px -6px rgba(8, 21, 35, .5);
  transition: transform .18s, background .18s;
}
.ritem:hover .ritem-play{ transform: translate(-50%, -50%) scale(1.08); background: var(--color-brand); }


.rfilters{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
}
.rchip{
  padding: 7px 15px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.rchip:hover{ border-color: rgba(0, 110, 183, .3); color: var(--color-text); }
.rchip[aria-pressed="true"]{
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: #fff;
}
.rcount{
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: .06em;
  color: var(--color-text-faint);
  white-space: nowrap;
}
.rempty{
  padding: 48px 0;
  text-align: center;
  font-size: var(--text-base);
  color: var(--color-text-faint);
}

.rmore{ display: flex; justify-content: center; margin-top: 36px; }
.ritem[hidden]{ display: none; }

.article{ max-width: 840px; margin-inline: auto; }
.article-meta{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}
.article-hero{
  display: block;
  width: 100%;
  max-width: 980px;
  margin-inline: auto;
  height: auto;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  margin-bottom: 44px;
  background: var(--color-surface-sunken);
}
.article-body{ font-size: var(--text-article); line-height: 1.7; color: var(--color-text-muted); }
.article-body > * + *{ margin-top: 1.5em; }
.article-body h2{
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.16;
  color: var(--color-text);
  margin-top: 2.1em;
}
.article-body h3{
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -.022em;
  line-height: 1.25;
  color: var(--color-text);
  margin-top: 1.9em;
}
.article-body h4, .article-body h5, .article-body h6{
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--color-text);
  margin-top: 1.7em;
}

.article-body blockquote{
  margin: 1.8em 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--color-brand);
  font-size: 1.2rem;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -.018em;
  color: var(--color-text);
}

.article-table{
  overflow-x: auto;
  margin: 2em 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}
.article-body table{
  border-collapse: collapse;
  width: 100%;
  min-width: 480px;      
  font-size: var(--text-sm);
}
.article-body th, .article-body td{
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color-border);
}
.article-body thead th, .article-body tr:first-child td{
  background: var(--color-surface-alt);
  font-weight: 700;
  color: var(--color-text);
}
.article-body tr:last-child td{ border-bottom: none; }

.article-body center{ display: block; text-align: center; }
.article-body figure + h5{
  margin-top: .6em;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--color-text-faint);
}
.article-body a{
  color: var(--color-brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.article-body strong{ color: var(--color-text-secondary); font-weight: 700; }
.article-body ol{ padding-left: 1.35em; }
.article-body li + li{ margin-top: .45em; }
.article-body ul{ list-style: none; padding-left: 0; }
.article-body ul > li{ position: relative; padding-left: 1.25em; }
.article-body ul > li::before{
  content: "";
  position: absolute;
  left: .3em;
  top: .62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-brand);
}
.article-body img{
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}
.article-body figure{ margin: 2em 0; }
.article-body figcaption{
  margin-top: .7em;
  font-size: var(--text-sm);
  color: var(--color-text-faint);
}
.article-body p:empty{ display: none; }

.article-body iframe{
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: var(--radius-sm);
}
.article-body .w-richtext-figure-type-video{
  width: 100%;
  max-width: 100%;
  padding-bottom: 0 !important;
}
.article-body .w-richtext-figure-type-video > div{ width: 100%; }

.article-toc{
  padding: 20px 22px;
  margin-bottom: 36px;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.article-toc-label{
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .105em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 12px;
}
.article-toc ol{ list-style: none; display: flex; flex-direction: column; gap: 8px; padding: 0; }
.article-toc a{ font-size: var(--text-sm); color: var(--color-text-muted); }
.article-toc a:hover{ color: var(--color-brand); text-decoration: underline; text-underline-offset: 3px; }
.article-toc li.is-sub{ padding-left: 16px; }

.author-byline{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}
.author-byline .author-avatar{ width: 44px; height: 44px; }
.author-avatar{
  flex: none;
  border-radius: var(--radius-pill);
  object-fit: cover;
  background: var(--color-surface-sunken);
  border: 1px solid var(--color-border);
}
.author-byline-text{ display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.author-byline-label{
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}
.author-byline-name{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--color-text);
}
.author-linkedin{
  display: inline-flex;
  color: var(--color-text-faint);
  transition: color .15s ease;
}
.author-linkedin:hover{ color: var(--color-brand); }

.author-card{
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-top: 56px;
  padding: 26px 28px;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.author-card .author-avatar{ width: 66px; height: 66px; }
.author-card-label{
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .105em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 8px;
}
.author-card-name{
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.022em;
  color: var(--color-text);
}
.author-card-bio{
  margin-top: 8px;
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--color-text-muted);
}
.author-card-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-brand);
}
.author-card-link:hover{ text-decoration: underline; text-underline-offset: 3px; }

.csi-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.csi{
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.csi:hover{
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(0, 110, 183, .22);
}

.csi-top{
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 26px 24px;
  min-height: 133px;
  background:
    radial-gradient(ellipse 80% 130% at 6% 0%, rgba(51, 144, 224, .34), transparent 64%),
    linear-gradient(135deg, #061A2F 0%, #0a3560 100%);
}
.csi-stat{ position: relative; z-index: 1; max-width: 21ch; }
.csi-stat-n{
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}
.csi-stat-l{
  display: block;
  min-height: 2.8em;
  font-size: var(--text-sm);
  line-height: 1.4;
  color: rgba(255, 255, 255, .74);
}
.csi-logo{
  position: relative;
  z-index: 1;
  flex: 0 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: 0 10px 26px -12px rgba(6, 26, 47, .75);
}
.csi-logo img{ display: block; max-width: 100%; height: auto; }

.csi-body{ display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.csi-name{
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.12;
  color: var(--color-text);
  margin-bottom: 8px;
}
.csi-angle{
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}
.csi-quote{ padding-left: 18px; border-left: 2px solid rgba(0, 110, 183, .35); }
.csi-quote blockquote{
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -.018em;
  color: var(--color-text);
}
.csi-who{ margin-top: 9px; font-size: var(--text-sm); color: var(--color-text-faint); }
.csi-go{
  margin-top: auto;
  padding-top: 22px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-brand);
}
.csi:hover .csi-go{ text-decoration: underline; text-underline-offset: 3px; }


.cs-hero{ display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: center; }

body:has(.phero--cs) .sec .h2{ font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.cs-source{
  display: flex;
  flex-direction: column;
  width: 300px;
  min-height: 386px;
  margin: 0 0 0 auto;
  padding: 24px 22px 22px;
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}
.cs-source-mark{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 54px;
  margin: 0 auto 18px;
}
.cs-source-logo{
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transform: scale(var(--mark-scale, 1));
}
.cs-source-rule{ height: 1px; background: var(--color-border); margin: 0 0 20px; }
.cs-source-who{
  margin-top: 16px;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--color-text-faint);
}
.cs-source-who strong{
  display: block;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}
.cs-source-role{ display: block; min-height: 4.5em; }
.cs-portrait{
  width: 100%;
  max-width: 168px;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface-sunken);
  margin: 0 auto;
}
.cs-facts{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.cs-facts > *{
  padding: 26px 28px 24px;
  border-left: 1px solid var(--color-border);
}
.cs-facts > *:first-child{ border-left: 0; }
.cs-fact-n{
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 650;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--color-brand);
  margin-bottom: 12px;
}
.cs-fact-l{
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--color-text-muted);
  min-height: 2.9em;
}

.cs-quote{ max-width: 860px; margin: 0 auto; text-align: center; }
.cs-quote blockquote{
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.95rem);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -.028em;
  color: var(--color-text);
  margin-bottom: 22px;
}
.cs-quote cite{
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--color-text-faint);
}
.cs-quote cite strong{ display: block; font-size: var(--text-base); color: var(--color-text); }

.cs-list{ list-style: none; display: grid; gap: 14px; }
.cs-list li{
  position: relative;
  padding-left: 1.25em;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-muted);
}
.cs-list li::before{
  content: "";
  position: absolute;
  left: .3em;
  top: .62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-brand);
}
.cs-list li:has(strong)::before{ top: .58em; }
.cs-list strong{ display: block; color: var(--color-text); font-weight: 700; }

.cs-list--row{ max-width: 820px; grid-template-columns: 1fr; gap: 18px; }

body:has(.phero--cs) .two:has(> .card),
body:has(.phero--cs) .three:has(> .card){ align-items: stretch; }

.cs-vox .cb{
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--color-text-secondary);
  letter-spacing: -.012em;
}


.rdl{ display: grid; gap: 14px; }
.rdl-row{
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px 22px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: box-shadow .18s, border-color .18s;
}
.rdl-row:hover{ box-shadow: var(--shadow-sm); border-color: rgba(0, 110, 183, .2); }
.rdl-icon{
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--color-brand-pale);
  color: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.rdl-kind{
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 5px;
}
.rdl-name{
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--color-text);
  margin-bottom: 5px;
}
.rdl-desc{ font-size: var(--text-sm); line-height: 1.55; color: var(--color-text-muted); }


.dev-sandbox{
  padding: 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #061A2F 0%, #0a3560 100%);
  color: #fff;
}
.dev-sandbox .lhn{ color: var(--color-brand-bright); }
.dev-sandbox h2{
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -.032em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.dev-sandbox p{ font-size: var(--text-base); line-height: 1.68; color: rgba(255, 255, 255, .82); }
.dev-sandbox-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.dev-sandbox-cell{
  padding: 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .13);
}
.dev-sandbox-cell strong{
  display: block;
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: -.015em;
  color: #fff;
  margin-bottom: 6px;
}
.dev-sandbox-cell span{ font-size: var(--text-sm); line-height: 1.55; color: rgba(255, 255, 255, .72); }

.dev-code{
  overflow-x: auto;
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, .12);
  background: #061A2F;
}
.dev-codewrap{ position: relative; min-width: 0; max-width: 100%; }
.dev-codewrap::after{
  content: "";
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  width: 26px;
  pointer-events: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: linear-gradient(to left, #061A2F 30%, rgba(6, 26, 47, 0));
}

.dev-code::-webkit-scrollbar{ height: 9px; }
.dev-code::-webkit-scrollbar-track{ background: rgba(255, 255, 255, .08); border-radius: 9px; }
.dev-code::-webkit-scrollbar-thumb{ background: rgba(127, 185, 232, .45); border-radius: 9px; }
.dev-code::-webkit-scrollbar-thumb:hover{ background: rgba(127, 185, 232, .68); }

.dev-code:focus-visible{
  outline: 2px solid var(--color-brand-bright);
  outline-offset: 2px;
}
.dev-code pre{
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  line-height: 1.7;
  color: #cfe4f7;
  white-space: pre;
}
.dev-code .tok-key{ color: #7fb9e8; }
.dev-code .tok-str{ color: #9ad9a5; }
.dev-code .tok-com{ color: #6b8aa8; }

.dev-a{ color: var(--color-brand); text-decoration: underline; text-underline-offset: 3px; }
.dev-prose code{
  font-family: var(--font-mono);
  font-size: .9em;
  padding: 1px 5px;
  border-radius: var(--radius-sm);
  background: var(--color-brand-wash);
  color: var(--color-brand-dark);
  white-space: nowrap;
}

@media(max-width:420px){
  .dev-code{ padding: 18px 14px; }
  .dev-code pre{ font-size: min(var(--text-sm), calc((100vw - 38px - 28px) / 21.9)); }
}


@media (max-width: 1060px){
  .rgrid{ grid-template-columns: repeat(2, 1fr); }
  .csi-stat-l{ min-height: 4.2em; }
  .cs-facts{ grid-template-columns: repeat(2, 1fr); }
  .cs-facts > *:nth-child(3){ border-left: 0; }
  .cs-facts > *:nth-child(n+3){ border-top: 1px solid var(--color-border); }
}
@media (max-width: 860px){
  .cs-hero{ grid-template-columns: 1fr; gap: 26px; }
  .cs-source{
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 15px 20px;
    text-align: left;
  }
  .cs-source-mark{ order: 3; width: 106px; height: 38px; margin: 0; }
  .cs-source-rule{ display: none; }
  .cs-portrait{ order: 1; max-width: 62px; margin: 0; }
  .cs-source-who{ order: 2; margin: 0; }
  .cs-source-role{ min-height: 0; }
}
@media (max-width: 560px){
  .cs-source{ grid-template-columns: auto minmax(0, 1fr); }
  .cs-source-mark{ display: none; }
}
@media (max-width: 720px){
  .rhub, .rgrid, .csi-grid{ grid-template-columns: 1fr; }
  .csi-top{ padding: 22px; gap: 14px; }
  .csi-logo{ padding: 7px 11px; max-width: 40%; }
  .csi-body{ padding: 22px; }
  .csi-name{ font-size: 1.32rem; }
  .rcard{ padding: 24px 20px; }
  .rcard-name{ font-size: 1.32rem; }
  .cs-facts{ grid-template-columns: 1fr; }
  .cs-fact-n{ font-size: 1.5rem; }
  .cs-facts > *{ padding: 20px 22px; border-left: 0; border-top: 1px solid var(--color-border); }
  .cs-facts > *:first-child{ border-top: 0; }
  .cs-fact-l{ min-height: 0; }
  .dev-sandbox{ padding: 26px 22px; }
  .dev-sandbox-grid{ grid-template-columns: 1fr; }
  .rdl-row{ grid-template-columns: 44px 1fr; gap: 14px; }
  .rdl-icon{ width: 44px; height: 44px; }
  .rdl-row > .btn{ grid-column: 1 / -1; justify-content: center; }
  .rcount{ margin-left: 0; width: 100%; }
  .article-body h2{ font-size: 1.55rem; }
  .author-card{ flex-direction: column; gap: 18px; padding: 24px 22px; }
}

body:has(.phero--cs) .sec.dark{ background: var(--color-text); color: #fff; }
body:has(.phero--cs) .sec.dark .body{ color: rgba(255, 255, 255, .82); }
body:has(.phero--cs) .sec.dark .h2,
body:has(.phero--cs) .sec.dark .h3{ color: #fff; }
body:has(.phero--cs) .sec.dark .lhn{ color: var(--color-brand-bright); }
body:has(.phero--cs) .sec.dark .lhl{ background: rgba(255, 255, 255, .18); }
body:has(.phero--cs) .sec.dark .cs-list li{ color: rgba(255, 255, 255, .82); }
body:has(.phero--cs) .sec.dark .cs-list strong{ color: #fff; }
body:has(.phero--cs) .sec.dark .card{
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .16);
  box-shadow: none;
}
body:has(.phero--cs) .sec.dark .ch{ color: #fff; }
body:has(.phero--cs) .sec.dark .cb{ color: rgba(255, 255, 255, .78); }
body:has(.phero--cs) .sec.dark .ctag{ color: var(--color-brand-bright); }
body:has(.phero--cs) .sec.dark .cs-quote blockquote{ color: #fff; }
body:has(.phero--cs) .sec.dark .cs-quote cite{ color: rgba(255, 255, 255, .6); }
body:has(.phero--cs) .sec.dark .cs-quote cite strong{ color: #fff; }

.cs-said{
  max-width: 720px;
  margin: 34px 0;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--color-brand);
}
.cs-said blockquote{
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -.014em;
  color: var(--color-text);
  margin-bottom: 10px;
}
.cs-said cite{ font-style: normal; font-size: var(--text-sm); color: var(--color-text-faint); }
.cs-said cite strong{ color: var(--color-text); font-weight: 600; }
.cs-said:last-child{ margin-bottom: 0; }
body:has(.phero--cs) .sec.dark .cs-said{ border-left-color: var(--color-brand-bright); }
body:has(.phero--cs) .sec.dark .cs-said blockquote{ color: #fff; }
body:has(.phero--cs) .sec.dark .cs-said cite{ color: rgba(255, 255, 255, .6); }
body:has(.phero--cs) .sec.dark .cs-said cite strong{ color: #fff; }

body:has(.phero--cs) .sec .lh{ margin-bottom: 34px; }
body:has(.phero--cs) .sec .lhn{ font-size: var(--text-sm); letter-spacing: .14em; }
