:root {
  --ink: #203c35;
  --muted: #75827d;
  --green: #225e4b;
  --line: #e5e9e4;
  --surface: #fff;
  --canvas: #f8f9f5;
  --sidebar: #f0f3ed;
  --orange: #a75b27;
  --red: #b23e36;
  --radius: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  font-size: 14px;
  background: var(--canvas);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button,
a {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #5c9f84;
  outline-offset: 3px;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
[hidden] {
  display: none !important;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 248px;
  flex-shrink: 0;
  background: var(--sidebar);
  border-right: 1px solid #dfe5da;
  padding: 32px 20px 0;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  letter-spacing: -0.8px;
  font-weight: 750;
}
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 40px;
  background: var(--green);
  border-radius: 11px;
  color: white;
  font-size: 31px;
  font-family: Georgia, serif;
  position: relative;
}
.brand-mark span {
  font-family: sans-serif;
  font-size: 18px;
  position: absolute;
  right: 3px;
  top: 0;
}
.brand-light {
  font-weight: 400;
}
.brand small {
  display: block;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 1.8px;
  margin-top: 5px;
  color: var(--muted);
}
.workspace {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 32px 0 26px;
}
.avatar {
  background: #d8e1ca;
  color: #42623e;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  width: 36px;
  border-radius: 50%;
  font-weight: 650;
}
.avatar.small {
  height: 30px;
  width: 30px;
  font-size: 12px;
}
.workspace strong {
  font-size: 12px;
}
.workspace small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.local-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #629c76;
  margin-left: auto;
}
nav {
  display: grid;
  gap: 6px;
}
.nav-item {
  border: 0;
  background: transparent;
  border-radius: 7px;
  padding: 12px 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  text-align: left;
  font-size: 12px;
  font-weight: 550;
}
.nav-item > span:first-child {
  font-size: 18px;
  width: 19px;
}
.nav-item.active {
  background: #dfe9da;
  color: #225b43;
}
.pill {
  background: #d3dfcc;
  padding: 2px 6px;
  font-size: 10px;
  border-radius: 4px;
  margin-left: auto;
}
.sidebar-heading {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1.2px;
  font-weight: 700;
}
.icon-button {
  border: 0;
  background: transparent;
  border-radius: 5px;
  min-width: 30px;
  min-height: 30px;
  font-size: 21px;
}
.icon-button:hover {
  background: #e3e8de;
}
.project-nav {
  overflow-y: auto;
  margin-top: 6px;
  flex: 1;
  min-height: 60px;
}
.project-link {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  width: 100%;
  padding: 10px 8px;
  text-align: left;
  font-size: 12px;
  border-radius: 6px;
}
.project-link.active,
.project-link:hover {
  background: #e2e8dc;
}
.project-link .project-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.project-link small {
  margin-left: auto;
  color: var(--muted);
}
.dot {
  display: inline-block;
  height: 8px;
  width: 8px;
  flex-shrink: 0;
  border-radius: 3px;
  background: #5c9478;
}
.dot.blue {
  background: #638aa9;
}
.dot.orange {
  background: #c09156;
}
.dot.pink {
  background: #b57f91;
}
.dot.slate {
  background: #8c9596;
}
.sidebar-empty {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  padding: 4px 8px;
}
.sidebar-bottom {
  padding-top: 16px;
}
.storage-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 4px;
  border-top: 1px solid #dce2d5;
}
.storage-note > span {
  font-size: 22px;
  color: #69927c;
}
.storage-note strong {
  font-size: 11px;
}
.storage-note small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.text-button {
  background: none;
  border: 0;
  display: block;
  font-size: 11px;
  color: #5c7366;
  padding: 6px 5px;
}
.profile {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 20px 0;
  margin-top: 14px;
  border-top: 1px solid #dce2d5;
  font-size: 12px;
}
.profile > span:last-child {
  color: var(--muted);
  margin-left: auto;
  font-size: 10px;
}
main {
  flex: 1;
  min-width: 0;
  padding: 0 36px;
}
.topbar {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.breadcrumbs {
  color: var(--muted);
  display: flex;
  gap: 12px;
}
.breadcrumbs strong {
  font-weight: 500;
  color: var(--ink);
}
.top-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  color: var(--muted);
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 34px 0 26px;
}
.eyebrow {
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1.5px;
  color: #6e8b79;
  margin-bottom: 10px;
}
h1 {
  font-size: 32px;
  letter-spacing: -1.2px;
  margin: 0;
  font-weight: 650;
}
.title-dot {
  color: #86a484;
}
.page-heading p {
  color: var(--muted);
  font-size: 12px;
  margin: 10px 0 0;
}
.heading-actions {
  display: flex;
  gap: 8px;
}
.button {
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
  min-height: 37px;
}
.primary {
  background: var(--green);
  color: #fff;
}
.primary:hover {
  background: #184b3a;
}
.secondary {
  background: var(--surface);
  border-color: #dde3d9;
  color: #466050;
}
.secondary:hover {
  background: #f2f5ef;
}
.danger {
  color: var(--red);
  background: #fff3ef;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 32px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.stat-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: #eaf0e4;
  color: #627e53;
}
.stat-icon.blue {
  background: #e9eff4;
  color: #6487a3;
}
.stat-icon.orange {
  background: #fbefe2;
  color: #b18146;
}
.stat-icon.mint {
  background: #e8f2ed;
  color: #4d8f70;
}
.stat > div {
  flex: 1;
}
.stat > div > span {
  color: #78877f;
  font-size: 11px;
  display: block;
  margin-bottom: 6px;
}
.stat strong {
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
}
.stat small {
  width: 100%;
  color: #8a948e;
  font-size: 10px;
  margin-top: 2px;
}
.board-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.view-tabs {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.view-tab {
  background: none;
  border: 0;
  padding: 8px 10px;
  border-radius: 5px;
  font-size: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
}
.view-tab.active {
  background: #eaf0e4;
  color: #365f46;
  font-weight: 600;
}
.filters {
  display: flex;
  align-items: center;
  gap: 8px;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: white;
  padding: 8px 10px;
  border-radius: 6px;
}
.search span {
  font-size: 20px;
  color: #7d8d81;
  line-height: 1;
}
.search input {
  border: 0;
  padding: 0;
  width: 184px;
  outline-offset: 5px;
  font-size: 11px;
  background: transparent;
}
.filters select {
  border: 1px solid var(--line);
  background: white;
  color: #66766b;
  border-radius: 6px;
  padding: 9px;
  font-size: 11px;
  max-width: 150px;
}
.board {
  display: grid;
  grid-template-columns: repeat(5, minmax(218px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 20px;
  min-height: 380px;
}
.column {
  background: #eef1eb;
  border-radius: 10px;
  padding: 12px 10px;
  min-height: 350px;
  border: 1px solid transparent;
  transition: border-color 0.15s;
}
.column.drag-over {
  border-color: #669e7f;
  background: #e2ecdd;
}
.column-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  margin-bottom: 12px;
  padding: 0 4px;
}
.column-heading h2 {
  font-size: 12px;
  margin: 0;
  font-weight: 650;
}
.column-heading .count {
  color: #7d8b80;
  background: #e2e7dd;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
}
.column-heading .icon-button {
  margin-left: auto;
  font-size: 18px;
  min-height: 24px;
  min-width: 24px;
}
.status-dot {
  border-radius: 50%;
  height: 7px;
  width: 7px;
  background: #a0aa9a;
}
.status-dot.planned {
  background: #b9a46e;
}
.status-dot.doing {
  background: #689ab7;
}
.status-dot.blocked {
  background: #cc8967;
}
.status-dot.done {
  background: #72a186;
}
.cards {
  display: grid;
  gap: 10px;
  min-height: 30px;
}
.task-card {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid #e0e6dc;
  border-radius: 9px;
  background: white;
  padding: 14px 12px;
  box-shadow: 0 2px 2px #1c352604;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.task-card:hover {
  border-color: #a4b99f;
  transform: translateY(-2px);
}
.task-card.dragging {
  opacity: 0.35;
}
.task-card.insert-before {
  border-top: 3px solid var(--green);
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 10px;
}
.tag {
  border-radius: 4px;
  background: #edf2e7;
  color: #5b7850;
  padding: 3px 6px;
  font-size: 9px;
  line-height: 1.3;
  max-width: 135px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tag.blue {
  color: #587d99;
  background: #eaf0f6;
}
.tag.orange {
  color: #946d3e;
  background: #f7efdf;
}
.tag.pink {
  color: #9c6b7a;
  background: #f7eaee;
}
.tag.slate {
  color: #69777a;
  background: #edf0ef;
}
.priority {
  font-size: 9px;
  color: #869286;
  white-space: nowrap;
}
.priority.high {
  color: #ae6248;
}
.task-card h3 {
  font-size: 13px;
  line-height: 1.6;
  font-weight: 600;
  margin: 0;
  overflow-wrap: anywhere;
}
.next-action {
  font-size: 10px;
  line-height: 1.7;
  margin: 8px 0 0;
  color: #849080;
  overflow-wrap: anywhere;
}
.next-action.missing {
  color: #ad885d;
  font-style: italic;
}
.card-bottom {
  border-top: 1px solid #f0f2ec;
  margin-top: 12px;
  padding-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #81907e;
}
.due {
  border-radius: 4px;
  background: #f2f4ee;
  padding: 3px 5px;
}
.due.overdue {
  color: #a4493d;
  background: #fbebe5;
}
.due.today {
  color: #966a23;
  background: #fcf3db;
}
.card-owner {
  margin-left: auto;
  background: #edf1e6;
  border: 1px solid #dce5d3;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #69845d;
}
.column-add {
  display: block;
  border: 0;
  background: none;
  padding: 12px 6px 4px;
  color: #86907f;
  font-size: 11px;
  width: 100%;
  text-align: left;
}
.column-add:hover {
  color: var(--green);
}
.empty-column {
  font-size: 10px;
  text-align: center;
  line-height: 1.8;
  color: #95a08e;
  padding: 26px 8px;
  border: 1px dashed #dbe2d4;
  border-radius: 8px;
  margin-bottom: 5px;
}
.board-footer {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #8b9689;
  gap: 10px;
  padding: 4px 0 20px;
}
.onboarding {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid #dfe7d7;
  background: #f0f5e8;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 22px;
}
.onboarding strong {
  font-size: 14px;
}
.onboarding p {
  font-size: 12px;
  color: #7a8a71;
  line-height: 1.8;
  margin-bottom: 0;
  max-width: 560px;
}
.onboarding .button {
  margin-left: auto;
}
.onboarding-art {
  position: relative;
  min-width: 62px;
  height: 66px;
}
.onboarding-art span {
  position: absolute;
  background: white;
  border: 1px solid #d6e2ca;
  border-radius: 7px;
  width: 38px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #719564;
  transform: rotate(-10deg);
}
.onboarding-art span:nth-child(2) {
  top: 15px;
  left: 24px;
  transform: rotate(8deg);
}
.onboarding-art span:nth-child(3) {
  top: 36px;
  left: 5px;
}
.overview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
  padding-bottom: 30px;
}
.project-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.project-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.project-status {
  font-size: 10px;
  color: #7e8b7a;
}
.project-card h2 {
  font-size: 18px;
  margin: 16px 0 10px;
}
.project-card p {
  font-size: 12px;
  color: #7b8a77;
  line-height: 1.7;
  min-height: 40px;
  overflow-wrap: anywhere;
}
.progress-track {
  height: 5px;
  display: flex;
  background: #ecf0e6;
  border-radius: 4px;
  overflow: hidden;
  margin: 18px 0 10px;
}
.progress-track span {
  background: #79a16d;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #7a8a72;
}
.project-insight {
  font-size: 11px;
  margin-top: 18px;
  padding: 12px;
  background: #f6f8f2;
  border-radius: 6px;
  line-height: 1.7;
  color: #6d8064;
}
.project-card .card-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 16px;
}
.error-banner {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  background: #fff0e9;
  padding: 14px;
  border: 1px solid #f0d2c5;
  border-radius: 7px;
  margin-bottom: 20px;
  font-size: 12px;
  color: #9a4d36;
}
dialog {
  border: 1px solid #dce3d7;
  border-radius: 14px;
  padding: 26px;
  width: min(600px, calc(100% - 24px));
  max-height: 92dvh;
  color: var(--ink);
  box-shadow: 0 24px 80px #122d3226;
}
dialog::backdrop {
  background: #18352e66;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}
.dialog-head h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.5px;
}
.dialog-head .eyebrow {
  margin-bottom: 7px;
}
form > label,
.form-row > label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 16px;
}
form input,
form textarea,
form select {
  border: 1px solid #dce3d7;
  background: #fcfdfb;
  color: var(--ink);
  padding: 10px;
  border-radius: 6px;
  font-size: 13px;
  width: 100%;
}
textarea {
  resize: vertical;
  line-height: 1.6;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-row.three {
  grid-template-columns: 1fr 1fr 1fr;
}
.dialog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 18px;
}
.dialog-footer > div {
  display: flex;
  gap: 8px;
}
.checklist-heading {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 10px;
}
.checklist-heading span {
  color: var(--muted);
}
.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
}
.check-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
  flex-shrink: 0;
}
.check-item label {
  font-size: 12px;
  line-height: 1.5;
  flex: 1;
  overflow-wrap: anywhere;
}
.check-item input:checked + label {
  text-decoration: line-through;
  color: var(--muted);
}
.check-item .icon-button {
  font-size: 17px;
  color: var(--muted);
}
.check-add {
  display: flex;
  gap: 8px;
  margin: 10px 0 15px;
}
.muted,
.form-help {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}
.form-error {
  color: var(--red);
  font-size: 12px;
  line-height: 1.6;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 13px 20px;
  background: #214f3e;
  color: white;
  box-shadow: 0 6px 22px #20362b26;
  border-radius: 9px;
  font-size: 12px;
  z-index: 10;
  max-width: 90vw;
}
.focus-notice {
  background: #fff4e6;
  border: 1px solid #efdfc5;
  border-radius: 7px;
  padding: 15px;
  font-size: 12px;
  margin-bottom: 16px;
}
.no-results {
  grid-column: 1/-1;
  padding: 40px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
@media (min-width: 1700px) {
  main {
    padding: 0 48px;
  }
  .board {
    grid-template-columns: repeat(5, minmax(250px, 1fr));
  }
  .stat {
    padding: 22px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 215px;
    padding: 26px 14px 0;
  }
  main {
    padding: 0 24px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 14px;
    gap: 8px;
  }
  .stat-icon {
    height: 28px;
    width: 28px;
  }
  .filters {
    gap: 5px;
  }
  .search input {
    width: 140px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .heading-actions {
    padding-top: 18px;
  }
  .board-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .filters {
    width: 100%;
  }
  .search {
    flex: 1;
  }
  .search input {
    width: 100%;
  }
  .onboarding-art {
    display: none;
  }
}
@media (max-width: 760px) {
  .app-shell {
    display: block;
  }
  .sidebar {
    position: static;
    width: auto;
    height: auto;
    padding: 18px 18px 12px;
    display: block;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand {
    font-size: 20px;
  }
  .brand small {
    font-size: 7px;
  }
  .brand-mark {
    height: 32px;
    width: 32px;
    font-size: 25px;
  }
  .workspace,
  .sidebar-heading,
  .sidebar-bottom {
    display: none;
  }
  nav {
    display: flex;
    margin-top: 18px;
    gap: 4px;
  }
  .nav-item {
    font-size: 11px;
    padding: 9px 10px;
  }
  .nav-item > span:first-child {
    font-size: 16px;
  }
  .project-nav {
    display: flex;
    overflow-x: auto;
    margin-top: 12px;
    gap: 5px;
    min-height: 0;
  }
  .project-link {
    width: auto;
    max-width: 180px;
    flex-shrink: 0;
    font-size: 11px;
    border: 1px solid #dfe5d8;
  }
  .project-link small {
    display: none;
  }
  .sidebar-empty {
    display: none;
  }
  main {
    padding: 0 18px;
  }
  .topbar {
    height: 48px;
    font-size: 10px;
  }
  .top-actions > span:first-child {
    display: none;
  }
  .page-heading {
    padding: 24px 0;
    flex-wrap: wrap;
  }
  h1 {
    font-size: 27px;
  }
  .heading-actions {
    padding-top: 0;
    width: 100%;
    justify-content: flex-end;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 22px;
  }
  .stat {
    padding: 12px;
  }
  .stat small {
    font-size: 9px;
  }
  .stat strong {
    font-size: 23px;
  }
  .filters {
    flex-wrap: wrap;
  }
  .search {
    width: 100%;
    flex: 1 0 100%;
  }
  .filters select {
    flex: 1;
    max-width: none;
  }
  .board {
    grid-template-columns: repeat(5, 240px);
    gap: 10px;
  }
  .onboarding {
    padding: 18px;
    display: block;
  }
  .onboarding .button {
    margin-top: 12px;
  }
  .board-footer {
    font-size: 9px;
    line-height: 1.6;
  }
  .board-footer > span:last-child {
    max-width: 170px;
    text-align: right;
  }
  .form-row.three {
    grid-template-columns: 1fr 1fr;
  }
  .form-row.three > label:last-child {
    grid-column: 1/-1;
  }
  dialog {
    padding: 20px;
  }
  .dialog-footer {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .dialog-footer > div {
    margin-left: auto;
  }
  .breadcrumbs {
    gap: 7px;
  }
  .overview {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
progress {
  display: block;
  width: 100%;
  height: 5px;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  margin: 18px 0 10px;
  background: #ecf0e6;
  accent-color: #79a16d;
}
progress::-webkit-progress-bar {
  background: #ecf0e6;
}
progress::-webkit-progress-value {
  background: #79a16d;
}
progress::-moz-progress-bar {
  background: #79a16d;
}

.mobile-backups {
  display: none;
}
@media (max-width: 760px) {
  .mobile-backups {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
  }
}

:root {
  --muted: #627168;
}
.stat small,
.board-footer,
.empty-column,
.column-add {
  color: #687660;
}
.next-action,
.card-bottom {
  color: #667660;
}
.onboarding p,
.project-card p,
.project-insight {
  color: #62745b;
}
.priority {
  color: #697760;
}
.stat > div > span {
  color: #627168;
}

.project-stage {
  display: inline-block;
  margin-top: 12px;
  border: 1px solid #dce4d6;
  background: #edf3e7;
  border-radius: 5px;
  padding: 4px 8px;
  font-size: 10px;
  color: #48643e;
}
.project-card-head {
  gap: 8px;
}
.project-status {
  text-align: right;
  line-height: 1.6;
}

[hidden] { display: none !important; }
.auth-page { min-height: 100dvh; display: grid; place-items: center; padding: 32px 20px; background: radial-gradient(ellipse at top left, #dce9dd, transparent 65%), #f8f9f5; }
.auth-card { width: min(100%, 500px); background: white; border: 1px solid var(--line); border-radius: 24px; padding: 40px; box-shadow: 0 20px 80px #203c3510; }
.auth-brand { display: inline-block; font-size: 30px; font-weight: 750; letter-spacing: -1.5px; margin-bottom: 42px; }.auth-brand span { color: var(--green); margin-left: 5px; }
.auth-card h1 { font-size: clamp(28px, 6vw, 38px); letter-spacing: -1.2px; line-height: 1.15; margin: 14px 0; }.auth-card p { color: var(--muted); line-height: 1.65; }
.auth-form { display: grid; gap: 20px; margin: 28px 0; }.auth-form label { display: grid; gap: 8px; font-weight: 600; }.auth-form input { width: 100%; border: 1px solid #ccd7ce; border-radius: 10px; padding: 13px; background: #fbfcfa; }.auth-form .button { padding: 15px; justify-content: center; }.auth-footnote { color: var(--muted); line-height: 1.6; }.auth-card .auth-error { color: #a22e2e; background: #fff0ee; padding: 12px; border-radius: 8px; }.auth-card .auth-success { color: var(--green); background: #edf7ef; padding: 12px; }.backup-list { margin: 22px 0; max-height: 50vh; overflow-y: auto; }.backup-row { display: grid; gap: 6px; padding: 15px 0; border-bottom: 1px solid var(--line); }.backup-row span { font-size: 12px; color: var(--muted); }
@media(max-width: 500px) { .auth-card { padding: 28px 22px; }.auth-brand { margin-bottom: 25px; } }

/* Keep account controls reachable when the sidebar becomes the mobile header. */
@media (max-width: 760px) {
  .sidebar-bottom { display: block; margin-top: 10px; }
  .sidebar-bottom > :not(#account-actions) { display: none; }
  #account-actions { display: flex; flex-wrap: wrap; gap: 4px 16px; }
  #account-actions .text-button { font-size: 12px; padding: 6px 0; }
}
