/* Portal IBG - dashboard executivo */
.executive-hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 26px;
  margin-bottom: 22px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(4,30,58,.96), rgba(8,75,143,.92)),
    radial-gradient(circle at 84% 12%, rgba(77,163,232,.42), transparent 30%);
  box-shadow: 0 24px 60px rgba(4,30,58,.18);
}

.executive-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -45% 52%;
  height: 260px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  transform: rotate(-12deg);
}

.executive-hero > * {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .9fr);
  gap: 22px;
  align-items: stretch;
}

.hero-kicker {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #93c5fd;
  margin-bottom: 8px;
}

.hero-title {
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 850;
  letter-spacing: -.9px;
  line-height: 1.04;
  margin: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 12px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 13px;
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  font-size: 12px;
  font-weight: 700;
  transition: .18s ease;
}

.hero-action:hover {
  color: #fff;
  background: rgba(255,255,255,.18);
  transform: translateY(-1px);
}

.hero-panel {
  border-radius: 18px;
  padding: 18px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
}

.finance-chart {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.chart-row {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.chart-row span:first-child {
  color: rgba(255,255,255,.74);
  font-weight: 700;
}

.chart-value {
  color: #fff;
  font-weight: 800;
  min-width: 72px;
  text-align: right;
}

.chart-track {
  height: 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  overflow: hidden;
}

.chart-fill {
  height: 100%;
  width: var(--pct, 0%);
  min-width: 6px;
  border-radius: inherit;
  background: linear-gradient(90deg, #7dd3fc, #38bdf8);
}

.chart-fill.warning {
  background: linear-gradient(90deg, #fbbf24, #f97316);
}

.chart-fill.danger {
  background: linear-gradient(90deg, #fb7185, #ef4444);
}

.view-context {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 16px;
  background: rgba(255,255,255,.86);
  border-radius: 18px;
  border: 1px solid var(--border);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.view-context-icon {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--ibg-100);
  color: var(--ibg-700);
  font-size: 18px;
  flex-shrink: 0;
}

.company-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: .18s ease;
}

.company-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.company-card.active {
  border-color: var(--ibg-400);
  box-shadow: 0 0 0 4px var(--ibg-100);
}

.company-avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--ibg-700);
  background: var(--ibg-100);
}

.company-card.active .company-avatar {
  color: #fff;
  background: linear-gradient(135deg, var(--ibg-700), var(--ibg-500, #2d8ce2));
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.quick-action-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: #fff;
  color: var(--text-primary);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: .18s ease;
}

.quick-action-card:hover {
  color: var(--ibg-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.quick-action-card i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--ibg-700);
  background: var(--ibg-100);
  font-size: 18px;
}
