.protection-panel { display: grid; gap: 12px; }
.protection-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; justify-content: space-between; }
.protection-heading p, .protection-details, .protection-alerts { font-size: .85rem; }
.protection-panel > .protection-details { margin: 0; }
.protection-map {
  position: relative;
  height: clamp(185px, 38dvh, 300px);
  border-radius: 19px;
  border: 1px solid #dce6ed;
  overflow: clip;
  background: radial-gradient(ellipse, #fff, #edf2f7);
  box-shadow: var(--pressed);
}
.protection-map canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.protection-hub, .protection-node {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 1px solid var(--rim);
  border-radius: 15px;
  padding: 5px 7px;
  display: grid;
  place-items: center;
  width: min(30%, 136px);
  min-height: 42px;
  font-size: clamp(.7rem, 2.8vw, .87rem);
  font-weight: 700;
  color: var(--text);
  background: linear-gradient(145deg, #fff, var(--surface));
  box-shadow: var(--raised-subtle);
}
.protection-hub { top: 50%; left: 50%; width: min(25%, 125px); color: var(--primary); background: #e9f6f3; box-shadow: var(--pressed-accent); }
.protection-node:is(:hover, [aria-pressed="true"], .is-active) { color: var(--primary); background: #e8f4f2; box-shadow: var(--pressed-accent); }
.protection-node.has-alert { border-color: #be647b; color: var(--error); }
.protection-alerts { display: grid; gap: 6px; }
.protection-alert { padding: 8px 12px; border-radius: 11px; color: var(--error); background: #fcebf0; }
.security-review-list { display: grid; gap: 8px; margin-top: 12px; }
.security-review-list details { border-radius: 12px; padding: 10px 12px; box-shadow: var(--pressed); }
.security-review-list summary { cursor: pointer; }
.security-review-text { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 10px; line-height: 1.55; }
