/* NIKTRD Visual System v2.50 — approved A03-1 + A04 only.
   A03-1: atomic checklists are number | sentence, not title | empty description.
   A04: one scoped callout base with semantic variants; tables/FAQ/source blocks are untouched. */
:root{
  --niktrd-v250-callout-line:#e3ded5;
  --niktrd-v250-callout-text:#40394a;
  --niktrd-v250-callout-gold:#c9a227;
  --niktrd-v250-callout-blue:#365d9d;
  --niktrd-v250-callout-red:#a64b3f;
  --niktrd-v250-callout-note-bg:#fffdf8;
  --niktrd-v250-callout-key-bg:#fbfdff;
  --niktrd-v250-callout-warning-bg:#fffaf8;
  --niktrd-v250-callout-reference-bg:#fbfaf7;
}

/* A03-1 — atomic checklist = number | original sentence. */
body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-card .niktrd-checklist-atomic-v249 > .editorial-step > div{
  display:block!important;
  min-width:0!important;
}
body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-card .niktrd-checklist-atomic-v249 .niktrd-checklist-text-v250{
  display:block!important;
  min-width:0!important;
  color:var(--niktrd-v249-ink,#2a2340)!important;
  font-size:15px!important;
  line-height:1.9!important;
  font-weight:500!important;
  margin:0!important;
}

/* A04 — common callout base. Only established callout families are in scope. */
body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-card :is(.note,.editorial-note,.key-note,.key-answer,.warning,.standard-excerpt){
  box-sizing:border-box!important;
  border:1px solid var(--niktrd-v250-callout-line)!important;
  border-inline-start-width:3px!important;
  border-radius:10px!important;
  box-shadow:none!important;
  margin:18px 0!important;
  padding:13px 16px!important;
  color:var(--niktrd-v250-callout-text)!important;
  line-height:1.95!important;
}

/* Note — ordinary engineering/editorial note; key-note remains a stronger note, not a blue answer box. */
body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-card :is(.note,.editorial-note,.key-note){
  border-inline-start-color:var(--niktrd-v250-callout-gold)!important;
  background:var(--niktrd-v250-callout-note-bg)!important;
}

/* Key Answer / engineering summary. */
body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-card .key-answer{
  border-inline-start-color:var(--niktrd-v250-callout-blue)!important;
  background:var(--niktrd-v250-callout-key-bg)!important;
}

/* Warning / procurement or engineering caution. */
body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-card .warning{
  border-inline-start-color:var(--niktrd-v250-callout-red)!important;
  background:var(--niktrd-v250-callout-warning-bg)!important;
}

/* Standard / Reference excerpt — same base language, intentionally more compact. */
body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-card .standard-excerpt{
  display:block!important;
  width:fit-content!important;
  max-width:min(100%,760px)!important;
  margin:14px 0 16px!important;
  padding:10px 14px!important;
  border-inline-start-color:var(--niktrd-v250-callout-gold)!important;
  background:var(--niktrd-v250-callout-reference-bg)!important;
  line-height:1.8!important;
}
body.niktrd-internal-v16 #fa-content .article-card .standard-excerpt{
  margin-left:auto!important;
  margin-right:0!important;
  text-align:right!important;
  text-align-last:right!important;
}
body.niktrd-internal-v16 #en-content .article-card .standard-excerpt{
  margin-right:auto!important;
  margin-left:0!important;
  text-align:left!important;
  text-align-last:left!important;
}
body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-card .standard-excerpt blockquote{
  margin:0 0 4px!important;
  color:var(--niktrd-v249-ink,#2a2340)!important;
  font-size:14px!important;
  line-height:1.75!important;
  font-weight:750!important;
}
body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-card .standard-excerpt cite{
  display:block!important;
  margin:0!important;
  color:#69645b!important;
  font-size:12px!important;
  line-height:1.6!important;
  font-style:normal!important;
}

/* Normalize inner rhythm without changing source text or semantic emphasis. */
body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-card :is(.note,.editorial-note,.key-note,.key-answer,.warning) > :first-child{
  margin-top:0!important;
}
body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-card :is(.note,.editorial-note,.key-note,.key-answer,.warning) > :last-child{
  margin-bottom:0!important;
}
body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-card :is(.note,.editorial-note,.key-note,.key-answer,.warning) strong{
  color:var(--niktrd-v249-ink,#2a2340)!important;
}

@media(max-width:760px){
  body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-card .niktrd-checklist-atomic-v249 .niktrd-checklist-text-v250{
    font-size:14.5px!important;
    line-height:1.9!important;
  }
  body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-card :is(.note,.editorial-note,.key-note,.key-answer,.warning,.standard-excerpt){
    margin:15px 0!important;
    padding:12px 13px!important;
    border-radius:9px!important;
  }
  body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-card .standard-excerpt{
    width:100%!important;
    max-width:100%!important;
  }
}
