:root {
  font:
    15px/1.6 Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #eef0f3;
  background: #18191b;
  color-scheme: dark;
  --surface: #202124;
  --line: #383b42;
  --muted: #a6afbd;
  --accent: #9dbcea;
  --button: #29476f;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
}
button,
.primary {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: inherit;
  padding: 9px 14px;
  text-decoration: none;
}
button:hover {
  background: #2c3036;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.primary {
  background: var(--button);
  border-color: var(--button);
  color: #fff;
}
.primary:hover {
  background: #335781;
}
.danger {
  color: #edaaa0;
}
header {
  height: 84px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 34px;
}
header button {
  margin-left: auto;
}
.brand {
  font-size: 27px;
  letter-spacing: -1.6px;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
}
.layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: calc(100svh - 84px);
}
aside {
  padding: 32px 22px;
  background: #131416;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
aside button {
  text-align: left;
  background: transparent;
  border-color: transparent;
}
aside select {
  width: 100%;
}
main {
  padding: 38px min(5vw, 74px);
  max-width: 1200px;
  width: 100%;
  min-width: 0;
}
.welcome {
  max-width: 660px;
  margin: 12vh auto;
}
.welcome h1 {
  font-size: 42px;
  line-height: 1.15;
}
.welcome .primary {
  display: inline-block;
  margin: 20px 0;
}
h1 {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 12px 0;
}
h2 {
  font-size: 19px;
  font-weight: 550;
  margin: 0 0 18px;
}
h3 {
  font-size: 16px;
  font-weight: 550;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--muted);
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  margin: 22px 0;
  overflow-wrap: anywhere;
}
.card button {
  margin: 8px 8px 0 0;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.status {
  min-height: 20px;
  font-size: 13px;
  color: var(--accent);
  overflow-wrap: anywhere;
}
.error {
  color: #edaaa0;
}
.badge {
  font-size: 11px;
  padding: 4px 8px;
  background: #27344a;
  color: #c5d8f5;
  border-radius: 5px;
  display: inline-block;
}
.channel-title {
  font-size: 20px;
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--accent);
}
label {
  display: grid;
  gap: 7px;
  margin: 16px 0;
  color: var(--muted);
  font-size: 13px;
}
input,
select,
textarea {
  background: #18191b;
  color: #eef0f3;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  width: 100%;
  min-width: 0;
}
textarea {
  resize: vertical;
}
.member {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.member code {
  margin-left: auto;
}
.member button {
  font-size: 12px;
}
code {
  font:
    12px/1.5 ui-monospace,
    Consolas,
    monospace;
  overflow-wrap: anywhere;
  display: block;
  color: #c5d8f5;
}
.divider {
  border-top: 1px solid var(--line);
  margin-top: 12px;
}
.message-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.messages {
  margin-top: 36px;
}
.message {
  margin: 14px 0;
}
.audit-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.empty {
  color: var(--muted);
  text-align: center;
  padding: 48px;
}
.invite-output textarea {
  font-size: 12px;
}
.welcome form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 760px) {
  header {
    padding: 0 20px;
    height: 70px;
    gap: 14px;
  }
  header .muted {
    display: none;
  }
  .layout {
    display: block;
  }
  aside {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 16px 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }
  aside .eyebrow,
  aside .small,
  aside .divider {
    display: none;
  }
  aside select {
    width: 100%;
    margin-bottom: 9px;
  }
  aside button {
    font-size: 12px;
    padding: 7px 10px;
  }
  main {
    padding: 24px 20px;
  }
  .welcome {
    margin: 7vh auto;
  }
  .welcome h1 {
    font-size: 36px;
  }
  .card {
    padding: 18px;
  }
  h1 {
    font-size: 28px;
  }
  .member code {
    margin-left: 0;
    width: 100%;
  }
  .actions button {
    flex: 1;
  }
  .card button {
    font-size: 13px;
  }
}
:root {
  font-family: Arial, "Segoe UI", system-ui, sans-serif;
}
summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
}
.channel-details[open] summary {
  margin-bottom: 22px;
}
.channel-details h2 {
  margin-top: 10px;
}
