* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: #282931;
  background: #faf9fc;
  font:
    16px/1.45 Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
  background: white;
  border: 1px solid #dcdce1;
  border-radius: 7px;
  padding: 7px 12px;
  color: inherit;
}
button:hover {
  background: #f0eef7;
}
button:disabled {
  opacity: 0.55;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #7555d9;
}
input,
textarea,
select {
  padding: 9px 11px;
  background: white;
  border: 1px solid #dcdce1;
  border-radius: 7px;
  color: inherit;
  max-width: 100%;
}
textarea {
  width: 100%;
  resize: vertical;
  min-height: 110px;
}
label {
  display: grid;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  margin: 12px 0;
}
.primary {
  background: #6650b7;
  color: white;
  border-color: #6650b7;
}
.primary:hover {
  background: #58439f;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: 1px;
}
.brand b {
  background: #d9ceff;
  color: #282036;
  border-radius: 8px;
  padding: 1px 8px;
}
.brand b::first-letter {
  font-weight: 900;
}
#sign {
  min-height: 100vh;
  place-items: center;
  background: #f2effa;
}
#sign:not([hidden]) {
  display: grid;
}
#login {
  width: min(380px, 92vw);
  padding: 32px;
  background: white;
  border: 1px solid #dedbe7;
  border-radius: 15px;
}
#login .primary {
  width: 100%;
  margin-top: 8px;
}
.error {
  color: #a73542;
  font-size: 14px;
}
#shell:not([hidden]) {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  height: 100dvh;
}
aside {
  background: #25252d;
  color: #f5f4fa;
  padding: 25px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
aside .brand {
  margin: 0 10px 36px;
}
aside small {
  color: #a8a6b0;
  margin: 0 12px 9px;
  font-size: 10px;
  letter-spacing: 0.08em;
}
aside button {
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font-size: 14px;
}
aside button:hover,
aside button.active {
  background: #41404b;
}
footer {
  margin-top: auto;
  display: grid;
  gap: 4px;
}
main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
header,
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 26px;
  background: white;
}
header {
  font-size: 13px;
  border-bottom: 1px solid #ecebf0;
  color: #72717b;
}
#who {
  color: #5f4a91;
}
.top {
  align-items: flex-end;
  border-bottom: 1px solid #e6e5ec;
  gap: 12px;
}
.top small {
  color: #7b7686;
  font-size: 11px;
  letter-spacing: 0.12em;
}
.top h1 {
  font-size: 29px;
  letter-spacing: -0.03em;
  margin: 4px 0 0;
}
.tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.tools input {
  width: 190px;
}
.tools button,
.tools input {
  font-size: 14px;
}
#view {
  min-height: 0;
  overflow: auto;
  flex: 1;
}
.board {
  display: flex;
  align-items: stretch;
  gap: 13px;
  padding: 19px 24px;
  height: 100%;
  min-height: 200px;
  width: max-content;
}
.col {
  width: 276px;
  display: flex;
  flex-direction: column;
  max-height: 100%;
  background: #f2f2f5;
  border-radius: 10px;
  border-top: 3px solid var(--tint, #ac9cdd);
}
.colhead {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 10px 6px;
  font-weight: 650;
  font-size: 15px;
  cursor: grab;
}
.count {
  font-size: 12px;
  font-weight: 500;
  color: #716f7c;
}
.colhead button {
  margin-left: auto;
  background: transparent;
  border: 0;
  padding: 1px 5px;
  font-size: 20px;
}
.stack {
  overflow-y: auto;
  min-height: 65px;
  padding: 5px 8px 18px;
  flex: 1;
}
.card {
  position: relative;
  width: 100%;
  text-align: left;
  background: #fff;
  margin-bottom: 8px;
  border: 1px solid #e4e3e9;
  border-radius: 9px;
  box-shadow: 0 1px 2px #2522320b;
  font-size: 14px;
  line-height: 1.45;
  display: block;
  cursor: grab;
  transition:
    box-shadow 0.16s,
    transform 0.16s;
}
.card-open {
  display: block;
  width: 100%;
  text-align: inherit;
  font: inherit;
  cursor: inherit;
  overflow-wrap: anywhere;
  padding: 12px 37px 12px 13px;
  border: 0;
  border-radius: inherit;
}
.card-open:hover { background: white; }
.card-delete {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 29px;
  height: 29px;
  border: 0;
  padding: 0;
  font-size: 20px;
  line-height: 1;
  color: #82565a;
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms;
}
.card:hover .card-delete, .card:focus-within .card-delete {
  opacity: 1;
  pointer-events: auto;
}
@media (hover: none), (pointer: coarse) {
  .card-delete { opacity: 1; pointer-events: auto; }
}
.card-delete:hover, .delete-task:hover { background: #fae9e9; color: #942a36; }
.task-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.delete-task { color: #8d3743; font-size: 13px; }
.card:hover {
  background: white;
  box-shadow: 0 3px 12px #24202c13;
  border-color: #cfc8dd;
}
.card.dragging {
  opacity: 0.38;
}
.card.over {
  box-shadow: inset 0 2px #775fc2;
}
.col.hover {
  background: #e8e4f2;
}
.meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #777582;
  font-size: 12px;
  margin-top: 8px;
  overflow-wrap: anywhere;
}
.avatar {
  display: inline-grid;
  place-items: center;
  background: #e6dff6;
  color: #625083;
  border-radius: 50%;
  width: 21px;
  height: 21px;
  font-size: 11px;
}
.done {
  color: #468b71;
}
.list {
  padding: 18px 26px;
  max-width: 1250px;
}
.row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  padding: 13px;
  border-bottom: 1px solid #e8e7ed;
  background: white;
}
.row span {
  overflow-wrap: anywhere;
}
.muted {
  color: #706e7d;
  font-size: 13px;
}
.online {
  color: #22845e;
}
.pill {
  display: inline-block;
  background: #eeebf7;
  padding: 3px 8px;
  border-radius: 15px;
  font-size: 12px;
}
.group {
  background: white;
  padding: 18px;
  border: 1px solid #e4e2eb;
  border-radius: 10px;
  margin-bottom: 12px;
}
.group h3 {
  margin: 0 0 8px;
}
.actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
dialog {
  margin: 0 0 0 auto;
  padding: 0;
  width: min(600px, 100%);
  height: 100dvh;
  max-height: 100dvh;
  max-width: 100%;
  border: 0;
  border-left: 1px solid #e8e4ed;
  color: #292532;
  background: #fff;
  box-shadow: -8px 0 34px #30243c14;
  overflow: hidden;
  outline: 0;
  opacity: 0;
  transform: translateX(24px);
  transition:
    opacity 140ms ease,
    transform 180ms ease-out,
    display 180ms allow-discrete,
    overlay 180ms allow-discrete;
}
dialog[open] {
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: translateX(0);
}
dialog::backdrop {
  background: rgb(37 31 48 / 0%);
  transition:
    background-color 160ms ease,
    display 180ms allow-discrete,
    overlay 180ms allow-discrete;
}
dialog[open]::backdrop {
  background: rgb(37 31 48 / 23%);
}
@starting-style {
  dialog[open] {
    opacity: 0;
    transform: translateX(24px);
  }
  dialog[open]::backdrop {
    background: rgb(37 31 48 / 0%);
  }
}
.panel-top {
  display: flex;
  justify-content: flex-end;
  flex: none;
  padding: 10px 20px;
  border-bottom: 1px solid #eeebf1;
}
#dialogBody {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 22px clamp(18px, 3vw, 32px) 36px;
}
dialog h2 {
  margin: 6px 0 20px;
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}
dialog h3 {
  margin: 24px 0 10px;
  font-size: 17px;
}
.close {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  background: #f7f5fa;
  border: 1px solid #e7e2ee;
  color: #534b60;
  font-size: 14px;
}
.close span {
  font-size: 21px;
  line-height: 1;
}
.note {
  border-top: 1px solid #eeeaf1;
  padding: 14px 0;
  font-size: 15px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.subject {
  color: #67528b;
  font-size: 13px;
  font-weight: 600;
}
#notice {
  position: fixed;
  bottom: 17px;
  left: 50%;
  transform: translateX(-50%);
  background: #302c3a;
  color: white;
  border-radius: 8px;
  z-index: 10;
  font-size: 14px;
  padding: 8px 14px;
  pointer-events: none;
}
#notice:empty {
  display: none;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
code {
  overflow-wrap: anywhere;
}
@media (max-width: 720px) {
  #shell:not([hidden]) {
    display: flex;
    flex-direction: column;
  }
  aside {
    flex-direction: row;
    align-items: center;
    padding: 6px;
    overflow: auto;
    min-height: 46px;
  }
  aside .brand,
  aside small {
    display: none;
  }
  aside button {
    font-size: 12px;
    white-space: nowrap;
  }
  footer {
    margin: 0;
    display: flex;
  }
  main {
    min-height: 0;
    flex: 1;
  }
  header,
  .top {
    padding: 10px 14px;
  }
  .top {
    align-items: flex-start;
    flex-direction: column;
  }
  .board {
    padding: 10px;
  }
  .col {
    width: 260px;
  }
  .top h1 {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::backdrop {
    animation: none !important;
    transition: none !important;
  }
}
