/* SentinelRE Phase 28.3 Executive Broker Operations Center */

.sr28-operations-center {
  display: grid;
  gap: 22px;
  margin-bottom: 24px;
}

.sr28-operations-heading {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(180px, 240px);
  gap: 18px;
  align-items: stretch;
}

.sr28-operations-heading > div:first-child {
  background:
    linear-gradient(
      135deg,
      rgba(27, 20, 58, 0.98),
      rgba(74, 37, 112, 0.96)
    );
  border-radius: 20px;
  padding: 24px;
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(27, 20, 58, 0.16);
}

.sr28-operations-heading h2 {
  margin: 4px 0 8px;
  color: #ffffff;
}

.sr28-operations-heading p {
  margin: 0;
}

.sr28-eyebrow {
  color: #f2d27a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sr28-health-card {
  display: grid;
  align-content: center;
  justify-items: center;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid #e7e3ef;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(27, 20, 58, 0.1);
  text-align: center;
}

.sr28-health-card span,
.sr28-health-card small {
  font-weight: 700;
}

.sr28-health-card strong {
  margin: 6px 0;
  font-size: 2.35rem;
  line-height: 1;
}

.sr28-health-good {
  border-top: 5px solid #15803d;
}

.sr28-health-good strong {
  color: #15803d;
}

.sr28-health-monitor {
  border-top: 5px solid #d97706;
}

.sr28-health-monitor strong {
  color: #b45309;
}

.sr28-health-attention {
  border-top: 5px solid #b91c1c;
}

.sr28-health-attention strong {
  color: #b91c1c;
}

.sr28-kpi-grid {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.sr28-kpi {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 17px;
  border: 1px solid #e5e0ef;
  border-radius: 16px;
  background: #ffffff;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(27, 20, 58, 0.06);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.sr28-kpi:hover,
.sr28-kpi:focus-visible {
  transform: translateY(-2px);
  border-color: #c99a2e;
  box-shadow: 0 12px 26px rgba(27, 20, 58, 0.11);
}

.sr28-kpi span {
  color: #5f5970;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.sr28-kpi strong {
  color: #241340;
  font-size: 1.65rem;
}

.sr28-kpi small {
  color: #706a7d;
}

.sr28-detail-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sr28-panel {
  min-width: 0;
  border: 1px solid #e5e0ef;
  border-radius: 18px;
  padding: 20px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(27, 20, 58, 0.07);
}

.sr28-panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.sr28-panel-heading h3 {
  margin: 0 0 5px;
}

.sr28-panel-heading p {
  margin: 0;
  color: #706a7d;
}

.sr28-count {
  min-width: 34px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3ecff;
  color: #4b1d72;
  font-weight: 800;
  text-align: center;
}

.sr28-priority-list,
.sr28-activity-list {
  display: grid;
  gap: 11px;
}

.sr28-priority {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid #ece8f3;
  border-left-width: 5px;
  border-radius: 13px;
}

.sr28-priority strong,
.sr28-priority p {
  display: block;
}

.sr28-priority p {
  margin: 4px 0 0;
  color: #656070;
}

.sr28-priority a {
  white-space: nowrap;
  font-weight: 800;
}

.sr28-priority-area {
  display: block;
  margin-bottom: 4px;
  color: #6f6680;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sr28-priority-critical {
  border-left-color: #b91c1c;
  background: #fff7f7;
}

.sr28-priority-high {
  border-left-color: #d97706;
  background: #fffbeb;
}

.sr28-priority-monitor {
  border-left-color: #2563eb;
  background: #f7faff;
}

.sr28-activity {
  display: grid;
  grid-template-columns:
    12px
    minmax(0, 1fr);
  gap: 11px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eeeaf4;
}

.sr28-activity:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.sr28-activity-marker {
  width: 9px;
  height: 9px;
  margin-top: 6px;
  border-radius: 50%;
  background: #c99a2e;
  box-shadow: 0 0 0 4px #f8efd8;
}

.sr28-activity p {
  margin: 4px 0;
  color: #656070;
}

.sr28-activity small {
  color: #837c8d;
}

.sr28-empty-state {
  padding: 22px;
  border: 1px dashed #d8d2e1;
  border-radius: 14px;
  background: #faf9fc;
  text-align: center;
}

.sr28-empty-state p {
  margin: 6px 0 0;
  color: #706a7d;
}

@media (max-width: 1100px) {
  .sr28-kpi-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 850px) {
  .sr28-operations-heading,
  .sr28-detail-grid {
    grid-template-columns: 1fr;
  }

  .sr28-kpi-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .sr28-kpi-grid {
    grid-template-columns: 1fr;
  }

  .sr28-priority {
    grid-template-columns: 1fr;
  }

  .sr28-priority a {
    white-space: normal;
  }
}

/* SENTINELRE PHASE 28.3C ACTIVITY ACTIONS */

.sr28-activity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 7px;
}

.sr28-activity-actions a {
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.sr28-activity-actions a:hover,
.sr28-activity-actions a:focus-visible {
  text-decoration: underline;
}

/* SENTINELRE PHASE 28.4 UNIFIED EXECUTIVE SEARCH */

.sr28-search-card {
  display: grid;
  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(320px, 1.1fr);
  gap: 24px;
  align-items: center;
  margin: 0 0 24px;
  padding: 22px;
  border: 1px solid #e5e0ef;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(27, 20, 58, 0.07);
}

.sr28-search-copy h2 {
  margin: 3px 0 7px;
}

.sr28-search-copy p {
  margin: 0;
  color: #6f687a;
}

.sr28-search-form {
  display: grid;
  gap: 7px;
}

.sr28-search-label {
  color: #312342;
  font-size: 0.82rem;
  font-weight: 800;
}

.sr28-search-control {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto;
  gap: 9px;
}

.sr28-search-control input {
  min-width: 0;
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #cec6d9;
  border-radius: 12px;
  background: #ffffff;
  color: #241b30;
  font: inherit;
}

.sr28-search-control input:focus {
  outline: 3px solid rgba(113, 59, 151, 0.16);
  border-color: #713b97;
}

.sr28-search-control button {
  padding: 12px 20px;
  border: 0;
  border-radius: 12px;
  background: #4b1d72;
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.sr28-search-control button:hover,
.sr28-search-control button:focus-visible {
  background: #351250;
}

.sr28-search-form small {
  color: #7d7586;
}

.sr28-search-results {
  display: grid;
  gap: 18px;
}

.sr28-results-heading,
.sr28-result-group-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.sr28-results-heading h2,
.sr28-result-group-heading h3 {
  margin: 0;
}

.sr28-results-heading p {
  margin: 4px 0 0;
  color: #6f687a;
}

.sr28-search-notice {
  padding: 16px;
  border-left: 5px solid #d97706;
  border-radius: 12px;
  background: #fffbeb;
  font-weight: 700;
}

.sr28-result-group {
  padding: 19px;
  border: 1px solid #e5e0ef;
  border-radius: 17px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(27, 20, 58, 0.06);
}

.sr28-result-list {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.sr28-result {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto;
  gap: 15px;
  align-items: center;
  padding: 14px;
  border: 1px solid #ece8f3;
  border-radius: 13px;
  background: #fcfbfd;
  color: inherit;
  text-decoration: none;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background 150ms ease;
}

.sr28-result:hover,
.sr28-result:focus-visible {
  transform: translateY(-1px);
  border-color: #c99a2e;
  background: #ffffff;
}

.sr28-result strong,
.sr28-result p,
.sr28-result small {
  display: block;
}

.sr28-result p {
  margin: 4px 0;
  color: #655e6e;
}

.sr28-result small {
  color: #837b8c;
}

.sr28-result > span {
  color: #713b97;
  font-size: 1.7rem;
  font-weight: 800;
}

@media (max-width: 850px) {
  .sr28-search-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .sr28-search-control {
    grid-template-columns: 1fr;
  }

  .sr28-search-control button {
    width: 100%;
  }
}

/* SENTINELRE PHASE 28.5 EXECUTIVE NOTIFICATIONS */

.sr28-notification-summary {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(360px, 0.9fr)
    auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
  padding: 21px;
  border: 1px solid #e5e0ef;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(27, 20, 58, 0.07);
}

.sr28-notification-summary-copy h2 {
  margin: 3px 0 7px;
}

.sr28-notification-summary-copy p {
  margin: 0;
  color: #6f687a;
}

.sr28-notification-counts,
.sr28-notification-page-summary {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.sr28-notification-page-summary {
  margin-bottom: 22px;
}

.sr28-notification-count {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 13px;
  border: 1px solid #e5e0ef;
  border-top: 4px solid #7b7285;
  border-radius: 13px;
  background: #ffffff;
  text-align: center;
}

.sr28-notification-count span {
  color: #625b6c;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sr28-notification-count strong {
  color: #241340;
  font-size: 1.55rem;
}

.sr28-notification-critical {
  border-top-color: #b91c1c;
}

.sr28-notification-high {
  border-top-color: #d97706;
}

.sr28-notification-monitor {
  border-top-color: #2563eb;
}

.sr28-notification-summary-action {
  white-space: nowrap;
}

.sr28-notification-center {
  display: grid;
  gap: 18px;
}

.sr28-notification-list {
  display: grid;
  gap: 13px;
}

.sr28-notification {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto;
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid #e5e0ef;
  border-left-width: 6px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(27, 20, 58, 0.06);
}

.sr28-notification-critical {
  border-left-color: #b91c1c;
}

.sr28-notification-high {
  border-left-color: #d97706;
}

.sr28-notification-monitor {
  border-left-color: #2563eb;
}

.sr28-notification-information {
  border-left-color: #7b7285;
}

.sr28-notification-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 7px;
}

.sr28-notification-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #f4f1f7;
  color: #5f5769;
  font-size: 0.73rem;
  font-weight: 800;
}

.sr28-notification-severity {
  text-transform: uppercase;
}

.sr28-notification h3 {
  margin: 0 0 6px;
}

.sr28-notification p {
  margin: 0;
  color: #665f70;
}

.sr28-notification-action {
  white-space: nowrap;
}

@media (max-width: 1050px) {
  .sr28-notification-summary {
    grid-template-columns: 1fr;
  }

  .sr28-notification-summary-action {
    white-space: normal;
  }
}

@media (max-width: 700px) {
  .sr28-notification-counts,
  .sr28-notification-page-summary {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .sr28-notification {
    grid-template-columns: 1fr;
  }

  .sr28-notification-action {
    white-space: normal;
  }
}

@media (max-width: 450px) {
  .sr28-notification-counts,
  .sr28-notification-page-summary {
    grid-template-columns: 1fr;
  }
}

/* SENTINELRE PHASE 29.1 BROKERAGE HEALTH INTELLIGENCE */

.sr29-health-intelligence {
  overflow: hidden;
  border: 1px solid #ddd5e8;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(27, 20, 58, 0.07);
}

.sr29-health-intelligence > summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  background:
    linear-gradient(
      135deg,
      rgba(248, 245, 252, 1),
      rgba(255, 255, 255, 1)
    );
}

.sr29-health-intelligence > summary::-webkit-details-marker {
  display: none;
}

.sr29-health-intelligence > summary strong {
  display: block;
  margin-top: 3px;
  color: #2d1947;
  font-size: 1.05rem;
}

.sr29-health-summary-label {
  color: #713b97;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.sr29-health-summary-action {
  color: #4b1d72;
  font-weight: 800;
  white-space: nowrap;
}

.sr29-health-intelligence[open]
.sr29-health-summary-action {
  font-size: 0;
}

.sr29-health-intelligence[open]
.sr29-health-summary-action::after {
  content: "Hide Health Breakdown";
  font-size: 0.9rem;
}

.sr29-health-body {
  display: grid;
  gap: 18px;
  padding: 20px;
  border-top: 1px solid #ebe6f1;
}

.sr29-health-overview {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sr29-health-overview > div {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 17px;
  border: 1px solid #e8e2ee;
  border-radius: 14px;
  background: #faf9fc;
  text-align: center;
}

.sr29-health-overview span,
.sr29-health-overview small {
  color: #655e70;
  font-weight: 700;
}

.sr29-health-overview strong {
  color: #30184e;
  font-size: 1.8rem;
}

.sr29-contributor-list {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sr29-contributor {
  min-width: 0;
  padding: 16px;
  border: 1px solid #e7e1ed;
  border-radius: 15px;
  background: #ffffff;
}

.sr29-contributor-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.sr29-contributor-heading h3 {
  margin: 0;
}

.sr29-contributor-heading p {
  margin: 3px 0 0;
  color: #746c7d;
  font-size: 0.8rem;
}

.sr29-contributor-score {
  text-align: right;
}

.sr29-contributor-score strong,
.sr29-contributor-score span {
  display: block;
}

.sr29-contributor-score strong {
  color: #30184e;
  font-size: 1.25rem;
}

.sr29-contributor-score span {
  margin-top: 2px;
  color: #7b7284;
  font-size: 0.75rem;
}

.sr29-score-track {
  overflow: hidden;
  height: 8px;
  margin: 13px 0;
  border-radius: 999px;
  background: #ece7f1;
}

.sr29-score-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      #713b97,
      #c99a2e
    );
}

.sr29-contributor > p {
  margin: 0 0 9px;
  color: #655f6d;
}

.sr29-contributor > a {
  font-weight: 800;
  text-decoration: none;
}

.sr29-primary-recommendation {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(220px, 300px);
  gap: 20px;
  align-items: center;
  padding: 19px;
  border: 1px solid #d9c9e7;
  border-left: 6px solid #713b97;
  border-radius: 16px;
  background: #fbf8ff;
}

.sr29-primary-recommendation h3 {
  margin: 4px 0;
}

.sr29-primary-recommendation p {
  margin: 7px 0 0;
  color: #655f6d;
}

.sr29-recommendation-impact {
  display: grid;
  gap: 6px;
  justify-items: start;
}

.sr29-recommendation-impact span,
.sr29-recommendation-impact small {
  color: #655e70;
  font-weight: 700;
}

.sr29-recommendation-impact strong {
  color: #30184e;
  font-size: 1.45rem;
}

.sr29-recommendation-impact .btn {
  margin-top: 7px;
}

@media (max-width: 850px) {
  .sr29-contributor-list,
  .sr29-primary-recommendation {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .sr29-health-overview {
    grid-template-columns: 1fr;
  }

  .sr29-health-intelligence > summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .sr29-health-summary-action {
    white-space: normal;
  }
}

/* SENTINELRE PHASE 29.2 EXECUTIVE RISK INDEX */

.sr29-risk-index {
  overflow: hidden;
  border: 1px solid #ddd5e8;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(27, 20, 58, 0.07);
}

.sr29-risk-index > summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  background:
    linear-gradient(
      135deg,
      rgba(45, 25, 71, 0.98),
      rgba(89, 45, 116, 0.96)
    );
  color: #ffffff;
}

.sr29-risk-index > summary::-webkit-details-marker {
  display: none;
}

.sr29-risk-index > summary strong {
  display: block;
  margin-top: 4px;
  color: #ffffff;
  font-size: 1.08rem;
}

.sr29-risk-eyebrow {
  color: #f2d27a;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sr29-risk-summary-value {
  display: flex;
  gap: 12px;
  align-items: center;
}

.sr29-risk-summary-action {
  font-weight: 800;
  white-space: nowrap;
}

.sr29-risk-index[open]
.sr29-risk-summary-action {
  font-size: 0;
}

.sr29-risk-index[open]
.sr29-risk-summary-action::after {
  content: "Hide Risk Breakdown";
  font-size: 0.9rem;
}

.sr29-risk-badge {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sr29-risk-low {
  background: #dcfce7;
  color: #166534;
}

.sr29-risk-guarded {
  background: #dbeafe;
  color: #1d4ed8;
}

.sr29-risk-elevated {
  background: #fef3c7;
  color: #92400e;
}

.sr29-risk-high {
  background: #fee2e2;
  color: #991b1b;
}

.sr29-risk-critical {
  background: #7f1d1d;
  color: #ffffff;
}

.sr29-risk-body {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.sr29-risk-overview {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sr29-risk-overview > div {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 17px;
  border: 1px solid #e8e2ee;
  border-radius: 14px;
  background: #faf9fc;
  text-align: center;
}

.sr29-risk-overview span,
.sr29-risk-overview small {
  color: #655e70;
  font-weight: 700;
}

.sr29-risk-overview strong {
  color: #30184e;
  font-size: 1.8rem;
}

.sr29-risk-domain-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sr29-risk-domain {
  min-width: 0;
  padding: 16px;
  border: 1px solid #e7e1ed;
  border-radius: 15px;
  background: #ffffff;
}

.sr29-risk-domain-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.sr29-risk-domain-heading h3 {
  margin: 0;
}

.sr29-risk-domain-heading p {
  margin: 3px 0 0;
  color: #746c7d;
  font-size: 0.8rem;
}

.sr29-risk-domain-score {
  text-align: right;
}

.sr29-risk-domain-score strong {
  display: block;
  margin-bottom: 5px;
  color: #30184e;
  font-size: 1.25rem;
}

.sr29-risk-track {
  overflow: hidden;
  height: 9px;
  margin: 13px 0;
  border-radius: 999px;
  background: #ece7f1;
}

.sr29-risk-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.sr29-risk-track-low span {
  background: #16a34a;
}

.sr29-risk-track-guarded span {
  background: #2563eb;
}

.sr29-risk-track-elevated span {
  background: #d97706;
}

.sr29-risk-track-high span {
  background: #dc2626;
}

.sr29-risk-track-critical span {
  background: #7f1d1d;
}

.sr29-risk-domain > p {
  margin: 0 0 10px;
  color: #655f6d;
}

.sr29-risk-domain-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.sr29-risk-domain-footer small {
  color: #7a7183;
}

.sr29-risk-domain-footer a {
  font-weight: 800;
  text-decoration: none;
  text-align: right;
}

.sr29-primary-risk {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(220px, 300px);
  gap: 20px;
  align-items: center;
  padding: 19px;
  border: 1px solid #d9c9e7;
  border-left: 6px solid #b45309;
  border-radius: 16px;
  background: #fffbeb;
}

.sr29-primary-risk h3 {
  margin: 4px 0;
}

.sr29-primary-risk p {
  margin: 7px 0 0;
  color: #655f6d;
}

.sr29-primary-risk-impact {
  display: grid;
  gap: 6px;
  justify-items: start;
}

.sr29-primary-risk-impact span,
.sr29-primary-risk-impact small {
  color: #655e70;
  font-weight: 700;
}

.sr29-primary-risk-impact strong {
  color: #30184e;
  font-size: 1.45rem;
}

.sr29-primary-risk-impact .btn {
  margin-top: 7px;
}

@media (max-width: 850px) {
  .sr29-risk-domain-grid,
  .sr29-primary-risk {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .sr29-risk-overview {
    grid-template-columns: 1fr;
  }

  .sr29-risk-index > summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .sr29-risk-summary-value {
    align-items: flex-start;
    flex-direction: column;
  }

  .sr29-risk-summary-action {
    white-space: normal;
  }

  .sr29-risk-domain-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .sr29-risk-domain-footer a {
    text-align: left;
  }
}

/* SENTINELRE PHASE 29.3 PREDICTIVE BROKERAGE INTELLIGENCE */

.sr29-predictive-intelligence {
  overflow: hidden;
  border: 1px solid #ddd5e8;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(27, 20, 58, 0.07);
}

.sr29-predictive-intelligence > summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  background:
    linear-gradient(
      135deg,
      rgba(16, 59, 76, 0.98),
      rgba(44, 99, 111, 0.96)
    );
  color: #ffffff;
}

.sr29-predictive-intelligence > summary::-webkit-details-marker {
  display: none;
}

.sr29-predictive-intelligence > summary strong {
  display: block;
  margin-top: 4px;
  color: #ffffff;
  font-size: 1.08rem;
}

.sr29-predictive-eyebrow {
  color: #d8f4ee;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sr29-predictive-summary-value {
  display: flex;
  gap: 12px;
  align-items: center;
}

.sr29-predictive-summary-action {
  font-weight: 800;
  white-space: nowrap;
}

.sr29-predictive-intelligence[open]
.sr29-predictive-summary-action {
  font-size: 0;
}

.sr29-predictive-intelligence[open]
.sr29-predictive-summary-action::after {
  content: "Hide Forecast";
  font-size: 0.9rem;
}

.sr29-confidence-badge {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sr29-confidence-high {
  background: #dcfce7;
  color: #166534;
}

.sr29-confidence-moderate {
  background: #dbeafe;
  color: #1d4ed8;
}

.sr29-confidence-limited {
  background: #fef3c7;
  color: #92400e;
}

.sr29-confidence-insufficient {
  background: #fee2e2;
  color: #991b1b;
}

.sr29-predictive-body {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.sr29-readiness-panel {
  display: grid;
  grid-template-columns:
    minmax(180px, 0.35fr)
    minmax(0, 1fr);
  gap: 18px;
  padding: 17px;
  border: 1px solid #dfe8ea;
  border-radius: 15px;
  background: #f7fbfb;
}

.sr29-readiness-panel > div:first-child {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  text-align: center;
}

.sr29-readiness-panel strong {
  color: #164e63;
  font-size: 1.8rem;
}

.sr29-readiness-panel p {
  margin: 0 0 7px;
}

.sr29-readiness-panel small {
  color: #647078;
}

.sr29-forecast-grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sr29-forecast-card {
  padding: 17px;
  border: 1px solid #e2e8ea;
  border-radius: 15px;
  background: #ffffff;
}

.sr29-forecast-card span {
  color: #52656c;
  font-size: 0.77rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sr29-forecast-card strong {
  display: block;
  margin: 7px 0;
  color: #164e63;
  font-size: 1.4rem;
}

.sr29-forecast-card p {
  margin: 4px 0;
  color: #626d72;
}

.sr29-predictive-metrics {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.sr29-predictive-metrics a {
  display: grid;
  gap: 5px;
  padding: 15px;
  border: 1px solid #e1e7e9;
  border-radius: 14px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
}

.sr29-predictive-metrics a:hover,
.sr29-predictive-metrics a:focus-visible {
  border-color: #2c6370;
}

.sr29-predictive-metrics span {
  color: #5d686d;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sr29-predictive-metrics strong {
  color: #164e63;
  font-size: 1.5rem;
}

.sr29-predictive-metrics small {
  color: #707a7e;
}

.sr29-predictive-detail-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.sr29-predictive-panel {
  min-width: 0;
  padding: 17px;
  border: 1px solid #e1e7e9;
  border-radius: 15px;
  background: #ffffff;
}

.sr29-predictive-panel h3 {
  margin-top: 0;
}

.sr29-predictive-list,
.sr29-predictive-insights {
  display: grid;
  gap: 10px;
}

.sr29-predictive-list > a {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e6ecee;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
}

.sr29-predictive-list p,
.sr29-predictive-list small {
  display: block;
  margin: 4px 0 0;
  color: #667176;
}

.sr29-predictive-insight {
  padding: 13px;
  border-left: 4px solid #2c6370;
  border-radius: 10px;
  background: #f7fbfb;
}

.sr29-predictive-insight > span {
  color: #52676d;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sr29-predictive-insight strong {
  display: block;
  margin-top: 4px;
}

.sr29-predictive-insight p {
  margin: 5px 0 8px;
  color: #667176;
}

.sr29-predictive-insight a {
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1050px) {
  .sr29-predictive-metrics {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 850px) {
  .sr29-forecast-grid,
  .sr29-predictive-detail-grid {
    grid-template-columns: 1fr;
  }

  .sr29-readiness-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .sr29-predictive-intelligence > summary,
  .sr29-predictive-summary-value {
    align-items: flex-start;
    flex-direction: column;
  }

  .sr29-predictive-summary-action {
    white-space: normal;
  }

  .sr29-predictive-metrics {
    grid-template-columns: 1fr;
  }
}


/* SENTINELRE IMPLEMENTATION 2 OVERVIEW CARDS */
.sr28-intelligence-overview-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px;}
.sr28-intelligence-overview-card {display:grid;gap:8px;align-content:start;}
.sr28-intelligence-overview-card > strong {font-size:1.8rem;color:#30184e;}
.sr28-intelligence-overview-card p,.sr28-intelligence-overview-card small {margin:0;color:#655f6d;}
.sr28-intelligence-overview-card .btn {justify-self:start;margin-top:6px;}
@media (max-width:900px){.sr28-intelligence-overview-grid{grid-template-columns:1fr;}}
