:root {
  color-scheme: dark;
  --bg: #050607;
  --panel: #101214;
  --line: #f2efe933;
  --text: #f3f1ec;
  --muted: #c9c7c1;
  --accent: #e1e5e7;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.6 system-ui,
    sans-serif;
}
main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 22px 70px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 28px;
}
.brand {
  letter-spacing: 5px;
  font-weight: 800;
  font-size: 24px;
}
.brand small {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--accent);
}
h1 {
  font:
    44px/1.2 Georgia,
    serif;
}
h2 {
  font-size: 22px;
}
h3 {
  font-size: 18px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
}
p {
  color: var(--muted);
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  margin: 18px 0;
}
.narrow {
  max-width: 500px;
}
.grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 22px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
input,
textarea,
select,
button {
  font: inherit;
}
input,
textarea,
select {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg);
  color: var(--text);
}
textarea {
  min-height: 130px;
  resize: vertical;
}
button,
.button {
  cursor: pointer;
  border: 0;
  border-radius: 9px;
  padding: 12px 16px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  display: inline-block;
}
button.secondary {
  background: #141516;
  color: var(--text);
}
button.danger {
  background: #643338;
  color: #fff;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
a {
  color: var(--accent);
}
label {
  font-size: 13px;
  color: var(--muted);
}
.status {
  white-space: pre-wrap;
  color: #c9c7c1;
  min-height: 25px;
}
.message {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 14px;
  background: #141516;
  border-radius: 12px;
  margin: 12px 0;
}
.message.team {
  border-left: 3px solid var(--accent);
}
.meta {
  font-size: 12px;
  color: var(--muted);
}
.inbox-item {
  width: 100%;
  text-align: left;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  margin: 5px 0;
}
.content {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.hidden,
[hidden] {
  display: none !important;
}
.notice {
  border: 1px solid #666d72;
  border-radius: 12px;
  padding: 14px;
  color: #c9c7c1;
  background: #101214;
  font-size: 13px;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
:focus-visible {
  outline: 3px solid #c9c7c1;
  outline-offset: 3px;
}
footer {
  margin-top: 40px;
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 740px) {
  .grid {
    grid-template-columns: 1fr;
  }
  main {
    padding-top: 18px;
  }
  h1 {
    font-size: 36px;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  letter-spacing: 0.08em;
  font-family: Georgia, serif;
  font-weight: 400;
}
.brand img {
  height: 52px;
  width: 52px;
  object-fit: contain;
}
.brand small {
  font-family: Arial, Helvetica, sans-serif;
}
.brand-wordmark {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
