:root {
  color-scheme: light;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f6f6f1;
  color: #20242a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.shell {
  width: min(1080px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 32px 0 64px;
}

.topbar,
.panelHead,
.actions,
.itemActions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.topbar {
  margin-bottom: 20px;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 30px;
  line-height: 1.2;
}

h2 {
  font-size: 18px;
  margin-bottom: 18px;
}

p {
  color: #667085;
  margin-top: 6px;
}

.panel {
  background: #fff;
  border: 1px solid #d8d8cf;
  border-radius: 8px;
  padding: 22px;
  margin-bottom: 18px;
  box-shadow: 0 12px 28px rgba(32, 36, 42, 0.06);
}

.compact {
  max-width: 760px;
}

.grid {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 14px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c8c8bd;
  border-radius: 6px;
  background: #fff;
  color: #20242a;
  font: inherit;
  padding: 11px 12px;
}

textarea {
  resize: vertical;
  min-height: 280px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

button {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  background: #176b5d;
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 0 16px;
  cursor: pointer;
}

button:hover {
  background: #12574c;
}

.ghost {
  color: #344054;
  background: #ecece4;
}

.ghost:hover {
  background: #dfdfd4;
}

.actions {
  justify-content: flex-start;
  margin-top: 16px;
}

.list {
  display: grid;
  gap: 10px;
}

.item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid #e2e2d9;
  border-radius: 8px;
  padding: 14px;
}

.itemTitle {
  font-weight: 750;
}

.meta {
  color: #667085;
  font-size: 13px;
  margin-top: 5px;
}

.message {
  min-height: 24px;
  font-weight: 650;
}

.hidden {
  display: none !important;
}

@media (max-width: 720px) {
  .topbar,
  .panelHead,
  .item {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

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

  .itemActions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
