:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #292724;
  background: #fff;
  font-synthesis: none;
  --red: #dc4c3e;
  --red-dark: #c83f32;
  --muted: #827e78;
  --line: #eeece9;
  --sidebar: #fcfaf8;
  --demo-height: 0px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button {
  color: inherit;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
a {
  color: inherit;
}
button {
  border: 0;
  background: none;
}
input,
textarea {
  max-width: 100%;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #dc4c3e66;
  outline-offset: 1px;
}
h1,
h2,
p {
  margin-top: 0;
}
.icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  vertical-align: middle;
}
.tiny {
  width: 16px;
  height: 16px;
}
.down {
  width: 13px;
  transform: rotate(90deg);
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 5px;
  color: #817c75;
  flex-shrink: 0;
}
.icon-button:hover {
  background: #eeebe6;
  color: #282623;
}
.primary,
.secondary,
.google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 11px 17px;
  font-size: 14px;
  font-weight: 600;
  min-height: 40px;
}
.primary {
  background: var(--red);
  color: white;
}
.primary:hover {
  background: var(--red-dark);
}
.secondary {
  border: 1px solid #e3dfda;
  background: #fff;
}
.secondary:hover {
  background: #f6f4f1;
}
.full {
  width: 100%;
}
.text-button {
  font-size: 14px;
  color: var(--muted);
  margin: 22px auto 0;
  display: block;
}
.text-button:hover {
  color: var(--red);
}
.danger {
  color: #bf3028;
}
.muted {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  top: -100px;
  left: 15px;
  z-index: 100;
  padding: 10px;
  background: white;
}
.skip:focus {
  top: 5px;
}
.loading {
  padding: 60px;
  text-align: center;
  color: var(--muted);
}
.hidden {
  display: none !important;
}
.wordmark {
  font-size: 30px;
  font-weight: 750;
  text-decoration: none;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  letter-spacing: -1.2px;
}
.wordmark-dot {
  color: var(--red);
  margin-left: -8px;
}
.auth-page {
  min-height: 100vh;
  background: #fff;
}
.auth-page > header {
  height: 110px;
  max-width: 1180px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 45px;
}
.auth-page > header > span {
  font-size: 14px;
  color: #918b82;
}
.auth-grid {
  max-width: 1180px;
  min-height: 660px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 32px 45px 60px;
}
.eyebrow,
.step-label {
  display: block;
  font-size: 11px;
  letter-spacing: 1.8px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 20px;
}
.auth-copy h1 {
  font-size: 47px;
  letter-spacing: -2px;
  line-height: 1.13;
  font-weight: 730;
  margin-bottom: 19px;
}
.auth-copy > p {
  font-size: 17px;
  line-height: 1.65;
  color: #827b72;
}
.auth-form {
  width: 350px;
  max-width: 100%;
  margin-top: 35px;
}
.auth-form h2 {
  font-size: 21px;
  letter-spacing: -0.6px;
  margin-bottom: 8px;
}
.auth-form > p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 23px;
}
.google {
  border: 1px solid #dedbd7;
  background: white;
  width: 100%;
  gap: 14px;
  height: 47px;
}
.google:not(:disabled):hover {
  background: #faf8f5;
}
.google svg {
  width: 19px;
  height: 19px;
}
.auth-form .setup-note {
  font-size: 12px;
  line-height: 1.5;
  margin: 10px 0;
  color: #938a7d;
}
.divider {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #99928b;
  font-size: 12px;
  margin: 23px 0;
}
.divider:before,
.divider:after {
  content: "";
  height: 1px;
  background: #eee9e3;
  flex: 1;
}
.auth-form .fineprint {
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
  margin: 24px 0 0;
  color: #a19a92;
}
.auth-page > footer {
  padding: 24px;
  text-align: center;
  font-size: 12px;
  color: #a29b92;
  border-top: 1px solid #f6f1eb;
}
.auth-art {
  position: relative;
  background: #faf4ec;
  border-radius: 28px;
  align-self: center;
  min-height: 495px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.art-note {
  font-family: Georgia, serif;
  font-size: 37px;
  line-height: 1.18;
  transform: rotate(-5deg);
  align-self: flex-start;
  margin-left: 52px;
  margin-top: 8px;
  position: relative;
  z-index: 1;
  color: #5b5045;
}
.art-note em {
  color: #ce624c;
}
.spark {
  position: absolute;
  right: -65px;
  top: 18px;
  color: #d79852;
  font-size: 64px;
  font-style: normal;
}
.art-card {
  position: relative;
  z-index: 1;
  background: white;
  border: 1px solid #eae0d3;
  border-radius: 12px;
  box-shadow: 0 16px 40px #825c3611;
  width: 87%;
  margin-top: 35px;
  transform: rotate(-2deg);
  padding: 21px;
}
.art-top {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  margin-bottom: 20px;
}
.art-top > span:last-child {
  margin-left: auto;
  color: #c2bcb4;
  letter-spacing: 2px;
}
.mini-sun {
  font-size: 23px;
  color: #d79852;
}
.art-task {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  min-height: 45px;
  border-bottom: 1px solid #f5f2ee;
}
.art-task i {
  border: 1px solid #d5cfc8;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  font-size: 11px;
  display: grid;
  place-items: center;
  font-style: normal;
}
.art-task b {
  margin-left: auto;
  display: grid;
  place-items: center;
  background: #f1dbe5;
  width: 23px;
  height: 23px;
  font-weight: 500;
  border-radius: 50%;
  font-size: 9px;
}
.art-task b.peach {
  background: #f7ddbc;
}
.art-task b.sage {
  background: #d9e2d5;
}
.art-task.done i {
  background: #a4b897;
  border-color: #a4b897;
  color: white;
}
.art-task.done > span {
  color: #b2aba3;
  text-decoration: line-through;
}
.art-add {
  color: #cc7668;
  padding-top: 19px;
  font-size: 19px;
}
.art-add > span {
  font-size: 11px;
  margin-left: 7px;
}
.art-tag {
  font-size: 11px;
  margin-top: 33px;
  z-index: 1;
  display: flex;
  gap: 8px;
  align-items: center;
  color: #877c6e;
}
.art-tag > span {
  background: #dbe4d6;
  color: #738866;
  border-radius: 50%;
  padding: 3px 6px;
}
.art-orbit {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid #e8ddcc;
  right: -190px;
  bottom: -180px;
}
.onboarding {
  padding: 36px 7%;
  min-height: 100vh;
  background: linear-gradient(150deg, #fff 65%, #fff8f2);
}
.onboarding-card {
  max-width: 420px;
  margin: 70px auto;
}
.onboarding-card h1 {
  font-size: 32px;
  letter-spacing: -1.2px;
  line-height: 1.2;
}
.onboarding-card > p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 28px;
}
.onboarding form label,
.modal form > label {
  font-size: 13px;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}
form > input:not([type="hidden"]) {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd6cf;
  border-radius: 6px;
  font-size: 15px;
  margin-bottom: 18px;
  background: white;
}
form > button.primary {
  margin-top: 8px;
}
.welcome-icon {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  background: #fae9df;
  color: var(--red);
  border-radius: 15px;
  margin-bottom: 25px;
}
.welcome-icon .icon {
  width: 27px;
  height: 27px;
}
.tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  margin: 0 0 25px;
  gap: 22px;
}
.tabs button {
  font-size: 14px;
  padding: 12px 0;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.tabs button[aria-selected="true"] {
  color: var(--red);
  border-color: var(--red);
  font-weight: 600;
}
.field-help {
  font-size: 12px;
  color: #938c84;
  line-height: 1.6;
  margin: 0 0 18px;
}
.code-input {
  font-family: monospace;
  letter-spacing: 1px;
}
.workspace {
  min-height: 100vh;
}
.workspace.has-demo {
  --demo-height: 32px;
}
.demo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: #f1e7da;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  font-size: 11px;
  color: #75634e;
}
.demo-banner button {
  font-size: 11px;
  font-weight: 600;
  color: #8b493c;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sidebar {
  width: 280px;
  position: fixed;
  top: var(--demo-height);
  bottom: 0;
  left: 0;
  background: var(--sidebar);
  padding: 17px 12px 10px;
  display: flex;
  flex-direction: column;
  z-index: 30;
}
.sidebar-close {
  display: none;
}
.sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
  padding-left: 3px;
}
.profile-button {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  min-width: 0;
  padding: 0;
}
.profile-button strong {
  font-weight: 600;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eadfce;
  color: #6e5940;
  font-size: 10px;
  flex-shrink: 0;
}
.avatar.self {
  width: 27px;
  height: 27px;
  background: #e9bca8;
  color: #784630;
}
.nav-add {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #b43d30;
  padding: 8px 9px;
  margin-bottom: 6px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  border-radius: 5px;
}
.nav-add > span {
  width: 24px;
  height: 24px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.nav-add .icon {
  width: 17px;
  height: 17px;
}
.nav-add kbd {
  margin-left: auto;
  color: #bca79c;
  font-weight: 400;
  font-size: 11px;
}
.nav-add:hover {
  background: #f8e7df;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  width: 100%;
  padding: 9px 11px;
  min-height: 39px;
  border-radius: 5px;
  font-size: 14px;
  color: #4f4b45;
}
.nav-item > .icon {
  color: #8c877e;
}
.nav-item > span:not(.count):not(.lobby-hash) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-item:hover {
  background: #f0ede8;
}
.nav-item.active {
  background: #fce9e2;
  color: #b64033;
}
.nav-item.active > .icon {
  color: #ca5342;
}
.nav-item kbd,
.count {
  margin-left: auto;
  font-size: 12px;
  color: #a29c93;
  font-weight: 400;
}
.nav-item.active .count {
  color: #c57062;
}
.workspace-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 27px 5px 6px 11px;
  font-size: 13px;
  color: #8a8379;
}
.workspace-label strong {
  font-weight: 600;
}
.workspace-label .icon-button {
  width: 25px;
  height: 25px;
}
.workspace-label .icon {
  width: 17px;
}
.lobby-hash {
  font-size: 24px;
  font-weight: 400;
  width: 21px;
  line-height: 20px;
  color: #cb8670;
}
.lobby-hash.tone-1 {
  color: #a3a47c;
}
.selected-lobby {
  font-weight: 500;
}
.lobby-nav .tiny {
  margin-left: auto;
  color: #b5a99e;
}
.sidebar-invite {
  margin: 45px 12px 20px;
  padding: 16px 14px 14px;
  border: 1px solid #ede5dd;
  border-radius: 8px;
  background: #fffdfa;
  position: relative;
}
.invite-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #bc9073;
  background: #f3eade;
  border-radius: 8px;
  margin-bottom: 10px;
}
.invite-icon .icon {
  width: 19px;
}
.sidebar-invite strong {
  font-size: 12px;
  font-weight: 600;
}
.sidebar-invite p {
  font-size: 12px;
  line-height: 1.6;
  color: #81776a;
  margin: 6px 0 13px;
}
.sidebar-invite .secondary {
  font-size: 12px;
  min-height: 30px;
  padding: 6px 12px;
  width: 100%;
  background: transparent;
  border-color: #e7ddd0;
}
.sidebar-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 8px 0;
}
.brand-small {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  letter-spacing: -0.5px;
  color: #a59689;
  font-weight: 650;
}
.brand-small img {
  opacity: 0.55;
}
.main-shell {
  margin-left: 280px;
  padding-top: var(--demo-height);
}
.workspace-top {
  height: 68px;
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.breadcrumb {
  font-size: 12px;
  color: #938d84;
}
.breadcrumb > span {
  margin: 0 11px;
  color: #d7cfc5;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.sync-indicator {
  font-size: 11px;
  color: #9f998f;
}
.share-button {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 12px;
  color: #716b63;
}
.share-button .icon {
  width: 17px;
  height: 17px;
}
.mobile-toggle {
  display: none;
}
.task-main {
  max-width: 820px;
  padding: 34px 55px 60px;
  margin: 0 auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.page-heading h1 {
  font-size: 28px;
  letter-spacing: -0.85px;
  margin: 0 0 10px;
  font-weight: 700;
}
.heading-symbol {
  color: #c7995a;
  display: inline-block;
  font-size: 24px;
  margin-left: 12px;
  vertical-align: 2px;
}
.page-heading p {
  font-size: 13px;
  color: #81796e;
  margin: 0;
}
.page-heading > .icon-button {
  align-self: flex-start;
  margin-top: 3px;
}
.day-summary {
  margin: 24px 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a29b91;
}
.day-summary > span {
  font-size: 11px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.day-summary > span .icon {
  width: 14px;
  height: 14px;
}
.member-avatars {
  display: flex;
  padding-left: 6px;
}
.member-avatars .avatar {
  width: 25px;
  height: 25px;
  margin-left: -5px;
  border: 2px solid white;
  font-size: 9px;
  background: #ecd5cf;
}
.member-avatars .tone-1 {
  background: #e6dfc7;
  color: #7e714e;
}
.member-avatars .tone-2 {
  background: #d5dfd0;
  color: #5e7354;
}
.member-avatars .add-member {
  margin-left: 3px;
  background: white;
  border: 1px dashed #d7cfc4;
  color: #b0a698;
  font-size: 15px;
}
.section-heading {
  display: flex;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.section-heading strong {
  font-weight: 600;
}
.section-heading > span {
  color: #a49c91;
}
.task-row {
  display: flex;
  gap: 12px;
  padding: 17px 0 14px;
  border-bottom: 1px solid var(--line);
  position: relative;
  min-height: 75px;
}
.task-check {
  padding: 0;
  margin-top: 3px;
  width: 18px;
  height: 18px;
  border: 1px solid #bcb7b0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.task-check .icon {
  opacity: 0;
  width: 12px;
  height: 12px;
}
.task-check:hover .icon,
.is-complete .task-check .icon {
  opacity: 1;
}
.task-check.priority-1 {
  border: 2px solid #d54f43;
  background: #fcebe8;
  color: #d54f43;
}
.task-check.priority-2 {
  border: 2px solid #df9d3b;
  background: #fff5e4;
  color: #df9d3b;
}
.task-check.priority-3 {
  border: 2px solid #5687ca;
  background: #edf3fc;
  color: #5687ca;
}
.is-complete .task-check {
  background: #b4b8ab;
  border-color: #b4b8ab;
  color: white;
}
.task-content {
  text-align: left;
  padding: 0;
  min-width: 0;
  flex: 1;
  display: block;
}
.task-title {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  color: #3e3932;
}
.task-description {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  color: #81796e;
  margin-top: 3px;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.task-metadata {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 10px;
  color: #857a6d;
  margin-top: 7px;
  min-height: 13px;
}
.task-metadata .icon {
  width: 12px;
  height: 12px;
  margin-right: 4px;
  vertical-align: -2px;
}
.task-date {
  color: #a08d74;
}
.task-date.due-today {
  color: #7c9572;
}
.task-date.overdue {
  color: #ce594a;
}
.task-author {
  margin-left: auto;
}
.task-actions {
  position: absolute;
  right: 0;
  top: 9px;
  display: flex;
  opacity: 0;
  background: white;
}
.task-row:hover .task-actions,
.task-row:focus-within .task-actions {
  opacity: 1;
}
.task-actions .icon-button {
  width: 27px;
  height: 27px;
}
.task-actions .icon {
  width: 15px;
  height: 15px;
}
.is-complete .task-title {
  text-decoration: line-through;
  color: #aaa299;
}
.add-task-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 0;
  color: #b3aaa0;
  font-size: 13px;
  width: 100%;
  text-align: left;
}
.add-task-row .icon {
  color: #cf7361;
  width: 18px;
  height: 18px;
}
.add-task-row:hover {
  color: #bd5140;
}
.list-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #c4b8aa;
  font-size: 10px;
  margin-top: 68px;
  white-space: nowrap;
}
.footer-line {
  height: 1px;
  background: #f2ece4;
  flex: 1;
}
.task-form {
  border: 1px solid #d6cfc5;
  border-radius: 9px;
  margin: 12px 0;
  padding: 14px 14px 0;
  overflow: visible;
}
.task-form > input.task-title-input {
  border: none;
  margin: 0;
  padding: 3px 0;
  font-size: 15px;
  font-weight: 600;
}
.task-form > input.task-title-input:focus {
  outline: none;
}
.task-form textarea {
  width: 100%;
  border: none;
  resize: vertical;
  font-size: 13px;
  padding: 7px 0;
  color: #80766b;
  line-height: 1.5;
}
.task-form textarea:focus {
  outline: none;
}
.task-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 12px 0 15px;
}
.task-options > label {
  display: flex;
  align-items: center;
  border: 1px solid #e6e0d8;
  border-radius: 5px;
  padding: 4px 6px;
  gap: 5px;
  color: #a29383;
}
.task-options .icon {
  width: 15px;
  height: 15px;
}
.task-options input,
.task-options select {
  font-size: 12px;
  color: #897969;
  max-width: 160px;
  border: 0;
  background: white;
}
.option-picker {
  position: relative;
}
.option-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  border: 1px solid #e6e0d8;
  border-radius: 5px;
  padding: 5px 8px;
  color: #6b655f;
  background: white;
  font-size: 12px;
}
.option-trigger:hover,
.option-trigger[aria-expanded="true"] {
  background: #f7f6f4;
  border-color: #c9c3bc;
}
.option-trigger .option-chevron {
  width: 11px;
  height: 11px;
  transform: rotate(90deg);
  margin-left: 2px;
  color: #928c85;
}
.priority-flag {
  width: 17px !important;
  height: 17px !important;
}
.priority-color-1 {
  color: #d1453b;
  fill: #d1453b;
}
.priority-color-2 {
  color: #eb8909;
  fill: #eb8909;
}
.priority-color-3 {
  color: #246fe0;
  fill: #246fe0;
}
.priority-color-4 {
  color: #808080;
}
.option-menu {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  z-index: 80;
  width: 242px;
  max-width: calc(100vw - 48px);
  padding: 5px;
  background: #fff;
  border: 1px solid #e8e6e3;
  border-radius: 10px;
  box-shadow:
    0 4px 24px #00000021,
    0 1px 4px #0000000a;
}
.option-menu[hidden] {
  display: none;
}
.option-picker.opens-up .option-menu {
  top: auto;
  bottom: calc(100% + 7px);
}
.option-menu > button {
  width: 100%;
  min-height: 39px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 10px;
  border-radius: 5px;
  text-align: left;
  font-size: 14px;
  color: #34312d;
}
.option-menu > button:hover,
.option-menu > button:focus-visible {
  background: #f3f2f0;
  outline: none;
}
.option-menu kbd {
  margin-left: auto;
  color: #aaa49d;
  font-size: 11px;
}
.option-menu .option-selected {
  width: 16px;
  height: 16px;
  color: #dc4c3e;
  visibility: hidden;
}
.option-menu [aria-checked="true"] .option-selected {
  visibility: visible;
}
.task-form-footer {
  border-radius: 0 0 9px 9px;
}
.task-options select {
  appearance: none;
  padding-right: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Cpath d='m2 3 3 3 3-3' fill='none' stroke='%23897969'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
}
.task-form-footer {
  border-top: 1px solid #eee7df;
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 -14px;
  padding: 10px 12px;
}
.option-choice-icon {
  display: inline-flex;
  align-items: center;
}
.option-choice-label {
  flex: 1;
}
.option-menu {
  z-index: 130;
}
.option-menu .option-selected {
  margin-left: auto;
}
.time-option input {
  width: 95px;
}
.recurrence-label,
.subtask-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.subtask-count {
  color: #777;
}
.subtask-context {
  font-size: 12px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 2px 0 12px;
}
.subtask-context .icon {
  width: 16px;
  height: 16px;
}
.subtask-list {
  margin-left: 30px;
  padding-left: 8px;
  border-left: 1px solid #ece9e5;
}
.subtask-list .task-row {
  padding-top: 12px;
  padding-bottom: 10px;
}
.subtask-list .task-title {
  font-size: 13px;
}
.task-editor-modal {
  width: 560px;
  overflow: visible;
  max-height: calc(100vh - 50px);
}
.task-editor-modal h2 {
  font-size: 17px;
  margin-bottom: 16px;
}
.task-editor-modal .task-form {
  margin: 0;
  border: 0;
}
.task-editor-modal .task-form-footer {
  margin: 0 -14px -22px;
  padding-bottom: 16px;
}
.upcoming-main {
  max-width: none;
  padding: 30px 30px 0;
}
.upcoming-main .page-heading {
  margin: 0 0 5px;
}
.upcoming-main .page-heading h1 {
  font-size: 26px;
}
.upcoming-main .search-bar {
  margin-top: 10px;
}
.upcoming-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0 10px;
  min-height: 32px;
  gap: 10px;
}
.upcoming-toolbar > strong {
  font-size: 14px;
  font-weight: 500;
  color: #444;
}
.week-controls {
  display: flex;
  gap: 2px;
  align-items: center;
}
.week-controls .icon-button {
  width: 26px;
  height: 28px;
}
.week-controls .icon {
  width: 15px;
  height: 15px;
}
.previous {
  transform: rotate(180deg);
}
.calendar-today {
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 12px;
  line-height: 26px;
  padding: 0 9px;
  color: #555;
  background: white;
}
.calendar-today:hover {
  background: #f3f3f3;
}
.overdue-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #777;
  padding: 6px 8px;
  margin-left: 7px;
  border-radius: 4px;
}
.overdue-toggle.selected,
.overdue-toggle:hover {
  background: #f4f4f4;
}
.overdue-toggle > span {
  color: #cf483b;
}
.calendar-layout-menu {
  position: relative;
  color: #777;
  font-size: 12px;
  align-self: flex-start;
  margin-top: 6px;
  z-index: 60;
}
.calendar-layout-menu > summary {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  list-style: none;
  padding: 4px 7px;
  border-radius: 4px;
}
.calendar-layout-menu > summary::-webkit-details-marker {
  display: none;
}
.calendar-layout-menu .icon {
  width: 16px;
  height: 16px;
}
.calendar-layout-menu > div {
  position: absolute;
  right: 0;
  top: calc(100% + 7px);
  width: 180px;
  background: white;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 5px;
  box-shadow: 0 5px 20px #0002;
}
.calendar-layout-menu button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 10px;
  text-align: left;
  font-size: 13px;
  border-radius: 4px;
}
.calendar-layout-menu button:hover {
  background: #f5f5f5;
}
.calendar-layout-menu button .icon:last-child:not(:first-child) {
  margin-left: auto;
  color: #dc4c3e;
}
.calendar-with-plan {
  display: flex;
  border-top: 1px solid #ececec;
  min-width: 0;
}
.calendar-board {
  flex: 1;
  min-width: 0;
  overflow: auto;
}
.calendar-week {
  min-width: 780px;
}
.calendar-days,
.calendar-all-day {
  display: grid;
  grid-template-columns: 52px repeat(7, minmax(0, 1fr));
}
.calendar-day {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 43px;
  font-size: 12px;
  color: #777;
  border-bottom: 1px solid #ececec;
  background: white;
}
.calendar-day strong {
  font-size: 12px;
  font-weight: 500;
  padding: 3px 4px;
  border-radius: 4px;
}
.calendar-day.is-today {
  color: #dc4c3e;
}
.calendar-day.is-today strong {
  background: #dc4c3e;
  color: white;
}
.calendar-day.is-selected:not(.is-today) {
  background: #f8f8f8;
  color: #333;
}
.calendar-corner {
  border-bottom: 1px solid #ececec;
}
.calendar-all-day {
  border-bottom: 1px solid #ddd;
  min-height: 85px;
}
.all-day-label {
  font-size: 10px;
  text-align: center;
  color: #999;
  padding-top: 9px;
  background: white;
}
.all-day-column {
  border-left: 1px solid #ededed;
  position: relative;
  padding: 5px 3px 18px;
  min-height: 85px;
}
.all-day-add {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 20px;
  color: #bbb;
  opacity: 0;
}
.all-day-column:hover .all-day-add,
.all-day-add:focus-visible {
  opacity: 1;
}
.all-day-add .icon {
  width: 13px;
  height: 13px;
}
.calendar-hours-scroll {
  height: calc(100vh - 295px);
  min-height: 350px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.calendar-hours {
  display: grid;
  grid-template-columns: 52px repeat(7, minmax(0, 1fr));
  grid-template-rows: repeat(48, 36px);
  position: relative;
}
.calendar-hour-label {
  font-size: 10px;
  color: #999;
  position: relative;
  top: -6px;
  background: white;
  z-index: 3;
  text-align: right;
  padding-right: 9px;
  pointer-events: none;
}
.calendar-slot {
  border-left: 1px solid #ececec;
  border-top: 1px solid #eee;
  min-width: 0;
  padding: 0;
  outline-offset: -2px;
}
.calendar-slot.half-hour {
  border-top: 1px solid #f6f6f6;
}
.calendar-slot:hover {
  background: #f6f7f8;
}
.calendar-task {
  display: flex;
  gap: 4px;
  min-width: 0;
  align-items: flex-start;
  position: relative;
  border-radius: 4px;
  background: #f0efed;
  margin-bottom: 3px;
  padding: 4px 4px 4px 3px;
  color: #4d4944;
  font-size: 11px;
  line-height: 1.4;
  border-left: 2px solid #aaa;
}
.calendar-task.cal-priority-1 {
  background: #f9e5e3;
  border-left-color: #d1453b;
}
.calendar-task.cal-priority-2 {
  background: #fff0d9;
  border-left-color: #eb8909;
}
.calendar-task.cal-priority-3 {
  background: #e3ebfc;
  border-left-color: #246fe0;
}
.calendar-task-check {
  width: 12px;
  height: 12px;
  border: 1px solid currentColor;
  border-radius: 50%;
  margin: 2px 0 0;
  padding: 0;
  flex-shrink: 0;
  opacity: 0.45;
}
.calendar-task-check .icon {
  width: 9px;
  height: 9px;
  opacity: 0;
  vertical-align: top;
}
.calendar-task-check:hover .icon {
  opacity: 1;
}
.calendar-task-title {
  padding: 0;
  text-align: left;
  min-width: 0;
  font-size: 11px;
  line-height: 1.4;
  flex: 1;
  overflow: hidden;
}
.calendar-task-title > span {
  display: block;
  overflow-wrap: anywhere;
}
.calendar-task-title small {
  display: block;
  font-size: 10px;
  line-height: 1.4;
  color: #8e8279;
  margin-top: 2px;
}
.calendar-task-title .icon {
  width: 11px;
  height: 11px;
  vertical-align: -1px;
}
.timed-task {
  z-index: 5;
  align-self: stretch;
  margin-top: 1px;
  margin-bottom: 1px;
  overflow: hidden;
}
.calendar-plan {
  width: 265px;
  flex-shrink: 0;
  padding: 15px;
  border-left: 1px solid #eee;
  max-height: calc(100vh - 210px);
  overflow: auto;
}
.calendar-plan h2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  margin-bottom: 15px;
}
.calendar-plan > p {
  font-size: 13px;
  line-height: 1.8;
  color: #888;
}
.calendar-plan .task-actions {
  display: none;
}
.calendar-plan .task-author {
  display: none;
}
.upcoming-week-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  border: 1px solid #e9e2d9;
  border-radius: 12px;
  background: #faf7f2;
  padding: 5px;
}
.upcoming-week-strip button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 0;
  padding: 7px 0 6px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 12px;
  color: #695c51;
}
.upcoming-week-strip strong {
  font-size: 16px;
  font-weight: 650;
}
.upcoming-week-strip button:hover:not(:disabled) {
  background: #f2eae0;
}
.upcoming-week-strip button[aria-pressed="true"] {
  border-color: #d9a698;
  background: #f8e8e2;
  color: var(--red-dark);
}
.upcoming-week-strip button[aria-current="date"] strong {
  color: var(--red-dark);
}
.agenda-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
}
.agenda-dot.has-tasks {
  background: currentColor;
}
.upcoming-main:has(.agenda-header) {
  max-width: 860px;
  margin-inline: auto;
  padding-bottom: 56px;
}
.agenda-header {
  position: sticky;
  top: var(--demo-height);
  z-index: 20;
  padding: 4px 0 12px;
  background: #fff;
}
.agenda-header .upcoming-toolbar {
  margin-top: 0;
}
.upcoming-agenda {
  padding-top: 6px;
}
@media (min-width: 761px) {
  .upcoming-agenda .task-row {
    min-height: 0;
    padding-block: 9px;
  }
}
.upcoming-day {
  margin-bottom: 24px;
  scroll-margin-top: calc(var(--demo-height) + 136px);
}
.upcoming-day h2 {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: 15px;
  padding: 10px 0;
  border-bottom: 1px solid #ece6de;
  margin: 0;
}
.upcoming-day h2 > :is(span, time) {
  font-size: 12px;
  font-weight: 400;
  color: #716960;
}
.upcoming-day.overdue-section > h2 {
  color: var(--red-dark);
}
.upcoming-day .add-task-row {
  padding: 10px 0;
  font-size: 13px;
}
.load-more-days {
  display: block;
  margin: 0 auto;
}
@media (max-width: 1100px) {
  .calendar-week {
    min-width: 750px;
  }
  .calendar-plan {
    width: 230px;
  }
  .upcoming-main {
    padding: 24px 20px 0;
  }
}
@media (max-width: 760px) {
  .upcoming-main {
    padding: 22px 15px 0;
  }
  .upcoming-main .page-heading h1 {
    font-size: 25px;
  }
  .upcoming-toolbar > strong {
    font-size: 12px;
  }
  .overdue-toggle {
    font-size: 11px;
    margin-left: 1px;
    padding: 6px 3px;
  }
  .calendar-week {
    min-width: 800px;
  }
  .calendar-hours-scroll {
    height: calc(100vh - 295px);
  }
  .calendar-plan {
    position: fixed;
    right: 0;
    top: var(--demo-height);
    bottom: 0;
    width: min(320px, 85vw);
    z-index: 70;
    background: white;
    box-shadow: -5px 0 35px #0002;
    max-height: none;
    padding: 20px;
  }
  .option-menu {
    width: 220px;
  }
  .task-editor-modal {
    padding: 20px;
  }
  .task-editor-modal .task-form-footer {
    margin-bottom: -20px;
  }
  .task-options {
    gap: 6px;
  }
  .task-options .option-trigger {
    font-size: 12px;
  }
  .subtask-list {
    margin-left: 18px;
    padding-left: 7px;
  }
}
.task-form-footer > span {
  font-size: 11px;
  color: #a09587;
  margin-right: auto;
  max-width: 45%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.task-form-footer > span .icon {
  width: 14px;
  height: 14px;
}
.task-form-footer button {
  font-size: 12px;
  min-height: 32px;
  padding: 7px 12px;
}
.task-section h2 {
  font-size: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  margin: 10px 0 0;
}
.task-section h2 span {
  font-weight: 400;
  font-size: 12px;
  color: #a79c8f;
  margin-left: 10px;
}
.empty-state {
  text-align: center;
  padding: 45px 20px;
}
.empty-state h2 {
  font-size: 19px;
  letter-spacing: -0.4px;
  margin: 18px 0 10px;
}
.empty-state p {
  font-size: 13px;
  line-height: 1.6;
  color: #a19484;
}
.empty-state .primary {
  font-size: 12px;
  margin-top: 8px;
}
.empty-art {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: auto;
  background: #f4ede3;
  border: 10px solid #fcf8f3;
  border-radius: 50%;
  color: #be9873;
}
.empty-art .icon {
  width: 30px;
  height: 30px;
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e8dfd3;
  padding: 5px 10px;
  border-radius: 7px;
  margin-bottom: 18px;
  color: #b0a18e;
}
.search-bar input {
  width: 100%;
  border: 0;
  font-size: 14px;
  padding: 5px;
}
.search-bar input:focus {
  outline: 0;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #211a1445;
  display: grid;
  place-items: center;
  padding: 20px;
  backdrop-filter: blur(2px);
}
.modal {
  background: white;
  border-radius: 13px;
  padding: 27px;
  width: 460px;
  max-width: 100%;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 20px 100px #211a1426;
}
.modal h2 {
  font-size: 21px;
  letter-spacing: -0.6px;
  margin: 0 0 10px;
}
.modal-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.modal .step-label {
  font-size: 10px;
  margin: 0 0 10px;
}
.modal-heading + .muted {
  margin-top: 3px;
}
.member-list {
  padding: 5px 0 20px;
}
.member-list > div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 13px 0;
  font-size: 13px;
}
.member-list > div > strong {
  font-weight: 500;
}
.member-list > div > span:last-child {
  margin-left: auto;
  color: #a89b8a;
  font-size: 11px;
}
.share-code {
  background: #faf6f0;
  border: 1px solid #eee5d9;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 17px;
}
.share-code > label {
  font-size: 12px;
  color: #a2917b;
}
.share-code > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 7px 0;
}
.share-code code {
  font-size: 18px;
  letter-spacing: 1px;
  overflow-wrap: anywhere;
}
.share-code p {
  font-size: 11px;
  color: #a29585;
  line-height: 1.6;
  margin: 6px 0 0;
}
.modal > .field-help {
  margin: 9px 0 0;
}
.modal .tabs {
  margin-top: 12px;
}
.modal .task-form {
  margin: 12px -8px 0;
}
.modal .task-form-footer > span {
  display: none;
}
.modal .task-form-footer {
  justify-content: flex-end;
}
.modal-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 25px;
}
#notifications {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  max-width: calc(100% - 30px);
}
.toast {
  padding: 12px 20px;
  border-radius: 7px;
  background: #37322d;
  color: #fff;
  font-size: 13px;
  box-shadow: 0 5px 25px #0002;
  line-height: 1.5;
}
.toast.error {
  background: #95392f;
}
.error-panel {
  max-width: 550px;
  margin: 80px auto;
  padding: 30px;
  font-size: 15px;
}
.sidebar-scrim {
  display: none;
}
.rotate-button {
  margin-top: 9px;
}
@media (min-width: 1500px) {
  .task-main {
    padding-top: 55px;
    max-width: 890px;
  }
  .task-row {
    padding-top: 20px;
    padding-bottom: 18px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 250px;
  }
  .main-shell {
    margin-left: 250px;
  }
  .task-main {
    padding: 28px 35px 45px;
  }
  .workspace-top {
    padding: 0 28px;
  }
  .sync-indicator {
    display: none;
  }
  .auth-grid {
    gap: 35px;
  }
  .auth-copy h1 {
    font-size: 40px;
  }
  .art-card {
    padding: 17px;
  }
  .art-task {
    font-size: 11px;
  }
  .art-note {
    margin-left: 35px;
    font-size: 33px;
  }
  .art-tag {
    font-size: 10px;
  }
  .sidebar-invite {
    margin-top: 28px;
  }
}
@media (max-width: 760px) {
  .sidebar-close {
    display: inline-flex;
  }
  .sidebar {
    visibility: hidden;
    transform: translateX(-100%);
    transition: transform 0.18s;
    width: 280px;
  }
  .sidebar.is-open {
    visibility: visible;
    transform: translateX(0);
  }
  .sidebar-scrim {
    display: block;
    position: fixed;
    inset: var(--demo-height) 0 0;
    background: #211a1455;
    z-index: 20;
  }
  .main-shell {
    margin-left: 0;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .workspace-top {
    height: 59px;
    padding: 0 17px;
    gap: 10px;
  }
  .breadcrumb {
    margin-right: auto;
    font-size: 11px;
    max-width: 58%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .breadcrumb > span {
    margin: 0 6px;
  }
  .task-main {
    padding: 20px 23px 45px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .day-summary {
    margin: 23px 0 27px;
  }
  .task-title {
    font-size: 14px;
  }
  .task-row {
    gap: 10px;
  }
  .task-description {
    font-size: 12px;
  }
  .task-actions {
    opacity: 1;
    position: static;
    flex-direction: column;
    margin-top: -2px;
    background: none;
  }
  .task-actions .icon-button {
    height: 25px;
    width: 22px;
  }
  .task-actions .icon {
    width: 13px;
  }
  .task-author {
    font-size: 10px;
  }
  .task-check {
    width: 19px;
    height: 19px;
  }
  .demo-detail {
    display: none;
  }
  .demo-banner {
    gap: 20px;
  }
  .list-footer {
    font-size: 9px;
    gap: 8px;
    margin-top: 45px;
  }
  .auth-page > header {
    height: 85px;
    padding: 0 25px;
  }
  .auth-page > header > span {
    display: none;
  }
  .auth-grid {
    display: block;
    padding: 20px 30px 50px;
    max-width: 480px;
    min-height: 0;
  }
  .auth-copy h1 {
    font-size: 41px;
  }
  .auth-copy > p {
    font-size: 15px;
  }
  .auth-form {
    width: 100%;
    margin-top: 30px;
  }
  .auth-art {
    display: none;
  }
  .auth-page > footer {
    font-size: 11px;
  }
  .onboarding {
    padding: 25px;
  }
  .onboarding-card {
    margin: 55px auto;
  }
  .onboarding-card h1 {
    font-size: 30px;
  }
  .share-code code {
    font-size: 15px;
    letter-spacing: 0;
  }
  .modal {
    padding: 22px;
  }
  .task-form-footer > span {
    max-width: 30%;
  }
  .task-options input {
    max-width: 135px;
  }
  .modal .step-label {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
.modal.task-editor-modal {
  width: 560px;
  overflow: visible;
  max-height: calc(100vh - 50px);
}
.modal.task-editor-modal .task-form {
  margin: 0;
  border: 0;
}
.modal.task-editor-modal .task-form-footer {
  margin: 0 -14px -22px;
  padding-bottom: 16px;
}
.calendar-week {
  position: relative;
}
.calendar-now {
  align-self: start;
  border-top: 1px solid #dc4c3e;
  position: relative;
  z-index: 8;
  pointer-events: none;
}
.calendar-now:before {
  content: "";
  position: absolute;
  left: -3px;
  top: -3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #dc4c3e;
}
.subtask-expand {
  align-self: center;
  margin-left: 4px;
}
@media (max-width: 760px) {
  .modal.task-editor-modal {
    padding: 20px;
  }
  .modal.task-editor-modal .task-form-footer {
    margin-bottom: -20px;
  }
}
.chat-main {
  max-width: 1050px;
  padding: 14px 40px 0;
  height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
}
#chat-root {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.lobby-chat {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  border: 1px solid #eee9e3;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background: #fcfbf9;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  background: white;
  border-bottom: 1px solid #eee9e3;
}
.chat-room-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #b96552;
  background: #faeee6;
}
.chat-room-icon .icon {
  width: 23px;
  height: 23px;
}
.chat-header h1 {
  font-size: 17px;
  letter-spacing: -0.4px;
  margin: 0 0 5px;
  font-weight: 650;
}
.chat-header p {
  font-size: 11px;
  color: #92877a;
  margin: 0;
}
.chat-header-actions {
  display: flex;
  gap: 5px;
  margin-left: auto;
}
.chat-header-actions .selected {
  background: #faeae2;
  color: #c65b47;
}
.chat-search {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 20px;
  background: white;
  border-bottom: 1px solid #eee9e3;
  color: #aaa095;
}
.chat-search .icon {
  width: 17px;
  height: 17px;
}
.chat-search input {
  border: 0;
  background: none;
  font-size: 12px;
  flex: 1;
  min-width: 0;
  padding: 6px 0;
  color: #5d554b;
}
.chat-search input:focus {
  outline: none;
}
.chat-search .text-button {
  margin: 0;
  font-size: 11px;
  color: #a07862;
}
.chat-filter-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 12px;
  background: #f8f2e8;
  color: #8a7255;
}
.chat-filter-label > span {
  font-size: 10px;
  color: #9b8e7b;
  flex: 1;
}
.chat-filter-label > button {
  margin-left: auto;
  font-size: 11px;
  text-decoration: underline;
}
.pinned-banner {
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  padding: 11px 22px;
  background: #fbf5ec;
  color: #a28a65;
  border-bottom: 1px solid #eee5d8;
}
.pinned-banner > .icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.pinned-banner > span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 11px;
  color: #9a8c79;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.pinned-banner strong {
  font-size: 11px;
  color: #96734c;
  font-weight: 600;
}
.chat-feed {
  flex: 1;
  min-height: 100px;
  overflow-y: auto;
  padding: 10px 25px 20px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.chat-load-top {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 5px 0;
}
.chat-load-top .secondary {
  font-size: 11px;
  min-height: 29px;
  padding: 5px 10px;
  color: #9a8b79;
  background: #fffefa;
}
.chat-date {
  display: flex;
  justify-content: center;
  margin: 18px 0 22px;
}
.chat-date span {
  font-size: 10px;
  color: #a19381;
  background: #eee8de;
  border-radius: 5px;
  padding: 5px 10px;
}
.chat-message {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 19px;
  max-width: 85%;
  scroll-margin: 50px;
}
.chat-avatar {
  width: 25px;
  height: 25px;
  font-size: 9px;
  margin-top: 21px;
  background: #e1d9c8;
}
.message-column {
  min-width: 0;
  position: relative;
}
.message-author {
  font-size: 10px;
  font-weight: 550;
  color: #9f8e7b;
  margin: 0 0 6px 3px;
}
.message-bubble {
  background: white;
  border: 1px solid #eee9e1;
  border-radius: 0 11px 11px 11px;
  padding: 10px 12px 6px;
  box-shadow: 0 1px 1px #8f705008;
  min-width: 100px;
}
.message-body {
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #51483d;
}
.message-body:empty {
  display: none;
}
.message-body a {
  color: #a05f4b;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.message-meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: #b8ab9a;
  margin-top: 5px;
}
.message-meta .icon {
  width: 10px;
  height: 10px;
}
.chat-message.mine {
  margin-left: auto;
  flex-direction: row-reverse;
}
.chat-message.mine .chat-avatar {
  display: none;
}
.chat-message.mine .message-author {
  text-align: right;
  margin-right: 3px;
}
.chat-message.mine .message-bubble {
  background: #f4e8dd;
  border-color: #edddcc;
  border-radius: 11px 0 11px 11px;
}
.message-actions {
  position: absolute;
  top: 19px;
  left: calc(100% + 5px);
  display: flex;
  align-items: center;
  gap: 1px;
  background: white;
  border: 1px solid #eee6da;
  border-radius: 6px;
  box-shadow: 0 3px 10px #7961400d;
  opacity: 0;
  z-index: 4;
  padding: 2px;
}
.chat-message.mine .message-actions {
  left: auto;
  right: calc(100% + 5px);
}
.chat-message:hover .message-actions,
.chat-message:focus-within .message-actions {
  opacity: 1;
}
.message-actions button {
  width: 25px;
  height: 27px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  color: #a49480;
}
.message-actions button:hover {
  background: #f4eee5;
  color: #946e4d;
}
.message-actions .icon {
  width: 14px;
  height: 14px;
}
.message-reply-quote {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  border-left: 3px solid #cda58c;
  padding: 7px 9px;
  background: #f5f1eb;
  border-radius: 3px;
  text-align: left;
  margin-bottom: 8px;
  max-width: 400px;
}
.message-reply-quote strong {
  font-size: 10px;
  color: #b28160;
  font-weight: 600;
}
.message-reply-quote span {
  font-size: 11px;
  line-height: 1.4;
  color: #a2927c;
  max-height: 33px;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.mine .message-reply-quote {
  background: #ecddcd;
  border-left-color: #bc9273;
}
.message-files {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 5px 0;
}
.message-file {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  width: 100%;
  padding: 9px;
  border: 1px solid #e8decf;
  border-radius: 7px;
  background: #fbf8f2;
  color: #aa8a62;
}
.message-file > .icon {
  width: 22px;
  height: 22px;
}
.message-file > .icon:last-child {
  width: 15px;
  height: 15px;
  margin-left: 10px;
}
.message-file > span {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.message-file strong {
  font-size: 12px;
  font-weight: 500;
  color: #81705b;
  overflow-wrap: anywhere;
}
.message-file small {
  font-size: 10px;
  color: #aa9d8a;
}
.deleted-message {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #b0a393;
  font-size: 12px;
  font-style: italic;
  line-height: 1.6;
}
.deleted-message .icon {
  width: 14px;
  height: 14px;
}
.deleted .message-bubble {
  background: #f3eee6;
  border-color: transparent;
  box-shadow: none;
}
.message-highlight .message-bubble {
  outline: 2px solid #d3af78;
  outline-offset: 3px;
}
.chat-composer {
  background: #fff;
  border-top: 1px solid #eee9e3;
  padding: 14px 18px 10px;
  flex-shrink: 0;
}
.composer-controls {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  border: 1px solid #e6dfd5;
  border-radius: 9px;
  padding: 8px;
  background: #fff;
}
.composer-controls:focus-within {
  border-color: #cbb69e;
  box-shadow: 0 0 0 2px #cbb69e15;
}
.attach-button {
  cursor: pointer;
  position: relative;
  color: #ad9e8b;
  overflow: hidden;
}
.attach-button input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.composer-controls textarea {
  flex: 1;
  min-width: 0;
  resize: vertical;
  min-height: 32px;
  max-height: 130px;
  padding: 7px 1px 4px;
  border: 0;
  background: none;
  font-size: 13px;
  line-height: 1.5;
  color: #635647;
}
.composer-controls textarea:focus {
  outline: none;
}
.composer-controls textarea::placeholder {
  color: #b3a694;
}
.send-button {
  width: 33px;
  height: 33px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #c06c54;
  color: white;
  flex-shrink: 0;
}
.send-button:hover {
  background: #a95440;
}
.send-button .icon {
  width: 17px;
  height: 17px;
}
.composer-hint {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 9px;
  color: #bdaf9c;
  padding: 9px 2px 0;
}
.composer-reply {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 9px 11px;
  border-left: 3px solid #c49677;
  background: #f7f1e8;
  border-radius: 4px;
  color: #b5987d;
}
.composer-reply > .icon {
  width: 16px;
  height: 16px;
}
.composer-reply > div {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.composer-reply strong {
  font-size: 11px;
  color: #a17d5b;
}
.composer-reply span {
  font-size: 11px;
  color: #b0a08c;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.composer-files {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}
.composer-files > span {
  display: flex;
  gap: 7px;
  align-items: center;
  border: 1px solid #e9dfd1;
  border-radius: 6px;
  padding: 7px;
  background: #fcf8f2;
  color: #aa9272;
  max-width: 100%;
}
.composer-files .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.composer-files > span > span {
  font-size: 11px;
  overflow-wrap: anywhere;
}
.composer-files small {
  font-size: 9px;
  color: #b9ab97;
}
.composer-files button {
  display: flex;
  padding: 0;
  margin-left: 5px;
}
.chat-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 35px 15px;
  text-align: center;
  color: #ad9a82;
  font-size: 13px;
}
.chat-empty > span {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  background: #f1e8da;
  border-radius: 15px;
  margin-bottom: 17px;
  color: #bb9d76;
}
.chat-empty h2 {
  font-size: 18px;
  letter-spacing: -0.3px;
  font-weight: 600;
  color: #8c765b;
  margin-bottom: 10px;
}
.chat-empty p {
  max-width: 290px;
  font-size: 12px;
  line-height: 1.8;
  color: #ad9c85;
}
.chat-file-preview {
  background: #fff;
  max-width: 850px;
  width: 90vw;
  max-height: 90vh;
  padding: 16px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-file-preview > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 13px;
  color: #8b775e;
}
.chat-file-preview > img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
}
.chat-file-preview > .secondary {
  align-self: center;
}
@media (max-width: 1100px) {
  .chat-main {
    padding: 10px 20px 0;
  }
  .chat-feed {
    padding: 5px 18px 15px;
  }
  .chat-message {
    max-width: 83%;
  }
  .message-actions {
    top: calc(100% + 2px);
    left: 0;
  }
  .chat-message.mine .message-actions {
    right: 0;
  }
}
@media (max-width: 760px) {
  .chat-main {
    height: calc(100dvh - 91px);
    padding: 0;
  }
  .lobby-chat {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  .chat-header {
    padding: 14px 15px;
    gap: 9px;
  }
  .chat-header h1 {
    font-size: 15px;
  }
  .chat-room-icon {
    width: 35px;
    height: 35px;
    border-radius: 10px;
  }
  .chat-header p {
    font-size: 10px;
  }
  .chat-header-actions {
    gap: 0;
  }
  .chat-header-actions .icon-button {
    width: 28px;
  }
  .chat-header-actions .icon {
    width: 18px;
  }
  .chat-search {
    padding: 7px 15px;
  }
  .chat-search input {
    font-size: 12px;
  }
  .chat-feed {
    padding: 3px 13px 15px;
  }
  .chat-message {
    max-width: 91%;
    margin-bottom: 34px;
  }
  .message-body {
    font-size: 13px;
  }
  .message-actions {
    opacity: 1;
    top: calc(100% + 3px);
    left: 0;
    box-shadow: none;
    background: #fffdf9;
    border: 1px solid #f0e7db;
    padding: 0;
  }
  .message-actions button {
    height: 23px;
    width: 28px;
  }
  .message-actions .icon {
    width: 12px;
    height: 12px;
  }
  .chat-message.mine .message-actions {
    right: 0;
    left: auto;
  }
  .message-author {
    font-size: 10px;
  }
  .chat-avatar {
    width: 22px;
    height: 22px;
    font-size: 8px;
  }
  .message-bubble {
    padding: 8px 10px 5px;
  }
  .chat-composer {
    padding: 10px 12px 12px;
  }
  .composer-hint {
    font-size: 8px;
  }
  .composer-hint > span:first-child {
    display: none;
  }
  .composer-hint > span:last-child {
    margin: auto;
  }
  .pinned-banner {
    padding: 9px 15px;
  }
  .chat-filter-label {
    padding: 10px 15px;
    gap: 5px;
  }
  .chat-filter-label > span {
    display: none;
  }
  .message-reply-quote {
    max-width: 250px;
  }
  .message-file strong {
    font-size: 11px;
  }
}
.cleanup-retry {
  font-size: 10px;
  text-decoration: underline;
  color: #ad8061;
  margin-top: 7px;
  padding: 0;
}
.modal-backdrop {
  grid-template-columns: minmax(0, 1fr);
}
.modal {
  justify-self: center;
  min-width: 0;
}
.modal.task-editor-modal {
  width: min(560px, calc(100vw - 40px));
  max-width: calc(100vw - 40px);
  min-width: 0;
}
.modal.task-editor-modal .task-form {
  min-width: 0;
}
.modal.task-editor-modal .task-options {
  max-width: 100%;
  min-width: 0;
}
.modal.task-editor-modal .task-options > * {
  max-width: 100%;
}
form.chat-search > input {
  border: 0;
  margin: 0;
  padding: 6px 0;
  background: none;
  min-width: 0;
  width: auto;
  font-size: 12px;
}
.message-body {
  font-size: 14px;
}
.message-author {
  font-size: 11px;
}
.message-meta {
  font-size: 10px;
}
.composer-controls textarea {
  font-size: 14px;
}
.chat-header p {
  font-size: 12px;
}
.composer-hint {
  font-size: 10px;
}
@media (max-width: 760px) {
  .message-actions button {
    width: 30px;
    height: 28px;
  }
  .message-body {
    font-size: 14px;
  }
  .chat-header p {
    font-size: 10px;
  }
  .composer-hint {
    font-size: 9px;
  }
}
