:root {
  --bg: #f3f1fb;
  --ink: #24232b;
  --muted: #6f6c7a;
  --line: #eeeaf6;
  --violet: #6d4aff;
  --green: #12a35a;
  color-scheme: light;
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.3; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 40px;
  padding: 0 16px;
  background: transparent;
}
.brand, .navlink { color: var(--ink); font-weight: 750; text-decoration: none; font-size: 14px; }
.navlink { color: var(--violet); }
.who { margin: 0 0 0 auto; color: var(--muted); font-size: 13px; }
.top button {
  background: transparent;
  color: var(--violet);
  border: 0;
  min-height: 32px;
  padding: 0 4px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
main { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 4px 0 40px; }
.head { display: flex; align-items: baseline; gap: 10px; min-height: 28px; }
h1 { margin: 0; font-size: 22px; letter-spacing: -0.03em; line-height: 1; }
.range { margin: 0; color: var(--muted); font-size: 14px; }
.note { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.switch { display: flex; align-items: center; gap: 8px; min-height: 32px; margin: 2px 0 8px; }
.tabs { display: flex; gap: 2px; }
.tabs a, .unclaimed {
  color: var(--ink);
  text-decoration: none;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 2px solid transparent;
}
.tabs a[aria-current="page"] { color: var(--violet); border-bottom-color: var(--violet); }
.unclaimed { margin-left: auto; color: var(--violet); font-size: 13px; font-weight: 650; }
.sheet { background: #fff; border-radius: 14px; padding: 2px 10px 6px; }
.cols, .line, .adder {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 150px 90px 40px;
  column-gap: 8px;
  align-items: center;
}
.cols {
  height: 26px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
}
.item { border-top: 1px solid var(--line); }
.line { height: 52px; min-height: 52px; max-height: 56px; }
.c-done, .c-more { display: flex; justify-content: center; }
.c-done form, .c-owner form, .pop form { margin: 0; }
.c-task { min-width: 0; }
.title {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  min-height: 0;
}
.clip { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.is-done .title { color: var(--ink); text-decoration: none; font-weight: 650; }
.circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #cfc9dc;
  background: #fff;
  padding: 0;
  display: grid;
  place-items: center;
  color: #fff;
  min-height: 0;
  cursor: pointer;
}
button.circle:hover, button.circle:focus-visible { border-color: var(--violet); }
.circle.on { background: var(--green); border-color: var(--green); font-size: 13px; line-height: 1; cursor: default; }
.circle.locked { cursor: default; opacity: 0.55; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  height: 28px;
  padding: 0 8px 0 3px;
  border-radius: 999px;
  background: #f3f0ff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 680;
}
.av {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 750;
  flex: none;
}
.nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill.claim {
  background: transparent;
  border: 1.5px dashed #b7b1c8;
  color: var(--violet);
  padding: 0 12px;
  cursor: pointer;
  min-height: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
}
.due { color: var(--muted); font-size: 13px; white-space: nowrap; }
.due.mark { text-decoration: underline dotted; text-underline-offset: 3px; }
.due-m { display: none; margin: 0; }
.menu { position: relative; }
.menu summary {
  width: 36px;
  height: 36px;
  min-height: 36px;
  display: grid;
  place-items: center;
  list-style: none;
  cursor: pointer;
  border-radius: 8px;
  font-size: 18px;
  line-height: 1;
  color: var(--ink);
}
.menu summary::-webkit-details-marker { display: none; }
.pop {
  position: absolute;
  right: 0;
  top: 34px;
  z-index: 6;
  min-width: 132px;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(36, 35, 43, 0.12);
}
.pop button {
  display: block;
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 680;
  text-align: left;
  cursor: pointer;
}
.pop button:hover { background: #f6f4ff; }
.extra { padding: 2px 8px 12px 52px; }
.extra[hidden] { display: none; }
.quiet, .notes { color: var(--muted); }
.quiet { margin: 4px 0; font-size: 13px; }
.notes { margin: 4px 0 8px; white-space: pre-wrap; font-size: 14px; }
.empty { padding: 8px 0 8px 52px; }
.group { margin: 10px 0 0; font-size: 13px; letter-spacing: 0; color: var(--muted); }
.upcoming { border-top: 1px solid var(--line); }
.upcoming > summary { min-height: 36px; color: var(--violet); font-weight: 700; font-size: 13px; cursor: pointer; }
.adder {
  grid-template-columns: 44px minmax(0, 1fr) auto auto;
  min-height: 48px;
  border-top: 1px dashed #ddd7ee;
}
.plus { grid-column: 1; grid-row: 1; text-align: center; color: var(--violet); font-size: 20px; font-weight: 700; }
.adder > input[name="title"] {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  border: 0;
  background: transparent;
  min-height: 40px;
  padding: 0 4px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
}
.add-more { display: contents; }
.date-toggle {
  grid-column: 3;
  grid-row: 1;
  min-height: 32px;
  color: var(--violet);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.date-toggle::-webkit-details-marker { display: none; }
.adder > .primary { grid-column: 4; grid-row: 1; }
.add-body { grid-column: 1 / -1; grid-row: 2; padding: 4px 8px 12px 52px; }
button.primary {
  background: var(--violet);
  color: #fff;
  border: 0;
  border-radius: 999px;
  min-height: 32px;
  padding: 0 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}
.stack { display: grid; gap: 8px; max-width: 32rem; }
label { display: grid; gap: 4px; font-size: 12px; font-weight: 750; color: var(--muted); }
.checkline { grid-template-columns: auto 1fr; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); min-height: 36px; }
.login input, .extra input, .extra textarea, .add-body input, .add-body textarea, .login input[type="password"] {
  width: 100%;
  border: 1px solid #e4e0ee;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  min-height: 40px;
  padding: 8px 10px;
}
textarea { min-height: 72px; }
.banner { margin: 8px 0; }
.undo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
}
.undo p { margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.undo button, button.restore {
  border: 0;
  background: transparent;
  color: var(--violet);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  min-height: 32px;
  padding: 0 8px;
  cursor: pointer;
}
.item.is-deleted .line { grid-template-columns: 44px minmax(0, 1fr) 120px auto; }
.item.is-deleted .c-due { display: none; }
.item.is-deleted .title { cursor: default; }
.bin { margin-top: 10px; }
.login { max-width: 22rem; margin-top: 18px; }
.team { padding: 12px; }
.invite-form, .copyrow, .member { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) auto auto; gap: 8px; align-items: center; }
.invite-form { margin-bottom: 8px; }
.copyrow { margin: 8px 0 4px; grid-template-columns: minmax(0, 1fr) auto; }
.member { min-height: 44px; border-top: 1px solid var(--line); font-size: 14px; }
.member button, .copyrow button { min-height: 36px; border: 0; background: transparent; color: var(--violet); font: inherit; font-weight: 750; cursor: pointer; }
.copyrow input { font-size: 13px; }
@media (max-width: 700px) {
  .invite-form, .member { grid-template-columns: 1fr; }
}
.login .stack { margin-top: 12px; }
@media (max-width: 700px) {
  main { width: min(1120px, calc(100% - 16px)); }
  .cols, .line {
    grid-template-columns: 44px minmax(0, 1fr) minmax(88px, 34%) 40px;
  }
  .due-h, .c-due { display: none; }
  .due-m { display: block; margin-top: 1px; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .line { height: auto; min-height: 60px; max-height: 72px; padding: 6px 0; }
  .menu summary { width: 40px; height: 44px; }
  .circle { width: 26px; height: 26px; }
  .adder { grid-template-columns: 36px minmax(0, 1fr) auto auto; }
  .add-body, .extra, .empty { padding-left: 12px; }
  .item.is-deleted .line { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .item.is-deleted .c-owner { display: none; }
  .undo { align-items: flex-start; }
  .undo p { white-space: normal; }
}
