/* Intelligence brief kit (advisory, sector lens, ransom watch, cyberpedia). Loaded after article.css. */

/* hero additions */
.ahero__facts { margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; overflow: hidden; }
.ahero__facts > div { padding: 12px 18px; border-left: 1px solid rgba(255,255,255,.16); }
.ahero__facts > div:first-child { border-left: 0; }
.ahero__facts dt { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.ahero__facts dd { margin: 4px 0 0; font-size: 15px; font-weight: 500; color: #fff; white-space: nowrap; }
.sev { display: inline-block; padding: 1px 9px; border-radius: 6px; background: var(--red); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.tlp--amber { border-color: #FFC000; color: #FFC000; }
.ahero__alert { margin-bottom: 14px; font-size: 14px; font-weight: 600; letter-spacing: .04em; color: #fff; }
.ahero__alert span { color: var(--red-light); }

/* small kicker line used above blocks ("V4 · 29 OCT 2026 · BOTTOM LINE") */
.prose .kick { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.prose h4 { margin: 40px 0 14px; font-family: var(--font-head); font-size: 18px; line-height: 1.4; font-weight: 500; color: var(--ink); }

/* bottom line */
.bluf { margin-top: 8px; padding: 28px; border-radius: 18px; background: var(--warm); }
.bluf__k { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.prose .bluf p { margin-top: 10px; font-size: 18.5px; line-height: 1.62; color: var(--ink); }
.prose .bluf p + p { font-size: 16.5px; color: var(--ink-2); }

/* threat at a glance */
.glance { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #E4E7EC; border: 1px solid #E4E7EC; border-radius: 16px; overflow: hidden; }
.glance--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.glance--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.glance > li { padding: 20px 20px 22px; background: #fff; display: flex; flex-direction: column; gap: 6px; }
.glance__k { font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }
.glance__v { font-size: 34px; line-height: 1.1; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.glance__v--t { font-family: var(--font-head); font-size: 24px; letter-spacing: -.01em; padding: 3px 0 2px; }
.glance__n { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.glance__v--hi { color: var(--red); }

/* what is and is not established */
.estab { display: grid; gap: 14px; }
.estab__g { border: 1px solid #E4E7EC; border-radius: 16px; padding: 20px 22px 8px; background: #fff; }
.estab__h { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 6px; padding: 4px 12px 4px 10px; border-radius: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.estab__h::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.estab__g--c .estab__h { background: #E8F4EC; color: #1E6B3A; }
.estab__g--a .estab__h { background: var(--violet-tint); color: var(--violet); }
.estab__g--n .estab__h { background: #F2F4F7; color: #475467; }
.estab__g--n { border-style: dashed; border-color: #D0D5DD; background: #FCFCFD; }
.estab__g--n .estab__h::before { background: transparent; border: 1.5px solid currentColor; }
.estab ul { list-style: none; margin: 0; padding: 0; }
.estab li { padding: 12px 0; border-top: 1px solid #EEF1F6; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.estab li:first-child { border-top: 0; }
.estab li b { font-weight: 600; color: var(--ink); }
.cf { display: inline-block; margin-left: 4px; padding: 0 8px; border-radius: 6px; background: #F2F4F7; font-size: 12.5px; font-weight: 600; color: #475467; white-space: nowrap; }
.cf--h { background: #E8F4EC; color: #1E6B3A; }
.cf--m { background: #FEF4E6; color: #93500E; }
.cf--l { background: #FDECEC; color: #9F1A23; }

/* text-only key findings: lead phrase becomes the headline */
.kfl { list-style: none; margin: 0; padding: 0; counter-reset: kfl; border-top: 1px solid #E4E7EC; }
.kfl > li { counter-increment: kfl; display: grid; grid-template-columns: 40px minmax(0, 15rem) minmax(0, 1fr); gap: 4px 20px; padding: 20px 0; border-bottom: 1px solid #E4E7EC; }
.kfl > li::before { content: counter(kfl, decimal-leading-zero); font-size: 14px; font-weight: 700; color: var(--violet); line-height: 1.6; padding-top: 1px; }
.kfl__t { font-family: var(--font-head); font-size: 17px; line-height: 1.4; font-weight: 500; color: var(--ink); }
.prose .kfl__d { margin: 0; font-size: 15.5px; line-height: 1.62; color: var(--ink-2); }

/* leadership priorities */
.prio { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.prio > li { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 16px; background: var(--ink); color: rgba(255,255,255,.78); font-size: 14.5px; line-height: 1.55; }
.prio__n { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: #C9B3EE; }
.prio__t { font-family: var(--font-head); font-size: 17px; line-height: 1.35; font-weight: 500; color: #fff; }
.prio__m { margin-top: auto !important; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 4px; font-size: 13px; }
.prio__m b { font-weight: 600; color: #fff; }

/* priority pills in action tables */
.pp { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.pp--1 { background: #FDECEC; color: #9F1A23; }
.pp--2 { background: #FEF4E6; color: #93500E; }
.tbl--acts table { min-width: 700px; }
.tbl--acts td:first-child { width: 44px; color: var(--muted); font-weight: 600; }
.tbl--acts td:nth-child(2) { width: 96px; }
.tbl--acts td:nth-child(3) { min-width: 0 !important; }
.tbl--acts td:last-child { width: 150px; font-size: 14px; color: var(--ink); font-weight: 500; }

/* version index (advisory) */
.vers { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.vers > li { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 24px; padding: 0 0 22px 28px; }
.vers > li::before { content: ""; position: absolute; left: 5px; top: 8px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--violet); background: #fff; }
.vers > li::after { content: ""; position: absolute; left: 10px; top: 24px; bottom: 0; width: 1px; background: #D0D5DD; }
.vers > li:last-child::after { display: none; }
.vers > li:first-child::before { background: var(--violet); }
.vers__v { font-family: var(--font-head); font-size: 16px; font-weight: 500; color: var(--ink); }
.vers__d { display: block; font-size: 13.5px; color: var(--muted); }
.prose .vers p { margin: 0; font-size: 15.5px; line-height: 1.6; }
.latest { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 6px; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; }
.vbanner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 8px; padding: 14px 18px; border-radius: 12px; background: var(--ink); color: #fff; }
.vbanner b { font-family: var(--font-head); font-size: 17px; font-weight: 500; }
.vbanner span { font-size: 14px; color: rgba(255,255,255,.7); }

/* CVE cards */
.cves { display: grid; gap: 14px; margin-top: 24px; }
.cve { border: 1px solid #E4E7EC; border-radius: 16px; overflow: hidden; }
.cve__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 14px 20px; background: #F9FAFB; border-bottom: 1px solid #E4E7EC; }
.cve__id { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 14px; font-weight: 600; color: var(--red); }
.cve__t { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.cve ol { margin: 0; padding: 14px 20px 16px 44px; display: grid; gap: 8px; font-size: 15.5px; line-height: 1.6; }
.cve ol li::marker { color: var(--violet); font-weight: 700; font-size: 13px; }

/* IOC table */
.tbl--ioc .tbl__scroll { max-height: 440px; overflow: auto; }
.tbl--ioc table { min-width: 0; font-size: 14.5px; }
.tbl--ioc thead th { position: sticky; top: 0; z-index: 1; }
.tbl--ioc td { padding: 10px 16px; }
.tbl--ioc td:first-child { width: 56px; color: var(--muted); }
.mono { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 14px; color: var(--ink); }
.hand { display: inline-block; padding: 1px 8px; border-radius: 6px; background: #FDECEC; color: #9F1A23; font-size: 12px; font-weight: 700; letter-spacing: .05em; white-space: nowrap; }

/* masked chat transcript */
.chat { list-style: none; margin: 20px 0 0; padding: 20px; border-radius: 18px; background: #F2F4F7; display: grid; gap: 10px; }
.chat > li { max-width: 82%; padding: 12px 16px; border-radius: 14px 14px 14px 4px; background: #fff; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.chat > li.op2 { justify-self: end; border-radius: 14px 14px 4px 14px; background: #EFE7FA; }
.chat__w { display: flex; gap: 10px; align-items: baseline; margin-bottom: 4px; font-size: 12.5px; color: var(--muted); }
.chat__w b { font-weight: 700; color: var(--ink); }
.chat__more { justify-self: center; font-size: 13px; color: var(--muted); }

/* numbered action steps */
.steps { list-style: none; margin: 16px 0 0; padding: 0; counter-reset: st; display: grid; gap: 10px; }
.steps > li { counter-increment: st; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid #E4E7EC; font-size: 15.5px; line-height: 1.6; }
.steps > li::before { content: counter(st); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; }
.steps b { color: var(--ink); font-weight: 600; }

/* handling / about box */
.handling { margin-top: 56px; padding: 24px; border-radius: 16px; border: 1px solid #E4E7EC; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.prose .handling h2 { margin: 0; font-size: 13px; font-family: var(--font); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }

/* ===== cyberpedia ===== */
.chero { margin: 0 16px; padding: 40px 0 56px; border-radius: 0 0 32px 32px; background: var(--warm); }
.chero .crumb { margin-bottom: 24px; }
.chero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center; }
.chero__series { font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.chero h1 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.12; color: var(--ink); text-wrap: balance; }
.chero__dek { margin-top: 18px; font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 54ch; }
.chero .ahero__meta { border-top-color: rgba(16,24,40,.12); color: var(--muted); }
.chero .ahero__by { color: var(--ink); }
.chero__img { margin: 0; border-radius: 18px; overflow: hidden; }
.chero__img img { display: block; width: 100%; height: auto; }

.takeaways { padding: 26px 28px; border-radius: 18px; background: var(--ink); color: rgba(255,255,255,.82); }
.prose .takeaways h2 { margin: 0 0 6px; font-family: var(--font); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red-light); }
.takeaways ul { list-style: none; margin: 0; padding: 0; }
.takeaways li { padding: 14px 0 14px 30px; position: relative; border-top: 1px solid rgba(255,255,255,.12); font-size: 16px; line-height: 1.6; }
.takeaways li:first-child { border-top: 0; }
.takeaways li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 14px; height: 8px; border-left: 2px solid #C9B3EE; border-bottom: 2px solid #C9B3EE; transform: rotate(-45deg); }
.takeaways b { color: #fff; font-weight: 600; }

.defn { margin: 0 0 24px; padding: 4px 0 4px 0; font-family: var(--font-head); font-size: 22px; line-height: 1.5; font-weight: 400; color: var(--ink); }
.defn dfn { font-style: normal; font-weight: 500; color: var(--violet); }

.cmp table { min-width: 620px; }
.cmp tbody tr.is-hi > * { background: #FBF8FF; }
.cmp tbody tr.is-hi th { color: var(--violet); }

.ddd { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ddd > li { padding: 22px 20px; border-radius: 16px; border: 1px solid #E4E7EC; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.6; }
.ddd__l { font-size: 12px; line-height: 1.4; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.ddd__t { font-family: var(--font-head); font-size: 17px; line-height: 1.35; font-weight: 500; color: var(--ink); }

.faq { margin-top: 20px; border-top: 1px solid #E4E7EC; }
.faq details { border-bottom: 1px solid #E4E7EC; }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 16px; align-items: start; padding: 20px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0 !important; font-size: 18px !important; line-height: 1.45; }
.faq summary::after { content: ""; width: 12px; height: 12px; margin: 8px 0 0 6px; border-right: 2px solid var(--violet); border-bottom: 2px solid var(--violet); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 14px; }
.faq summary:hover h3 { color: var(--violet); }
.faq details > div { padding: 0 40px 22px 0; font-size: 16px; }

@media (max-width: 1000px) {
  .chero__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .chero__img { max-width: 520px; }
}
@media (max-width: 760px) {
  .ahero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ahero__facts > div:nth-child(3) { border-left: 0; }
  .ahero__facts > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.16); }
  .glance, .glance--2 { grid-template-columns: minmax(0, 1fr); }
  .glance--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kfl > li { grid-template-columns: 32px minmax(0, 1fr); }
  .kfl > li .kfl__d { grid-column: 2; }
  .prio, .ddd { grid-template-columns: minmax(0, 1fr); }
  .vers > li { grid-template-columns: minmax(0, 1fr); }
  .chat > li { max-width: 94%; }
  .bluf, .takeaways { padding: 22px 20px; }
  .chero { margin: 0 8px; padding: 28px 0 40px; border-radius: 0 0 24px 24px; }
}
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
/* r1 */
.ahero__facts { grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); justify-content: stretch; }
.ahero__facts dd { white-space: normal; overflow-wrap: anywhere; font-size: 14.5px; }
.prose > :not(section) + section { margin-top: 72px; }
.prose > .vbanner { margin-top: 72px; }
@media (max-width: 760px) { .ahero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* r2 */
.ahero__facts { grid-template-columns: minmax(0, 1fr) auto auto auto; }
.ahero__facts > div:not(:first-child) dd { white-space: nowrap; }
.sev { white-space: nowrap; }
.prose .bluf .bluf__k { margin: 0; font-size: 13px; line-height: 1.4; color: var(--red); }
.fig + .glance, .fig + .estab, p + .glance, p + .prio, p + .kfl { margin-top: 18px; }
.kfl + p, .estab + p, .prio + p, .cves + p, .steps + p, .chat + p, .glance + p { margin-top: 24px; }
.lead + .bluf { margin-top: 28px; }
@media (max-width: 640px) { .prose .lead { font-size: 18px; } }
@media (max-width: 760px) { .ahero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ahero__facts > div:not(:first-child) dd { white-space: normal; } }

/* ===== Dark mode (html[data-theme="dark"]) ===== */
/* intentionally-dark panels: pin background so the global --ink text-color
   flip doesn't lighten them — they already carry literal white/
   rgba(255,255,255,…) text. */
html[data-theme="dark"] .prio > li,
html[data-theme="dark"] .vbanner,
html[data-theme="dark"] .steps > li::before,
html[data-theme="dark"] .takeaways,
html[data-theme="dark"] .chero { background: #101828; }

/* .chero uses var(--warm) as a light hero background with dark literal
   (var(--ink)) text above it; give it a dark-appropriate background instead
   of the plain panel pin used for the others. */
html[data-theme="dark"] .chero { background: linear-gradient(180deg, #0B0F1E 0%, #141A2A 100%); }

/* light cards/surfaces (literal #fff / #F9FAFB / #F2F4F7 as a card/row
   surface): swap to the shared dark card or inset surface. */
html[data-theme="dark"] .glance > li,
html[data-theme="dark"] .estab__g,
html[data-theme="dark"] .cve__h,
html[data-theme="dark"] .chat > li { background: #1D2939; }
html[data-theme="dark"] .glance,
html[data-theme="dark"] .estab__g,
html[data-theme="dark"] .cve,
html[data-theme="dark"] .steps > li,
html[data-theme="dark"] .handling { border-color: rgba(255,255,255,.1); }
html[data-theme="dark"] .glance { background: rgba(255,255,255,.1); }
html[data-theme="dark"] .chat { background: #161C2C; }
html[data-theme="dark"] .chat > li.op2 { background: #2A2340; }
html[data-theme="dark"] .vers > li::before { background: #1D2939; }
html[data-theme="dark"] .estab__g--n { background: #161C2C; border-color: rgba(255,255,255,.14); }
html[data-theme="dark"] .estab li,
html[data-theme="dark"] .kfl,
html[data-theme="dark"] .kfl > li,
html[data-theme="dark"] .cves .cve ol { border-color: rgba(255,255,255,.1); }
html[data-theme="dark"] .vers > li::after { background: rgba(255,255,255,.14); }

/* the cyberpedia hero's "best suited"/meta line sits on the now-dark .chero
   background, so flip its muted-grey copy to the light-muted token */
html[data-theme="dark"] .chero .ahero__meta { color: #98A2B3; }
html[data-theme="dark"] .chero .ahero__cta small { color: #98A2B3; }

/* FAQ accordion divider borders */
html[data-theme="dark"] .faq,
html[data-theme="dark"] .faq details { border-color: rgba(255,255,255,.1); }
