:root {
  color-scheme: dark;
  --bg: #07090f;
  --panel: #0e1118;
  --panel-soft: #131823;
  --accent: #48c8b0;
  --accent-strong: #35a994;
  --text: #eef2fb;
  --text-muted: #95a0b6;
  --border: rgba(255, 255, 255, 0.05);
  --shadow: 0 8px 20px rgba(5, 8, 14, 0.28);
  --left-col: 250px;
  --middle-col: 686px;
  --right-col: 282px;
  --col-gap: 15px;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #06080d;
  color: var(--text);
  min-height: 100vh;
}

[hidden] {
  display: none !important;
}

.mobile-nav-bar {
  display: none;
}

.mobile-menu-toggle {
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.mobile-nav-drawer {
  display: none;
}

.mobile-nav-drawer-inner {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.75rem;
}
.page-shell {
  width: min(1500px, 97vw);
  margin: 0 auto;
  padding: 1.4rem 0 2.5rem;
}

.masthead {
  display: block;
  width: calc(var(--left-col) + var(--middle-col) + var(--right-col) + (var(--col-gap) * 2));
  max-width: 100%;
  margin: 0 auto 0.45rem;
}

.masthead-main {
  text-align: left;
  padding-top: 0.35rem;
  width: 100%;
}

.masthead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: start;
  column-gap: 0.75rem;
}

.masthead-copy {
  min-width: 0;
}

.masthead-cta-stack {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  width: 260px;
}

.risk-report-trigger {
  width: 100%;
  margin-left: 0;
  border: 1px solid rgba(255, 126, 58, 0.45);
  background: linear-gradient(135deg, #170606 0%, #6f0f0f 35%, #d54b1a 68%, #ff9a3c 100%);
  color: #fff2e8;
  padding: 0.82rem 1.2rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.32);
  transition: transform 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}

.risk-report-trigger:hover,
.risk-report-trigger:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 173, 92, 0.9);
  filter: brightness(1.07);
}

.mitigation-flow-trigger {
  border-color: rgba(91, 167, 255, 0.45);
  background: linear-gradient(135deg, #041425 0%, #0a2d63 35%, #2f6cff 68%, #63c7ff 100%);
  color: #eef7ff;
}

.mitigation-flow-trigger:hover,
.mitigation-flow-trigger:focus-visible {
  border-color: rgba(135, 206, 255, 0.9);
}

#inline-mitigation-open {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(91, 167, 255, 0.52);
  border-radius: 999px;
  padding: 0.82rem 1.45rem;
  background: linear-gradient(135deg, #041425 0%, #143b8c 38%, #3a6fff 72%, #63c7ff 100%);
  color: #eef7ff;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

#inline-mitigation-open:hover,
#inline-mitigation-open:focus-visible {
  border-color: rgba(135, 206, 255, 0.92);
  filter: brightness(1.07);
}

.global-search-wrap {
  margin: 0 0 0.55rem;
  display: flex;
  justify-content: center;
}

.global-search-box {
  position: relative;
  width: min(100%, 860px);
}

.global-search-wrap input {
  width: 100%;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  padding: 0.55rem 0.95rem;
  font-size: 0.88rem;
}

.global-search-suggestions {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  right: 0;
  z-index: 40;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #0c1018;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.global-search-suggestion {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: transparent;
  color: var(--text);
  text-align: left;
  padding: 0.8rem 0.95rem;
  cursor: pointer;
  display: grid;
  gap: 0.18rem;
}

.global-search-suggestion:last-child {
  border-bottom: none;
}

.global-search-suggestion:hover,
.global-search-suggestion.active {
  background: rgba(72, 200, 176, 0.12);
}

.global-search-suggestion-type {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.global-search-suggestion-label {
  font-size: 0.92rem;
  font-weight: 700;
}

.global-search-suggestion-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.actor-search {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.7rem;
  color: var(--accent);
  margin: 0 0 0.32rem;
}

.masthead h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.app-logo-link {
  color: inherit;
  text-decoration: none;
  display: inline-block;
}

.app-logo-link h1 {
  transition: color 0.18s ease;
}

.app-logo-link:hover h1 {
  color: var(--accent);
}

.tagline {
  margin: 0.08rem 0 0;
  color: var(--text-muted);
  max-width: 720px;
  font-size: 0.9rem;
}

.masthead-meta {
  display: flex;
  gap: 1rem;
  align-items: stretch;
}

.meta-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem 1.2rem;
  min-width: 130px;
}

.meta-card .label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
}

.layout {
  display: grid;
  grid-template-columns: var(--left-col) var(--middle-col) var(--right-col);
  gap: var(--col-gap);
  align-items: start;
  justify-content: center;
}

.sidebar {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.sticky-rail {
  position: sticky;
  top: 1rem;
  overflow: visible;
}

.sidebar h2 {
  margin-top: 0;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sidebar a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.16s ease;
}

.sidebar a:hover {
  color: var(--accent);
}

.topic-nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.7rem;
}

.topic-nav a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 0.7rem;
  border: 1px solid var(--border);
  background: var(--panel-soft);
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
}

.topic-nav a:hover {
  border-color: rgba(72, 200, 176, 0.45);
  box-shadow: 0 0 0 1px rgba(72, 200, 176, 0.12), inset 0 0 0 1px rgba(255,255,255,0.02);
  transform: translateY(-1px);
}

.intel-sources-panel {
  border: 1px solid var(--border);
  background: var(--panel-soft);
  border-radius: 0.9rem;
  padding: 0.9rem;
}

.intel-sources-panel h3 {
  margin: 0;
  font-size: 0.95rem;
}

.intel-sources-panel ul {
  list-style: none;
  margin: 0.7rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.top-sources-panel {
  margin: 0;
}

.right-producers {
  margin-top: 1rem;
}

.kev-producer-panel {
  margin-top: 1.25rem;
  padding: 0.95rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: radial-gradient(circle at top left, rgba(49, 216, 191, 0.12), transparent), var(--panel-soft);
}

.kev-producer-panel h3 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.1;
  white-space: nowrap;
}

.producer-hint {
  margin: 0.4rem 0 0.8rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.kev-producer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.kev-producer-list button {
  width: 100%;
  border-radius: 0.9rem;
  padding: 0.55rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
  transition: border 0.15s ease, transform 0.15s ease;
}

.kev-producer-list button:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.vendor-list-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.right .report-card {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--panel-soft);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-muted);
}

.right .report-card a {
  color: var(--accent);
  font-weight: 600;
}

.cti-widget,
.kev-panel {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  background: var(--panel-soft);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cti-widget {
  margin-top: 0.9rem;
}

.left .cti-widget {
  margin-top: 1rem;
  padding: 0.75rem;
  gap: 0.5rem;
}

.right .cti-widget {
  margin-top: 0;
}

.cti-widget-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.cti-widget-header p {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cti-alerts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cti-alert-item {
  border-radius: 0.8rem;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  padding: 0.55rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.left .cti-alert-item {
  padding: 0.42rem 0.5rem;
}

.left .cti-alert-item strong {
  font-size: 0.74rem;
  line-height: 1.2;
}

.left .cti-alert-item span {
  font-size: 0.68rem;
  margin-top: 0.15rem;
}

.cti-alert-item:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.14);
}


.cti-alert-high {
  background: rgba(255, 92, 92, 0.14);
  border-color: rgba(255, 92, 92, 0.24);
}

.cti-alert-medium {
  background: rgba(255, 190, 59, 0.14);
  border-color: rgba(255, 190, 59, 0.24);
}

.cti-alert-low {
  background: rgba(82, 224, 192, 0.14);
  border-color: rgba(82, 224, 192, 0.24);
}

.cti-alert-item strong {
  font-size: 0.8rem;
  line-height: 1.25;
}

.cti-alert-item span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.cti-alert-item a {
  display: block;
}

.cti-widget-link {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

.topic-temperature-sidebar {
  overflow: hidden;
}

.topic-temperature-sidebar-items {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.topic-temperature-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.topic-temperature-sidebar-item {
  display: grid;
  grid-template-columns: 1.45rem minmax(0, 1fr);
  gap: 0.48rem;
  align-items: start;
  padding: 0.52rem 0.55rem;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 0.8rem;
  background: rgba(255,255,255,0.03);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.topic-temperature-sidebar-item:hover,
.topic-temperature-sidebar-item:focus-visible {
  border-color: rgba(72, 200, 176, 0.55);
  background: rgba(72, 200, 176, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.topic-temperature-sidebar-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: rgba(72, 200, 176, 0.14);
  color: #bfeee5;
  font-size: 0.7rem;
  font-weight: 800;
}

.topic-temperature-sidebar-copy {
  min-width: 0;
  display: grid;
  gap: 0.12rem;
}

.topic-temperature-sidebar-copy strong {
  font-size: 0.68rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topic-temperature-sidebar-copy small {
  color: var(--text-muted);
  font-size: 0.68rem;
}

.topic-temperature-sidebar-bar {
  width: 100%;
  height: 2.8mm;
  margin-top: 0.12rem;
}

.kev-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.kev-cisa-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.45rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  transform: translateY(-1mm);
}

.kev-panel-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.kev-panel-header p {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.kev-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.kev-card {
  --kev-accent: #2ecc71;
  width: 100%;
  text-align: left;
  appearance: none;
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(90deg, var(--kev-accent) 0%, rgba(7, 9, 15, 0.85) 65%);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: #fff;
  transition: transform 0.18s ease, border-color 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.kev-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 173, 92, 0.9);
  filter: brightness(1.05);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.kev-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  gap: 0.75rem;
}

.kev-card-header strong {
  font-size: 0.95rem;
  color: #fff;
}

.kev-card-score-number {
  font-weight: 600;
  color: var(--kev-accent);
}

.kev-card-score {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
}

.kev-card-meta,
.kev-card-date {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
}

.kev-card-cve {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.kev-card-cve:hover {
  color: var(--accent);
}

.news-column {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 780px;
  width: 100%;
  justify-self: center;
}

.news-column > #cyber-warfare-tracker-section {
  order: 99;
}

.hero {
  background: radial-gradient(circle at top, rgba(60, 243, 212, 0.18), transparent 60%), var(--panel);
  padding: 1.35rem;
  border-radius: 1.2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.actor-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
}

.mitre-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.45rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-left: auto;
  transform: translate(2mm, -8mm);
}

.mitre-badge img {
  border-radius: 4px;
  object-fit: cover;
}

.hero.threat-actors {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  background: radial-gradient(circle 360px at 50% 0, rgba(60, 243, 212, 0.12), transparent 68%), var(--panel);
}

.actor-detail-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  padding: 1.6rem;
}

.actor-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.actor-detail-content {
  margin-top: 1.2rem;
}

.actor-detail-placeholder {
  margin: 0;
  color: var(--text-muted);
}

.actor-selected-note {
  display: none;
}

.actor-notable {
  margin: 0.5rem 0;
  color: var(--text);
  font-weight: 600;
}

.actor-detail-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 0.9rem;
  align-items: start;
}

.actor-detail-media {
  margin: 0;
}

.actor-detail-media img {
  width: 100%;
  border-radius: 0.7rem;
  border: 1px solid var(--border);
  display: block;
}

.actor-media-credit {
  margin: 0.28rem 0 0;
  color: var(--text-muted);
  font-size: 0.74rem;
  white-space: nowrap;
}

.actor-detail-card .actor-media-credit {
  font-size: 0.74rem !important;
  line-height: 1.1;
}

.actor-summary-panel {
  margin-top: 1rem;
}

.actor-detail-stack {
  display: grid;
  gap: 1rem;
}

.feed-card.actor-summary-sheet {
  min-height: unset !important;
  height: auto;
  padding: 0.55rem 0.8rem;
  gap: 0;
}

.actor-country-summary-card {
  display: grid;
  gap: 1rem;
}

.actor-country-summary-card h4 {
  margin: 0;
  font-size: 1.08rem;
}

.actor-context-summary {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.feed-card.actor-summary-sheet .actor-context-summary {
  border-top: none;
  padding-top: 0;
  gap: 0;
}

.actor-context-summary-collapsible {
  border-top: none;
  padding-top: 0;
  margin-bottom: 0;
  gap: 0;
}

.actor-context-summary-toggle {
  list-style: none;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  line-height: 1.2;
  padding: 0;
  margin: 0;
}

.actor-context-summary-toggle::-webkit-details-marker {
  display: none;
}

.actor-context-summary-toggle::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(72, 200, 176, 0.45);
  color: var(--accent);
  font-weight: 800;
  line-height: 1;
}

.actor-context-summary-collapsible[open] .actor-context-summary-toggle::before {
  content: "−";
}

.actor-context-summary-panel {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.8rem;
}

.actor-detail-top {
  align-items: start;
}

.actor-context-summary-body {
  color: var(--text-muted);
  line-height: 1.7;
}

.actor-summary-bullets {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.45rem;
}

.actor-summary-bullets li {
  line-height: 1.6;
  font-size: 0.84rem;
}

.actor-footnote-ref {
  color: var(--accent);
  font-weight: 700;
  margin-left: 0.08rem;
}

.actor-footnotes {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}

.actor-footnotes-title {
  margin: 0 0 0.32rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}

.actor-footnotes-inline {
  color: var(--text-muted);
  font-size: 0.72rem;
  line-height: 1.4;
  word-break: break-word;
}

.actor-footnote-inline-item {
  display: inline;
}

.actor-footnote-separator {
  color: rgba(255,255,255,0.35);
}

.actor-techniques {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 0.9rem;
}

.actor-techniques h5 {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.actor-targets,
.actor-tooling {
  margin: 0.3rem 0;
  color: var(--text-muted);
}

.actor-mitre-link {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  margin-bottom: 0.9rem;
}

#actor-detail-title {
  font-size: 0.95rem;
  line-height: 1.2;
}

.actor-detail-card h4 {
  margin-bottom: 0.52rem;
}

.actor-intentions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin: 0.2rem 0 0.55rem;
}

.actor-intention-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.actor-intention-separator {
  color: rgba(255,255,255,0.6);
  font-weight: 800;
}

.actor-intention-sabotage {
  color: #fff4f4;
  background: rgba(217, 75, 75, 0.22);
  border-color: rgba(217, 75, 75, 0.55);
}

.actor-intention-espionage {
  color: #ffe7cc;
  background: rgba(255, 159, 67, 0.18);
  border-color: rgba(255, 159, 67, 0.5);
}

.actor-intention-influence {
  color: #f3e8ff;
  background: rgba(168, 85, 247, 0.18);
  border-color: rgba(168, 85, 247, 0.5);
}

.actor-intention-ransomware {
  color: #d7f5e5;
  background: rgba(47, 133, 90, 0.2);
  border-color: rgba(47, 133, 90, 0.52);
}

.actor-intention-economic-gain {
  color: #dff1ff;
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.5);
}

.actor-detail-card p {
  margin: 0 0 0.55rem;
  line-height: 1.45;
  font-size: 0.8rem;
}

.actor-detail-card .actor-focus,
.actor-detail-card .actor-targets,
.actor-detail-card .actor-tooling,
.actor-detail-card .actor-recent {
  margin-bottom: 0.45rem;
}

.actor-detail-card .actor-recent {
  margin-top: -0.2rem;
}

.actor-detail-grid {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0.55rem 0 0.75rem;
}

.actor-detail-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 1.05rem;
  align-items: start;
}

.actor-detail-key {
  color: #c7d4ef;
  font-weight: 700;
  font-size: 0.79rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.actor-detail-value {
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.technique-category {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.technique-category-title {
  margin: 0;
  font-weight: 600;
  color: var(--text);
}

.technique-list {
  margin: 0;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.actor-mode-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin: calc(0.35rem + 4mm) 0 calc(0.15rem + 2mm);
  flex-wrap: wrap;
}

@keyframes actorModeAttentionPulse {
  0%, 100% {
    box-shadow:
      0 10px 24px rgba(4, 10, 18, 0.26),
      inset 0 1px 0 rgba(255,255,255,0.05),
      0 0 0 0 rgba(72, 200, 176, 0),
      0 0 0 0 rgba(72, 200, 176, 0);
    border-color: rgba(72, 200, 176, 0.2);
    filter: brightness(1);
  }
  50% {
    box-shadow:
      0 10px 24px rgba(4, 10, 18, 0.28),
      inset 0 1px 0 rgba(255,255,255,0.06),
      0 0 0 4px rgba(72, 200, 176, 0.14),
      0 0 18px rgba(72, 200, 176, 0.24);
    border-color: rgba(72, 200, 176, 0.42);
    filter: brightness(1.05);
  }
}

.actor-mode-btn {
  position: relative;
  border: 1px solid rgba(72, 200, 176, 0.18);
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.025) 100%);
  color: #f4fbff;
  border-radius: 999px;
  padding: 0.68rem 1.25rem;
  min-width: 190px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(4, 10, 18, 0.26), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.actor-mode-btn.attention-pulse:not(.active) {
  animation: actorModeAttentionPulse 2.6s ease-in-out infinite;
}

.actor-mode-btn::before {
  content: "◌";
  display: inline-block;
  margin-right: 0.5rem;
  color: rgba(138, 240, 220, 0.75);
  transition: transform 0.18s ease, color 0.18s ease;
}

.actor-mode-btn:hover,
.actor-mode-btn:focus-visible {
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(72, 200, 176, 0.18) 0%, rgba(72, 200, 176, 0.08) 100%);
  border-color: rgba(72, 200, 176, 0.5);
  color: #f7fffd;
  box-shadow: 0 14px 28px rgba(4, 10, 18, 0.3), 0 0 0 1px rgba(72, 200, 176, 0.12), inset 0 1px 0 rgba(255,255,255,0.06);
}

.actor-mode-btn:hover::before,
.actor-mode-btn:focus-visible::before {
  transform: scale(1.08);
  color: #8af0dc;
}

.actor-mode-btn.active {
  border-color: rgba(72, 200, 176, 0.58);
  color: #e9fffb;
  background: linear-gradient(180deg, rgba(72, 200, 176, 0.22) 0%, rgba(53, 169, 148, 0.12) 100%);
  box-shadow: 0 14px 28px rgba(4, 10, 18, 0.3), 0 0 0 1px rgba(72, 200, 176, 0.14), inset 0 1px 0 rgba(255,255,255,0.06);
}

.actor-mode-btn.active::before {
  content: "◎";
  color: #8af0dc;
}

.threat-actor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
}

@media (min-width: 981px) {
  .actor-country-card-hacktivists {
    grid-column: 2;
  }
}

.actor-grid-note {
  margin: 0.7rem 0 0;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.actor-grid-note span {
  display: block;
}

.actor-grid-note-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.32rem;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(72, 200, 176, 0.58);
  background: rgba(72, 200, 176, 0.08);
  color: var(--accent);
  font-size: 0.88rem;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  vertical-align: middle;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.18);
}

.actor-grid-note-trigger:hover,
.actor-grid-note-trigger:focus-visible {
  background: rgba(72, 200, 176, 0.16);
  border-color: rgba(72, 200, 176, 0.82);
  text-decoration: none;
}

.actor-weighting-modal[hidden] {
  display: none !important;
}

.actor-weighting-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
}

.actor-weighting-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 12, 0.68);
  backdrop-filter: blur(3px);
}

.actor-weighting-dialog {
  position: relative;
  width: min(760px, calc(100vw - 2rem));
  margin: 8vh auto 0;
  background: linear-gradient(180deg, rgba(19,24,35,0.98), rgba(14,17,24,0.99));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.2rem;
  box-shadow: 0 24px 60px rgba(0,0,0,0.38);
  padding: 1.15rem 1.15rem 1rem;
}

.actor-weighting-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.actor-weighting-content {
  color: var(--text-muted);
  font-size: 0.87rem;
  line-height: 1.68;
}

.actor-weighting-dialog .eyebrow {
  font-size: 0.64rem;
  margin-bottom: 0.35rem;
}

.actor-weighting-dialog h3 {
  font-size: 1.12rem;
}

.actor-country-card {
  position: relative;
  border-radius: 1.2rem;
  border: 1px solid var(--border);
  background: var(--panel-soft);
  padding: 0.5rem;
  overflow: visible;
}

.actor-country-button {
  width: 100%;
  border-radius: 1rem;
  border: none;
  background:
    linear-gradient(180deg, rgba(6, 20, 36, 0.08) 0%, rgba(8, 26, 42, 0.14) 32%, rgba(6, 18, 30, 0.26) 68%, rgba(4, 12, 22, 0.42) 100%),
    linear-gradient(135deg, #1690ea 0%, #1aa9e6 50%, #1fd0c0 100%);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #0a1320;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.82);
  font-weight: 700;
  padding: 1.25rem 1rem 0.95rem;
  min-height: 84px;
  font-size: 0.95rem;
  line-height: 1.05;
  cursor: pointer;
  text-align: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: transform 0.2s ease, border 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.actor-country-card:hover .actor-country-button {
  transform: translateY(-2px);
  border: 1px solid rgba(72, 200, 176, 0.45);
  box-shadow: 0 0 0 1px rgba(72, 200, 176, 0.12), inset 0 0 0 1px rgba(255,255,255,0.02);
  filter: brightness(1.03);
}

.actor-sector-button {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.actor-sector-button.active {
  border-color: rgba(72, 200, 176, 0.55);
  color: #f5fffc;
  box-shadow: 0 0 0 1px rgba(72, 200, 176, 0.2) inset, 0 10px 24px rgba(4, 10, 18, 0.24);
  filter: brightness(1.04);
}

.actor-sector-results {
  display: grid;
  gap: 1rem;
}

.actor-group-empty {
  color: var(--text-muted);
  font-size: 0.82rem;
  padding: 0.4rem 0.2rem;
}

.actor-group-list {
  position: absolute;
  top: calc(100% - 1.7rem);
  left: 0;
  right: 0;
  background: #05060b;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 0.6rem;
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  box-shadow: var(--shadow);
  z-index: 2;
}

.actor-country-card:hover .actor-group-list,
.actor-country-card.actor-open .actor-group-list,
.actor-group-list:hover {
  display: flex;
}

.actor-group-list button {
  width: 100%;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 0.8rem;
  padding: 0.5rem 0.65rem;
  font-size: 0.85rem;
  cursor: pointer;
  text-align: left;
  transition: border 0.2s ease, background 0.2s ease;
}

.actor-group-sector {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.actor-group-with-inline-flag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.actor-group-name {
  flex: 1 1 auto;
  min-width: 0;
}

.actor-group-sector-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin-left: auto;
  flex: 0 0 auto;
}

.actor-group-sector-score {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.actor-group-sector-icon {
  width: 28px;
  height: 19px;
  border-radius: 0.24rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.18);
  flex: 0 0 auto;
}

.actor-group-flag {
  flex: 0 0 auto;
  width: 28px;
  height: 19px;
  border-radius: 0.24rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18);
}

.actor-group-flag-logo {
  width: 28px;
  height: 19px;
  border-radius: 0.24rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(255,255,255,0.04);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18);
}

.actor-group-list button:hover {
  border-color: var(--accent);
  background: rgba(60, 243, 212, 0.12);
}

.actor-group-toggle-item {
  margin-top: 0.15rem;
}

.actor-group-toggle {
  width: 100%;
  border: 1px dashed rgba(72, 200, 176, 0.38) !important;
  background: rgba(72, 200, 176, 0.08) !important;
  color: var(--accent) !important;
  font-weight: 700;
  text-align: center !important;
}

.actor-group-toggle:hover {
  border-color: var(--accent) !important;
  background: rgba(72, 200, 176, 0.16) !important;
}

@media (max-width: 640px) {
  .actor-group-list {
    position: static;
    box-shadow: none;
  }
}

.feed {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  padding: 1.8rem;
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

.cybersec-summary-panel {
  margin-bottom: 0;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: radial-gradient(circle at top left, rgba(72, 200, 176, 0.12), transparent 36%), linear-gradient(180deg, rgba(19, 24, 35, 0.96) 0%, rgba(14, 17, 24, 0.98) 100%);
  box-shadow: var(--shadow);
}

.cybersec-summary-header {
  align-items: flex-start;
  margin-bottom: 0.45rem;
}

.cybersec-summary-header > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: flex-start;
  margin-top: -0.4rem;
}

.cybersec-summary-header h3 {
  margin: 0;
}

.cybersec-summary-subtitle {
  margin: 0.1rem 0 0.85rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.cybersec-summary-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  flex: 0 0 auto;
}

.cybersec-summary-toggle,
.cybersec-summary-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  overflow: hidden;
}

.cybersec-summary-mode-toggle {
  margin: 0;
}

.cybersec-summary-mode-toggle .risk-flow-mode-btn {
  white-space: nowrap;
}

.cybersec-summary-mode-toggle .risk-flow-mode-btn,
.cybersec-summary-toggle .summary-window-btn {
  min-width: 0;
  text-align: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  padding: 0.5rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.cybersec-summary-toggle .summary-window-btn + .summary-window-btn,
.cybersec-summary-mode-toggle .risk-flow-mode-btn + .risk-flow-mode-btn {
  margin-left: 0.1rem;
}

.summary-window-btn:hover,
.summary-window-btn:focus-visible,
.cybersec-summary-mode-toggle .risk-flow-mode-btn:hover,
.cybersec-summary-mode-toggle .risk-flow-mode-btn:focus-visible {
  transform: none;
  color: #dffcf5;
  background: rgba(72, 200, 176, 0.12);
}

.summary-window-btn.active,
.cybersec-summary-mode-toggle .risk-flow-mode-btn.active {
  background: linear-gradient(135deg, rgba(72, 200, 176, 0.24) 0%, rgba(53, 169, 148, 0.32) 100%);
  color: #dffcf5;
  box-shadow: inset 0 0 0 1px rgba(72, 200, 176, 0.38);
}

.cybersec-report-card {
  width: 100%;
  border: 1px solid rgba(72, 200, 176, 0.38);
  background: linear-gradient(180deg, rgba(16, 30, 40, 0.92) 0%, rgba(11, 22, 32, 0.96) 100%);
  text-align: left;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 0.62rem;
  align-items: start;
  padding: 0.68rem 0.78rem;
  font-family: inherit;
}

.cybersec-cyber-news-card {
  padding: 1rem 1.05rem;
  gap: 0.95rem;
  border-color: rgba(72, 200, 176, 0.22);
}

.cybersec-cyber-news-text {
  display: grid;
  gap: 0.36rem;
}

.cybersec-cyber-news-text .cybersec-report-title {
  margin-bottom: 0.08rem !important;
}

.cybersec-cyber-news-text .cybersec-report-title a {
  color: inherit;
  text-decoration: none;
}

.cybersec-cyber-news-text .cybersec-report-title a:hover,
.cybersec-cyber-news-text .cybersec-report-title a:focus-visible {
  color: #dffcf5;
  text-decoration: underline;
}

.cybersec-cyber-news-text .cybersec-report-meta {
  margin: 0.08rem 0 0.16rem !important;
}

.cybersec-cyber-news-summary-text {
  margin-top: 0.12rem !important;
  margin-bottom: 0 !important;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.cybersec-cyber-news-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.cybersec-cyber-news-keyword,
.cybersec-cyber-news-filter button {
  border: 1px solid rgba(72, 200, 176, 0.28);
  border-radius: 999px;
  background: rgba(72, 200, 176, 0.08);
  color: #9df4e2;
  padding: 0.22rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.cybersec-cyber-news-keyword:hover,
.cybersec-cyber-news-keyword:focus-visible,
.cybersec-cyber-news-keyword.active,
.cybersec-cyber-news-filter button:hover,
.cybersec-cyber-news-filter button:focus-visible {
  background: rgba(72, 200, 176, 0.2);
  border-color: rgba(72, 200, 176, 0.55);
  color: #dffcf5;
}

.cybersec-cyber-news-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(72, 200, 176, 0.24);
  border-radius: 0.85rem;
  background: rgba(72, 200, 176, 0.08);
  color: #dffcf5;
  font-size: 0.78rem;
  font-weight: 700;
}

.cybersec-report-card:hover,
.cybersec-report-card:focus-visible {
  border-color: rgba(72, 200, 176, 0.7);
  transform: translateY(-1px);
}

.cybersec-report-logo {
  width: 28px;
  height: 28px;
  margin-top: 0.18rem;
  align-self: start;
  justify-self: start;
}

.cybersec-report-text {
  display: grid;
  gap: 0.34rem;
  min-width: 0;
}

.cybersec-report-title {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text);
}

.cybersec-report-lead {
  margin: 0;
  color: #f3f7ff;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cybersec-report-bullets,
.cybersec-report-detail-list {
  margin: 0;
  padding-left: 0;
  display: grid;
  gap: 0.28rem;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 400;
  list-style: none;
}

.cybersec-report-bullets li,
.cybersec-report-detail-list li {
  line-height: 1.36;
  position: relative;
  padding-left: 0.95rem;
  max-height: calc(1.36em * 3);
  overflow: hidden;
}

.cybersec-report-bullets li::before,
.cybersec-report-detail-list li::before {
  content: "•";
  position: absolute;
  left: 0.16rem;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}

.cybersec-report-meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.74rem;
}

.cybersec-report-notice {
  border: 1px solid rgba(72, 200, 176, 0.2);
  border-radius: 0.85rem;
  padding: 0.58rem 0.72rem;
  background: rgba(72, 200, 176, 0.08);
  color: #d7fff7;
  font-size: 0.78rem;
  line-height: 1.45;
}

.cybersec-report-more-btn {
  width: 100%;
  border: 1px solid rgba(72, 200, 176, 0.28);
  border-radius: 999px;
  padding: 0.58rem 0.9rem;
  background: rgba(72, 200, 176, 0.08);
  color: #d7fff7;
  font-weight: 800;
  cursor: pointer;
}

.cybersec-report-more-btn:hover,
.cybersec-report-more-btn:focus-visible {
  border-color: rgba(72, 200, 176, 0.55);
  background: rgba(72, 200, 176, 0.14);
}

.cybersec-report-expand-hint {
  margin: 0;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.cybersec-report-expand-indicator {
  width: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  line-height: 1;
}

.cybersec-report-card:disabled {
  cursor: default;
  opacity: 1;
}

.cybersec-report-detail {
  margin-top: 0.02rem;
  padding-top: 0;
  display: grid;
  gap: 0.32rem;
}

.cybersec-report-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.cybersec-report-link:hover,
.cybersec-report-link:focus-visible {
  text-decoration: underline;
}

.threat-temperature-meta {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.95rem;
}

.threat-temperature-meta-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.34rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(72, 200, 176, 0.22);
  background: rgba(72, 200, 176, 0.08);
  color: #bfeee5;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.threat-temperature-meta-copy {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.threat-temperature-stack {
  display: grid;
  gap: 0.8rem;
}

.threat-temperature-card {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(15,19,28,0.98), rgba(11,15,22,0.98));
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.threat-temperature-card:hover,
.threat-temperature-card:focus-within {
  border-color: rgba(72, 200, 176, 0.55);
  box-shadow: 0 0 0 1px rgba(72, 200, 176, 0.18), 0 12px 28px rgba(7, 18, 16, 0.3);
  background: linear-gradient(180deg, rgba(15,24,28,0.98), rgba(11,19,22,0.98));
}

.threat-temperature-card-summary {
  list-style: none;
  cursor: pointer;
  padding: 0.95rem 1rem;
}

.threat-temperature-card-summary::-webkit-details-marker {
  display: none;
}

.threat-temperature-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.threat-temperature-title-wrap {
  min-width: 0;
  display: grid;
  gap: 0.3rem;
}

.threat-temperature-family {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.threat-temperature-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.threat-temperature-score-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.threat-temperature-trend {
  font-size: 1rem;
  font-weight: 800;
}

.threat-temperature-trend.is-up {
  color: #46d38b;
}

.threat-temperature-trend.is-down {
  color: #ff6b6b;
}

.threat-temperature-trend.is-flat {
  color: #c7cedd;
}

.threat-temperature-score {
  font-size: 1rem;
}

.threat-temperature-delta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.threat-temperature-right {
  width: min(240px, 36%);
  min-width: 180px;
  display: grid;
  gap: 0.45rem;
}

.threat-temperature-history {
  display: grid;
  gap: 0.18rem;
}

.threat-temperature-history-label,
.threat-temperature-history-meta,
.threat-temperature-history-empty {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.threat-temperature-history-sparkline {
  width: 100%;
  height: 2.2rem;
  display: block;
  border-radius: 0.8rem;
  background: rgba(255,255,255,0.03);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.threat-temperature-bar {
  position: relative;
  width: 100%;
  height: 4mm;
  border-radius: 999px;
  background: rgba(255,255,255,0.09);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
  overflow: hidden;
}

.threat-temperature-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #2fd36b 0%, #8fdc4f 24%, #d6da46 46%, #ffb13b 72%, #ff5a4f 100%);
  box-shadow: 0 0 10px rgba(255, 107, 87, 0.12);
}

.threat-temperature-confidence {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
}

.threat-temperature-more-button {
  width: 100%;
  border: 1px solid rgba(72, 200, 176, 0.22);
  border-radius: 0.95rem;
  background: rgba(255,255,255,0.02);
  color: #bfeee5;
  padding: 0.62rem 0.82rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.threat-temperature-more-button:hover,
.threat-temperature-more-button:focus-visible {
  border-color: rgba(72, 200, 176, 0.55);
  background: rgba(72, 200, 176, 0.08);
  color: #d7fff6;
  outline: none;
}

.threat-temperature-stack-more {
  padding: 0;
  margin-bottom: 0.8rem;
}

.threat-temperature-body {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 0 1rem 1rem;
  display: grid;
  gap: 0.85rem;
}

.threat-temperature-summary {
  margin: 0.75rem 0 0;
  line-height: 1.4;
  color: var(--text);
  font-size: 0.9rem;
}

.threat-temperature-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.45rem;
}

.threat-temperature-metric {
  position: relative;
  min-width: 0;
  padding: 0.58rem 0.55rem;
  border-radius: 0.85rem;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.05);
  display: grid;
  gap: 0.16rem;
  cursor: help;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.threat-temperature-metric:hover,
.threat-temperature-metric:focus-visible {
  border-color: rgba(72, 200, 176, 0.55);
  background: rgba(72, 200, 176, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.threat-temperature-metric span {
  font-size: 0.66rem;
  color: var(--text-muted);
  line-height: 1.2;
}

.threat-temperature-metric-hint {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.45rem);
  z-index: 4;
  padding: 0.55rem 0.65rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(72, 200, 176, 0.35);
  background: rgba(9, 14, 22, 0.97);
  color: #d7fff6;
  font-size: 0.72rem;
  line-height: 1.4;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.threat-temperature-metric:hover .threat-temperature-metric-hint,
.threat-temperature-metric:focus-visible .threat-temperature-metric-hint {
  opacity: 1;
  transform: translateY(0);
}

.threat-temperature-signal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.threat-temperature-signal-card {
  padding: 0.8rem 0.9rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.03);
  display: grid;
  gap: 0.22rem;
}

.threat-temperature-signal-card strong {
  font-size: 0.82rem;
}

.threat-temperature-signal-card span,
.threat-temperature-signal-card small,
.threat-temperature-signal-card p {
  color: var(--text-muted);
}

.threat-temperature-signal-card p {
  margin: 0.25rem 0 0;
  line-height: 1.45;
  font-size: 0.8rem;
}

.threat-temperature-signal-card.is-up {
  border-color: rgba(70, 211, 139, 0.22);
  background: rgba(70, 211, 139, 0.06);
}

.threat-temperature-signal-card.is-down {
  border-color: rgba(255, 107, 107, 0.2);
  background: rgba(255, 107, 107, 0.05);
}

.threat-temperature-coverage-note {
  margin: 0;
  padding: 0.78rem 0.9rem;
  border-radius: 0.9rem;
  border: 1px dashed rgba(255,255,255,0.12);
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.threat-temperature-confidence-basis {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.threat-temperature-section-details {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 0.7rem;
  margin: 0;
}

.threat-temperature-section-summary {
  list-style: none;
  cursor: pointer;
}

.threat-temperature-section-summary::-webkit-details-marker {
  display: none;
}

.threat-temperature-section-summary:hover,
.threat-temperature-section-summary:focus-visible {
  color: #d7fff6;
  outline: none;
}

.threat-temperature-section-details .cyber-warfare-topic-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.62rem 0.82rem;
}

.threat-temperature-section-details .cyber-warfare-topic-title {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 600;
  font-size: 0.88rem;
  color: #d7fff6;
}

.threat-temperature-section-details[open] .cyber-warfare-topic-toggle {
  border-color: rgba(72, 200, 176, 0.35);
  box-shadow: 0 0 0 1px rgba(72, 200, 176, 0.12), inset 0 0 0 1px rgba(255,255,255,0.02);
}

.threat-temperature-section-details[open] .collapsible-feed-indicator {
  color: #dffcf5;
  background: rgba(72, 200, 176, 0.12);
}

.threat-temperature-measurement-body {
  display: grid;
  gap: 0.85rem;
  padding: 0.85rem 0.15rem 0.2rem;
}

.threat-temperature-scenarios,
.threat-temperature-sources {
  display: grid;
  gap: 0.65rem;
  padding: 0.85rem 0.15rem 0.2rem;
}

.threat-temperature-topic-description {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem 0.15rem 0.2rem;
}

.threat-temperature-topic-points {
  margin: 0;
  padding: 0 0 0 1.1rem;
  display: grid;
  gap: 0.55rem;
}

.threat-temperature-topic-point {
  padding-left: 0.1rem;
}

.threat-temperature-topic-point p {
  margin: 0;
  line-height: 1.45;
  font-size: 0.88rem;
}

.threat-temperature-inline-citation {
  color: #d7fff6;
  text-decoration: none;
  font-size: 0.84rem;
}

.threat-temperature-inline-citation:hover,
.threat-temperature-inline-citation:focus-visible {
  text-decoration: underline;
  outline: none;
}

.threat-temperature-topic-references {
  display: grid;
  gap: 0.45rem;
  padding-top: 0.25rem;
}

.threat-temperature-topic-reference {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 0.55rem;
  align-items: start;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  line-height: 1.4;
}

.threat-temperature-topic-reference strong {
  color: var(--text);
}

.threat-temperature-topic-reference span,
.threat-temperature-topic-reference small {
  grid-column: 2;
}

.threat-temperature-topic-reference:hover,
.threat-temperature-topic-reference:focus-visible {
  color: #d7fff6;
  outline: none;
}

.threat-temperature-scenario,
.threat-temperature-source {
  padding: 0.7rem 0.8rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.03);
  font-size: 0.88rem;
}

.threat-temperature-scenario {
  display: grid;
  gap: 0.28rem;
}

.threat-temperature-scenario span,
.threat-temperature-scenario small,
.threat-temperature-source small,
.threat-temperature-source span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.threat-temperature-scenario p {
  margin: 0;
  line-height: 1.4;
  font-size: 0.88rem;
}

.threat-temperature-scenario-refs {
  display: grid;
  gap: 0.28rem;
  margin-top: 0.18rem;
}

.threat-temperature-scenario-ref {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.78rem;
  line-height: 1.35;
}

.threat-temperature-scenario-ref:hover,
.threat-temperature-scenario-ref:focus-visible {
  color: #d7fff6;
  text-decoration: underline;
  outline: none;
}

.threat-temperature-source {
  display: grid;
  gap: 0.22rem;
  text-decoration: none;
  color: var(--text);
}

.threat-temperature-source:hover,
.threat-temperature-source:focus-visible {
  border-color: rgba(72, 200, 176, 0.35);
  background: rgba(72, 200, 176, 0.07);
}

.threat-temperature-empty-note {
  margin: 0;
  padding: 0.8rem 0.9rem;
  border-radius: 0.9rem;
  border: 1px dashed rgba(255,255,255,0.12);
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.technique-item + .technique-item {
  margin-top: 0.7rem;
}

.actor-techniques-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.actor-techniques-hint {
  margin: 0.45rem 0 0;
  text-align: left;
  max-width: none;
  margin-left: 0;
  width: 100%;
}

.technique-legend {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 0.3rem;
}

.technique-privacy-warning {
  margin: 0.4rem 0 0;
  text-align: center;
  color: #ff3b30 !important;
  font-size: 11px !important;
  line-height: 1.25;
}

.technique-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.technique-legend .technique-status-button {
  cursor: default;
  pointer-events: none;
  margin-top: 0;
  padding-bottom: 0.02rem;
  text-align: center;
}

.technique-legend .technique-status-button::before,
.technique-status-button::before,
.report-measure-status::before {
  content: none;
}

.actor-techniques-toggle {
  border: 1px solid rgba(72, 200, 176, 0.38);
  background: rgba(72, 200, 176, 0.08);
  color: var(--accent);
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.actor-techniques-toggle:hover,
.actor-techniques-toggle:focus-visible {
  border-color: var(--accent);
  background: rgba(72, 200, 176, 0.16);
}

.actor-techniques-toggle-controls {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 0.55rem;
}

.actor-techniques-show-all {
  display: block;
  margin: 0;
}

.technique-category-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
  padding: 0.2rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.technique-category-title-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  min-width: 0;
  flex-wrap: wrap;
}

.technique-category-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.technique-category-toggle-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 700;
}

.technique-category-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
}

.technique-category-chevron {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: transform 0.18s ease;
}

.technique-category-header[aria-expanded="true"] .technique-category-chevron {
  transform: rotate(180deg);
}

.technique-category-header:hover .technique-category-title,
.technique-category-header:focus-visible .technique-category-title {
  color: var(--accent);
}

.technique-category-header:hover .technique-category-toggle-hint,
.technique-category-header:focus-visible .technique-category-toggle-hint {
  color: var(--accent-soft, #8af0dc);
}

.technique-category-score,
.technique-score-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  border: 1px solid transparent;
  flex: 0 0 auto;
}

.technique-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.technique-entry-wrap {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.technique-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.technique-item {
  list-style: none;
  padding-left: 2mm;
}

.technique-list[hidden] {
  display: none;
}

.technique-toggle:hover .technique-entry,
.technique-toggle:focus-visible .technique-entry {
  color: var(--accent);
}

.technique-entry {
  font-weight: 600;
  color: var(--text);
}

.technique-defense-preview {
  margin-top: 0.4rem;
  padding: 0.65rem 0.8rem;
  border-left: 3px solid rgba(72, 200, 176, 0.6);
  border-radius: 0.75rem;
  background: rgba(72, 200, 176, 0.07);
}

.technique-defense-title {
  margin: 0 0 0.35rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.technique-defense-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.42rem;
}

.technique-defense-list li {
  color: var(--text);
  line-height: 1.5;
}

.technique-defense-item {
  list-style: none;
}

.technique-checklist-summary {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.technique-checklist-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
}

.technique-status-button {
  margin-top: 0.1rem;
  min-width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.2rem;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  color: transparent;
  font-weight: 900;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.technique-status-button.is-unmarked {
  background: rgba(255,255,255,0.04);
  color: transparent;
  border-color: rgba(255,255,255,0.2);
}

.technique-status-button.is-implemented,
.technique-category-score.is-implemented,
.technique-score-pill.is-implemented {
  background: #63d8ba;
  color: #082a22;
  border-color: #44bea0;
}

.technique-status-button.is-almost,
.technique-category-score.is-almost,
.technique-score-pill.is-almost {
  background: #ffe27a;
  color: #4a3a00;
  border-color: #d4b84e;
}

.technique-status-button.is-partial,
.technique-category-score.is-partial,
.technique-score-pill.is-partial {
  background: #ffb26b;
  color: #5a2600;
  border-color: #dd8a33;
}

.technique-status-button.is-missing,
.technique-category-score.is-missing,
.technique-score-pill.is-missing {
  background: #d94b4b;
  color: #ffffff;
  border-color: #b93636;
}


.technique-checklist-text {
  display: block;
}

.technique-defense-frameworks {
  margin-top: 0.22rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-left: 1.65rem;
}

.actor-checklist-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  justify-content: center;
}

.actor-checklist-helper {
  margin-top: 0.5rem;
}

.cybersec-summary-group + .cybersec-summary-group {
  margin-top: 0.95rem;
}

.cybersec-summary-group-title {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cybersec-summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.cybersec-summary-item {
  margin: 0;
  padding: 0;
}

.cybersec-summary-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.78rem;
  align-items: start;
  padding: 0.78rem 0.9rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(255,255,255,0.04);
  background: rgba(255,255,255,0.03);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.cybersec-summary-card:hover,
.cybersec-summary-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(72, 200, 176, 0.42);
  background: rgba(72, 200, 176, 0.06);
  box-shadow: 0 0 0 1px rgba(72, 200, 176, 0.08), inset 0 0 0 1px rgba(255,255,255,0.015);
}

.cybersec-summary-logo-left {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 0.3rem;
  background: rgba(255,255,255,0.04);
  padding: 0.12rem;
  border: 1px solid rgba(255,255,255,0.05);
  margin-top: 0.12rem;
}

.cybersec-summary-kind {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 0.34rem 0.6rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
}

.cybersec-summary-kind.kind-kev {
  background: rgba(255, 120, 120, 0.12);
  color: #ffb0b0;
}

.cybersec-summary-kind.kind-norway {
  background: rgba(72, 200, 176, 0.12);
  color: #8af0dc;
}

.cybersec-summary-kind.kind-analysis,
.cybersec-summary-kind.kind-international,
.cybersec-summary-kind.kind-signal {
  background: rgba(85, 126, 255, 0.12);
  color: #b6c9ff;
}

.cybersec-summary-kind.kind-report {
  background: rgba(255, 184, 77, 0.14);
  color: #ffd891;
}

.cybersec-summary-text {
  min-width: 0;
}

.cybersec-summary-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 0.3rem;
  background: rgba(255,255,255,0.04);
  padding: 0.12rem;
  border: 1px solid rgba(255,255,255,0.05);
}

.cybersec-summary-text {
  min-width: 0;
}

.cybersec-summary-text p {
  margin: 0;
  color: var(--text);
  font-size: 0.84rem;
  line-height: 1.42;
  display: block;
  overflow: visible;
  white-space: normal;
}

.cybersec-report-items {
  display: grid;
  gap: 0.45rem;
  margin-top: -0.2rem;
}

.cybersec-report-selector {
  position: relative;
  display: grid;
  justify-self: stretch;
  gap: 0.28rem;
  width: 100%;
  padding: 0.42rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.78rem;
  background: rgba(8, 10, 16, 0.72);
}

.cybersec-report-selector-label {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cybersec-report-jump {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.cybersec-report-jump-toggle {
  width: 100%;
  text-align: left;
  border-radius: 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 10, 16, 0.88);
  color: var(--text);
  padding: 0.52rem 2rem 0.52rem 0.72rem;
  font: inherit;
  font-size: 0.86rem;
  line-height: 1.2;
  cursor: pointer;
  position: relative;
}

.cybersec-report-jump-toggle::after {
  content: "+";
  position: absolute;
  right: 0.72rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-weight: 900;
}

.cybersec-report-jump-toggle[aria-expanded="true"]::after {
  content: "-";
}

.cybersec-report-jump-toggle:hover,
.cybersec-report-jump-toggle:focus-visible {
  border-color: rgba(72, 200, 176, 0.45);
  background: rgba(72, 200, 176, 0.08);
  outline: none;
}

.cybersec-report-jump-list {
  position: absolute;
  top: calc(100% + 0.28rem);
  left: 0;
  right: 0;
  z-index: 30;
  max-height: 220px;
  overflow: auto;
  display: grid;
  gap: 0.25rem;
  padding: 0.3rem;
  border-radius: 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0c1018;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.34);
}

.cybersec-report-jump-item {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 0.64rem;
  background: rgba(255,255,255,0.04);
  color: var(--text);
  display: grid;
  grid-template-columns: 6.9rem minmax(0, 1fr);
  gap: 0.45rem;
  align-items: start;
  padding: 0.42rem 0.55rem;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.cybersec-report-jump-item:hover,
.cybersec-report-jump-item:focus-visible {
  border-color: rgba(72, 200, 176, 0.45);
  background: rgba(72, 200, 176, 0.08);
  outline: none;
}

.cybersec-report-jump-date {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}

.cybersec-report-jump-text {
  min-width: 0;
  font-size: 0.78rem;
  line-height: 1.28;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 640px) {
  .cybersec-report-selector {
    width: 100%;
  }

  .cybersec-report-jump-item {
    grid-template-columns: 1fr;
    gap: 0.22rem;
  }
}

.cybersec-report-card {
  grid-template-columns: 28px minmax(0, 1fr);
}

.cybersec-report-title {
  font-weight: 800;
  margin-bottom: 0 !important;
}

.cybersec-report-meta {
  margin-top: 0 !important;
  color: var(--text-muted) !important;
  font-size: 0.75rem !important;
}

.feed-order-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 0.65rem 0.8rem;
  margin-top: calc(0.45rem - 1mm);
  color: var(--text-muted);
  font-size: 0.82rem;
}

.feed-priority-btn {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.feed-priority-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #04130f;
  font-weight: 600;
}

.feed.feed-hidden {
  display: none;
}

.risk-report-panel {
  padding: 1.2rem;
  border: 1px solid rgba(255, 126, 58, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 154, 60, 0.05), rgba(255, 154, 60, 0.01)),
    radial-gradient(circle at top right, rgba(213, 75, 26, 0.12), transparent 35%),
    var(--panel);
}

.risk-report-intro {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.risk-flow-toggle {
  display: inline-flex;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.25rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
}

.risk-flow-mode-btn {
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  background: transparent;
  color: var(--text-muted);
  font-weight: 700;
  cursor: pointer;
}

.risk-flow-mode-btn.active {
  background: rgba(72, 200, 176, 0.16);
  color: var(--text);
}

.risk-report-form {
  display: grid;
  gap: 1rem;
}

.risk-report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.risk-report-grid.mitigation-only-grid {
  grid-template-columns: 1fr;
}

.risk-report-field {
  display: grid;
  gap: 0.4rem;
}

.risk-report-field span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffd7c0;
}

.risk-report-field select,
.risk-report-field input,
.risk-report-field textarea {
  width: 100%;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 10, 16, 0.88);
  color: var(--text);
  padding: 0.75rem 0.85rem;
  font: inherit;
}

.risk-report-field textarea {
  resize: vertical;
  min-height: 110px;
}

.risk-multiselect {
  position: relative;
}

.risk-multiselect-toggle {
  width: 100%;
  text-align: left;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 10, 16, 0.88);
  color: var(--text);
  padding: 0.75rem 0.85rem;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.25;
  cursor: pointer;
}

.risk-multiselect-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 240px;
  overflow: auto;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0c1018;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
  padding: 0.35rem;
}

.risk-multiselect-menu label {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  column-gap: 0.7rem;
  padding: 0.6rem 0.7rem;
  border-radius: 0.7rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.25;
}

.risk-multiselect-menu label span {
  display: block;
}

.risk-multiselect-menu label:hover {
  background: rgba(255, 255, 255, 0.05);
}

.risk-multiselect-menu input {
  margin: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  justify-self: start;
}

.risk-report-help {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.risk-report-checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.risk-report-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 600;
}

.risk-report-checkbox input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--accent);
}

.risk-report-field-full {
  grid-column: 1 / -1;
}

.risk-report-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.risk-report-counter {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.9rem;
  background: rgba(8, 10, 16, 0.72);
  min-width: 180px;
}

.risk-report-counter-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffd7c0;
}

.risk-report-counter strong {
  font-size: 1.05rem;
  color: var(--text);
}

.risk-report-action-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

#risk-report-generate {
  border: 1px solid rgba(255, 126, 58, 0.5);
  background: linear-gradient(135deg, #1a0808 0%, #8f1717 42%, #ff8c32 100%);
  color: #fff4eb;
  font-weight: 800;
  padding: 0.78rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

#risk-report-generate:hover,
#risk-report-generate:focus-visible {
  filter: brightness(1.08);
}

.risk-report-status {
  min-height: 1.2rem;
  margin-top: 2mm;
  color: #ffcfb0;
  font-size: 0.82rem;
  text-align: right;
}

.feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

.collapsible-feed-section {
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.collapsible-feed-section.is-collapsed {
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
}

.collapsible-feed-section:hover {
  border-color: rgba(72, 200, 176, 0.35);
  background: rgba(19, 24, 35, 0.98);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(72, 200, 176, 0.12), inset 0 0 0 1px rgba(255,255,255,0.02);
}

.collapsible-feed-section:hover .collapsible-feed-indicator {
  color: #dffcf5;
  background: rgba(72, 200, 176, 0.12);
  border-color: rgba(72, 200, 176, 0.45);
}

.collapsible-feed-header {
  margin-bottom: 0;
  align-items: center;
}

.collapsible-feed-toggle {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  border: none;
  background: transparent;
  color: var(--text);
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.collapsible-feed-toggle h3 {
  margin: 0;
}

.collapsible-feed-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.collapsible-feed-title-stack {
  display: grid;
  gap: 0.18rem;
}

.collapsible-feed-hint {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 500;
}

.collapsible-feed-section:not(.is-collapsed) .collapsible-feed-hint {
  display: none;
}

.collapsible-feed-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  border: 1px solid rgba(72, 200, 176, 0.35);
  color: var(--accent);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  flex: 0 0 auto;
}

.collapsible-feed-section:not(.is-collapsed) .collapsible-feed-indicator {
  color: #dffcf5;
  background: rgba(72, 200, 176, 0.12);
}

.collapsible-feed-body {
  margin-top: 1rem;
}

.cyber-warfare-tracker-items,
.cyber-warfare-tracker-stack {
  display: grid;
  gap: 0.75rem;
}

.cyber-warfare-topic {
  border-top: none;
  padding-top: 0;
  margin: 0;
}

.cyber-warfare-topic-toggle {
  width: 100%;
  justify-content: space-between;
  padding: 0.72rem 0.88rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.95rem;
  background: rgba(12, 16, 24, 0.92);
  color: var(--text);
}

.cyber-warfare-topic-title {
  flex: 1 1 auto;
  min-width: 0;
}

.cyber-warfare-topic-flag {
  margin-left: 0.8rem;
  width: 28px;
  height: 19px;
  border-radius: 0.24rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.18);
  flex: 0 0 auto;
}

.cyber-warfare-topic:hover .cyber-warfare-topic-toggle,
.cyber-warfare-topic[open] .cyber-warfare-topic-toggle {
  border-color: rgba(72, 200, 176, 0.35);
  box-shadow: 0 0 0 1px rgba(72, 200, 176, 0.12), inset 0 0 0 1px rgba(255,255,255,0.02);
}

.sector-summary-card {
  display: grid;
  gap: 0.85rem;
}

.sector-summary-outline {
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.015);
}

.sector-summary-heading {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: #f3f6ff;
  letter-spacing: 0.03em;
}

.sector-summary-content {
  display: grid;
  gap: 0.8rem;
}

.sector-summary-body {
  line-height: 1.7;
  padding-top: 0.42rem;
}

.sector-summary-body .actor-summary-bullets {
  gap: 0.58rem;
  padding-left: 1.22rem;
}

.sector-summary-body .actor-summary-bullets li {
  line-height: 1.62;
}

.feed-header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cybersecurity-news-header-actions {
  align-items: flex-end;
  flex-direction: column;
  gap: 0.45rem;
}

.feed-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.feed-limit-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.feed-control-buttons {
  display: flex;
  gap: 0.5rem;
}

.monitored-threat-actor-news-section {
  margin-top: 0.85rem;
  padding: 0.95rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.monitored-threat-actor-news-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
}

.monitored-threat-actor-news-title-stack {
  display: grid;
  gap: 0.18rem;
}

.monitored-threat-actor-news-heading {
  color: var(--text);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.monitored-threat-actor-news-body {
  margin-top: 1rem;
}

.monitored-threat-actor-news-body[hidden] {
  display: none;
}

.actor-peer-nav-panel {
  margin-top: 1rem;
  padding: 0.9rem;
  border: 1px solid rgba(72, 200, 176, 0.28);
  border-radius: 0.9rem;
  background: rgba(72, 200, 176, 0.06);
}

.actor-peer-nav-panel[hidden] {
  display: none;
}

.actor-peer-nav-title {
  margin: 0 0 2mm;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.actor-peer-nav {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.actor-detail-header .actor-peer-nav {
  margin-top: 0.4rem;
}

.actor-peer-nav[hidden] {
  display: none;
}

.actor-peer-btn {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(60, 243, 212, 0.12);
  color: var(--text);
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: border 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.actor-peer-btn:hover,
.actor-peer-btn:focus-visible {
  border-color: var(--accent);
  background: rgba(60, 243, 212, 0.2);
  transform: translateY(-1px);
}

.actor-related-news-panel {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.actor-related-news-panel[hidden] {
  display: none;
}

.actor-related-news-title {
  margin: 0 0 0.75rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 750;
}

.actor-related-news-items {
  display: grid;
  gap: 1rem;
}

.actor-related-news-card.feed-card {
  min-height: 150px;
}

.actor-related-news-card.feed-card:hover {
  border-color: rgba(72, 200, 176, 0.22);
}

.actor-related-news-toggle {
  margin-top: 0.65rem;
}

.kev-related-news-panel {
  margin-top: 0.9rem;
}

.kev-related-news-panel[hidden] {
  display: none;
}

.kev-related-news-items.feed-items {
  gap: 1rem;
}

.feed-size-button,
.international-size-button,
.cybersecurity-news-size-button,
.monitored-threat-actor-news-size-button,
.norway-size-button,
.exploited-size-button {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.feed-size-button.active,
.international-size-button.active,
.cybersecurity-news-size-button.active,
.monitored-threat-actor-news-size-button.active,
.norway-size-button.active,
.exploited-size-button.active {
  background: var(--accent);
  color: #04130f;
  border-color: var(--accent);
}

.cybersecurity-news-mode-button {
  border: 1px solid rgba(72, 200, 176, 0.42);
  background: linear-gradient(135deg, rgba(72, 200, 176, 0.13), rgba(91, 167, 255, 0.08));
  color: #dffcf5;
  border-radius: 999px;
  padding: 0.44rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.025);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.cybersecurity-news-mode-button.active {
  background: linear-gradient(135deg, rgba(72, 200, 176, 0.95), rgba(109, 224, 255, 0.72));
  color: #03120f;
  border-color: rgba(109, 224, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(72, 200, 176, 0.14), 0 10px 24px rgba(72, 200, 176, 0.12);
}

.feed-header h3 {
  margin: 0;
}

.ghost-btn {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

#refresh-feed,
#refresh-international-feed,
#refresh-cybersecurity-news-feed,
#refresh-norway-feed,
#refresh-exploited-feed {
  border: 1px solid rgba(72, 200, 176, 0.28);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

#refresh-feed:hover,
#refresh-feed:focus-visible,
#refresh-international-feed:hover,
#refresh-international-feed:focus-visible,
#refresh-cybersecurity-news-feed:hover,
#refresh-cybersecurity-news-feed:focus-visible,
#refresh-norway-feed:hover,
#refresh-norway-feed:focus-visible,
#refresh-exploited-feed:hover,
#refresh-exploited-feed:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(72, 200, 176, 0.5);
  background: rgba(72, 200, 176, 0.08);
  box-shadow: 0 0 0 1px rgba(72, 200, 176, 0.1), inset 0 0 0 1px rgba(255,255,255,0.02);
}

.feed-items {
  display: grid;
  gap: 1rem;
  width: 100%;
  min-width: 0;
}

.discussion-board {
  padding: 1.25rem;
  padding-bottom: calc(1.25rem - 6mm);
  overflow-x: hidden;
}

.discussion-form {
  display: grid;
  gap: 0.45rem;
  width: 100%;
  margin-bottom: 0.85rem;
  margin-top: 4mm;
  padding: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0.9rem;
  background: rgba(16, 23, 36, 0.62);
}

.discussion-form label {
  font-size: 0.66rem;
  color: var(--text-muted);
}

.discussion-form input,
.discussion-form textarea {
  width: 100%;
  border-radius: 0.7rem;
  border: 1px solid var(--border);
  background: var(--panel-soft);
  color: var(--text);
  padding: 0.55rem 0.7rem;
  font: inherit;
  font-size: 0.82rem;
}

.discussion-form textarea {
  resize: none;
}

.discussion-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.emoji-picker {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.emoji-btn {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: 0.5rem;
  cursor: pointer;
  padding: 0.2rem 0.45rem;
}

.discussion-action-buttons {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 3mm;
}

#discussion-clear {
  border: none;
  background: linear-gradient(180deg, #ffcf66 0%, #ffb347 100%);
  color: #2a1a00;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
}

#discussion-submit {
  border: none;
  background: var(--accent);
  color: #04130f;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
}

.discussion-messages {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  height: 520px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0.9rem;
  background: rgba(16, 23, 36, 0.62);
  scrollbar-width: thin;
  scrollbar-color: rgba(95, 140, 210, 0.85) rgba(255, 255, 255, 0.08);
}

.discussion-messages::-webkit-scrollbar {
  width: 10px;
}

.discussion-messages::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.discussion-messages::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(112, 177, 255, 0.95), rgba(80, 133, 209, 0.95));
  border-radius: 999px;
  border: 2px solid rgba(12, 18, 30, 0.45);
}

.discussion-messages::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(132, 196, 255, 1), rgba(94, 153, 232, 1));
}

.discussion-toast-stack {
  position: fixed;
  right: 0.9rem;
  bottom: 1cm;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  z-index: 1300;
  pointer-events: none;
}

.discussion-toast {
  pointer-events: auto;
  width: calc(5cm + 1.8rem);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 0.45rem 0.55rem;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(3, 8, 18, 0.45);
  animation: discussionToastFloat 10s ease forwards;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.discussion-toast:hover {
  border-color: rgba(72, 200, 176, 0.45);
  box-shadow: 0 0 0 1px rgba(72, 200, 176, 0.12), 0 8px 22px rgba(3, 8, 18, 0.45);
  transform: translateY(-1px);
}

.discussion-toast.is-own {
  background: linear-gradient(180deg, #2a4f86 0%, #203f6e 100%);
  border-color: rgba(128, 182, 255, 0.34);
  color: #eaf2ff;
}

.discussion-toast.is-other {
  background: linear-gradient(180deg, #f5f7fb 0%, #e6ebf2 100%);
  border-color: rgba(183, 194, 210, 0.95);
  color: #1b2533;
}

.discussion-toast-icon {
  font-size: 0.95rem;
  line-height: 1.2;
  transform: translateY(1px);
}

.discussion-toast-content {
  min-width: 0;
  flex: 1;
}

.discussion-toast-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.1rem;
  font-size: 0.67rem;
  opacity: 0.92;
}

.discussion-toast-body {
  margin: 0;
  width: 5cm;
  max-width: 5cm;
  font-size: 0.78rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}


@keyframes discussionToastFloat {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  12% {
    opacity: 1;
    transform: translateY(0);
  }
  82% {
    opacity: 1;
    transform: translateY(-0.4cm);
  }
  100% {
    opacity: 0;
    transform: translateY(-1cm);
  }
}

.discussion-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.discussion-item.is-own {
  align-items: flex-end;
}

.discussion-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  margin: 0 0 0.2rem 0.3rem;
}

.discussion-item.is-own .discussion-meta {
  margin: 0 5mm 0.2rem 0;
  justify-content: flex-end;
}

.discussion-meta strong {
  color: #8fe8d9;
  font-weight: 700;
}

.discussion-item.is-other .discussion-meta strong {
  color: #d6deec;
}

.discussion-body {
  margin: 0;
  max-width: min(78%, 560px);
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.87rem;
  line-height: 1.35;
  border-radius: 1.05rem;
  padding: calc(0.38rem - 0.5mm) 0.72rem;
  position: relative;
  box-shadow: 0 2px 10px rgba(4, 8, 16, 0.35);
}

.discussion-item.is-own .discussion-body {
  color: #eaf2ff;
  background: linear-gradient(180deg, #2a4f86 0%, #203f6e 100%);
  border: 1px solid rgba(128, 182, 255, 0.34);
  margin-right: 5mm;
  border-radius: 1.05rem 1.05rem 0.45rem 1.05rem;
  box-shadow: 0 4px 14px rgba(5, 13, 26, 0.34);
}

.discussion-item.is-other .discussion-body {
  color: #1b2533;
  background: linear-gradient(180deg, #f5f7fb 0%, #e6ebf2 100%);
  border: 1px solid rgba(183, 194, 210, 0.95);
  border-radius: 1.05rem 1.05rem 1.05rem 0.45rem;
  box-shadow: 0 4px 14px rgba(8, 13, 20, 0.18);
}

.discussion-item.is-own .discussion-body::before,
.discussion-item.is-other .discussion-body::before {
  content: none;
}

.feed-card {
  padding: 1.2rem;
  border-radius: 1.1rem;
  border: 1px solid transparent;
  background: var(--panel-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-height: 150px;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  font-size: 0.92rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

.feed-card:hover {
  border-color: rgba(72, 200, 176, 0.35);
  background: rgba(19, 24, 35, 0.98);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(72, 200, 176, 0.12), inset 0 0 0 1px rgba(255,255,255,0.02);
}

.feed-card[data-severity='Critical'] {
  border-color: rgba(236, 78, 78, 0.6);
}

.feed-card[data-severity='High'] {
  border-color: rgba(255, 180, 0, 0.6);
}

.feed-card[data-severity='Medium'] {
  border-color: rgba(93, 242, 214, 0.3);
}

.feed-card h4 {
  margin: 0;
  font-size: 1.05rem;
}

.feed-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.feed-card.actor-detail-card p {
  font-size: 0.84rem;
}

.actor-focus,
.actor-recent {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.feed-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  gap: 0.75rem;
  min-width: 0;
  flex-wrap: wrap;
}

.feed-source-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.feed-source-badge img {
  width: 16px;
  height: 16px;
  border-radius: 3px;
}

.feed-source-fallback-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: linear-gradient(135deg, #b100ff, #ff4d6d);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.feed-card a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.kev-detection-block {
  margin-top: 0.2rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.kev-detection-title {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 700;
}

.kev-detection-empty {
  min-height: 2mm;
  margin: 0 0 2mm;
}

.kev-detection-list + .kev-detection-title {
  margin-top: 2mm;
}

.kev-detection-list {
  margin: 2mm 0 0;
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.kev-detection-list li {
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--text);
}

.kev-detection-list a {
  display: inline;
  align-self: auto;
  font-weight: 600;
}

.feed-card a svg {
  width: 14px;
  height: 14px;
}

.empty-state {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.search-filtered-out {
  opacity: 0.42;
}

.search-match-card {
  border-color: rgba(72, 200, 176, 0.55) !important;
  box-shadow: 0 0 0 1px rgba(72, 200, 176, 0.18), inset 0 0 0 1px rgba(72, 200, 176, 0.08);
}

.search-highlight {
  background: rgba(72, 200, 176, 0.24);
  color: #f6fffd;
  padding: 0 0.1rem;
  border-radius: 0.2rem;
}

.search-empty-state {
  margin-top: 0.9rem;
}

.search-results-group {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  border: none;
  background: transparent;
}

.search-results-group-title {
  margin: 0;
  font-size: 0.76rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
  padding-left: 0.15rem;
}

.search-result-card {
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(255,255,255,0.06);
  background: var(--panel-soft);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
  display: grid;
  gap: 0.38rem;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.search-result-card:hover {
  border-color: rgba(72, 200, 176, 0.35);
  background: rgba(19, 24, 35, 0.98);
  transform: translateY(-1px);
}

.search-result-card h4 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text);
}

.search-result-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.search-result-meta {
  font-size: 0.72rem;
  color: #9fb0c9;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
}

.search-result-card button,
.search-result-card a {
  justify-self: start;
}

.site-footer {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.8rem;
}

.site-visitor-stats {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.visitor-stat-card {
  min-width: 180px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: linear-gradient(180deg, rgba(19, 24, 35, 0.95) 0%, rgba(14, 17, 24, 0.98) 100%);
  box-shadow: var(--shadow);
}

.visitor-stat-label {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visitor-stat-card strong {
  display: block;
  font-size: 1.15rem;
  color: var(--text);
}


@media (max-width: 1400px) {
  .layout {
    grid-template-columns: 220px minmax(0, 1fr) 216px;
    justify-content: stretch;
  }
}

@media (max-width: 1100px) {
  .masthead {
    grid-template-columns: 1fr;
  }

  .masthead-grid {
    grid-template-columns: 1fr;
  }

  .layout {
    grid-template-columns: 220px minmax(0, 1fr);
    justify-content: stretch;
  }

  .right {
    display: none;
  }
}

@media (max-width: 880px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar,
  .news-column {
    order: initial;
  }

  .risk-report-grid {
    grid-template-columns: 1fr;
  }

  .actor-detail-top {
    grid-template-columns: 1fr;
  }
}

.connect-dots-embed {
  padding: 0.9rem !important;
  margin-bottom: 0;
  overflow: visible;
}

#connect-dots-frame,
#some-watcher-frame {
  width: 100%;
  height: 535px;
  display: block;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.9rem;
  background: #0b1018;
}

.connect-dots-actions {
  margin-top: 0.85rem !important;
  margin-bottom: 0.15rem;
  display: flex;
  justify-content: flex-end;
}

.connect-dots-open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  text-decoration: none;
  background: linear-gradient(180deg, #7de8d5 0%, #58c7b4 100%);
  color: #051814;
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 999px;
  padding: 0.6rem 1rem;
  transform: none;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.connect-dots-open-btn:hover,
.feed-priority-btn:hover,
.feed-size-button:hover,
.international-size-button:hover,
.cybersecurity-news-size-button:hover,
.monitored-threat-actor-news-size-button:hover,
.cybersecurity-news-mode-button:hover,
.norway-size-button:hover,
.exploited-size-button:hover,
.ghost-btn:hover {
  border-color: rgba(72, 200, 176, 0.45);
  box-shadow: 0 0 0 1px rgba(72, 200, 176, 0.12), inset 0 0 0 1px rgba(255,255,255,0.02);
  transform: translateY(-1px);
}

.connect-dots-open-btn:hover {
  filter: brightness(1.03);
}
.discussion-cleared-note {
  font-size: 0.66rem;
  margin-top: -2mm;
}


.sidebar.left h2 + .topic-nav {
  margin-bottom: 0.95rem;
}

.sidebar.left h2 + .topic-nav + h2 {
  margin-top: 1.2rem;
}


.footer-feedback-btn{display:inline-flex;width:auto;max-width:none;flex:0 0 auto;text-decoration:none;margin-bottom:.9rem;margin-left:0 !important;align-self:center}.site-footer{display:flex;flex-direction:column;align-items:center;text-align:center}.site-legal-note{margin:.7rem auto 0;max-width:920px;color:var(--text-muted);font-size:.76rem;line-height:1.55}



.site-footer p{margin-top:0}




@media (max-width: 1100px) {
  :root {
    --left-col: 220px;
    --right-col: 250px;
    --col-gap: 12px;
  }

  .page-shell {
    width: min(100%, 98vw);
    padding: 1rem 0 2rem;
  }

  .layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .sidebar.left,
  .sidebar.right,
  .sticky-rail {
    position: static;
    top: auto;
  }

  .sidebar.left {
    order: 2;
  }

  .news-column {
    order: 1;
    max-width: 100%;
  }

  .sidebar.right {
    order: 3;
  }

  .masthead {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .footer-feedback-btn {
    justify-content: center;
    text-align: center;
  }

  .page-shell {
    width: 100%;
    padding: 0.8rem 0.6rem 1.5rem;
  }

  .global-search-wrap {
    position: static;
    top: auto;
    z-index: auto;
  }

  .masthead {
    margin-bottom: 0.2rem;
  }

  .masthead-main {
    padding-top: 0;
  }

  .masthead .eyebrow {
    display: block;
    text-align: center;
    margin-bottom: 0.18rem;
  }

  .masthead .tagline {
    display: block;
    text-align: center;
    margin-top: 0.08rem;
    font-size: 0.84rem;
    color: var(--text-muted);
    max-width: none;
  }

  .masthead-grid {
    grid-template-columns: 1fr;
  }

  .masthead-copy .app-logo-link {
    display: flex;
    justify-content: center;
  }

  .masthead-copy .app-logo-link h1 {
    font-size: 1.7rem;
    text-align: center;
  }

  .masthead-cta-stack {
    width: 100%;
    max-width: none;
    margin-left: 0;
  }

  .risk-report-trigger {
    width: 100%;
    margin-left: 0;
    text-align: center;
  }

  .layout {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .news-column {
    display: flex;
    flex-direction: column;
  }

  .news-column > #cybersec-summary-section { order: 1 !important; }
  .news-column > #threat-actors-section { order: 2 !important; }
  .news-column > #actor-matrix-panel { order: 3 !important; }
  .news-column > #actor-summary-panel { order: 4 !important; }
  .news-column > #actor-detail-panel { order: 5 !important; }
  .news-column > #news-feed { order: 6 !important; }
  .news-column > #norway-monitoring-section { order: 7 !important; }
  .news-column > #international-news-section { order: 8 !important; }
  .news-column > #exploited-feed-section { order: 9 !important; }
  .news-column > #discussion-board-section { order: 10 !important; }
  .news-column > #connect-dots-section { order: 11 !important; }
  .news-column > #some-watcher-embed-section { order: 12 !important; }
  .news-column > #risk-report-panel { order: 13 !important; }
  .news-column > #cyber-warfare-tracker-section { order: 99 !important; }

  .cybersec-summary-header {
    align-items: stretch;
    gap: 0.8rem;
  }

  .cybersec-summary-controls {
    width: 100%;
    align-items: stretch;
    gap: 0.55rem;
  }

  .cybersec-summary-toggle,
  .cybersec-summary-mode-toggle {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-radius: 1rem;
  }

  .cybersec-summary-mode-toggle .risk-flow-mode-btn,
  .cybersec-summary-toggle .summary-window-btn {
    width: 100%;
    padding: 0.5rem 0.35rem;
    font-size: 0.75rem;
    white-space: normal;
    line-height: 1.15;
  }

  .cybersec-cyber-news-card,
  .cybersec-report-card {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 0.72rem;
    padding: 0.82rem 0.78rem;
  }

  .cybersec-cyber-news-keywords,
  .cybersec-report-keywords {
    gap: 0.3rem;
  }

  .cybersec-cyber-news-keyword,
  .cybersec-cyber-news-filter button {
    min-height: 32px;
    padding: 0.28rem 0.5rem;
    font-size: 0.7rem;
  }

  .cybersec-cyber-news-filter {
    align-items: stretch;
    flex-direction: column;
    gap: 0.5rem;
  }

  .cybersec-cyber-news-filter button {
    width: 100%;
  }

  .sidebar.left {
    display: none;
  }

  .mobile-nav-bar {
    display: block;
    width: 100%;
    margin: 0.45rem 0 0.85rem;
  }

  .mobile-menu-toggle {
    display: block;
    width: 100%;
    padding: 0.82rem 1rem;
    text-align: center;
  }

  .mobile-nav-drawer[hidden] {
    display: none !important;
  }

  .mobile-nav-drawer {
    display: block;
    position: fixed;
    inset: 0.8rem 0.6rem auto 0.6rem;
    z-index: 1200;
    margin: 0;
    max-height: calc(100vh - 1.6rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav-backdrop[hidden] {
    display: none !important;
  }

  .mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(3, 7, 12, 0.58);
    backdrop-filter: blur(2px);
    z-index: 1190;
  }

  .sidebar.right {
    padding: 0.8rem;
  }

  .hero,
  .feed,
  .actor-detail-panel,
  .sidebar {
    border-radius: 1rem;
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .threat-actor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .actor-country-card {
    padding: 0.35rem;
  }

  .actor-country-button {
    min-height: 64px;
    padding: 0.8rem;
    font-size: 0.82rem;
    line-height: 1.02;
    background-size: cover;
  }

  .feed-header,
  .actor-title-row,
  .masthead-grid {
    column-gap: 0.45rem;
  }

  .feed-header {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .feed-order-bar,
  .cybersec-summary-toggle,
  .feed-control-buttons,
  .risk-report-actions {
    width: 100%;
  }

  .feed-control-buttons,
  .cybersec-summary-toggle {
    display: flex;
    flex-wrap: wrap;
  }

  .summary-window-btn,
  .feed-priority-btn {
    flex: 1 1 auto;
  }

  .risk-report-grid {
    grid-template-columns: 1fr;
  }

  .risk-report-actions {
    align-items: stretch;
  }

  .risk-report-counter,
  .risk-report-action-stack,
  #risk-report-generate {
    width: 100%;
  }

  .risk-report-action-stack {
    align-items: stretch;
  }

  .risk-report-status {
    text-align: left;
  }

  .site-visitor-stats {
    width: 100%;
  }

  .visitor-stat-card {
    width: 100%;
  }

  .back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 0.8rem;
    bottom: 0.9rem;
    z-index: 1180;
    border: 1px solid rgba(72, 200, 176, 0.45);
    background: linear-gradient(180deg, #7de8d5 0%, #58c7b4 100%);
    color: #051814;
    border-radius: 999px;
    padding: 0.65rem 0.9rem;
    font-weight: 800;
    box-shadow: var(--shadow);
  }

  .back-to-top {
    position: fixed;
    right: 0.8rem;
    bottom: 0.9rem;
    z-index: 1180;
    border: 1px solid rgba(72, 200, 176, 0.45);
    background: linear-gradient(180deg, #7de8d5 0%, #58c7b4 100%);
    color: #051814;
    border-radius: 999px;
    padding: 0.65rem 0.9rem;
    font-weight: 800;
    box-shadow: var(--shadow);
  }
}

@media (max-width: 520px) {
  .threat-actor-grid {
    grid-template-columns: 1fr 1fr;
  }

  .actor-country-button {
    min-height: 56px;
    font-size: 0.76rem;
    padding: 0.65rem;
  }

  .hero h2 {
    font-size: 1.35rem;
  }

  .feed h3,
  .cybersec-summary-header h3 {
    font-size: 1rem;
  }
}


.page-threat-matrix-wrap {
  width: 100%;
  margin: 0;
}

.page-threat-matrix-frame {
  position: relative;
  border-radius: 24px;
  min-height: 430px;
  padding: 1.25rem 1.25rem 3.5rem 4rem;
  background: linear-gradient(135deg, #14335b, #0d2341);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.page-threat-matrix-plot {
  position: relative;
  height: 320px;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(to right, rgba(255,255,255,0.38) 1px, transparent 1px),
    linear-gradient(to top, rgba(255,255,255,0.38) 1px, transparent 1px),
    linear-gradient(135deg, #5fbf68 0%, #89c55f 25%, #d2b852 55%, #e67f2c 100%);
  background-size: 25% 100%, 100% 25%, 100% 100%;
  background-position: 0 0, 0 0, 0 0;
}

.page-threat-matrix-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  transform: translate(-50%, 50%);
  background: #3b82f6;
  border: 2px solid #dbeafe;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.82);
}

.page-threat-matrix-axis {
  color: #eef5ff;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.page-threat-matrix-axis-x {
  text-align: center;
  margin-top: 0.9rem;
}

.page-threat-matrix-axis-y {
  position: absolute;
  left: 0.65rem;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left top;
  white-space: nowrap;
}

.page-threat-matrix-legend {
  display: grid;
  width: 100%;
  margin-top: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.page-threat-matrix-legend .threat-matrix-legend-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.28rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.022);
  min-height: 136px;
  align-items: flex-start;
  text-align: left;
  cursor: pointer;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.page-threat-matrix-legend .threat-matrix-legend-item:hover,
.page-threat-matrix-legend .threat-matrix-legend-item:focus-visible {
  border-color: rgba(72, 200, 176, 0.38);
  background: rgba(72, 200, 176, 0.08);
  box-shadow: 0 0 0 1px rgba(72, 200, 176, 0.18), 0 12px 28px rgba(4, 10, 18, 0.22);
  transform: translateY(-1px);
  outline: none;
}

.page-threat-matrix-legend .threat-matrix-legend-item:hover .threat-matrix-legend-name,
.page-threat-matrix-legend .threat-matrix-legend-item:focus-visible .threat-matrix-legend-name {
  color: #9cf5e3;
}

.page-threat-matrix-legend .threat-matrix-legend-name {
  font-size: calc(1rem - 2px);
}

.page-threat-matrix-legend .threat-matrix-legend-item strong {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: #eef5ff;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
}

.page-threat-matrix-legend .threat-matrix-origin-badge {
  width: 28px;
  height: 19px;
  margin-top: 0.08rem;
  flex: 0 0 28px;
}

.page-threat-matrix-legend .threat-matrix-legend-meta {
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.55;
  white-space: normal;
}

.threat-matrix-legend-intentions {
  margin: auto 0 0;
  padding-top: 0.48rem;
}

.threat-matrix-legend-intentions .actor-intention-pill {
  font-size: 0.72rem;
}

.actor-matrix-panel .actor-detail-content {
  gap: 1rem;
}

@media (max-width: 980px) {
  .page-threat-matrix-wrap {
    width: 100%;
  }

  .page-threat-matrix-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
