:root {
  color-scheme: dark;
  --bg: #14120f;
  --panel: #1d1a16;
  --line: #3c352b;
  --text: #eee6d8;
  --muted: #b0a58f;
  --accent: #caa769;
  --green: #9dc69d;
  --red: #f2a699;
  font: 15px/1.5 system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
[hidden] {
  display: none !important;
}
header {
  display: flex;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  padding: 18px 32px;
}
header a {
  font: 600 23px Georgia, serif;
  color: var(--text);
  text-decoration: none;
}
header span {
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 22px;
}
header button {
  margin-left: auto;
}
main {
  max-width: 1600px;
  margin: auto;
  padding: 28px 32px 60px;
}
h1 {
  font: 400 36px/1.15 Georgia, serif;
  margin: 7px 0 12px;
}
h2 {
  font-size: 19px;
  font-weight: 550;
  margin: 0 0 12px;
}
h3 {
  font-size: 15px;
  margin: 0 0 8px;
}
p {
  color: var(--muted);
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
}
button, input, select, textarea {
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #242019;
  color: var(--text);
  padding: 10px 13px;
}
button {
  cursor: pointer;
}
button:hover {
  border-color: var(--accent);
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
button.primary {
  background: var(--accent);
  color: #20190f;
  border-color: var(--accent);
  font-weight: 600;
}
button.danger {
  color: var(--red);
}
input:focus, textarea:focus, button:focus-visible, select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
label {
  display: grid;
  gap: 7px;
  margin-bottom: 17px;
  color: var(--muted);
}
input, textarea, select {
  width: 100%;
}
textarea {
  min-height: 100px;
  resize: vertical;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  padding: 24px;
}
.login {
  max-width: 500px;
  margin: 9vh auto;
}
.login form {
  margin-top: 30px;
}
.login button {
  width: 100%;
}
.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.heading p:last-child {
  margin-bottom: 24px;
}
nav {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  padding-bottom: 10px;
}
nav button {
  background: transparent;
  border-color: transparent;
}
nav button.active {
  background: #332a1d;
  color: var(--accent);
}
.review-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.queue-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.queue-heading span, .meta {
  font-size: 12px;
  color: var(--muted);
}
#reports {
  display: grid;
  gap: 9px;
}
.report-card {
  display: block;
  text-align: left;
  width: 100%;
  background: transparent;
}
.report-card.selected {
  border-color: var(--accent);
  background: #2c251b;
}
.report-card strong {
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.report-card .meta {
  display: block;
  margin: 9px 0;
}
.badge {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 10px;
  background: #393226;
  color: #e0c28d;
  padding: 3px 7px;
  border-radius: 4px;
}
.badge.approved, .badge.sent {
  background: #273527;
  color: var(--green);
}
.badge.denied, .badge.failed, .badge.uncertain {
  background: #3b2822;
  color: var(--red);
}
.pagination {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: 20px;
}
.pagination button {
  font-size: 12px;
}
.empty {
  text-align: center;
  padding: 80px 20px;
}
.empty span {
  font-size: 45px;
  color: var(--accent);
}
.empty p {
  max-width: 32em;
  margin: 12px auto;
}
#detail {
  min-width: 0;
  min-height: 380px;
}
.detail-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.description {
  font-size: 19px;
  white-space: pre-wrap;
  color: var(--text);
  overflow-wrap: anywhere;
}
.facts {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-block: 1px solid var(--line);
  margin: 22px 0;
}
.facts p {
  margin: 0;
  font-size: 12px;
}
.facts b {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}
.screenshots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 18px 0;
}
figure {
  margin: 0;
  min-width: 0;
}
figure img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
}
figcaption {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 8px;
}
a {
  color: var(--accent);
}
details {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px 16px;
  margin: 18px 0;
}
summary {
  cursor: pointer;
}
pre {
  font: 12px/1.5 ui-monospace, monospace;
  max-height: 500px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.notice {
  padding: 14px;
  background: #2b261e;
  border-left: 3px solid var(--accent);
  border-radius: 3px;
  overflow-wrap: anywhere;
}
.settings {
  max-width: 780px;
}
.settings fieldset {
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  margin: 10px 0 25px;
}
.settings legend {
  font-weight: 600;
}
.settings .check {
  display: flex;
  align-items: center;
}
.check input {
  width: auto;
  accent-color: var(--accent);
}
#message:empty {
  display: none;
}
#message {
  background: #32291d;
  padding: 12px;
  border-radius: 7px;
  color: var(--text);
}
.reviewed {
  white-space: pre-wrap;
}
.report-id {
  overflow-wrap: anywhere;
}
.settings p {
  font-size: 13px;
}
@media (max-width: 950px) {
  main {
    padding: 20px 16px;
  }
  .review-layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }
  .screenshots {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 18px;
  }
}
@media (max-width: 700px) {
  header {
    padding: 16px;
  }
  header span {
    font-size: 12px;
  }
  .review-layout {
    grid-template-columns: 1fr;
  }
  #reports {
    max-height: 300px;
    overflow: auto;
  }
  h1 {
    font-size: 29px;
  }
  .login {
    margin: 4vh auto;
  }
  .heading {
    align-items: start;
  }
  .screenshots {
    grid-template-columns: 1fr;
  }
}
