.trust-panel {
  background: var(--xp-panel, #0c1018);
  border: 1px solid var(--xp-border, rgba(88, 120, 180, 0.22));
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 18px;
}

.trust-panel h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  color: var(--xp-muted, #7b8aa8);
}

.trust-scores-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.trust-score-card {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  padding: 14px;
  border-left: 3px solid var(--xp-blue, #4d9fff);
}

.trust-score-card.maturity { border-left-color: var(--xp-gold, #c9a227); }
.trust-score-card.audit-pass { border-left-color: var(--xp-green, #2ee59d); }
.trust-score-card.audit-fail { border-left-color: var(--xp-red, #ff4d6a); }

.trust-score-val {
  font-size: 28px;
  font-weight: 800;
}

.trust-missing-list {
  font-size: 12px;
  color: var(--xp-muted);
  margin-top: 8px;
  line-height: 1.5;
}

.trust-metric-lineage {
  font-size: 11px;
  color: var(--xp-muted);
  margin-top: 6px;
  line-height: 1.45;
}

.trust-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 6px;
}

.trust-badge.high { background: rgba(46, 229, 157, 0.15); color: #2ee59d; }
.trust-badge.med { background: rgba(255, 159, 67, 0.15); color: #ff9f43; }
.trust-badge.low { background: rgba(255, 77, 106, 0.15); color: #ff4d6a; }

.exec-kpi-trust {
  font-size: 10px;
  color: var(--xp-muted);
  margin-top: 8px;
  line-height: 1.4;
  cursor: pointer;
}

.exec-kpi-trust:hover { color: var(--xp-blue); }

.trust-explain-drawer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-explain-item {
  margin-bottom: 12px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

.trust-explain-item h4 {
  font-size: 13px;
  margin-bottom: 6px;
}

.trust-explain-item ul {
  margin: 0;
  padding-left: 18px;
  font-size: 12px;
  color: var(--xp-muted);
}

.history-panel {
  margin-bottom: 18px;
}

.history-table {
  width: 100%;
  font-size: 12px;
  border-collapse: collapse;
}

.history-table th,
.history-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.history-table button {
  font-size: 11px;
  padding: 4px 10px;
  cursor: pointer;
  border-radius: 6px;
  border: 1px solid var(--xp-border);
  background: transparent;
  color: var(--xp-blue);
}

.rab7a-presentation-mode .export-bar,
.rab7a-presentation-mode #fmcg-report-filters,
.rab7a-presentation-mode .report-structure-nav {
  display: none !important;
}

.rab7a-presentation-mode .exec-xp-hero h1 {
  font-size: 36px;
}

.rab7a-presentation-mode .exec-kpi-value {
  font-size: 28px;
}

.rab7a-presentation-mode .exec-decision-title {
  font-size: 18px;
}

.presentation-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.presentation-toolbar .btn-pres {
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--xp-border);
  background: rgba(77, 159, 255, 0.12);
  color: #e8edf7;
  cursor: pointer;
  font-family: inherit;
}

.saas-auth-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  margin-bottom: 12px;
}

.saas-auth-bar input {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--xp-border);
  background: #0a0e14;
  color: #e8edf7;
}
