/* The account's pages: where things stand, nothing more; every look is the kit's (kit.css). */
.account-page {
  display: grid;
  place-items: center;
  min-height: 70vh;
  padding: 48px 16px;
}

.account-page h1 {
  margin: 0;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.site-header {
  position: static;
}

.site-header-actions {
  min-width: 0;
  margin-left: auto;
}

.site-header-link {
  min-width: 0;
  overflow-wrap: anywhere;
}

.account-frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-content: start;
  width: min(1040px, 100%);
  min-height: 70vh;
  margin-inline: auto;
  padding: 16px 16px 48px;
}

/* The address stands in the page at the width where the kit hides the header's. */
.account-who {
  display: none;
}

@media (max-width: 760px) {
  .account-who {
    display: block;
    overflow-wrap: anywhere;
  }
}

.licences {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: 20px;
}

.licence-foot form {
  margin-left: auto;
}

.profile {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: 20px;
}

.profile > .danger-zone {
  grid-column: 1 / -1;
}

.profile-part {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  padding: 22px 24px;
}

.profile-part .state-rows {
  padding: 0;
}

.ticket-page,
.ticket-form {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.ticket-page {
  gap: 20px;
}

.ticket-bar,
.ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ticket-head {
  align-items: flex-start;
}

.ticket-head h2,
.ticket-head p,
.ticket-bar h2,
.ticket-bar p {
  margin: 0;
}

.ticket-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.ticket-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
