:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #e2e3e8;
  background: #151619;
  color-scheme: dark;
  --bg: #18191d;
  --side: #131417;
  --surface: #202126;
  --line: #2b2c32;
  --muted: #989aa5;
  --accent: #b4a3ec;
  --ink: #e2e3e8;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 12px;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  min-height: 32px;
  border-radius: 5px;
}
button:active {
  transform: scale(0.98);
}
button:hover {
  background: var(--surface);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.5;
}
.app {
  display: grid;
  grid-template-columns: 216px 1fr;
  min-height: 100dvh;
}
.sidebar {
  background: var(--side);
  padding: 25px 16px 16px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  min-height: 23px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  padding: 0 5px;
}

.search-trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  margin: 26px 0 33px;
  padding: 7px 9px;
  text-align: left;
  font-size: 11px;
  color: var(--muted);
  box-shadow: 0 1px 2px #0002;
}
.search-trigger > span {
  font-size: 20px;
  line-height: 12px;
}
kbd {
  font-family: inherit;
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 2px 4px;
}
.search-trigger kbd {
  margin-left: auto;
  white-space: nowrap;
}
.nav-label {
  font-size: 11px;
  color: var(--muted);
  padding: 0 10px;
  margin-bottom: 10px;
}
nav {
  display: grid;
  gap: 3px;
}
nav button {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 10px;
  padding: 7px 10px;
  font-size: 12px;
  color: var(--muted);
}
nav button > span:first-child {
  font-size: 16px;
  width: 16px;
}
nav button[aria-pressed="true"] {
  color: var(--ink);
  background: #27272f;
}
.nav-count {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
}
.team-label {
  margin-top: 37px;
}
.team {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  line-height: 1.5;
}

.team small,
.sidebar-bottom small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.sidebar-bottom {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 40px;
  font-size: 11px;
  line-height: 1.6;
}
.sidebar-bottom a {
  color: var(--muted);
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

.workspace {
  min-width: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 66px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  font-size: 11px;
}
.muted,
.top-right {
  color: var(--muted);
}
.slash {
  margin: 0 16px;
  color: #5f606b;
}
.top-right {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}

main {
  padding: 24px 28px 0;
  flex: 1;
}
.page-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
h1 {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 550;
  letter-spacing: -1px;
  margin: 0;
}
.primary {
  border: 1px solid #696073;
  background: linear-gradient(#c8badf, #b3a3cf);
  color: #24202e;
  padding: 0 12px;
  font-size: 12px;
  box-shadow:
    inset 0 1px #e8dff766,
    0 2px 3px #0002;
}
.primary:hover {
  background: #ccbee2;
}
.primary span {
  margin-left: 5px;
}
.viewbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 54px;
  padding-bottom: 12px;
  gap: 12px;
  flex-wrap: wrap;
}
.filters {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.filters button {
  border-radius: 7px;
  color: var(--muted);
  padding: 0 14px;
  min-height: 44px;
  white-space: nowrap;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
}
.filters button:hover {
  background: none;
  color: var(--ink);
}
.filters [aria-pressed="true"] {
  color: var(--ink);
}
.filters [aria-pressed="true"] {
  font-weight: 550;
}
.view-label {
  font-size: 11px;
  color: var(--muted);
  padding-top: 5px;
}
.view-label span {
  margin-left: 12px;
}
.desk {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 20px;
}
.project-area {
  min-width: 0;
}
.table-heading,
.project-row {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) 104px 62px 48px;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
}
.table-heading {
  height: 41px;
  font-size: 11px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
article {
  border-bottom: 1px solid var(--line);
}
.project-row {
  width: 100%;
  min-height: 52px;
  padding-block: 8px;
  text-align: left;
  border-radius: 0;
}
.project-row.selected {
  background: #25262b;
  box-shadow: inset 0 0 0 1px #ffffff0c;
}
.project-name {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.project-name small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 400;
}

.status {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: max-content;
  max-width: 100%;
  min-height: 26px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--muted);
}
.date {
  font-size: 11px;
  color: var(--muted);
}
.issues {
  margin-top: 39px;
}
.issue-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 13px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.issue-title h2 {
  font-size: 12px;
  font-weight: 500;
  margin: 0;
}
.issue-title h2 span {
  color: var(--muted);
  font-weight: 400;
  margin-left: 6px;
}
.issue-title > span {
  font-size: 11px;
  color: var(--muted);
}
.task-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 47px;
  border-bottom: 1px solid #2b2c3266;
  font-size: 11px;
  cursor: pointer;
  padding: 0 4px;
}
.task-row input {
  appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid #6b6679;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
}
.task-row input:checked {
  background: #a697c3;
  border-color: #a697c3;
  box-shadow: inset 0 0 0 3px var(--bg);
}
.task-id {
  font:
    11px ui-monospace,
    SFMono-Regular,
    monospace;
  color: var(--muted);
}
.task-row.done .task-name {
  color: var(--muted);
}
.task-tag {
  margin-left: auto;
  color: #9b98a5;
  font-size: 11px;
  border: 1px solid var(--line);
  padding: 2px 5px;
  border-radius: 3px;
}
.bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  margin: 20px 0;
}
.inspector {
  border-left: 1px solid var(--line);
  padding-left: 18px;
}
.inspector-top {
  height: 49px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}
.inspector-body h2 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.3px;
  margin: 8px 0 6px;
}
.inspector-body > p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  margin: 0 0 16px;
}
dl {
  margin: 0 0 27px;
}
dl > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0;
  font-size: 11px;
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}
.progress-track {
  height: 4px;
  background: var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 10px;
}
#progress-bar {
  display: block;
  width: 50%;
  height: 100%;
  background: #b3a0d2;
}
.activity {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.activity p {
  font-size: 11px;
  line-height: 1.8;
  color: #b8b8c2;
}
.activity-time {
  font-size: 11px;
  color: var(--muted);
}
footer {
  height: 47px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}
footer .online {
  margin-right: 7px;
}
dialog {
  width: min(550px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid #494953;
  border-radius: 11px;
  box-shadow: 0 30px 100px #0008;
  overflow: auto;
}
dialog::backdrop {
  background: #08090c99;
  backdrop-filter: blur(5px);
}
.dialog-search {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  gap: 10px;
}
.dialog-search > span {
  font-size: 25px;
  color: var(--muted);
}
#search {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--ink);
  height: 42px;
  font-size: 14px;
  outline: none;
}
#search::placeholder {
  color: var(--muted);
}
#close {
  padding: 4px;
}
#count {
  font-size: 11px;
  color: var(--muted);
  margin: 17px 20px 10px;
}
#results {
  list-style: none;
  margin: 0;
  padding: 0 8px 9px;
}
#results button {
  width: 100%;
  display: flex;
  text-align: left;
  gap: 12px;
  align-items: center;
  border: 0;
  padding: 11px 12px;
  border-radius: 5px;
}
#results button:hover,
#results button:focus {
  background: var(--surface);
}
.command-icon {
  font-size: 17px;
  width: 22px;
  text-align: center;
  color: var(--muted);
}
.command-copy strong {
  display: block;
  font-size: 12px;
  font-weight: 400;
}
.command-copy small {
  display: block;
  font-size: 11px;
  margin-top: 5px;
  color: var(--muted);
}
.command-arrow {
  margin-left: auto;
  color: var(--muted);
}
#no-results {
  padding: 20px;
  font-size: 12px;
  color: var(--muted);
}
.dialog-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.dialog-foot kbd {
  margin-right: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[hidden] {
  display: none !important;
}
.light {
  --bg: #fbfbfc;
  --side: #f2f2f5;
  --surface: #ececf2;
  --line: #dddde5;
  --muted: #6c6b77;
  --accent: #786093;
  --ink: #272630;
  color-scheme: light;
}
.light body {
  color: var(--ink);
}
.light nav button[aria-pressed="true"] {
  background: #eeebf3;
}
.light .project-row.selected {
  background: #eeeeF0;
  box-shadow: inset 0 0 0 1px #0000000c;
}
.light .task-row {
  border-color: var(--line);
}
.light .activity p {
  color: var(--muted);
}
@media (min-width: 1550px) {
  main {
    padding: 28px 36px 0;
  }
  .desk {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 36px;
  }
  .task-row {
    min-height: 54px;
  }
}
@media (max-width: 1100px) {
  .app {
    grid-template-columns: 180px 1fr;
  }
  .sidebar {
    padding-inline: 12px;
  }
  .desk {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 20px;
  }
  .inspector {
    padding-left: 18px;
  }
  .table-heading,
  .project-row {
    grid-template-columns: minmax(120px, 1fr) 92px 48px;
  }
  .table-heading > span:nth-child(3),
  .project-row > .date {
    display: none;
  }
  main {
    padding: 30px 24px 0;
  }
  .topbar {
    padding-inline: 24px;
  }
  .search-trigger {
    font-size: 11px;
    gap: 5px;
  }
}
@media (max-width: 850px) {
  .inspector {
    display: none;
  }
  .desk {
    grid-template-columns: 1fr;
  }
  .table-heading,
  .project-row {
    grid-template-columns: minmax(140px, 1fr) 96px 55px 48px;
  }
  .table-heading > span:nth-child(3),
  .project-row > .date {
    display: block;
  }
}
@media (max-width: 600px) {
  .app {
    display: block;
  }
  .sidebar {
    padding: 15px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .brand {
    font-size: 12px;
  }
  .search-trigger {
    margin: 0;
    width: 33px;
    height: 33px;
    overflow: hidden;
    font-size: 0;
    padding: 5px 9px;
  }
  .search-trigger kbd,
  .sidebar nav,
  .sidebar .nav-label,
  .team,
  .sidebar-bottom {
    display: none;
  }
  .topbar {
    height: 48px;
    padding-inline: 20px;
  }
  .top-right {
    font-size: 0;
  }

  main {
    padding: 25px 20px 0;
  }
  .page-title {
    margin-bottom: 25px;
  }
  h1 {
    font-size: 26px;
  }
  .table-heading,
  .project-row {
    grid-template-columns: minmax(0, 1fr) 75px 34px;
    padding-inline: 9px;
    gap: 6px;
  }
  .table-heading > span:nth-child(3),
  .project-row > .date {
    display: none;
  }
  .filters {
    gap: 2px;
  }
  .view-label {
    display: none;
  }
  .project-name {
    font-size: 12px;
    gap: 8px;
  }

  .task-row {
    gap: 8px;
  }
  .task-name {
    font-size: 12px;
  }
  .task-tag {
    font-size: 11px;
  }
  .task-id {
    font-size: 11px;
  }
  .issue-title h2 {
    font-size: 11px;
  }
  footer {
    padding-inline: 20px;
    font-size: 11px;
  }
  .issues {
    margin-top: 30px;
  }
  .bottom {
    font-size: 11px;
  }
  .dialog-foot {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  button:active {
    transform: none;
  }
}

.file-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.file-actions button {
  font-size: 11px;
  min-height: 32px;
  padding: 0 9px;
  color: var(--muted);
}
#save-state[data-error="true"] {
  color: #d8b48b;
}
#add-task {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  min-height: 47px;
  padding: 0 4px;
  color: var(--muted);
}
#task-title {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: 12px;
  padding: 12px 0;
}
#task-title::placeholder {
  color: var(--muted);
}
#add-task button {
  padding: 0 10px;
  font-size: 11px;
}
#task-error {
  font-size: 11px;
  color: #d8b48b;
}
#undo {
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.import-body {
  padding: 26px;
}
.import-body h2 {
  font-size: 18px;
  margin: 0 0 15px;
  font-weight: 500;
}
.import-body p {
  font-size: 12px;
  line-height: 1.7;
}
.import-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
}
.import-actions button {
  padding: 8px 13px;
}
#load-saved {
  color: var(--accent);
}
@media (max-width: 600px) {
  #save-state {
    font-size: 11px;
  }

  .top-right {
    max-width: 155px;
    text-align: right;
  }
  .task-tag {
    font-size: 11px;
  }
  .task-id {
    font-size: 11px;
    white-space: nowrap;
  }
  .task-name {
    flex: 1;
    line-height: 1.5;
    padding: 10px 0;
  }
  .task-row {
    min-height: 49px;
  }
  .bottom {
    font-size: 11px;
    gap: 10px;
  }
  .issue-title > span {
    font-size: 11px;
  }
  .issue-title h2 {
    font-size: 12px;
  }
  footer {
    height: auto;
    min-height: 55px;
    flex-wrap: wrap;
    gap: 6px;
    padding-block: 8px;
  }
  footer > a {
    font-size: 11px;
  }
  .file-actions button {
    font-size: 11px;
  }

  .table-heading,
  .project-row {
    grid-template-columns: minmax(0, 1fr) 75px 34px;
  }
  .project-name > span:last-child {
    min-width: 0;
  }
  .project-name small {
    line-height: 1.4;
  }
}

.import-body p {
  overflow-wrap: anywhere;
}

@media(max-width:650px){#task-title{font-size:16px}.search-trigger{min-height:40px}.workspace main{padding-top:20px}}

.task-name{min-width:0;overflow-wrap:anywhere}

.project-title{font-size:inherit;font-weight:500;line-height:1.4}
.project-row.selected .project-title{font-weight:650}
.selection-mark{display:inline-block;visibility:hidden;margin-left:6px;font-size:11px;line-height:1}
.project-row.selected .selection-mark{visibility:visible}
.project-row:active{transform:none;background:var(--surface)}
.project-lead{font-size:11px;color:var(--muted);white-space:nowrap}
.table-heading>span:last-child,.project-lead{text-align:right}
.status{line-height:1.4}
.activity-label{font-size:11px;color:var(--muted)}
.command-copy{min-width:0;overflow-wrap:anywhere}
.command-arrow{flex-shrink:0;width:14px;text-align:center;visibility:hidden}
#results button:hover .command-arrow,#results button:focus .command-arrow{visibility:visible}
@media(max-width:600px){.project-name{gap:7px}.project-row{min-height:52px}.table-heading{height:34px}}

.project-copy{grid-column:2;min-width:0}
.client-mark{display:block;width:26px;height:26px;color:var(--ink)}
.fern-mark{color:#becbb7}
.common-mark{color:#d2c6b8}
.light .fern-mark{color:#43563e}
.light .common-mark{color:#675342}
@media(max-width:600px){.selection-mark{margin-left:4px}}
