.instrument-currency-focus {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-right: 10px;
  border-right: 1px solid #bdd7e5;
}

.instrument-due-label {
  display: none;
}

.instrument-currency-focus label {
  color: #527089;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.instrument-currency-focus select {
  min-width: 96px;
  border-color: #78c5d2;
  color: #006b7d;
  background: #effbfc;
  font-weight: 800;
}

.module-footer.instrument-summary-active {
  position: relative;
}

.module-footer.instrument-summary-active #moduleCount {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.instrument-footer-totals {
  position: absolute;
  left: auto;
  right: 20px;
  top: 50%;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 8px;
  width: min(700px, calc(100% - 210px));
  transform: translateY(-50%);
}

.instrument-total-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 44px;
  padding: 4px 10px;
  border: 1px solid;
  border-radius: 10px;
  white-space: nowrap;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.instrument-total-card span {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.instrument-total-card strong {
  margin-top: 2px;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.instrument-total-card.try {
  border-color: #f1b67b;
  color: #a84306;
  background: #fff5ea;
}

.instrument-total-card.usd {
  border-color: #87b7ff;
  color: #164ebd;
  background: #eef5ff;
}

.instrument-total-card.eur {
  border-color: #71d5c3;
  color: #007563;
  background: #ecfbf7;
}

.instrument-total-card.xau {
  border-color: #e8c65e;
  color: #8c5900;
  background: #fff9e8;
}

.instrument-total-card.selected {
  transform: translateY(-1px);
  box-shadow: 0 0 0 2px rgba(0, 128, 151, 0.16);
}

@media (max-width: 1050px) {
  .instrument-footer-totals {
    left: 150px;
    right: 12px;
    width: auto;
    transform: translateY(-50%);
  }

  .module-footer.instrument-summary-active #moduleHint {
    display: none;
  }
}
