:root {
  --plum: #602065;
  --ink: #23242b;
  --muted: #666b76;
  --line: #e4e5e9;
  --bg: #f7f8fa;
  --blue: #185abc;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font:
    15px/1.55 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button {
  cursor: pointer;
  border: 1px solid var(--plum);
  border-radius: 7px;
  background: var(--plum);
  color: white;
  padding: 10px 16px;
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s;
}
button:hover,
.button:hover {
  background: #4b1552;
  text-decoration: none;
}
.secondary {
  background: white;
  color: var(--plum);
  border-color: #c9b9cd;
}
.secondary:hover {
  background: #f3edf5;
}
.text {
  background: none;
  color: var(--muted);
  border: 0;
  padding: 8px 0;
}
.nav {
  width: 228px;
  position: fixed;
  inset: 0 auto 0 0;
  padding: 28px 22px;
  background: white;
  border-right: 1px solid var(--line);
  overflow: auto;
}
.brand {
  display: flex;
  gap: 14px;
  color: var(--plum);
  font-size: 30px;
  font-weight: 800;
  align-items: center;
  line-height: 1.2;
}
.brand span {
  font-size: 22px;
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  margin-top: 5px;
}
.identity {
  margin: 32px 0 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  font-size: 13px;
}
.identity small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.nav nav a {
  display: block;
  padding: 9px 0;
  color: #454955;
  font-size: 14px;
}
.nav-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #777;
  margin-top: 24px;
}
.nav-foot {
  font-size: 11px;
  color: #888;
  margin-top: 28px;
}
.content {
  margin-left: 228px;
  padding: 42px 48px;
  max-width: 1550px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--plum);
  font-size: 11px;
  font-weight: 700;
}
h1 {
  font-size: 31px;
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin: 9px 0 14px;
  font-weight: 650;
}
h2 {
  font-size: 21px;
  margin: 32px 0 14px;
}
h3 {
  font-size: 17px;
  margin: 0 0 8px;
}
p {
  margin: 0 0 16px;
}
.muted,
small,
.helptext {
  color: var(--muted);
}
.helptext {
  display: block;
  font-size: 12px;
  margin: 6px 0 18px;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 25px;
  margin-bottom: 28px;
}
.page-head p {
  max-width: 700px;
  color: var(--muted);
}
.search {
  display: flex;
  gap: 10px;
  max-width: 800px;
  margin: 26px 0;
}
.search input {
  flex: 1;
  min-width: 0;
}
.columns {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 44px;
}
.list-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.list-item p {
  max-width: 800px;
  white-space: pre-wrap;
}
.meta {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 13px;
}
.badge {
  display: inline-block;
  padding: 4px 10px;
  background: #eee6f1;
  color: var(--plum);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  margin: 15px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th {
  text-align: left;
  background: #f4f5f8;
  color: #626774;
  font-size: 11px;
  font-weight: 600;
}
th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
td small {
  display: block;
  margin-top: 5px;
}
td form {
  display: inline;
}
td button {
  padding: 6px 10px;
  font-size: 12px;
}
.form-sheet {
  max-width: 760px;
  background: white;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.form-sheet p {
  margin-bottom: 20px;
}
.form-sheet label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}
input:not([type="checkbox"]),
select,
textarea {
  border: 1px solid #bdc2ce;
  border-radius: 6px;
  background: white;
  padding: 10px 12px;
  color: var(--ink);
}
.form-sheet input:not([type="checkbox"]),
.form-sheet select,
.form-sheet textarea {
  width: 100%;
}
input[type="checkbox"] {
  accent-color: var(--plum);
}
.form-sheet input[type="checkbox"] {
  margin-right: 10px;
}
.errorlist {
  color: #b3261e;
  padding-left: 20px;
}
.notice {
  border-left: 3px solid var(--plum);
  background: #efe8f2;
  padding: 13px 17px;
  margin-bottom: 22px;
  font-size: 13px;
}
.notice.error {
  border-color: #b3261e;
  background: #fff0ed;
}
.notice.success {
  border-color: #167442;
  background: #eaf5ed;
}
.empty {
  color: var(--muted);
  padding: 30px 0;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.details {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 22px;
}
.details dt {
  color: var(--muted);
  font-size: 13px;
}
.details dd {
  margin: 0;
}
.secret {
  font: 13px monospace;
  width: 100%;
  padding: 16px;
  background: #f0edf4;
  overflow-wrap: anywhere;
  user-select: all;
}
.steps li {
  margin: 20px 0;
  padding: 0 0 20px 8px;
  border-bottom: 1px solid var(--line);
}
.steps textarea {
  display: block;
  width: 100%;
  margin: 10px 0;
}
.setup-step {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
code {
  font-size: 12px;
  background: #eceef3;
  padding: 3px 5px;
  overflow-wrap: anywhere;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #9abcf5;
  outline-offset: 3px;
}
@media (max-width: 1000px) {
  .content {
    padding: 30px 25px;
  }
  .columns {
    grid-template-columns: 1fr;
  }
  .nav {
    width: 200px;
  }
  .content {
    margin-left: 200px;
  }
}
@media (max-width: 700px) {
  .nav {
    position: static;
    width: auto;
    padding: 18px;
  }
  .nav nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
  }
  .nav nav a {
    padding: 3px 0;
    font-size: 12px;
  }
  .nav-label,
  .nav-foot {
    display: none;
  }
  .identity {
    margin: 12px 0;
    padding-bottom: 8px;
  }
  .content {
    margin-left: 0;
    padding: 24px 18px;
  }
  .page-head {
    display: block;
  }
  .page-head .button {
    margin-top: 10px;
  }
  .form-sheet {
    padding: 20px;
  }
  .details {
    grid-template-columns: 1fr;
  }
  .search {
    flex-wrap: wrap;
  }
  h1 {
    font-size: 27px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
