/* Shared Case/Happening detail-page visual language. */
:root {
  --ch-detail-line: rgba(51, 65, 85, .58);
  --ch-detail-surface: rgba(10, 17, 30, .66);
  --ch-detail-surface-strong: rgba(15, 23, 42, .82);
  --ch-detail-text: rgb(226 232 240);
  --ch-detail-muted: rgb(148 163 184);
  --ch-detail-context: rgb(125 211 252);
  --ch-detail-context-border: rgba(56, 189, 248, .48);
  --ch-detail-context-bg: rgba(14, 116, 144, .20);
}

.ch-detail-section-heading {
  display: flex;
  align-items: center;
  gap: .48rem;
  margin: 0;
  color: rgb(241 245 249);
  font-size: 1.05rem;
  font-weight: 780;
  line-height: 1.25;
}

.ch-detail-section-heading::before,
.src-overall__title::before {
  content: "";
  width: .38rem;
  height: .38rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgb(45 212 191);
  box-shadow: 0 0 16px rgba(45, 212, 191, .32);
}

.ch-detail-section-meta {
  color: var(--ch-detail-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
}

.ch-detail-source-section,
.ch-detail-context-section,
.ch-detail-relation-section {
  min-width: 0;
  margin-top: 1rem;
  border-top: 1px solid var(--ch-detail-line);
  padding-top: 1rem;
}

.ch-detail-context-section {
  border: 1px solid rgba(51, 65, 85, .64);
  border-radius: .9rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, .48), rgba(8, 15, 28, .38));
  padding: .9rem;
}

.ch-detail-context-grid {
  display: grid;
  gap: .7rem;
}

.ch-detail-context-card {
  min-width: 0;
  border: 1px solid rgba(51, 65, 85, .66);
  border-radius: .72rem;
  background: rgba(2, 6, 23, .28);
  padding: .78rem;
}

.ch-detail-context-card__title {
  color: rgb(226 232 240);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: .04em;
  line-height: 1.35;
  text-transform: uppercase;
}

.ch-detail-context-card > .mt-1.text-xs,
.ch-detail-context-card > a.mt-1.text-xs {
  font-size: 13px;
  line-height: 1.55;
}

.ch-semantic-chip {
  display: inline-flex;
  align-items: center;
  gap: .34rem;
  max-width: 100%;
  min-height: 1.65rem;
  border: 1px solid rgba(71, 85, 105, .68);
  border-radius: .58rem;
  background: rgba(15, 23, 42, .62);
  color: rgba(226, 232, 240, .94);
  padding: .25rem .48rem;
  font-size: 11px;
  font-weight: 720;
  line-height: 1.2;
}

button.ch-semantic-chip {
  appearance: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

button.ch-semantic-chip:hover,
button.ch-semantic-chip:focus-visible,
button.ch-semantic-chip[aria-expanded="true"] {
  border-color: currentColor;
  filter: brightness(1.08);
  outline: none;
}

.ch-semantic-chip--tool,
.ch-semantic-chip--context {
  border-color: var(--ch-detail-context-border) !important;
  background: linear-gradient(135deg, rgba(14, 116, 144, .27), rgba(30, 64, 175, .19)) !important;
  color: rgb(186 230 253) !important;
  box-shadow: inset 0 1px 0 rgba(186, 230, 253, .07);
}

.ch-semantic-chip--core {
  border-color: rgba(45, 212, 191, .52) !important;
  background: linear-gradient(135deg, rgba(13, 148, 136, .28), rgba(14, 116, 144, .22)) !important;
  color: rgb(153 246 228) !important;
}

.ch-semantic-chip--impact {
  border-color: rgba(251, 146, 60, .45) !important;
  background: rgba(120, 53, 15, .22) !important;
  color: rgb(253 230 138) !important;
}

.ch-semantic-chip--good {
  border-color: rgba(52, 211, 153, .40) !important;
  background: rgba(6, 95, 70, .20) !important;
  color: rgb(167 243 208) !important;
}

.ch-semantic-chip--actor {
  border-color: rgba(167, 139, 250, .46) !important;
  background: linear-gradient(135deg, rgba(91, 33, 182, .24), rgba(30, 64, 175, .18)) !important;
  color: rgb(221 214 254) !important;
}

.ch-semantic-chip--malware,
.ch-semantic-chip--danger {
  border-color: rgba(248, 113, 113, .48) !important;
  background: linear-gradient(135deg, rgba(127, 29, 29, .28), rgba(88, 28, 135, .16)) !important;
  color: rgb(254 202 202) !important;
}

.ch-semantic-chip--vulnerability {
  border-color: rgba(251, 191, 36, .48) !important;
  background: linear-gradient(135deg, rgba(120, 53, 15, .28), rgba(146, 64, 14, .16)) !important;
  color: rgb(254 240 138) !important;
}

.ch-semantic-chip--ioc {
  border-color: rgba(129, 140, 248, .48) !important;
  background: linear-gradient(135deg, rgba(49, 46, 129, .30), rgba(76, 29, 149, .20)) !important;
  color: rgb(224 231 255) !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.ch-semantic-chip__kind,
.ch-semantic-chip__count {
  flex: 0 0 auto;
  border: 1px solid rgba(186, 230, 253, .24);
  border-radius: 999px;
  background: rgba(2, 6, 23, .34);
  color: currentColor;
  font-size: 9px;
  font-weight: 820;
  letter-spacing: .035em;
  line-height: 1.15;
  padding: .08rem .3rem;
  text-transform: uppercase;
}

.ch-detail-relation-section {
  display: grid;
  gap: .7rem;
}

.ch-detail-relation-grid {
  display: grid;
  gap: .7rem;
}

.ch-detail-relation-card {
  position: relative;
  display: grid;
  gap: .52rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--ch-relation-accent, rgb(245 158 11)) 46%, rgba(51, 65, 85, .72));
  border-radius: .82rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--ch-relation-tint, rgba(245, 158, 11, .14)) 64%, rgba(15, 23, 42, .75)), rgba(2, 6, 23, .48));
  padding: .78rem .85rem .82rem 1rem;
}

.ch-detail-relation-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--ch-relation-accent, rgb(245 158 11));
}

.ch-detail-relation-card__eyebrow {
  color: color-mix(in srgb, var(--ch-relation-accent, rgb(245 158 11)) 76%, white);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.ch-detail-relation-card__title {
  color: rgb(241 245 249);
  font-size: 14px;
  font-weight: 790;
  line-height: 1.3;
}

.ch-detail-relation-card__title:hover,
.ch-detail-relation-card__title:focus-visible {
  color: rgb(253 230 138);
  outline: none;
}

.ch-detail-relation-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .38rem;
}

.ch-detail-relation-card__meta span {
  border: 1px solid rgba(148, 163, 184, .25);
  border-radius: 999px;
  background: rgba(2, 6, 23, .28);
  color: rgb(203 213 225);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  padding: .1rem .35rem;
}

.ch-detail-relation-card__reason {
  color: rgba(203, 213, 225, .9);
  font-size: 12px;
  line-height: 1.45;
}

.ch-detail-relation-card__action {
  justify-self: start;
  color: rgb(253 230 138);
  font-size: 11px;
  font-weight: 800;
}

.case-page-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .42rem;
}

.case-page-meta-line > span {
  border: 1px solid rgba(71, 85, 105, .62);
  border-radius: 999px;
  background: rgba(2, 6, 23, .30);
  color: rgb(148 163 184);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  padding: .14rem .42rem;
}

.ch-happening-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr));
  gap: .42rem;
  margin-top: .85rem;
  border-top: 1px solid rgba(51, 65, 85, .58);
  padding-top: .78rem;
}

.ch-happening-meta-item {
  display: grid;
  gap: .12rem;
  min-width: 0;
  border: 1px solid rgba(71, 85, 105, .50);
  border-radius: .58rem;
  background: rgba(2, 6, 23, .25);
  padding: .4rem .48rem;
}

button.ch-happening-meta-item {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

button.ch-happening-meta-item:hover,
button.ch-happening-meta-item:focus-visible {
  border-color: rgba(52, 211, 153, .62);
  background: rgba(6, 78, 59, .22);
  outline: none;
  transform: translateY(-1px);
}

.ch-freshness-inspect {
  display: inline-flex;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  padding: 0;
  cursor: pointer;
}

.ch-freshness-inspect:hover,
.ch-freshness-inspect:focus-visible {
  outline: 2px solid rgba(52, 211, 153, .48);
  outline-offset: 2px;
}

.ch-reporting-history {
  display: grid;
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ch-reporting-history__item {
  display: grid;
  grid-template-columns: minmax(7rem, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem;
  border: 1px solid rgba(51, 65, 85, .72);
  border-radius: .65rem;
  background: rgba(15, 23, 42, .42);
  padding: .58rem .65rem;
}

.ch-reporting-history__item.is-focused {
  border-color: rgba(52, 211, 153, .68);
  background: rgba(6, 78, 59, .2);
}

.ch-reporting-history__date,
.ch-reporting-history__domain,
.ch-reporting-publisher p {
  color: rgb(148 163 184);
  font-size: 11px;
}

.ch-reporting-history__main {
  display: grid;
  min-width: 0;
  gap: .12rem;
}

.ch-reporting-history__title {
  color: rgb(167 243 208);
  font-size: 12px;
  font-weight: 700;
}

.ch-reporting-history__focus {
  border: 1px solid rgba(52, 211, 153, .42);
  border-radius: 999px;
  color: rgb(110 231 183);
  font-size: 10px;
  font-weight: 750;
  padding: .14rem .38rem;
}

.ch-reporting-publishers {
  display: grid;
  gap: .5rem;
}

.ch-reporting-publisher {
  border: 1px solid rgba(51, 65, 85, .72);
  border-radius: .65rem;
  background: rgba(15, 23, 42, .42);
  padding: .58rem .65rem;
}

.ch-reporting-publisher__head {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  color: rgb(226 232 240);
  font-size: 12px;
}

@media (max-width: 640px) {
  .ch-reporting-history__item { grid-template-columns: 1fr; gap: .25rem; }
  .ch-reporting-history__focus { justify-self: start; }
}

.ch-happening-meta-item__label {
  color: rgb(148 163 184);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.ch-happening-meta-item__value {
  color: rgb(226 232 240);
  font-size: 12px;
  font-weight: 680;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.case-context-panel.ch-detail-context-card {
  background: rgba(2, 6, 23, .25);
}

.src-overall__title {
  display: inline-flex !important;
  align-items: center;
  gap: .48rem;
}

.ch-evidence-detail-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: grid;
  align-items: center;
  padding: clamp(.45rem, 2vw, 1.2rem);
  background: rgba(2, 6, 23, .80);
  backdrop-filter: blur(5px);
}

.ch-evidence-detail-dialog {
  width: min(74rem, 100%);
  max-height: min(88vh, 58rem);
  margin: 0 auto;
  overflow: auto;
  border: 1px solid rgba(52, 211, 153, .34);
  border-radius: 1rem;
  background: rgb(2 6 23);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .58);
  padding: clamp(.8rem, 2vw, 1.2rem);
}

.ch-evidence-inline-host {
  display: none;
  min-width: 0;
  width: 100%;
}

.ch-evidence-inline-host.is-open {
  display: block;
}

.has-inline-evidence {
  grid-column: 1 / -1 !important;
  min-width: 0;
}

.ch-evidence-detail-inline {
  --ch-evidence-anchor-x: 2rem;
  --ch-evidence-anchor-color: rgb(110 231 183);
  position: relative;
  min-width: 0;
  width: 100%;
  margin-top: .38rem;
  padding-top: .72rem;
  animation: ch-evidence-inline-enter 160ms cubic-bezier(.2,.8,.2,1);
}

.ch-evidence-detail-anchored {
  --ch-evidence-anchor-x: 2rem;
  --ch-evidence-anchor-color: rgb(110 231 183);
  position: absolute;
  z-index: 10010;
  min-width: 0;
  padding-top: .72rem;
  animation: ch-evidence-inline-enter 160ms cubic-bezier(.2,.8,.2,1);
}

.ch-evidence-detail-veil {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
}

.ch-evidence-detail-veil__panel {
  position: fixed;
  display: block;
  background: rgba(2, 6, 23, .54);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.ch-evidence-detail-veil--stacked .ch-evidence-detail-veil__panel {
  pointer-events: auto;
}

[data-evidence-detail-suspended="true"] {
  pointer-events: none;
}

.ch-evidence-detail-scroll-reserve {
  display: block;
  flex: 0 0 auto;
  width: 1px;
  min-height: 0;
  pointer-events: none;
}

.ch-evidence-detail-inline::before,
.ch-evidence-detail-anchored::before {
  content: "";
  position: absolute;
  top: .36rem;
  left: var(--ch-evidence-anchor-x);
  z-index: 2;
  width: .72rem;
  height: .72rem;
  border-top: 1px solid color-mix(in srgb, var(--ch-evidence-anchor-color) 65%, transparent);
  border-left: 1px solid color-mix(in srgb, var(--ch-evidence-anchor-color) 65%, transparent);
  background: rgb(2 6 23);
  transform: translateX(-50%) rotate(45deg);
}

.ch-evidence-detail-dialog--inline {
  width: 100%;
  max-height: none;
  margin: 0;
  overflow: visible;
  border-color: color-mix(in srgb, var(--ch-evidence-anchor-color) 46%, rgba(51, 65, 85, .72));
  border-radius: .86rem;
  background: linear-gradient(145deg, color-mix(in srgb, var(--ch-evidence-anchor-color) 6%, rgb(2 6 23)), rgb(2 6 23) 38%);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .32);
}

.ch-evidence-detail-dialog--anchored {
  max-height: none;
  overflow: visible;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .62);
}

.ch-evidence-detail-dialog--inline .ch-evidence-detail-head {
  position: static;
  margin: -.2rem -.2rem .62rem;
  background: transparent;
}

.is-evidence-active {
  position: relative;
  z-index: 1;
  border-color: currentColor !important;
  box-shadow: 0 0 0 1px currentColor, 0 0 18px color-mix(in srgb, currentColor 22%, transparent) !important;
}

.ch-narrative-evidence-anchor {
  border: 1px solid transparent;
  border-radius: .42rem;
  padding: .08rem .16rem;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.ch-narrative-evidence-anchor.is-evidence-active {
  border-color: rgba(52, 211, 153, .72) !important;
  background: rgba(13, 148, 136, .10);
  color: rgb(209 250 229);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, .18), 0 0 18px rgba(16, 185, 129, .14) !important;
}

.ch-native-inline-inspector,
.ch-cve-detail-panel {
  border-color: rgba(45, 212, 191, .30) !important;
  background: linear-gradient(145deg, rgba(6, 78, 59, .10), rgba(2, 6, 23, .58) 42%) !important;
  box-shadow: inset 0 1px 0 rgba(153, 246, 228, .04);
}

@keyframes ch-evidence-inline-enter {
  from { opacity: 0; transform: translateY(-.28rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .ch-evidence-detail-inline,
  .ch-evidence-detail-anchored { animation: none; }
}

.ch-evidence-detail-head {
  position: sticky;
  top: -1.2rem;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin: -.2rem -.2rem .85rem;
  padding: .35rem .2rem .8rem;
  background: linear-gradient(rgb(2 6 23) 80%, rgba(2, 6, 23, 0));
}

.ch-evidence-detail-head__actions {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .42rem;
}

.ch-evidence-detail-title {
  margin: 0;
  color: rgb(241 245 249);
  font-size: 1.05rem;
  font-weight: 820;
}

.ch-evidence-detail-subtitle {
  margin: .18rem 0 0;
  color: rgb(148 163 184);
  font-size: 12px;
}

.ch-evidence-detail-close {
  border: 1px solid rgb(51 65 85);
  border-radius: .55rem;
  background: rgba(15, 23, 42, .78);
  color: rgb(203 213 225);
  padding: .35rem .58rem;
  cursor: pointer;
}

.ch-evidence-detail-fullwidth {
  border: 1px solid rgba(56, 189, 248, .46);
  border-radius: .55rem;
  background: rgba(12, 74, 110, .32);
  color: rgb(186 230 253);
  padding: .35rem .58rem;
  cursor: pointer;
}

.ch-evidence-detail-fullwidth:hover,
.ch-evidence-detail-fullwidth:focus-visible,
.ch-evidence-detail-fullwidth[aria-pressed="true"] {
  border-color: rgba(125, 211, 252, .8);
  background: rgba(14, 116, 144, .42);
  color: rgb(224 242 254);
  outline: none;
}

.ch-evidence-detail-close:hover,
.ch-evidence-detail-close:focus-visible {
  border-color: rgb(110 231 183);
  color: rgb(167 243 208);
  outline: none;
}

.ch-evidence-detail-section-label {
  color: rgb(52 211 153);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.ch-evidence-detail-inspected,
.ch-evidence-detail-context,
.ch-evidence-detail-sources {
  min-width: 0;
  border-top: 1px solid rgba(51, 65, 85, .72);
  padding-top: .85rem;
}

.ch-evidence-detail-inspected {
  border: 1px solid rgba(45, 212, 191, .28);
  border-radius: .72rem;
  background: linear-gradient(135deg, rgba(6, 78, 59, .23), rgba(15, 23, 42, .62));
  padding: .58rem .68rem;
}

.ch-evidence-detail-inspected__head,
.ch-evidence-detail-sources__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
}

.ch-evidence-detail-inspected__kind {
  border: 1px solid rgba(110, 231, 183, .24);
  border-radius: 999px;
  color: rgb(167 243 208);
  font-size: 10px;
  padding: .1rem .36rem;
  text-transform: uppercase;
}

.ch-evidence-detail-inspected__body { margin-top: .32rem; }
.ch-evidence-detail-inspected__text { color: rgb(241 245 249); font-size: 14px; font-weight: 620; line-height: 1.55; }
.ch-evidence-detail-inspected__secondary { margin-top: .4rem; color: rgb(203 213 225); font-size: 13px; line-height: 1.55; }
.ch-evidence-detail-context,
.ch-evidence-detail-sources,
.ch-evidence-detail-values { margin-top: 1rem; }
.ch-evidence-detail-context__body { margin-top: .55rem; }
.ch-evidence-detail-context__body > .ch-detail-context-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}

.ch-evidence-detail-tabs {
  margin-top: 1rem;
}

.ch-evidence-detail-tab-list {
  display: flex;
  align-items: center;
  gap: .38rem;
  border-bottom: 1px solid rgba(51, 65, 85, .72);
  padding: 0 .12rem;
}

.ch-evidence-detail-tab {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  margin-bottom: -1px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: rgb(148 163 184);
  font: inherit;
  font-size: 12px;
  font-weight: 780;
  padding: .48rem .62rem;
  cursor: pointer;
}

.ch-evidence-detail-tab:hover,
.ch-evidence-detail-tab:focus-visible {
  color: rgb(203 213 225);
  outline: none;
}

.ch-evidence-detail-tab.is-empty {
  color: rgb(71 85 105);
  opacity: .72;
}

.ch-evidence-detail-tab.is-empty:hover,
.ch-evidence-detail-tab.is-empty:focus-visible {
  color: rgb(148 163 184);
  opacity: 1;
}

.ch-evidence-detail-tab.is-active {
  border-bottom-color: rgb(52 211 153);
  color: rgb(167 243 208);
}

.ch-evidence-detail-tab.is-empty.is-active {
  border-bottom-color: rgb(71 85 105);
  color: rgb(100 116 139);
  opacity: 1;
}

.ch-evidence-detail-tab__count {
  min-width: 1.15rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, .82);
  color: rgb(148 163 184);
  font-size: 9px;
  font-weight: 850;
  padding: .08rem .3rem;
  text-align: center;
}

.ch-evidence-detail-tab.is-active .ch-evidence-detail-tab__count {
  background: rgba(6, 78, 59, .35);
  color: rgb(110 231 183);
}

.ch-evidence-detail-tab.is-empty.is-active .ch-evidence-detail-tab__count {
  background: rgba(30, 41, 59, .72);
  color: rgb(100 116 139);
}

.ch-evidence-detail-tab-panel {
  margin-top: .78rem;
}

.ch-evidence-detail-tab-panel[hidden] {
  display: none;
}

.ch-evidence-measurements {
  display: grid;
  gap: .7rem;
}

.ch-evidence-measurement {
  border: 1px solid rgba(71, 85, 105, .72);
  border-radius: .75rem;
  background: linear-gradient(145deg, rgba(15, 23, 42, .88), rgba(2, 44, 34, .24));
  padding: .78rem .85rem;
}

.ch-evidence-measurement__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
}

.ch-evidence-measurement__location {
  color: rgb(167 243 208);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.ch-evidence-measurement__value {
  margin-top: .14rem;
  color: rgb(241 245 249);
  font-size: 1.04rem;
  font-weight: 760;
}

.ch-evidence-measurement__qualifier {
  flex: 0 0 auto;
  border: 1px solid rgba(52, 211, 153, .32);
  border-radius: 999px;
  background: rgba(6, 78, 59, .24);
  color: rgb(167 243 208);
  padding: .2rem .45rem;
  font-size: .65rem;
  font-weight: 750;
}

.ch-evidence-measurement__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .7rem;
  margin-top: .5rem;
  color: rgb(148 163 184);
  font-size: .72rem;
}

.ch-evidence-measurement__meta a {
  color: rgb(110 231 183);
  font-weight: 700;
}

.ch-evidence-measurement__quote {
  margin: .62rem 0 0;
  border-left: 2px solid rgba(52, 211, 153, .55);
  padding-left: .68rem;
  color: rgb(203 213 225);
  font-size: .79rem;
  line-height: 1.55;
}

.ch-evidence-detail-facts {
  min-width: 0;
  margin-top: .58rem;
}

.ch-evidence-detail-fact-list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: .38rem;
  margin: 0;
}

.ch-evidence-detail-fact {
  display: inline-flex;
  align-items: baseline;
  gap: .36rem;
  min-width: 0;
  border: 1px solid rgba(71, 85, 105, .58);
  border-radius: .56rem;
  background: rgba(15, 23, 42, .54);
  padding: .28rem .46rem;
  font-size: 11px;
  line-height: 1.35;
}

.ch-evidence-detail-fact--good { border-color: rgba(52, 211, 153, .34); background: rgba(6, 78, 59, .18); }
.ch-evidence-detail-fact--caution { border-color: rgba(250, 204, 21, .30); background: rgba(113, 63, 18, .15); }
.ch-evidence-detail-fact__label { color: rgb(148 163 184); font-weight: 820; letter-spacing: .035em; text-transform: uppercase; }
.ch-evidence-detail-fact__value { min-width: 0; margin: 0; color: rgb(226 232 240); font-weight: 680; overflow-wrap: anywhere; }
.ch-evidence-detail-fact__value a { color: rgb(110 231 183); text-decoration: none; }
.ch-evidence-detail-fact__value a:hover,
.ch-evidence-detail-fact__value a:focus-visible { color: rgb(167 243 208); text-decoration: underline; outline: none; }

.ch-evidence-detail-value-list { display: flex; flex-wrap: wrap; gap: .42rem; margin-top: .55rem; }
.ch-evidence-detail-value {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  border: 1px solid rgba(125, 211, 252, .28);
  border-radius: 999px;
  background: rgba(7, 89, 133, .16);
  color: rgb(224 242 254);
  font-size: 12px;
  padding: .28rem .5rem;
  cursor: pointer;
}
.ch-evidence-detail-value:hover,
.ch-evidence-detail-value:focus-visible,
.ch-evidence-detail-value.is-active { border-color: rgba(56, 189, 248, .7); background: rgba(7, 89, 133, .34); outline: none; }
.ch-evidence-detail-value--direct { border-color: rgba(52, 211, 153, .38); background: rgba(6, 78, 59, .22); }
.ch-evidence-detail-value--structured { border-color: rgba(250, 204, 21, .36); background: rgba(113, 63, 18, .18); }
.ch-evidence-detail-value--member_derived { border-style: dashed; color: rgb(203 213 225); }
.ch-evidence-detail-value__status { min-width: 1.1rem; border-radius: 999px; background: rgba(2, 6, 23, .55); color: rgb(148 163 184); font-size: 9px; font-weight: 850; padding: .08rem .28rem; text-align: center; text-transform: uppercase; }

.ch-evidence-detail-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem;
  margin-top: .55rem;
}

.ch-evidence-detail-search {
  min-width: 0;
  border: 1px solid rgb(51 65 85);
  border-radius: .62rem;
  background: rgba(15, 23, 42, .78);
  color: rgb(226 232 240);
  font-size: 12px;
  padding: .52rem .68rem;
}

.ch-evidence-detail-search:focus { border-color: rgba(52, 211, 153, .62); outline: none; }
.ch-evidence-detail-search__status { color: rgb(148 163 184); font-size: 11px; white-space: nowrap; }
.ch-evidence-detail-group { margin-top: .85rem; }
.ch-evidence-detail-group__title { display: flex; align-items: center; gap: .42rem; margin: 0 0 .48rem; color: rgb(203 213 225); font-size: 11px; font-weight: 860; text-transform: uppercase; }
.ch-evidence-detail-group__title span { border: 1px solid rgb(51 65 85); border-radius: 999px; color: rgb(148 163 184); font-size: 9px; padding: .08rem .34rem; }

.ch-evidence-detail-source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: .72rem;
  min-width: 0;
  padding: .05rem;
}

.ch-evidence-detail-source {
  min-width: 0;
  border: 1px solid rgb(30 41 59);
  border-radius: .78rem;
  background: rgba(15, 23, 42, .74);
  padding: .82rem;
}

.ch-evidence-detail-source--compact { padding: .68rem; }
.ch-evidence-detail-source--compact .ch-evidence-detail-source__quote { font-size: 12px; line-height: 1.48; }
.ch-evidence-detail-source--unresolved { border-color: rgba(251, 191, 36, .42); border-style: dashed; }
.ch-evidence-detail-source__lineage-warning { margin: .62rem 0 0; color: rgb(253 230 138); font-size: 11px; line-height: 1.45; }
.ch-evidence-source-list { display: grid; gap: .48rem; min-width: 0; margin-top: .55rem; }
.ch-evidence-source-list__head { display: flex; align-items: center; gap: .42rem; }
.ch-evidence-source-list__count { border: 1px solid rgba(71, 85, 105, .66); border-radius: 999px; color: rgb(148 163 184); font-size: 9px; font-weight: 820; padding: .08rem .34rem; }
.ch-evidence-source-list__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; padding: 0; }
.ch-evidence-source-list__grid > [hidden] { display: none; }
.ch-evidence-source-list__toggle { margin-top: .2rem; }
.ch-evidence-source-list__empty { margin-top: 0; }

.ch-evidence-detail-source--direct { border-color: rgba(52, 211, 153, .30); }
.ch-evidence-detail-source--structured { border-color: rgba(250, 204, 21, .30); }
.ch-evidence-detail-source--related-measurement,
.ch-evidence-detail-source--related-exposure { border-color: rgba(96, 165, 250, .32); }
.ch-evidence-detail-source__top { display: flex; align-items: flex-start; gap: .5rem; }
.ch-evidence-detail-source__title { color: rgb(110 231 183); font-size: 13px; font-weight: 760; line-height: 1.3; }
.ch-evidence-detail-source__title:hover { color: rgb(167 243 208); }
.ch-evidence-detail-source__meta { display: flex; flex-wrap: wrap; gap: .34rem .58rem; margin-top: .45rem; color: rgb(148 163 184); font-size: 11px; line-height: 1.4; }
.ch-evidence-detail-source__badge { border: 1px solid rgb(51 65 85); border-radius: 999px; padding: .1rem .34rem; }
.ch-evidence-detail-source__badge--direct { border-color: rgba(52, 211, 153, .35); color: rgb(110 231 183); }
.ch-evidence-detail-source__badge--structured { border-color: rgba(250, 204, 21, .34); color: rgb(253 224 71); }
.ch-evidence-detail-source__badge--indirect { border-color: rgba(125, 211, 252, .30); color: rgb(186 230 253); }
.ch-evidence-detail-source__badge--related-measurement,
.ch-evidence-detail-source__badge--related-exposure { border-color: rgba(96, 165, 250, .36); color: rgb(191 219 254); }
.ch-evidence-detail-source__quote-label { margin: .68rem 0 .24rem; color: rgb(52 211 153); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.ch-evidence-detail-source__quote { margin: 0; border-left: 2px solid rgba(52, 211, 153, .46); padding-left: .62rem; color: rgb(226 232 240); font-size: 13px; line-height: 1.56; }
.ch-evidence-detail-source__confirms,
.ch-evidence-detail-source__matches { display: grid; gap: .2rem; margin-top: .62rem; color: rgb(203 213 225); font-size: 12px; line-height: 1.45; }
.ch-evidence-detail-source__minor-label { color: rgb(148 163 184); font-size: 10px; font-weight: 860; text-transform: uppercase; }
.ch-evidence-detail-source__context { margin: .62rem 0 0; color: rgb(203 213 225); font-size: 13px; line-height: 1.52; }
.ch-evidence-detail-empty { margin: .6rem 0 0; border: 1px dashed rgb(51 65 85); border-radius: .68rem; color: rgb(148 163 184); font-size: 12px; padding: .75rem; }

.ch-evidence-detail-source-toggle {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: .78rem auto 0;
  border: 1px solid rgba(52, 211, 153, .34);
  border-radius: .62rem;
  background: rgba(6, 78, 59, .18);
  color: rgb(167 243 208);
  padding: .42rem .7rem;
  font-size: 11px;
  font-weight: 760;
  cursor: pointer;
}

.ch-evidence-detail-source-toggle:hover,
.ch-evidence-detail-source-toggle:focus-visible {
  border-color: rgba(52, 211, 153, .72);
  background: rgba(6, 78, 59, .32);
  outline: none;
}

.ch-evidence-detail-source-toggle[hidden] { display: none; }

@media (max-width: 959px) {
  .ch-evidence-detail-source-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 639px) {
  .ch-evidence-detail-backdrop { align-items: end; padding: 0; }
  .ch-evidence-detail-dialog { width: 100%; max-height: 88vh; border-radius: 1rem 1rem 0 0; border-right: 0; border-bottom: 0; border-left: 0; padding: .8rem; }
  .ch-evidence-detail-dialog--anchored { max-height: none; overflow: visible; border: 1px solid color-mix(in srgb, var(--ch-evidence-anchor-color) 46%, rgba(51, 65, 85, .72)); border-radius: .86rem; }
  .ch-evidence-detail-search-row { grid-template-columns: 1fr; }
  .ch-evidence-detail-search__status { white-space: normal; }
  .ch-evidence-detail-source-grid { grid-template-columns: minmax(0, 1fr); }
  .ch-evidence-source-list__grid { grid-template-columns: minmax(0, 1fr); }
  .ch-evidence-detail-fact { flex: 1 1 auto; }
}

@media (min-width: 760px) {
  .ch-detail-relation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 639px) {
  .ch-detail-context-section {
    margin-inline: -.75rem;
    border-inline: 0;
    border-radius: 0;
    padding: .78rem;
  }
  .ch-semantic-chip { font-size: 10px; }
}
.ch-detail-breadcrumb {
  margin-top: max(0px, calc(var(--ch-notices-overlay-height, 0px) - 2rem));
}

.ch-intel-profile { display: grid; gap: .75rem; }
.ch-intel-profile__facts { display: flex; flex-wrap: wrap; gap: .45rem; }
.ch-intel-profile__fact {
  display: inline-flex; align-items: baseline; gap: .4rem; max-width: 100%;
  padding: .42rem .62rem; border: 1px solid rgba(71, 85, 105, .72);
  border-radius: .65rem; background: rgba(15, 23, 42, .58);
  color: rgb(203 213 225); line-height: 1.35;
}
.ch-intel-profile__fact strong { color: rgb(110 231 183); font-size: .68rem; letter-spacing: .055em; text-transform: uppercase; }
.ch-registry-description-card {
  display: grid; gap: .35rem; padding: .68rem .75rem;
  border: 1px solid rgba(56, 189, 248, .2); border-radius: .7rem;
  background: linear-gradient(145deg, rgba(14, 116, 144, .1), rgba(15, 23, 42, .62));
}
.ch-registry-description-card__label { color: rgb(125 211 252); font-size: .66rem; font-weight: 820; letter-spacing: .055em; text-transform: uppercase; }
.ch-registry-description-card__text { margin: 0; color: rgb(203 213 225); line-height: 1.55; }
.ch-registry-profile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: .55rem; }
.ch-registry-profile-card {
  display: grid; gap: .38rem; padding: .72rem; border: 1px solid rgba(52, 211, 153, .22);
  border-radius: .75rem; background: linear-gradient(145deg, rgba(6, 78, 59, .13), rgba(15, 23, 42, .72));
}
.ch-registry-profile-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem; }
.ch-registry-profile-card__title { color: rgb(226 232 240); font-weight: 700; }
.ch-registry-profile-card__meta, .ch-intel-relationship__basis { color: rgb(100 116 139); font-size: .68rem; }
.ch-registry-profile-card__badges { display: flex; flex-wrap: wrap; gap: .3rem; }
.ch-registry-profile-card__badge {
  display: inline-flex; align-items: center; width: fit-content; padding: .14rem .4rem;
  border: 1px solid rgba(71, 85, 105, .72); border-radius: 999px;
  color: rgb(148 163 184); font-size: .62rem; font-weight: 780; letter-spacing: .035em; text-transform: uppercase;
}
.ch-registry-profile-card__badge--direct { border-color: rgba(52, 211, 153, .38); background: rgba(6, 78, 59, .2); color: rgb(167 243 208); }
.ch-registry-profile-card__badge--context { border-color: rgba(56, 189, 248, .32); background: rgba(14, 116, 144, .13); color: rgb(186 230 253); }
.ch-registry-profile-card__excerpt {
  display: grid; gap: .32rem; margin-top: .12rem; padding: .62rem .68rem;
  border: 1px solid rgba(56, 189, 248, .2); border-radius: .62rem; background: rgba(2, 6, 23, .34);
}
.ch-registry-profile-card__excerpt-label { color: rgb(125 211 252); font-size: .65rem; font-weight: 820; letter-spacing: .055em; text-transform: uppercase; }
.ch-registry-profile-card__excerpt-text { margin: 0; color: rgb(203 213 225); font-size: .78rem; line-height: 1.55; }
.ch-registry-profile-card__license { margin: .08rem 0 0; color: rgb(100 116 139); font-size: .65rem; line-height: 1.45; }
.ch-registry-profile-card__license a { color: rgb(148 163 184); text-decoration: underline; text-decoration-color: rgba(148, 163, 184, .42); text-underline-offset: .14em; }
.ch-registry-profile-card__license a:hover { color: rgb(203 213 225); }
.ch-registry-profile-card__link, .ch-intel-relationship a { color: rgb(110 231 183); font-weight: 650; text-decoration: none; }
.ch-registry-profile-card__link:hover, .ch-intel-relationship a:hover { color: rgb(167 243 208); text-decoration: underline; }
.ch-intel-relationship-list { display: grid; gap: .42rem; }
.ch-intel-relationship {
  display: grid; grid-template-columns: minmax(5.5rem, auto) minmax(0, 1fr) auto;
  align-items: center; gap: .55rem; padding: .55rem .65rem;
  border: 1px solid rgba(51, 65, 85, .78); border-radius: .65rem; background: rgba(15, 23, 42, .52);
}
.ch-intel-relationship__type { color: rgb(125 211 252); font-size: .68rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.ch-intel-coverage { display: grid; gap: .7rem; }
.ch-intel-coverage__note {
  margin: 0; padding: .62rem .72rem; border-left: 3px solid rgba(56, 189, 248, .72);
  border-radius: .25rem .65rem .65rem .25rem; background: rgba(14, 116, 144, .1);
  color: rgb(186 230 253); line-height: 1.5;
}
.ch-intel-coverage__grid { display: grid; grid-template-columns: minmax(8rem, auto) minmax(0, 1fr); gap: .42rem .75rem; margin: 0; }
.ch-intel-coverage__grid dt { color: rgb(100 116 139); }
.ch-intel-coverage__grid dd { margin: 0; color: rgb(203 213 225); font-weight: 650; }

.case-mitre-section { display: grid; gap: .72rem; }
.case-mitre-section__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .7rem; }
.case-mitre-section__intro { margin: .2rem 0 0; color: rgb(100 116 139); font-size: 11px; line-height: 1.45; }
.case-mitre-section__count {
  min-width: 1.5rem;
  border: 1px solid rgba(52, 211, 153, .3);
  border-radius: 999px;
  background: rgba(6, 78, 59, .22);
  color: rgb(110 231 183);
  font-size: 10px;
  font-weight: 850;
  padding: .12rem .38rem;
  text-align: center;
}
.case-mitre-preview-host { min-width: 0; }
.case-mitre-technique-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: .5rem; }
.case-mitre-technique-card {
  display: grid;
  align-content: start;
  gap: .42rem;
  min-width: 0;
  width: 100%;
  border: 1px solid rgba(51, 65, 85, .78);
  border-radius: .72rem;
  background: linear-gradient(145deg, rgba(15, 23, 42, .82), rgba(6, 78, 59, .12));
  color: inherit;
  padding: .68rem .72rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}
.case-mitre-technique-card:hover,
.case-mitre-technique-card:focus-visible,
.case-mitre-technique-card.is-evidence-active {
  border-color: rgba(52, 211, 153, .62);
  background: linear-gradient(145deg, rgba(6, 78, 59, .28), rgba(15, 23, 42, .9));
  outline: none;
  transform: translateY(-1px);
}
.case-mitre-technique-card__head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: .42rem; }
.case-mitre-technique-card__id { color: rgb(110 231 183); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; font-weight: 850; }
.case-mitre-technique-card__name { color: rgb(241 245 249); font-size: 12px; font-weight: 760; line-height: 1.35; }
.case-mitre-technique-card__meta { display: flex; flex-wrap: wrap; gap: .28rem; }
.case-mitre-technique-card__tactic,
.case-mitre-technique-card__coverage,
.case-mitre-confidence {
  border: 1px solid rgba(71, 85, 105, .7);
  border-radius: 999px;
  color: rgb(148 163 184);
  font-size: 9px;
  font-weight: 760;
  line-height: 1.3;
  padding: .1rem .34rem;
}
.case-mitre-technique-card__tactic { border-color: rgba(56, 189, 248, .3); background: rgba(12, 74, 110, .2); color: rgb(186 230 253); }
.case-mitre-technique-card__coverage { border-color: rgba(52, 211, 153, .28); color: rgb(167 243 208); }
.case-mitre-technique-card__explanation { display: -webkit-box; overflow: hidden; color: rgb(203 213 225); font-size: 11px; line-height: 1.48; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.case-mitre-technique-card__explanation--empty { color: rgb(100 116 139); font-style: italic; }
.case-mitre-technique-groups { display: grid; gap: .9rem; }
.case-mitre-technique-group { display: grid; gap: .48rem; }
.case-mitre-technique-group__head { display: flex; align-items: center; gap: .42rem; border-bottom: 1px solid rgba(51, 65, 85, .62); padding-bottom: .35rem; }
.case-mitre-technique-group__head h3 { margin: 0; color: rgb(186 230 253); font-size: 11px; font-weight: 850; letter-spacing: .045em; text-transform: uppercase; }
.case-mitre-technique-group__head span { border-radius: 999px; background: rgba(15, 23, 42, .82); color: rgb(148 163 184); font-size: 9px; font-weight: 850; padding: .08rem .32rem; }
.case-mitre-mapping-list { display: grid; gap: .58rem; }
.case-mitre-mapping-evidence { border: 1px solid rgba(52, 211, 153, .24); border-radius: .72rem; background: linear-gradient(145deg, rgba(6, 78, 59, .17), rgba(15, 23, 42, .7)); padding: .68rem .72rem; }
.case-mitre-mapping-evidence__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem; }
.case-mitre-mapping-evidence__label { color: rgb(110 231 183); font-size: 10px; font-weight: 880; letter-spacing: .06em; text-transform: uppercase; }
.case-mitre-mapping-evidence__via { margin-top: .42rem; color: rgb(125 211 252); font-size: 10px; font-weight: 720; }
.case-mitre-mapping-evidence__text { margin: .45rem 0 0; color: rgb(226 232 240); font-size: 13px; line-height: 1.58; }
.case-mitre-mapping-evidence__empty { margin: .45rem 0 0; color: rgb(100 116 139); font-size: 12px; font-style: italic; }
.case-mitre-mapping-evidence__member { display: flex; flex-wrap: wrap; gap: .35rem .55rem; margin-top: .52rem; border-top: 1px solid rgba(51, 65, 85, .58); padding-top: .44rem; color: rgb(100 116 139); font-size: 10px; }
.case-mitre-mapping-evidence__member a,
.case-mitre-mapping-evidence__member strong { color: rgb(167 243 208); font-weight: 720; text-decoration: none; }
.case-mitre-mapping-evidence__member a:hover { text-decoration: underline; }
.case-mitre-matrix-host { min-width: 0; }
.case-service-version-context { display: grid; gap: .75rem; }
.case-service-version-context__notice {
  margin: 0; padding: .62rem .72rem; border-left: 3px solid rgba(56, 189, 248, .72);
  border-radius: .25rem .65rem .65rem .25rem; background: rgba(14, 116, 144, .1);
  color: rgb(186 230 253); font-size: .76rem; line-height: 1.5;
}
.case-service-version-product {
  display: grid; gap: .55rem; padding: .72rem; border: 1px solid rgba(51, 65, 85, .8);
  border-radius: .78rem; background: rgba(2, 6, 23, .24);
}
.case-service-version-product__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem; }
.case-service-version-product__title { margin: 0; color: rgb(226 232 240); font-size: .92rem; font-weight: 760; }
.case-service-version-product__count { color: rgb(100 116 139); font-size: .67rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.case-service-version-product__empty { margin: 0; color: rgb(148 163 184); font-size: .74rem; line-height: 1.45; }
.case-service-version-product__registry { display: grid; gap: .55rem; }
.case-service-version-cve {
  display: grid; gap: .48rem; padding: .55rem; border: 1px solid rgba(56, 189, 248, .18);
  border-radius: .68rem; background: rgba(14, 116, 144, .055);
}
.case-service-version-cve > .ch-cve-chip { justify-self: start; }
.case-service-version-cve__scope .ch-cve-version-scope__meta { margin-top: .35rem; }
.case-service-version-statement {
  display: grid; gap: .48rem; padding: .7rem; border: 1px solid rgba(52, 211, 153, .2);
  border-radius: .72rem; background: linear-gradient(145deg, rgba(6, 78, 59, .1), rgba(15, 23, 42, .62));
}
.case-service-version-statement__head { display: flex; flex-wrap: wrap; align-items: center; gap: .38rem .6rem; }
.case-service-version-statement__status { color: rgb(110 231 183); font-size: .67rem; font-weight: 820; letter-spacing: .05em; text-transform: uppercase; }
.case-service-version-statement__kind { color: rgb(100 116 139); font-size: .67rem; }
.case-service-version-statement__text {
  display: -webkit-box; margin: 0; overflow: hidden; color: rgb(203 213 225); font-size: .8rem; line-height: 1.55;
  -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}
.case-service-version-statement.is-expanded .case-service-version-statement__text { display: block; overflow: visible; }
.case-service-version-statement__expand {
  width: fit-content; border: 0; padding: 0; background: transparent; color: rgb(110 231 183);
  font-size: .7rem; font-weight: 700; cursor: pointer;
}
.case-service-version-statement__tags { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.case-service-version-statement__tags > .ch-semantic-chip {
  border-color: rgba(56, 189, 248, .32); background: rgba(14, 116, 144, .13); color: rgb(186 230 253);
}
.case-service-version-statement__sources { display: grid; gap: .32rem; margin-top: .08rem; }
.case-service-version-source { display: flex; align-items: center; gap: .45rem; min-width: 0; }
.case-service-version-source__body { display: grid; min-width: 0; line-height: 1.25; }
.case-service-version-source__body a { overflow: hidden; color: rgb(203 213 225); font-size: .74rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.case-service-version-source__body a:hover { color: rgb(110 231 183); }
.case-service-version-source__meta { color: rgb(100 116 139); font-size: .63rem; }

.ch-cve-version-scope { display: grid; gap: .65rem; }
.ch-cve-version-scope__section { display: grid; gap: .4rem; }
.ch-cve-version-scope__title { color: rgb(226 232 240); font-size: .76rem; font-weight: 820; letter-spacing: .035em; text-transform: uppercase; }
.ch-cve-version-scope__note { margin: 0; color: rgb(148 163 184); font-size: .7rem; line-height: 1.45; }
.ch-cve-version-scope__groups, .ch-cve-version-scope__signals { display: grid; gap: .42rem; }
.ch-cve-version-group {
  display: grid; gap: .38rem; padding: .5rem .58rem; border: 1px solid rgba(51, 65, 85, .75);
  border-radius: .64rem; background: rgba(2, 6, 23, .28);
}
.ch-cve-version-group__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem .6rem; }
.ch-cve-version-group__product { color: rgb(226 232 240); font-size: .76rem; font-weight: 720; overflow-wrap: anywhere; }
.ch-cve-version-group__source { color: rgb(100 116 139); font-size: .61rem; }
.ch-cve-version-group__ranges { display: flex; flex-wrap: wrap; gap: .28rem; }
.ch-cve-version-group__ranges .ch-cve-detail__chip { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .65rem; text-transform: none; }
.ch-cve-detail__chip--good { border-color: rgba(52, 211, 153, .36); background: rgba(6, 78, 59, .2); color: rgb(167 243 208); }
.ch-cve-version-group__empty { margin: 0; color: rgb(100 116 139); font-size: .68rem; }
.ch-cve-version-prerelease { color: rgb(148 163 184); font-size: .68rem; }
.ch-cve-version-prerelease summary { width: fit-content; cursor: pointer; color: rgb(125 211 252); font-weight: 700; }
.ch-cve-version-prerelease[open] summary { margin-bottom: .35rem; }
.ch-cve-version-signal { display: grid; gap: .28rem; padding: .46rem .55rem; border-left: 2px solid rgba(52, 211, 153, .45); background: rgba(6, 78, 59, .07); }
.ch-cve-version-signal__line { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem; color: rgb(203 213 225); font-size: .73rem; }
.ch-cve-version-signal__relation { color: rgb(110 231 183); font-size: .61rem; font-weight: 820; letter-spacing: .04em; text-transform: uppercase; }
.ch-cve-version-signal__expression { color: rgb(186 230 253); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.ch-cve-version-signal__quote { margin: 0; color: rgb(148 163 184); font-size: .7rem; line-height: 1.45; }
.ch-cve-version-scope__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem; color: rgb(100 116 139); font-size: .62rem; }
.ch-cve-version-scope__meta .ch-cve-detail__link { font-size: .68rem; }
.ch-semantic-chip--context-only { border-style: dashed; border-color: rgba(148, 163, 184, .52); background: rgba(51, 65, 85, .32); }
.ch-status-tag--interactive { cursor: pointer; }
.ch-status-tag--interactive:hover, .ch-status-tag--interactive:focus-visible {
  border-color: rgba(52, 211, 153, .7); color: rgb(167 243 208); outline: none;
  box-shadow: 0 0 0 1px rgba(52, 211, 153, .16);
}

@media (max-width: 640px) {
  .ch-intel-relationship { grid-template-columns: 1fr; }
}

/* Readable historical pages retained after a Case/Happening merge. */
.ch-merge-archive-notice {
  margin-bottom: 2rem;
  padding: 1.35rem 1.5rem;
  border: 2px solid rgba(248, 113, 113, 0.78);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(239, 68, 68, 0.2), transparent 38%),
    linear-gradient(135deg, rgba(69, 10, 10, 0.96), rgba(30, 9, 18, 0.96) 62%, rgba(15, 23, 42, 0.98));
  box-shadow: 0 18px 48px rgba(69, 10, 10, 0.3), inset 0 1px 0 rgba(254, 202, 202, 0.08);
  color: #fee2e2;
}

.ch-merge-archive-notice__layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.ch-merge-archive-notice__copy {
  display: grid;
  max-width: 52rem;
  gap: 0.5rem;
}

.ch-merge-archive-notice__eyebrow {
  margin: 0;
  color: #fca5a5;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.ch-merge-archive-notice__title {
  margin: 0;
  color: #fff1f2;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.25;
}

.ch-merge-archive-notice__body {
  margin: 0;
  color: rgba(254, 226, 226, 0.92);
  font-size: 0.92rem;
  line-height: 1.6;
}

.ch-merge-archive-notice__date {
  color: #fecaca;
  white-space: nowrap;
}

.ch-merge-archive-notice__reason {
  margin: 0.15rem 0 0;
  padding-left: 0.75rem;
  border-left: 2px solid rgba(248, 113, 113, 0.42);
  color: rgba(254, 202, 202, 0.82);
  font-size: 0.78rem;
  line-height: 1.55;
}

.ch-merge-archive-notice__cta {
  display: inline-flex;
  flex: 0 0 auto;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.1rem;
  border: 1px solid rgba(254, 202, 202, 0.58);
  border-radius: 0.75rem;
  background: #dc2626;
  box-shadow: 0 10px 24px rgba(69, 10, 10, 0.38);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.ch-merge-archive-notice__cta:hover {
  border-color: rgba(255, 255, 255, 0.82);
  background: #ef4444;
  color: #fff;
  transform: translateY(-1px);
}

.ch-merge-archive-notice__cta:focus-visible {
  outline: 3px solid rgba(254, 202, 202, 0.72);
  outline-offset: 3px;
}

.ch-merge-archive-notice__target {
  margin: 1rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(248, 113, 113, 0.25);
  color: #fecaca;
  font-size: 0.88rem;
  font-weight: 700;
}

@media (max-width: 760px) {
  .ch-merge-archive-notice {
    padding: 1.1rem;
  }

  .ch-merge-archive-notice__layout {
    align-items: flex-start;
    flex-direction: column;
  }
}
