:root {
  color: #151515;
  background: #f7f2ea;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

button {
  min-height: 2.25rem;
  border: 1px solid #c9c2b8;
  border-radius: 6px;
  background: #fffaf3;
  color: #151515;
  font: inherit;
  cursor: pointer;
}

.shell {
  display: grid;
  grid-template-columns: 15rem 1fr;
  min-height: 100vh;
}

.rail {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1rem;
  border-right: 1px solid #ddd4c7;
  background: #242424;
  color: #fffaf3;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid #f0c56a;
  border-radius: 6px;
  color: #f0c56a;
  font-weight: 800;
}

nav {
  display: grid;
  gap: 0.5rem;
}

nav button {
  width: 100%;
  border-color: #3b3b3b;
  background: transparent;
  color: #fffaf3;
  text-align: left;
  padding-inline: 0.75rem;
}

nav button.active,
nav button:hover {
  background: #353535;
  border-color: #5b5b5b;
}

.workspace {
  padding: 1.25rem;
}

.topbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.eyebrow {
  margin: 0 0 0.25rem;
  color: #7a3f2b;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 48rem;
  margin-bottom: 0;
  font-size: 2rem;
  line-height: 1.1;
}

.identity {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 0.5rem;
}

.identity span,
.identity strong,
.status,
.tag {
  border: 1px solid #d0c7ba;
  border-radius: 999px;
  padding: 0.4rem 0.6rem;
  background: #fffaf3;
  white-space: nowrap;
}

.grid {
  display: grid;
  grid-template-columns: minmax(16rem, 0.9fr) minmax(20rem, 1.35fr);
  gap: 1rem;
}

.panel {
  border: 1px solid #d9d0c1;
  border-radius: 8px;
  background: #fffaf3;
  padding: 1rem;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.panel-head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.board-row {
  display: grid;
  grid-template-columns: 5rem 1fr 2rem;
  gap: 0.75rem;
  align-items: center;
  min-height: 3rem;
  border-top: 1px solid #eee4d6;
}

.board-row small,
.feed-row p,
.task p {
  color: #6b6258;
}

.feed-row {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 0.75rem;
  padding: 0.9rem 0;
  border-top: 1px solid #eee4d6;
}

.feed-row h3 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.task ul {
  padding-left: 1.2rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.plugins {
  background: #eef4f1;
}

@media (max-width: 820px) {
  .shell,
  .grid {
    grid-template-columns: 1fr;
  }

  .rail {
    min-height: auto;
    border-right: 0;
  }

  nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  nav button {
    text-align: center;
  }

  .topbar {
    align-items: start;
    flex-direction: column;
  }

  .identity {
    justify-content: start;
  }
}
