:root {
  color-scheme: dark;
  --bg: #10171d;
  --surface: #18222a;
  --line: #2b3a45;
  --text: #e6ebe9;
  --muted: #9baeb7;
  --accent: #b3cfc6;
  --orange: #e8a775;
  --red: #ffb4a7;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  font-size: 15px;
}
a {
  color: var(--accent);
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
.masthead {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 5vw;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  gap: 18px;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 3px;
  font-size: 19px;
}
.brand-mark {
  color: var(--orange);
  font-size: 26px;
}
.masthead-caption {
  font-size: 10px;
  letter-spacing: 1.7px;
  color: var(--muted);
}
#identity {
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
}
main {
  max-width: 1220px;
  min-height: calc(100vh - 180px);
  margin: auto;
  padding: 42px 30px 70px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 14px 0 32px;
}
.eyebrow {
  color: var(--orange);
  font-size: 10px;
  letter-spacing: 2.2px;
  font-weight: 600;
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.17;
  letter-spacing: -0.7px;
  margin: 12px 0 16px;
}
h2 {
  font-size: 17px;
  font-weight: 550;
  margin: 0;
}
h3 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 23px;
  line-height: 1.35;
  margin: 12px 0;
}
.muted {
  color: var(--muted);
}
.fine,
.optional {
  font-size: 12px;
  color: var(--muted);
}
.primary {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #16251f;
  font-weight: 600;
  border-radius: 5px;
  padding: 11px 18px;
  white-space: nowrap;
}
.primary:hover {
  background: #c7dfd7;
}
.secondary {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--text);
  padding: 9px 16px;
}
.quiet {
  background: none;
  border: 0;
  color: var(--muted);
  padding: 8px 4px;
}
.quiet:hover {
  color: var(--text);
}
.status-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  border-block: 1px solid var(--line);
  padding: 12px 0;
  font-size: 12px;
  color: var(--muted);
}
.status-strip button {
  margin-left: auto;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
}
.tabs {
  display: flex;
  gap: 28px;
  margin: 24px 0 30px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--muted);
  padding: 14px 0;
  white-space: nowrap;
}
.tabs button.selected {
  color: var(--text);
  border-color: var(--orange);
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 22px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.panel,
.news-card,
.input-card {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 25px;
  background: var(--surface);
}
.news-card {
  display: flex;
  flex-direction: column;
  min-height: 245px;
}
.news-card p {
  color: var(--muted);
  font-size: 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.news-card a {
  margin-top: auto;
  padding-top: 16px;
  font-size: 12px;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.65px;
  color: var(--muted);
}
.tag {
  font-size: 10px;
  letter-spacing: 0.5px;
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 3px;
  color: var(--accent);
}
.tag.pending {
  color: var(--orange);
}
.empty {
  padding: 36px;
  border: 1px dashed var(--line);
  border-radius: 7px;
  color: var(--muted);
  grid-column: 1/-1;
}
.input-card {
  margin-bottom: 18px;
}
.input-card .body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.input-card .actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.review-history {
  border-left: 2px solid var(--line);
  padding-left: 16px;
  margin: 18px 0;
}
.review-history p {
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.review-form {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.composer {
  margin-bottom: 30px;
  max-width: 850px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #3a4b55;
  background: #111b22;
  border-radius: 4px;
  color: var(--text);
  margin-top: 7px;
  font-size: 14px;
}
textarea {
  resize: vertical;
}
.auth-panel {
  max-width: 440px;
  margin: 7vh auto 10vh;
}
.auth-panel .primary {
  width: 100%;
}
.auth-panel h1 {
  font-size: 44px;
}
.notice {
  position: relative;
  margin: 14px auto -12px;
  max-width: 1160px;
  padding: 12px 18px;
  border: 1px solid var(--accent);
  border-radius: 5px;
  color: var(--text);
  background: var(--surface);
}
.notice.error {
  border-color: var(--red);
  color: var(--red);
}
.source-details {
  margin-top: 28px;
  font-size: 12px;
  color: var(--muted);
}
summary {
  cursor: pointer;
}
.source-row,
.member-row,
.session-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.source-row span:last-child {
  max-width: 60%;
  text-align: right;
}
.invite-form {
  max-width: 650px;
  margin-bottom: 25px;
}
#invite-result {
  overflow-wrap: anywhere;
}
.news-grid + .secondary,
#more-inputs {
  margin-top: 22px;
}
footer {
  max-width: 1220px;
  margin: auto;
  padding: 22px 30px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
}
@media (max-width: 720px) {
  .masthead {
    padding: 14px 20px;
    gap: 12px;
  }
  .masthead-caption {
    display: none;
  }
  .brand {
    font-size: 16px;
    gap: 10px;
  }
  main {
    padding: 24px 20px 45px;
  }
  .page-heading {
    display: block;
    margin-top: 0;
  }
  .page-heading .primary {
    margin: 10px 0;
  }
  .news-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .tabs {
    gap: 22px;
  }
  .news-card {
    min-height: 0;
  }
  .panel,
  .input-card {
    padding: 20px;
  }
  .status-strip {
    gap: 8px 16px;
  }
  #freshness {
    flex-basis: 100%;
    order: 3;
  }
  .source-row span:last-child {
    max-width: 100%;
    text-align: left;
  }
  footer {
    padding-inline: 20px;
    gap: 18px;
  }
  .auth-panel {
    margin-top: 45px;
  }
  .notice {
    margin: 10px 20px 0;
  }
}
