.pulseSecurity_panel {
  box-sizing: border-box;
  margin: 0 0 24px;
  padding: 20px;
  border: 1px solid rgba(64, 117, 111, .25);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(225, 246, 241, .82), rgba(246, 250, 249, .96));
  color: var(--cpd-color-text-primary, #1c2726);
}

.pulseSecurity_header,
.pulseSecurity_sessionHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.pulseSecurity_heading {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.pulseSecurity_subtitle,
.pulseSecurity_summary,
.pulseSecurity_state,
.pulseSecurity_privacy {
  margin: 4px 0 0;
  color: var(--cpd-color-text-secondary, #5e6d6b);
  font-size: 13px;
  line-height: 1.45;
}

.pulseSecurity_refresh {
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(35, 102, 94, .35);
  border-radius: 9px;
  background: #fff;
  color: #215f58;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.pulseSecurity_refresh:hover { background: #f1faf7; }
.pulseSecurity_refresh:focus-visible { outline: 3px solid rgba(19, 132, 116, .35); }

.pulseSecurity_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.pulseSecurity_session {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(61, 92, 88, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .9);
}

.pulseSecurity_sessionTitle {
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
}

.pulseSecurity_current {
  flex: 0 0 auto;
  padding: 2px 7px;
  border-radius: 999px;
  background: #d9f3eb;
  color: #176653;
  font-size: 11px;
  font-weight: 700;
}

.pulseSecurity_fact {
  display: grid;
  grid-template-columns: minmax(88px, .75fr) minmax(0, 1.25fr);
  gap: 8px;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.35;
}

.pulseSecurity_factLabel { color: var(--cpd-color-text-secondary, #667471); }
.pulseSecurity_factValue { overflow-wrap: anywhere; font-weight: 550; }
.pulseSecurity_approximate .pulseSecurity_factValue { color: #7b5a19; }

.pulseSecurity_evidence {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(61, 92, 88, .12);
  color: var(--cpd-color-text-secondary, #667471);
  font-size: 11px;
  line-height: 1.35;
}

.pulseSecurity_privacy { margin-top: 12px; }
.pulseSecurity_privacy a { color: inherit; text-decoration: underline; }

@media (prefers-color-scheme: dark) {
  .pulseSecurity_panel {
    border-color: rgba(111, 182, 171, .25);
    background: linear-gradient(145deg, rgba(31, 66, 62, .92), rgba(31, 40, 40, .96));
  }
  .pulseSecurity_session { background: rgba(17, 25, 25, .55); }
  .pulseSecurity_refresh { border-color: rgba(132, 207, 195, .35); background: #263b39; color: #bfe8df; }
  .pulseSecurity_current { background: #174e43; color: #bcebdc; }
}

.mx_Theme_dark .pulseSecurity_panel {
  border-color: rgba(111, 182, 171, .25);
  background: linear-gradient(145deg, rgba(31, 66, 62, .92), rgba(31, 40, 40, .96));
}
.mx_Theme_dark .pulseSecurity_session { background: rgba(17, 25, 25, .55); }
.mx_Theme_dark .pulseSecurity_refresh { border-color: rgba(132, 207, 195, .35); background: #263b39; color: #bfe8df; }
.mx_Theme_dark .pulseSecurity_current { background: #174e43; color: #bcebdc; }

@media (max-width: 720px) {
  .pulseSecurity_panel { padding: 15px; }
  .pulseSecurity_grid { grid-template-columns: 1fr; }
}
