.account-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.account-console[hidden],
#accountAuthView[hidden] {
  display: none;
}

.account-console-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.account-console-head > div {
  display: grid;
  gap: 7px;
}

.account-console-head strong {
  font-size: 18px;
  overflow-wrap: anywhere;
}

.button-compact {
  min-height: 36px;
  padding: 7px 11px;
  font-size: 12px;
}

.account-data-section {
  padding-top: 24px;
}

.account-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.account-section-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 400;
}

.account-section-heading span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  color: var(--green);
  font-size: 11px;
}

.license-list,
.device-list {
  display: grid;
  gap: 9px;
}

.license-row,
.device-row {
  border-top: 1px solid var(--line);
  padding: 15px 0;
}

.license-row > div,
.device-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.license-row strong {
  color: var(--green);
  font-size: 12px;
}

.license-plan {
  font-family: var(--display);
  font-size: 24px;
}

.license-row dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0 0;
}

.license-row dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
}

.license-row dt,
.device-row small {
  color: var(--muted);
}

.device-row > div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.device-row strong,
.device-row small {
  overflow-wrap: anywhere;
}

.account-empty {
  margin: 0;
  border-top: 1px solid var(--line);
  padding: 17px 0;
  color: var(--muted);
  font-size: 12px;
}

.account-trust-note {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
  font-size: 12px;
}

.service-status[data-state="offline"] .status-dot {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.form-note[data-error="true"] {
  color: var(--orange);
}

@media (max-width: 600px) {
  .account-actions,
  .license-row dl {
    grid-template-columns: 1fr;
  }

  .account-console-head {
    align-items: stretch;
    flex-direction: column;
  }

  .account-console-head .button {
    align-self: flex-start;
  }

  .device-row {
    align-items: flex-start;
  }

  .device-row .button {
    flex: 0 0 auto;
  }
}
