.tech-name {
  font-size: 1.35rem; font-weight: 500; color: var(--ink-strong);
  margin: 0; letter-spacing: -0.01em;
}

.tech-retired {
  margin: 0.9rem 0 0; padding: 0.6rem 0.8rem; font-size: 0.88rem;
  color: var(--ink-soft); background: var(--bg-sunken);
  border-left: 2px solid var(--sev-medium); border-radius: 3px;
}

.tech-hidden {
  margin: 0.5rem 0 0; font-size: 0.88rem; color: var(--ink-faint);
  display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem;
}

.tech-eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--ink-faint);
  margin: 0 0 0.9rem;
}

/* ---- MITRE panel ---- */

.tech-attack {
  margin: 2.2rem 0 0; padding: 1.4rem 0 0;
  border-top: 1px solid var(--rule);
}
.tech-desc { max-width: 68ch; font-size: 0.95rem; }
.tech-desc > *:first-child { margin-top: 0; }

.tech-facts {
  /* minmax(0,…), not 1fr: an auto-minimum track grows to fit the widest
     telemetry chip row and pushes the whole page into horizontal scroll. */
  display: grid; grid-template-columns: 7rem minmax(0, 1fr);
  gap: 0.5rem 1.2rem; margin: 1.6rem 0 0; font-size: 0.9rem;
}
.tech-facts > div { display: contents; }
.tech-facts dt {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--ink-faint); padding-top: 0.15rem;
}
.tech-facts dd {
  margin: 0; color: var(--ink-soft); min-width: 0;
  display: flex; flex-wrap: wrap; gap: 0.3rem 0.35rem; align-items: baseline;
}
/* Tactics and platforms are prose with separators, not chips — the flex row
   above would break the `·` onto lines of its own. */
.tech-facts dd.is-inline { display: block; }

.tech-log {
  font-family: var(--font-mono); font-size: 0.76rem;
  background: var(--bg-sunken); color: var(--ink-soft);
  padding: 0.1rem 0.35rem; border-radius: 3px;
  white-space: nowrap;
}

/* ---- Detection strategy ---- */

.tech-strategy { margin: 1.9rem 0 0; }
.tech-strategy h3 {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-strong); margin: 0 0 0.3rem;
}
.tech-strategy h3 .faint {
  font-family: var(--font-mono); font-weight: 400; letter-spacing: 0;
  text-transform: none; font-size: 0.76rem; margin-left: 0.4rem;
}
.tech-strategy-name {
  margin: 0 0 1rem; font-size: 0.9rem; color: var(--ink-soft); max-width: 68ch;
}

.tech-analytic {
  margin: 0 0 1.1rem; padding-left: 0.9rem;
  border-left: 1px solid var(--rule-soft);
}
.tech-analytic-head {
  margin: 0 0 0.3rem; display: flex; flex-wrap: wrap;
  align-items: center; gap: 0.4rem;
}
.tech-plat {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.03em;
  color: var(--ink-strong); background: var(--bg-sunken);
  padding: 0.12rem 0.4rem; border-radius: 3px;
}
.tech-analytic-head .faint { font-size: 0.76rem; font-family: var(--font-mono); }
.tech-analytic-desc {
  margin: 0 0 0.45rem; font-size: 0.88rem;
  color: var(--ink-soft); max-width: 68ch; line-height: 1.5;
}
.tech-sources { list-style: none; padding: 0; margin: 0; }
.tech-sources li { font-size: 0.8rem; color: var(--ink-faint); padding: 0.1rem 0; }

.tech-mitre-link { margin: 1.6rem 0 0; font-size: 0.9rem; }

/* ---- Sub-technique breakdown ---- */

.tech-subs {
  margin: 2.2rem 0 0; padding: 1.4rem 0 0;
  border-top: 1px solid var(--rule);
}
.tech-subs-note { font-size: 0.84rem; margin: -0.4rem 0 0.9rem; }
.tech-subs ul { list-style: none; padding: 0; margin: 0; }
.tech-subs li {
  display: grid; grid-template-columns: 6.5rem 1fr 4rem;
  align-items: baseline; gap: 0.8rem;
  padding: 0.32rem 0; border-bottom: 1px solid var(--rule-soft);
  font-size: 0.88rem;
}
.tech-subs li:last-child { border-bottom: 0; }
.tech-subs a { text-decoration: none; }
.tech-subs .sub-id {
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-soft);
}
.tech-subs .sub-name { color: var(--ink); }
.tech-subs .sub-n {
  font-family: var(--font-mono); font-size: 0.82rem; text-align: right;
  color: var(--ink-soft); font-variant-numeric: tabular-nums;
}
.tech-subs li:hover .sub-id,
.tech-subs li:hover .sub-name,
.tech-subs li:hover .sub-n { color: var(--accent); }

/* ---- Per-source blocks ---- */

.tech-source { margin-top: 2.2rem; }
.tech-source > header {
  display: flex; align-items: baseline; gap: 1rem;
  flex-wrap: wrap; margin-bottom: 0.7rem;
}
.tech-source > header h2 { margin: 0; }
.tech-source-n { font-size: 0.9rem; text-decoration: none; }
.tech-source-n:hover .stat-num { color: var(--accent); }

.tech-more {
  margin: 0.6rem 0 0; font-size: 0.88rem;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem;
}
.tech-more .faint { font-size: 0.8rem; }

.tech-none {
  margin: 3rem 0; text-align: center; color: var(--ink-soft);
  font-size: 0.95rem;
}
