:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    sans-serif;
  color: #202438;
  background: #f5f6fa;
  font-synthesis: none;
  --accent: #5145cd;
  --muted: #657084;
  --border: #dfe3ec;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button {
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: white;
  color: #343a50;
  cursor: pointer;
  font-weight: 600;
}
button:hover {
  background: #f0eefb;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.primary:hover {
  background: #4034b4;
}
.danger {
  color: #b12d46;
}
.text-button {
  border: 0;
  padding-left: 0;
  color: var(--accent);
  margin-top: 12px;
}
.topbar {
  height: 80px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: white;
  gap: 20px;
}
.topbar > div {
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  color: #23263b;
  font-size: 13px;
  letter-spacing: 1.5px;
  white-space: nowrap;
}
.brand span {
  color: var(--accent);
  font-size: 26px;
  vertical-align: middle;
  margin-right: 10px;
}
.brand b {
  margin-left: 6px;
}
#identity {
  color: var(--muted);
  font-size: 14px;
}
main {
  max-width: 1180px;
  margin: auto;
  padding: 24px 32px 60px;
}
h1 {
  font-size: 36px;
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 10px 0 16px;
}
h2 {
  font-size: 19px;
  margin: 0 0 18px;
}
h3 {
  font-size: 16px;
  margin: 0 0 8px;
}
p {
  line-height: 1.6;
}
small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}
.eyebrow {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1.8px;
  color: var(--accent);
  margin: 0;
}
.muted {
  font-size: 13px;
  color: var(--muted);
}
.welcome {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  align-items: center;
  min-height: 65vh;
}
.welcome h1 {
  font-size: 48px;
}
.welcome > div > p:not(.eyebrow) {
  max-width: 370px;
  color: var(--muted);
}
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px;
  margin-bottom: 20px;
  box-shadow: 0 2px 3px #19204303;
}
.narrow {
  max-width: 580px;
  margin: 40px auto;
}
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
input,
select,
textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #cbd1df;
  border-radius: 6px;
  background: white;
  color: #252a3d;
  min-width: 0;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #b4a9fa;
  border-color: var(--accent);
}
textarea {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  resize: vertical;
  overflow-wrap: anywhere;
}
.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 24px 0;
}
.page-heading p:not(.eyebrow) {
  color: var(--muted);
  max-width: 620px;
}
.page-heading > label {
  min-width: 200px;
}
.pill {
  display: inline-block;
  padding: 6px 10px;
  background: #eeebff;
  color: var(--accent);
  border-radius: 24px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.tabs button {
  border: 0;
  background: transparent;
}
.tabs .active {
  background: #eae6ff;
  color: var(--accent);
}
.tabs a {
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}
.row {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid #edf0f5;
}
.row:first-child {
  border-top: 0;
}
.row p {
  margin: 5px 0;
}
.row > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.row .actions {
  flex-shrink: 0;
}
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.permissions {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin: 0 0 18px;
}
.permissions legend {
  font-size: 13px;
  font-weight: 650;
  padding: 0 6px;
}
.permissions label {
  flex-direction: row;
  align-items: flex-start;
  font-weight: 400;
  gap: 9px;
  margin: 8px 0;
}
.permissions input {
  width: auto;
  flex-shrink: 0;
  margin-top: 3px;
}
.permissions span {
  display: block;
}
.permissions small {
  display: block;
}
.member {
  padding: 22px 0;
  border-top: 1px solid var(--border);
}
.member .permissions {
  margin-top: 16px;
}
.inline-form {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 18px;
}
.inline-form h2,
.inline-form p {
  width: 100%;
  margin: 0;
}
.inline-form label {
  flex: 1;
  margin: 0;
  min-width: 160px;
}
.settings {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.settings button {
  align-self: end;
  margin-bottom: 18px;
}
.settings label {
  margin-bottom: 6px;
}
ol {
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}
#notice {
  margin: 0;
  min-height: 24px;
  color: #9a2548;
  overflow-wrap: anywhere;
}
dialog {
  border: 1px solid var(--border);
  border-radius: 12px;
  max-width: 620px;
  width: calc(100% - 40px);
  padding: 28px;
  box-shadow: 0 20px 80px #151b4140;
}
dialog::backdrop {
  background: #141a3c70;
}
dialog .actions {
  margin-top: 18px;
}
footer {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  padding: 24px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  .topbar {
    height: auto;
    min-height: 75px;
    padding: 18px;
    flex-wrap: wrap;
  }
  main {
    padding: 18px;
  }
  .welcome,
  .columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .welcome {
    padding-top: 20px;
  }
  .welcome h1 {
    font-size: 38px;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .page-heading h1 {
    font-size: 30px;
  }
  .row {
    flex-wrap: wrap;
  }
  .row .actions {
    flex-shrink: 1;
  }
  .tabs a {
    margin: 10px 0;
    width: 100%;
  }
  .card {
    padding: 20px;
  }
  .settings {
    grid-template-columns: 1fr;
  }
  #identity {
    overflow-wrap: anywhere;
  }
  .brand {
    font-size: 11px;
  }
}
