.auth-loading #app {
  visibility: hidden;
}
.auth-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--bg, #f6f8fc);
  color: var(--text, #20242d);
}
.auth-card {
  width: min(430px, 100%);
  background: var(--panel, #fff);
  padding: 32px;
  border: 1px solid #dbe1ec;
  border-radius: 20px;
  box-shadow: 0 16px 50px #1b2a4810;
}
.auth-card h1 {
  font-size: 25px;
  margin: 0 0 12px;
}
.account-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
  font-size: 14px;
}
.account-field input,
.account-field select,
.account-field textarea,
.account-content > input,
.account-content > select {
  font: inherit;
  border: 1px solid #cbd3e1;
  padding: 10px 12px;
  border-radius: 9px;
  background: #fff;
  color: #20242d;
  width: 100%;
  box-sizing: border-box;
}
.account-check {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 15px 0;
}
.account-check input {
  width: auto;
}
.account-button {
  font: inherit;
  border: 1px solid #cbd3e1;
  background: #fff;
  color: #263041;
  padding: 9px 14px;
  border-radius: 10px;
  cursor: pointer;
  margin: 3px;
}
.account-primary {
  background: #2863eb;
  color: #fff;
  border-color: #2863eb;
}
.account-button:hover {
  filter: brightness(0.96);
}
.account-button:focus-visible {
  outline: 3px solid #80a7ff;
}
.account-note {
  font-size: 14px;
  line-height: 1.5;
  color: #667183;
  overflow-wrap: anywhere;
}
.account-dialog {
  width: min(540px, calc(100% - 48px));
  max-height: 85vh;
  overflow: auto;
  border: 1px solid #cbd3e1;
  border-radius: 18px;
  padding: 24px;
  background: #fff;
  color: #20242d;
  box-shadow: 0 24px 80px #1113;
}
.account-dialog::backdrop {
  background: #1116;
}
.account-dialog header,
.account-view > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.account-dialog h2 {
  font-size: 20px;
}
.account-dialog code {
  display: block;
  overflow-wrap: anywhere;
  background: #eef3ff;
  padding: 16px;
  border-radius: 10px;
  font-size: 15px;
}
.account-view-open > :not(.account-view) {
  display: none !important;
}
.account-view {
  padding: 30px;
  overflow: auto;
  flex: 1;
  min-height: 0;
  width: 100%;
  box-sizing: border-box;
}
.account-view h1 {
  font-size: 28px;
}
.account-view h2 {
  font-size: 21px;
}
.account-tabs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  border-bottom: 1px solid #dbe1ec;
  padding: 12px 0;
  margin-bottom: 20px;
}
.account-tabs [aria-selected='true'] {
  background: #e9efff;
  color: #245ddb;
  border-color: #b1c4fa;
}
.account-content form {
  max-width: 640px;
}
.account-table-scroll {
  overflow-x: auto;
}
.account-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  margin: 18px 0;
  font-size: 14px;
}
.account-table th,
.account-table td {
  padding: 12px;
  border-bottom: 1px solid #e0e5ed;
  vertical-align: top;
}
.account-table th {
  color: #657082;
  font-weight: 600;
}
.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.account-menu {
  font-size: 13px;
  margin: 8px 0;
}
.account-menu summary {
  cursor: pointer;
  overflow-wrap: anywhere;
  padding: 10px 4px;
}
.account-menu button {
  display: block;
  width: 100%;
  text-align: left;
}
.account-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: min(460px, 90vw);
  z-index: 10000;
  background: #253858;
  color: white;
  border-radius: 12px;
  padding: 15px;
  font-size: 14px;
  box-shadow: 0 5px 25px #1114;
}
.multi-user #settings-modal .settings-save,
.multi-user .provider-add,
.multi-user #open-config {
  display: none;
}
@media (max-width: 700px) {
  .account-view {
    padding: 16px;
  }
  .account-view > header {
    flex-wrap: wrap;
  }
  .account-table th,
  .account-table td {
    padding: 8px;
  }
  .account-tabs .account-button {
    padding: 7px 9px;
    font-size: 13px;
  }
}

.multi-user .plugin-toggle {
  pointer-events: none;
}
