:root {
  color: #17251f;
  background: #f3f5f1;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

button,
input,
select {
  font: inherit;
}

.shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 24px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.topbar span {
  color: #6a756e;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.topbar h1 {
  margin: 4px 0 0;
  font-size: 34px;
  letter-spacing: 0;
}

.topbar button,
.toolbar input,
.toolbar select {
  border: 1px solid #d3ddd5;
  border-radius: 8px;
  background: #fff;
  color: #17251f;
}

.topbar button {
  min-height: 42px;
  padding: 0 16px;
  background: #17251f;
  color: #fff;
  font-weight: 900;
}

.summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.summary article,
.card,
.message {
  border: 1px solid #d3ddd5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(29, 45, 36, 0.08);
}

.summary article {
  padding: 16px;
}

.summary strong,
.summary span {
  display: block;
}

.summary strong {
  font-size: 32px;
}

.summary span {
  color: #667269;
  font-size: 13px;
  font-weight: 900;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 10px;
  margin-bottom: 14px;
}

.toolbar input,
.toolbar select {
  min-height: 44px;
  padding: 0 12px;
}

.message {
  padding: 16px;
  color: #667269;
  font-weight: 900;
}

.message:empty {
  display: none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.card {
  overflow: hidden;
}

.photo {
  display: grid;
  place-items: center;
  aspect-ratio: 1.25;
  background: #e8eee9;
  color: #667269;
  font-weight: 900;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.qr-block {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid #d3ddd5;
  border-radius: 8px;
  padding: 10px;
  background: #fbfcfa;
}

.qr-block img {
  width: 86px;
  aspect-ratio: 1;
  border-radius: 6px;
  background: #fff;
}

.qr-block strong,
.qr-block span {
  display: block;
}

.qr-block span {
  margin-top: 4px;
  color: #667269;
  font-size: 12px;
  font-weight: 900;
}

.head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.head h2,
.head p {
  margin: 0;
}

.head h2 {
  font-size: 20px;
}

.head p,
.notes,
.updated {
  color: #667269;
  font-size: 13px;
  line-height: 1.45;
}

.status {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 6px 9px;
  background: #fff4df;
  color: #8f5100;
  font-size: 11px;
  font-weight: 900;
}

.status.ready,
.status.published {
  background: #e7f5ec;
  color: #126142;
}

.status.sold {
  background: #e8eefb;
  color: #284a84;
}

.status.keep {
  background: #ece8df;
  color: #5f5140;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tags span {
  border-radius: 999px;
  padding: 6px 8px;
  background: #edf6f0;
  color: #216850;
  font-size: 12px;
  font-weight: 900;
}

.checklist {
  margin: 0;
  padding-left: 18px;
  color: #334139;
  font-size: 13px;
}

.updated {
  border-top: 1px solid #e2e8e3;
  padding-top: 10px;
}

@media (max-width: 680px) {
  .shell {
    padding: 16px;
  }

  .topbar,
  .toolbar {
    grid-template-columns: 1fr;
  }

  .summary {
    grid-template-columns: 1fr;
  }
}
