.activity-b {
  margin: 20px 27px 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.activity-b-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 27px 30px;
  border: 1px solid #e1eaf1;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px #173e620b;
}
.activity-b-hero > div { max-width: 680px; }
.activity-b-hero h2 { margin: 7px 0 8px; color: #183047; font-size: 28px; line-height: 1.08; letter-spacing: -.04em; }
.activity-b-hero p { margin: 0; color: #6d7f90; font-size: 13px; line-height: 1.5; }
.activity-b-hero label { min-width: 190px; color: #526b80; font-size: 10px; font-weight: 800; }
.activity-b-hero input { display: block; width: 100%; margin-top: 6px; padding: 9px 11px; border: 1px solid #d6e1e9; border-radius: 10px; color: #294861; background: #f8fafb; font: inherit; font-size: 12px; }

.activity-b-pulse {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 120px;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 12px;
  border-radius: 15px;
  background: #173e62;
  color: #fff;
}
.activity-b-total, .activity-b-missing-indicator { padding: 8px 10px; border-radius: 10px; background: #ffffff12; text-align: center; }
.activity-b-total strong, .activity-b-missing-indicator strong { display: block; font-size: 20px; line-height: 1; }
.activity-b-total span, .activity-b-missing-indicator span { display: block; margin-top: 5px; color: #c4d5e2; font-size: 8px; }
.activity-b .activity-report-summary { margin: 0; padding: 0 12px; color: #d5e2ec; background: transparent; font-size: 11px; font-weight: 700; text-align: center; }
.activity-b-missing-indicator strong { color: #f2c783; }

.activity-b-table-card {
  margin-top: 14px;
  padding: 20px;
  border: 1px solid #e1eaf1;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 10px 28px #173e620b;
}
.activity-b-card-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.activity-b-kicker { display: block; margin-bottom: 5px; color: #8495a4; font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.activity-b-card-head h3 { margin: 0; color: #183047; font-size: 18px; letter-spacing: -.025em; }
.activity-b-card-head p { margin: 0; color: #82919e; font-size: 9px; }
.activity-b .activity-report-table-wrap { border-color: #e1e8ee; border-radius: 12px; }
.activity-b .activity-report-table th { padding: 10px 12px; color: #687b8c; background: #f6f8fa; border-color: #e7edf2; font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.activity-b .activity-report-table td { padding: 12px; color: #344e65; border-color: #edf1f4; font-size: 12px; }
.activity-b .activity-report-table tbody tr:hover td { background: #fafcfd; }
.activity-b .activity-report-empty { padding: 28px 16px!important; color: #7b8b99; }
.activity-b .activity-report-value-missing { color: #a36b45; }

.activity-b .activity-report-missing {
  margin-top: 14px;
  padding: 19px;
  border: 1px solid #ead9bd;
  border-radius: 18px;
  background: #fbf7ef;
}
.activity-b-missing-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.activity-b-missing-head > span { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; color: #8c6335; border-radius: 10px; background: #f1e3c9; font-weight: 900; }
.activity-b-missing-head h3 { margin: 0 0 4px; color: #5a4934; font-size: 15px; }
.activity-b-missing-head p { margin: 0; color: #7d6d5b; font-size: 10px; line-height: 1.45; }

@media (max-width: 1100px) {
  .activity-b { margin: 18px 15px 0; }
}
@media (max-width: 650px) {
  .activity-b { margin: 14px 2px 0; }
  .activity-b-hero { flex-direction: column; padding: 22px 19px; border-radius: 18px; }
  .activity-b-hero label { width: 100%; min-width: 0; }
  .activity-b-pulse { grid-template-columns: 1fr 1fr; }
  .activity-b .activity-report-summary { grid-column: 1 / -1; grid-row: 2; padding: 5px; }
  .activity-b-table-card { padding: 14px; border-radius: 17px; }
  .activity-b-card-head { align-items: flex-start; flex-direction: column; gap: 6px; }
}
