#account-dialog {
  position: fixed;
  max-height: 90dvh;
  overflow: auto;
  text-align: left;
  width: min(420px, calc(100vw - 30px));
  box-sizing: border-box;
  padding: 26px;
  color: #17201b;
  background: #f7f8f2;
  border: 1px solid #b7c6ae;
  border-radius: 24px;
  box-shadow: 0 18px 70px #16331c40;
}
#account-dialog [hidden] {
  display: none !important;
}
#account-dialog h2 {
  padding-right: 25px;
}
#account-dialog button {
  min-height: 44px;
  margin: 5px 0;
  cursor: pointer;
}
#account-dialog input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  border: 1px solid #81977b;
  background: #fff;
  color: #17201b;
  border-radius: 10px;
  padding: 12px;
  font: inherit;
  margin: 6px 0 12px;
}
#account-dialog a,
#account-dialog a:visited {
  color: #325b40;
}
#account-dialog a:hover,
#account-dialog a:focus-visible {
  color: #17201b;
}
#account-dialog input:focus-visible,
#account-dialog button:focus-visible {
  outline: 3px solid #325b40;
  outline-offset: 3px;
}
#account-dialog button:disabled {
  cursor: default;
  opacity: 0.55;
}
.account-close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 26px;
  border: 0;
  background: none;
}
.account-providers,
.account-tabs {
  display: flex;
  gap: 8px;
}
.account-providers button,
.account-tabs button {
  flex: 1;
  background: #e9efdf;
  color: #254a31;
  border: 1px solid #a7b99a;
  border-radius: 12px;
  padding: 8px;
}
.account-tabs [aria-pressed="true"] {
  background: #325b40;
  color: white;
}
.account-small {
  font-size: 12px;
  line-height: 1.5;
  color: #4a5948;
}
#account-status {
  font-size: 14px;
  line-height: 1.5;
}
#account-member > button,
#account-submit {
  width: 100%;
}
#account-download {
  border: 1px solid #325b40;
  background: #eff5e8;
  border-radius: 12px;
  color: #254a31;
}
.save-progress {
  display: block;
  margin: 12px auto;
  padding: 12px 22px;
  border: 1px solid #8fa47d;
  border-radius: 16px;
  background: #d5fa65;
  color: #17201b;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.save-progress:focus-visible {
  outline: 3px solid #325b40;
  outline-offset: 3px;
}
