/* Digital Reaper: self-contained Barracks harvest catalogue and live inspector list. */
.reaper-catalog-button {
  display:block; width:100%; margin:5px 0 13px; padding:10px 12px;
  border:1px solid #b95a43; border-radius:3px; background:#20150f;
  color:#ffb481; font-family:inherit; font-size:11px; font-weight:700; line-height:1.4; letter-spacing:.08em;
  cursor:pointer; text-align:center;
}
.reaper-catalog-button:hover,.reaper-catalog-button:focus-visible {
  background:#392014; border-color:#ff9b5f; color:#ffdfaa;
}
.reaper-harvest-dialog {
  width:min(650px,calc(100vw - 24px)); max-height:85vh; border:1px solid #ae644b;
  background:#081d16; color:#e5f4e7; padding:19px; box-shadow:0 20px 90px #000c;
}
.reaper-harvest-dialog::backdrop {background:rgba(0,0,0,.82)}
.reaper-harvest-dialog header {display:flex; align-items:flex-start; justify-content:space-between; gap:12px;}
.reaper-harvest-dialog h2 {margin:0; font-family:inherit; font-size:17px; font-weight:800; line-height:1.3; color:#ffb783; letter-spacing:.055em;}
.reaper-harvest-dialog .harvest-close {background:transparent; border:1px solid #537465; color:#b4d4c2; padding:5px 10px; cursor:pointer}
.reaper-harvest-dialog .harvest-intro {color:#9ebbaa; line-height:1.5; font-size:12px; margin:9px 0 17px;}
.reaper-harvest-dialog .harvest-list {display:grid; grid-template-columns:repeat(auto-fit,minmax(235px,1fr)); gap:7px; max-height:57vh; overflow:auto;}
.reaper-harvest-dialog .harvest-list article {display:grid; gap:3px; padding:9px 11px; border:1px solid #315347; background:#0c291f;}
.reaper-harvest-dialog .harvest-list strong {font-size:11px; color:#f1f8ee; text-transform:uppercase;}
.reaper-harvest-dialog .harvest-list span {font-size:11px; color:#ffa16d; font-weight:bold;}
.reaper-harvest-dialog .harvest-list small {font-size:11px; color:#b2cbbf; line-height:1.45;}
#inspector-harvest-section {margin:12px 0;}
#inspector-harvest-section .reaper-inspector-trait {margin:4px 0; color:#ffbd86; font-size:12px;}

/* Barracks Simple view contains no Detailed-only catalogue action. */
#unit-cards.army-simple .reaper-catalog-button {display:none;}
