:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, sans-serif;
  background: #101011;
  color: #f2eee8;
}
* {
  box-sizing: border-box;
}
body {
  max-width: 1180px;
  margin: 0 auto 64px;
  padding: 24px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #363639;
}
.ops-title-group {
  display: grid;
  gap: 4px;
}
.ops-back {
  font-size: 13px;
  font-weight: 600;
  color: #c8c2ba;
  text-decoration: none;
  justify-self: start;
}
.ops-back:hover {
  color: #fff;
  text-decoration: underline;
}
header h1 {
  font-size: 26px;
  letter-spacing: -0.025em;
  margin: 0;
  flex: 1;
}
.ops-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.ops-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  color: #c8c2ba;
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
}
.ops-nav a:hover {
  background: #232326;
  color: #f2eee8;
}
.ops-nav a[aria-current="page"] {
  background: #2b2321;
  border-color: #765047;
  color: #fff4ec;
}
.ops-lead {
  margin: 0 0 16px;
  color: #c5bfb7;
  font-size: 14px;
  max-width: 72ch;
}
.ops-callout {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #4d4238;
  border-radius: 12px;
  background: #1d1916;
  color: #dfd6cb;
  font-size: 13.5px;
  line-height: 1.55;
}
a {
  color: #eed6bf;
}
main {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.ops-queue-panel {
  padding: 16px;
  border: 1px solid #363639;
  border-radius: 12px;
  background: #19191b;
}
.ops-queue-panel h2 {
  margin: 0 0 12px;
}
section {
  min-width: 0;
}
h2 {
  font-size: 17px;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  border: 1px solid #6b6b70;
  background: #141416;
  border-radius: 10px;
  padding: 9px 14px;
  min-height: 40px;
  font-size: 13.5px;
}
button {
  cursor: pointer;
  background: #252528;
  border-color: #4a4a50;
  font-weight: 600;
}
button:hover:not(:disabled) {
  background: #303034;
  border-color: #707076;
}
button[type="submit"] {
  background: #b74736;
  border-color: #ce6251;
  color: #fff7f2;
}
button[type="submit"]:hover:not(:disabled) {
  background: #c24d3b;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
textarea:focus-visible {
  outline: 2px solid #e5c39e;
  outline-offset: 3px;
}
#queue {
  display: grid;
  gap: 8px;
}
#queue button {
  text-align: left;
  background: #141416;
  border-color: #363639;
}
#queue button:hover:not(:disabled) {
  background: #232326;
  border-color: #6b6b70;
}
#queue button[aria-pressed="true"] {
  background: #2c2321;
  border-color: #b77764;
}
#detail {
  padding: 20px;
  border: 1px solid #363639;
  border-radius: 12px;
  background: #19191b;
}
.ops-placeholder {
  margin: 0;
  color: #b3b0aa;
  font-size: 14px;
}
#detail p,
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
pre {
  font:
    13px/1.5 system-ui,
    sans-serif;
  max-height: 360px;
  overflow: auto;
}
img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
}
form,
label {
  display: grid;
  gap: 8px;
}
form {
  margin-top: 16px;
}
textarea {
  width: 100%;
  min-height: 100px;
  resize: vertical;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
#status {
  min-height: 1.5em;
  color: #e5c39e;
}
time {
  font-size: 12px;
  color: #bbb;
}
details {
  margin-block: 12px;
}
summary {
  cursor: pointer;
  min-height: 44px;
  padding-block: 10px;
}
@media (max-width: 700px) {
  main {
    grid-template-columns: minmax(0, 1fr);
  }
  #queue {
    max-height: 220px;
    overflow: auto;
  }
  body {
    padding: 14px;
  }
  input,
  textarea,
  select {
    font-size: 16px;
  }
}

fieldset {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin: 20px 0 0;
  padding: 16px;
  border: 1px solid #55555c;
  border-radius: 12px;
}
legend {
  padding-inline: 8px;
  font-weight: 650;
}
input {
  width: 100%;
  min-width: 0;
}
input:focus-visible,
summary:focus-visible {
  outline: 2px solid #e5c39e;
  outline-offset: 3px;
}
#external-notice {
  padding: 12px;
  border: 1px solid #444;
  border-radius: 12px;
}

#queue time,
.case-deadline {
  display: block;
  margin-top: 6px;
}
.case-deadline {
  color: #f3c48a;
  font-size: 13px;
}

#coverage {border-block:1px solid #444;padding-block:12px;margin-bottom:20px} #coverage label{display:block;margin:10px 0} input[type=checkbox]{width:20px;min-height:20px;vertical-align:middle;margin-right:8px} #coverage button{margin:4px} header{flex-wrap:wrap} .rights-intake{margin-bottom:20px} .receipt{font-family:monospace;overflow-wrap:anywhere} [hidden]{display:none!important}

/* Fast photo review. */
#photo-review {
  margin: 0 0 24px;
  padding: 16px;
  border: 1px solid #5a3a32;
  border-radius: 12px;
  background: #171514;
}
#photo-review h2 {
  margin: 0 0 6px;
}
#photo-review .review-photo {
  display: block;
  max-width: 100%;
  max-height: 68vh;
  margin: 10px 0 14px;
  border-radius: 10px;
  background: #000;
}
#photo-review .review-facts {
  margin: 0;
  color: #cfc8bf;
  font-size: 14px;
}
#photo-review .review-actions,
#photo-review .review-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 10px;
}
#photo-review .review-actions button,
#photo-review .review-reasons button {
  min-height: 44px;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 650;
}
#photo-review .review-approve {
  border-color: #6f9a6f;
  background: #1f2f20;
  color: #e7f3e3;
}
#photo-review .review-reject {
  border-color: #b74736;
  background: #33201c;
  color: #f4d9cf;
}
#photo-review .review-reasons p {
  flex: 1 1 100%;
  margin: 4px 0 0;
  color: #f3c48a;
  font-size: 13px;
}

/* Owner numbers: counts only. */
#numbers {
  margin: 0 0 24px;
  padding: 16px;
  border: 1px solid #444;
  border-radius: 12px;
}
#numbers h2 {
  margin: 0 0 12px;
}
#numbers .numbers-stamp {
  color: #a9a199;
  font-size: 13px;
  font-weight: 400;
}
#numbers .numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px 28px;
}
#numbers h3 {
  margin: 0 0 6px;
  color: #e5c39e;
  font-size: 14px;
}
#numbers dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  margin: 0;
}
#numbers dt {
  color: #cfc8bf;
  font-size: 14px;
}
#numbers dd {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
#numbers > p {
  margin: 12px 0 0;
  color: #a9a199;
  font-size: 12.5px;
}
