@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");
:root {
  font-family: "DM Sans", sans-serif;
  color: #18211d;
  background: #f7f8f5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", sans-serif;
}
h1 {
  font-size: 36px;
  letter-spacing: -1.3px;
  margin-bottom: 7px;
}
h2 {
  font-size: 20px;
}
.muted {
  color: #748079;
  line-height: 1.5;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #5b796a;
  margin-bottom: 8px;
}
.primary {
  border-radius: 9px;
  padding: 11px 16px;
  background: #1d6c4a;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 10px #1d6c4a2b;
}
.primary:hover {
  background: #16593d;
}
.wide {
  width: 100%;
  margin-top: 8px;
}
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}
.brand-panel {
  background: #123e2d;
  color: white;
  padding: 13vh max(8vw, 42px);
  position: relative;
  overflow: hidden;
}
.brand-panel:after {
  content: "✦";
  position: absolute;
  right: -50px;
  bottom: -130px;
  color: #1c5b41;
  font-size: 460px;
}
.logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: #e8d591;
  color: #173f2e;
  font-size: 22px;
  font-family: "Space Grotesk", sans-serif;
  border-radius: 12px;
}
.brand-panel h1 {
  font-size: 52px;
  max-width: 480px;
  margin-top: 86px;
}
.brand-panel > p {
  max-width: 440px;
  color: #c6d6ce;
  line-height: 1.7;
  margin-bottom: 42px;
}
.feature {
  position: relative;
  z-index: 1;
  margin: 15px 0;
  color: #dce9e2;
}
.auth-card {
  align-self: center;
  max-width: 430px;
  margin: auto;
  width: 100%;
  padding: 30px;
}
.field {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin: 18px 0 0;
}
.field input,
.create-bar input,
.inline-create input,
.task-create input,
textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid #d9dfd9;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
  outline-color: #2e8c63;
}
.switch {
  text-align: center;
  color: #69746e;
  margin-top: 25px;
}
.switch button {
  color: #1d6c4a;
  font-weight: 700;
}
.error {
  color: #bb3030;
  background: #fff0f0;
  padding: 10px;
  border-radius: 7px;
  font-size: 13px;
}
.app {
  display: grid;
  grid-template-columns: 238px 1fr;
  min-height: 100vh;
}
aside {
  background: #173f2e;
  color: #e9f0eb;
  padding: 25px 14px;
  display: flex;
  flex-direction: column;
}
.wordmark {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 20px;
  padding: 4px 11px 42px;
}
.wordmark span {
  color: #e5cf70;
}
.nav {
  display: block;
  width: 100%;
  text-align: left;
  border-radius: 7px;
  padding: 10px 12px;
  color: #bbcec2;
  font-size: 14px;
  margin: 2px 0;
}
.nav:hover,
.nav.active {
  color: #fff;
  background: #285845;
}
.side-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #84a192;
  padding: 28px 12px 7px;
}
.userbox {
  margin-top: auto;
  border-top: 1px solid #37614f;
  padding: 16px 7px 0;
  display: grid;
  grid-template-columns: 33px 1fr 22px;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}
.userbox small {
  display: block;
  color: #adc3b6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8d591;
  color: #17402e;
  font-weight: 700;
}
.avatar.small {
  width: 25px;
  height: 25px;
  font-size: 11px;
}
.content {
  padding: 54px clamp(28px, 6vw, 90px);
  max-width: 1500px;
  width: 100%;
  margin: auto;
}
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 42px;
}
.page-header.compact {
  margin-bottom: 26px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-title span {
  font-size: 13px;
  color: #7a847e;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 17px;
}
.workspace-card {
  text-align: left;
  background: #fff;
  border: 1px solid #e5e9e3;
  border-radius: 13px;
  padding: 20px;
  min-height: 190px;
  box-shadow: 0 3px 8px #213c2910;
}
.workspace-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px #213c2920;
}
.workspace-icon {
  background: #dbece1;
  color: #1d6c4a;
  border-radius: 10px;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 19px;
}
.workspace-card h3 {
  margin: 20px 0 6px;
}
.workspace-card p {
  font-size: 13px;
  color: #718078;
  line-height: 1.4;
}
.workspace-card footer {
  display: flex;
  justify-content: space-between;
  color: #779184;
  font-size: 12px;
  margin-top: 26px;
}
.create-bar,
.inline-create,
.task-create {
  display: flex;
  gap: 9px;
  margin: 0 0 25px;
  align-items: center;
}
.create-bar input,
.inline-create input,
.task-create input {
  margin: 0;
}
.create-bar button:not(.primary) {
  color: #5d6862;
}
.back {
  color: #496d5d;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 20px;
}
.metric {
  display: flex;
  flex-direction: column;
  text-align: right;
}
.metric b {
  font: 700 30px "Space Grotesk", sans-serif;
  color: #1d6c4a;
}
.metric span {
  font-size: 12px;
  color: #768078;
}
.split {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 54px;
}
.project-list {
  border-top: 1px solid #e1e5e0;
}
.project-row {
  display: grid;
  grid-template-columns: 14px 1fr auto 16px;
  gap: 12px;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 16px 5px;
  border-bottom: 1px solid #e1e5e0;
}
.project-row p {
  margin: 3px 0 0;
  color: #758079;
  font-size: 12px;
}
.project-dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: #64a786;
}
.pill {
  font-size: 10px;
  padding: 5px 8px;
  background: #edf3ef;
  color: #537163;
  border-radius: 20px;
  font-weight: 700;
}
.activity > div,
.comment {
  display: flex;
  gap: 10px;
  margin: 0 0 18px;
}
.activity p {
  font-size: 13px;
  line-height: 1.4;
  margin: 1px 0;
}
.activity small,
.comment small {
  display: block;
  color: #87918b;
  font-size: 11px;
  margin-top: 3px;
}
.empty {
  color: #8b948e;
  border: 1px dashed #ced7d0;
  border-radius: 8px;
  padding: 22px;
  font-size: 13px;
}
.board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  align-items: start;
}
.column {
  background: #edf1ed;
  border-radius: 11px;
  padding: 12px;
  min-height: 390px;
}
.column h3 {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 2px 14px;
}
.column h3 small {
  margin-left: auto;
  background: #dce4de;
  padding: 2px 7px;
  border-radius: 10px;
  color: #45544b;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.todo {
  background: #84958b;
}
.in_progress {
  background: #d49c31;
}
.done {
  background: #2d9667;
}
.task-card {
  background: #fff;
  border-radius: 9px;
  padding: 13px;
  margin-bottom: 11px;
  box-shadow: 0 1px 3px #23382717;
}
.task-top,
.task-card footer,
.moves {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.task-top button {
  color: #849189;
  letter-spacing: 1px;
}
.task-card h4 {
  margin: 13px 0 5px;
  font-size: 15px;
}
.task-card p {
  font-size: 12px;
  color: #707c75;
  line-height: 1.4;
}
.task-card footer {
  font-size: 11px;
  color: #7b8780;
  margin-top: 14px;
}
.priority {
  font-size: 9px;
  border-radius: 12px;
  padding: 4px 7px;
  font-weight: 700;
}
.priority.low {
  background: #e7f1ec;
  color: #397153;
}
.priority.medium {
  background: #edf0ed;
  color: #46544b;
}
.priority.high {
  background: #fff1db;
  color: #77500f;
}
.priority.urgent {
  background: #ffe5e2;
  color: #88372f;
}
.moves {
  margin-top: 11px;
}
.moves button {
  background: #edf2ee;
  color: #397154;
  border-radius: 5px;
  padding: 3px 8px;
}
.dropzone {
  border: 1px dashed #c8d3cb;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  color: #89938c;
  font-size: 12px;
}
.task-detail {
  max-width: 780px;
  display: grid;
  gap: 35px;
}
.description {
  line-height: 1.65;
  color: #5e6b64;
  white-space: pre-wrap;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid #e2e6e2;
  padding-top: 20px;
}
.detail-grid span {
  display: block;
  font-size: 11px;
  color: #768078;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 6px;
}
.detail-grid b {
  font-size: 13px;
}
.comments {
  border-top: 1px solid #e2e6e2;
  padding-top: 25px;
}
.comments h2 small {
  font: 400 13px "DM Sans", sans-serif;
  color: #7d8880;
}
.comment b {
  font-size: 13px;
}
.comment p {
  font-size: 13px;
  line-height: 1.5;
  margin-top: 8px;
}
.comments form {
  margin-top: 25px;
}
.comments textarea {
  resize: vertical;
  min-height: 88px;
  margin-bottom: 10px;
}
@media (max-width: 800px) {
  .auth {
    grid-template-columns: 1fr;
  }
  .brand-panel {
    display: none;
  }
  .app {
    grid-template-columns: 1fr;
  }
  aside {
    display: none;
  }
  .content {
    padding: 32px 20px;
  }
  .split,
  .board {
    grid-template-columns: 1fr;
  }
  .page-header {
    gap: 15px;
  }
  .page-header h1 {
    font-size: 28px;
  }
  .board {
    gap: 13px;
  }
  .column {
    min-height: auto;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
}
