.accounts-gated .shell {
  display: none;
}
#accounts-gate {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
  background: linear-gradient(145deg, #edf2e8 0%, #f6f8f3 48%, #eef4ed 100%);
}
.acc-login-card {
  width: min(100%, 420px);
  padding: 35px 34px 32px;
  border-radius: 15px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 42px #173b370a;
}
.acc-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 30px;
}
.acc-brand .brand-mark {
  height: 32px;
  width: 32px;
  border-radius: 8px;
  font-size: 23px;
}
.acc-login-card h1 {
  color: var(--ink);
  font-size: 27px;
  letter-spacing: -1px;
  line-height: 1.3;
}
.acc-description {
  color: var(--muted);
  line-height: 1.65;
  font-size: 13px;
  margin: 9px 0 15px;
}
.acc-login-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}
.acc-login-form > .btn {
  min-height: 41px;
  margin-top: 3px;
}
.acc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #3b5348;
  font-size: 13px;
}
.acc-field input {
  width: 100%;
  min-width: 0;
}
.acc-password {
  display: flex;
  align-items: center;
  position: relative;
}
.acc-password input:not([type="checkbox"]):not([type="file"]) {
  padding-right: 58px;
}
.acc-password button {
  position: absolute;
  right: 2px;
  top: 2px;
  bottom: 2px;
  padding: 0 9px;
  background: transparent;
  color: var(--teal);
  font-size: 12px;
  border-radius: 5px;
}
.acc-status {
  font-size: 13px;
  line-height: 1.6;
  border: 1px solid #e4bdb3;
  background: #fcf4f0;
  color: #92452d;
  padding: 8px 11px;
  border-radius: 7px;
  margin: 7px 0;
}
.acc-status.positive {
  background: #eef5ec;
  color: #2d644b;
  border-color: #c7dcbf;
}
.acc-login-form .acc-status {
  margin: 0;
}
.acc-dialog {
  width: 460px;
  max-width: calc(100vw - 26px);
  max-height: calc(100dvh - 28px);
  overflow: auto;
}
.acc-dialog form {
  padding: 22px;
}
.acc-dialog-head,
.acc-dialog-foot,
.acc-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}
.acc-dialog-head {
  justify-content: space-between;
  margin-bottom: 15px;
}
.acc-dialog-head h2 {
  font-size: 20px;
  font-weight: 700;
}
.acc-close {
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  color: var(--muted);
}
.acc-close:hover {
  background: var(--paper);
}
.acc-fields {
  display: grid;
  gap: 12px;
}
.acc-checks {
  margin: 17px 0 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
}
.acc-checks legend {
  padding: 0 5px;
  font-size: 13px;
  color: var(--ink);
}
.acc-checks label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 3px 7px;
  font-size: 14px;
}
.acc-checks input {
  margin: 0;
}
.acc-checks small {
  grid-column: 2;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.acc-enabled {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.acc-dialog-foot {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 17px;
  justify-content: flex-end;
}
.acc-dialog-foot .btn {
  min-width: 72px;
}
.acc-hint,
.acc-muted {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.acc-dialog .acc-hint {
  display: block;
  margin-top: 6px;
}
.acc-table-scroll {
  overflow-x: auto;
}
.acc-table {
  min-width: 440px;
}
.acc-table td > small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}
.acc-table .acc-tools {
  flex-wrap: wrap;
  gap: 6px 13px;
}
.acc-tools button,
.acc-table [data-edit] {
  white-space: nowrap;
}
.acc-panel {
  padding: 12px 17px;
}
.acc-panel table.data td,
.acc-panel table.data th {
  padding: 12px 10px;
}
.acc-state {
  display: inline-flex;
  padding: 2px 8px;
  align-items: center;
  border-radius: 5px;
  font-size: 12px;
  background: #ecf3e9;
  color: #35644a;
  white-space: nowrap;
}
.acc-state.off {
  background: #f0efeb;
  color: #756f64;
}
.acc-nav-sign {
  font-size: 16px;
}
@media (max-width: 800px) {
  .acc-platform .nav-link .acc-nav-sign {
    display: block;
  }
  .acc-dialog form {
    padding: 18px;
  }
}
@media (max-width: 600px) {
  .acc-login-card {
    padding: 26px 22px;
  }
  .acc-panel {
    padding: 8px;
  }
  .acc-table {
    min-width: 0;
  }
  .acc-panel table.data td,
  .acc-panel table.data th {
    padding: 8px 4px;
    font-size: 12px;
  }
  .acc-table td,
  .acc-table th {
    overflow-wrap: anywhere;
  }
  .acc-tools button,
  .acc-table [data-edit] {
    font-size: 12px;
    white-space: normal;
  }
  .acc-panel .empty {
    padding: 18px 8px;
  }
}
