.section--infographics .section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.section--infographics {
  color: var(--text);
}

.section--infographics [hidden],
.section--infographics [hidden="hidden"] {
  display: none !important;
}

.infographics__controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.infographics__date input[type="date"] {
  height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(11, 18, 32, 0.20);
  background: rgba(255, 255, 255, 0.90);
  color: var(--text);
}

.infographics__date input[type="date"]:focus {
  outline: none;
  border-color: rgba(11, 18, 32, 0.35);
  box-shadow: 0 0 0 4px rgba(247, 197, 30, 0.18);
}

.infographics__error {
  margin-top: 18px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(11, 18, 32, 0.12);
}

.infographics__spinner {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 3px solid rgba(11, 18, 32, 0.16);
  border-top-color: var(--accent);
  animation: usmSpin 0.9s linear infinite;
}

@keyframes usmSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.infographics__loading-text {
  margin-top: 10px;
  color: rgba(11, 18, 32, 0.65);
}

.infographics__error-text {
  color: var(--text);
  margin-bottom: 12px;
}

.infographics__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.infographics-card {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(11, 18, 32, 0.12);
  box-shadow:
    0 10px 30px rgba(11, 18, 32, 0.08),
    0 2px 10px rgba(11, 18, 32, 0.05);
  overflow: hidden;
}

.infographics-card__head {
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(11, 18, 32, 0.08);
}

.infographics-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.infographics-card__subtitle {
  margin-top: 4px;
  font-size: 14px;
  color: rgba(11, 18, 32, 0.60);
}

.infographics-card__body {
  padding: 16px;
}

.infographics-card__loading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0 12px;
}

.infographics-card__loading[hidden],
.infographics-card__loading[hidden="hidden"] {
  display: none !important;
}

.infographics-card__loading .infographics__loading-text {
  margin-top: 0;
}

.infographics-kpi {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.infographics-kpi__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.infographics-kpi__label {
  color: rgba(11, 18, 32, 0.65);
  font-size: 14px;
}

.infographics-kpi__value {
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
}

.infographics-progress {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.infographics-progress__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 6px;
}

.infographics-progress__label {
  font-size: 13px;
  color: rgba(11, 18, 32, 0.65);
}

.infographics-progress__pct {
  font-size: 13px;
  font-weight: 800;
  color: rgba(11, 18, 32, 0.75);
  white-space: nowrap;
}

.infographics-progress__bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.10);
  overflow: hidden;
}

.infographics-progress__fill {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 750ms cubic-bezier(0.22, 1, 0.36, 1);
  background: linear-gradient(90deg, var(--accent), rgba(11, 18, 32, 0.20));
}

.infographics-stages {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.infographics-stage {
  text-align: left;
  width: 100%;
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: rgba(11, 18, 32, 0.02);
  border-radius: 14px;
  padding: 12px 12px 10px;
  cursor: pointer;
  color: var(--text);
}

.infographics-stage:hover {
  border-color: rgba(11, 18, 32, 0.22);
  background: rgba(11, 18, 32, 0.04);
}

.infographics-stage__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.infographics-stage__name {
  font-size: 15px;
  font-weight: 700;
}

.infographics-stage__meta {
  font-size: 13px;
  color: rgba(11, 18, 32, 0.60);
}

.infographics-stage__bar {
  height: 8px;
  border-radius: 999px;
  margin-top: 10px;
  background: rgba(11, 18, 32, 0.10);
  overflow: hidden;
}

.infographics-stage__bar-fill {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
  background: linear-gradient(90deg, var(--accent), rgba(11, 18, 32, 0.20));
}

.infographics-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.infographics-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.infographics-modal__dialog {
  position: relative;
  z-index: 1;
  max-width: 980px;
  width: calc(100% - 24px);
  margin: 40px auto;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(11, 18, 32, 0.14);
  overflow: hidden;
  max-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
}

.infographics-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: rgba(11, 18, 32, 0.04);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.infographics-modal__head {
  padding: 18px 18px 12px;
  border-bottom: 1px solid rgba(11, 18, 32, 0.10);
}

.infographics-modal__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

.infographics-modal__subtitle {
  margin-top: 4px;
  color: rgba(11, 18, 32, 0.60);
}

.infographics-modal__body {
  padding: 16px 18px 18px;
  overflow: auto;
}

.infographics-table {
  width: 100%;
  border-collapse: collapse;
}

.infographics-table th,
.infographics-table td {
  padding: 10px 10px;
  border-bottom: 1px solid rgba(11, 18, 32, 0.08);
  vertical-align: top;
  color: var(--text);
}

.infographics-table thead th {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  z-index: 1;
  font-size: 13px;
  color: rgba(11, 18, 32, 0.65);
}

.infographics-table__num {
  text-align: right;
  white-space: nowrap;
}

.infographics-table tfoot td {
  position: sticky;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  font-weight: 800;
  border-top: 1px solid rgba(11, 18, 32, 0.10);
}

.infographics-table__total {
  color: rgba(11, 18, 32, 0.75);
}

.infographics-empty {
  padding: 12px 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .infographics__grid {
    grid-template-columns: 1fr;
  }
}
