body:has(.finance-cashflow-page) .page-head .head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.finance-date-control {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 10px 0 13px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--panel);
}

.finance-date-control > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.finance-date-control select {
  min-width: 132px;
  border: 0;
  outline: 0;
  color: var(--text-strong);
  background: transparent;
  color-scheme: dark;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.finance-date-control select option {
  color: #eef5ff;
  background: #101d31;
}

.finance-date-control select:disabled {
  cursor: wait;
  opacity: .7;
}

.theme-light .finance-date-control {
  background: #fff;
}

.theme-light .finance-date-control select {
  color-scheme: light;
}

.theme-light .finance-date-control select option {
  color: #152033;
  background: #fff;
}

.finance-import-input {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.finance-import-button {
  min-height: 38px;
  white-space: nowrap;
}

.finance-import-button:disabled {
  cursor: wait;
  opacity: .72;
}

@media (max-width: 760px) {
  body:has(.finance-cashflow-page) .page-head {
    align-items: flex-start;
  }

  body:has(.finance-cashflow-page) .page-head .head-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .finance-date-control {
    min-height: 36px;
    flex: 1 1 190px;
  }

  .finance-import-button {
    flex: 1 1 150px;
  }
}
