#trainingAccount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 26px 18px;
  padding: 12px 16px;
  border: 1px solid #604541;
  border-radius: 12px;
  background: #211b1c;
  color: #f4e8de;
  font-size: 13px;
}
#trainingAccount > div:first-child {
  display: grid;
  gap: 5px;
  min-width: 0;
}
#trainingAccount strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}
#trainingAccount small {
  color: #b5aaa4;
  font-size: 12px;
}
#trainingAccount .account-sync-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
#trainingAccount button {
  min-height: 34px;
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 7px;
  border: 1px solid #72504b;
  background: #382421;
  color: #fff;
  white-space: nowrap;
}
#trainingAccount button:hover {
  background: #68403a;
}
.account-history {
  width: min(680px, calc(100vw - 24px));
  max-height: 80vh;
  overflow: auto;
  box-sizing: border-box;
  padding: 24px;
  border: 1px solid #72504b;
  border-radius: 16px;
  background: #211b1c;
  color: #f4e8de;
}
.account-history::backdrop {
  background: #0009;
}
.account-history p {
  color: #c7bdb6;
  font-size: 13px;
  line-height: 1.7;
}
.account-history button {
  font-size: 12px;
  padding: 8px 12px;
  background: #51302d;
  border: 1px solid #72504b;
  border-radius: 7px;
  color: white;
}
.account-history-list {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}
.account-history-list article {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: #ffffff06;
  border-radius: 8px;
  font-size: 12px;
}
.account-history-list article span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.account-history-list article button {
  flex-shrink: 0;
}
@media (max-width: 700px) {
  #trainingAccount {
    margin: 0 12px 14px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  #trainingAccount .account-sync-actions {
    width: 100%;
  }
}
