:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #263b35;
  background: #f7f9f8;
  font-synthesis: none;
  font-size: 16px;
  --green: #157866;
  --ink: #263b35;
  --muted: #738079;
  --border: #e4eae6;
  --surface: #fff;
  --soft: #eaf3ef;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
button {
  color: inherit;
}
button,
input {
  letter-spacing: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #91bbaa;
  outline-offset: 3px;
}
button {
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.15s;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
}
h2 {
  font-size: 19px;
  line-height: 1.35;
  font-weight: 600;
}
h3 {
  font-size: 17px;
}
small {
  font-size: 13px;
}
button {
  border: 0;
  background: none;
}
input {
  min-width: 0;
}
strong {
  font-weight: 600;
}
.subtle,
.field-note {
  color: var(--muted);
  font-size: 14px;
}
.eyebrow,
.section-kicker {
  display: block;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  color: #738079;
}
.eyebrow {
  margin-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: Georgia, serif;
  font-size: 29px;
  line-height: 1;
}
.brand-mark {
  background: var(--green);
  color: white;
  border-radius: 12px;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 37px;
  padding-bottom: 5px;
  flex-shrink: 0;
}
.brand-small {
  display: block;
  font-family:
    Inter,
    -apple-system,
    sans-serif;
  font-size: 12px;
  margin-top: 7px;
  color: #718379;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: 12px 17px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  white-space: normal;
}
.button.primary {
  background: var(--green);
  color: white;
}
.button.primary:hover {
  background: #116554;
}
.button.secondary {
  background: white;
  border-color: #dce5df;
}
.button.secondary:hover {
  background: #f0f5f2;
}
.button.danger {
  background: #b6474a;
  color: white;
}
.button.small {
  min-height: 37px;
  padding: 8px 12px;
  font-size: 13px;
}
.button svg {
  width: 17px;
  height: 17px;
}
.full {
  width: 100%;
}
.icon-button {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  flex-shrink: 0;
  color: #748078;
}
.icon-button:hover {
  background: #eaf0ed;
  color: var(--ink);
}
.icon-button svg {
  width: 18px;
  height: 18px;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 550;
  color: var(--green);
  padding: 8px 0;
}
.text-button:hover {
  color: #0b4a3e;
}
.text-button svg {
  width: 16px;
  height: 16px;
}
.avatar {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color) 12%, white);
  color: var(--color);
  font-size: 12px;
  font-weight: 650;
}
.entry {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  max-width: 1440px;
  margin: auto;
}
.entry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 5%;
}
.entry-note {
  font-size: 14px;
  color: var(--muted);
}
.auth-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12%;
  width: min(960px, 90%);
  margin: auto;
  align-items: center;
  padding: 60px 0 80px;
}
.auth-intro h1 {
  font-size: 54px;
  font-family: Georgia, serif;
  font-weight: 400;
  line-height: 1.12;
  color: #264c3c;
}
.auth-intro p {
  margin-top: 24px;
  color: #7a857f;
  font-size: 17px;
  line-height: 1.8;
}
.auth-intro .eyebrow {
  font-size: 12px;
  color: var(--green);
  margin-bottom: 24px;
}
.practice-stripes {
  display: grid;
  gap: 7px;
  margin-top: 42px;
  max-width: 320px;
  transform: rotate(-5deg);
}
.practice-stripes > div {
  display: flex;
  gap: 6px;
  height: 13px;
}
.practice-stripes span {
  flex: 1;
  border-radius: 3px;
  background: #e6ebe7;
}
.practice-stripes .filled {
  background: var(--color);
}
.auth-form {
  padding: 30px 0;
}
.auth-form h2 {
  font-size: 27px;
  margin: 12px 0 27px;
}
.segmented {
  display: inline-flex;
  background: #edf1ee;
  padding: 4px;
  border-radius: 8px;
  gap: 2px;
}
.segmented button {
  font-size: 13px;
  padding: 8px 15px;
  border-radius: 5px;
  color: #7d8982;
  white-space: nowrap;
  min-height: 34px;
}
.segmented button.selected {
  background: white;
  color: #294c3c;
  box-shadow: 0 1px 4px #1a3b2010;
}
.auth-tabs {
  display: flex;
  margin-bottom: 25px;
}
.auth-tabs button {
  flex: 1;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  font-size: 14px;
  color: #52635a;
  margin: 0 0 20px;
}
.field input,
.copy-fallback {
  padding: 12px 13px;
  min-height: 46px;
  border: 1px solid #dce4df;
  border-radius: 6px;
  background: white;
  color: #253e31;
  width: 100%;
}
.field input::placeholder {
  color: #a0a9a3;
}
.form-error {
  color: #b24545;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 14px;
}
.form-error:empty {
  display: none;
}
.auth-footer {
  font-size: 13px;
  color: #8a958e;
  text-align: center;
  margin-top: 24px;
}
.entry-footer {
  font-size: 12px;
  color: #98a29b;
  padding: 25px 5%;
  display: flex;
  justify-content: space-between;
}
.groups-main {
  width: min(850px, 90%);
  margin: 70px auto;
}
.groups-main h1 {
  font-family: Georgia, serif;
  font-size: 44px;
  font-weight: 400;
  margin-bottom: 16px;
}
.group-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 44px;
}
.group-actions > section + section {
  border-left: 1px solid var(--border);
  padding-left: 48px;
}
.action-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 8px;
  color: var(--green);
  background: var(--soft);
  margin-bottom: 18px;
}
.action-icon.blue {
  color: #476cce;
  background: #edf0fa;
}
.group-actions h2 {
  margin-bottom: 24px;
}
.checkbox-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  min-height: 26px;
  margin-bottom: 23px;
  color: #758178;
}
.checkbox-line input {
  accent-color: var(--green);
}
.group-actions .field-note {
  min-height: 26px;
  margin-bottom: 23px;
  font-size: 13px;
}
.group-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}
.group-card {
  display: flex;
  text-align: left;
  align-items: center;
  padding: 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  gap: 13px;
}
.group-card:hover {
  border-color: #77a895;
}
.group-card > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.group-card strong {
  display: block;
  overflow-wrap: anywhere;
}
.group-card small {
  display: block;
  color: #8a968d;
  margin-top: 6px;
}
.account-inline {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.account-inline small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}
.invite-note {
  background: var(--soft);
  padding: 12px;
  font-size: 14px;
  margin-bottom: 18px;
}
.app-shell {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  min-height: 100dvh;
}
.sidebar {
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 33px 20px 0;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100dvh;
}
.sidebar .brand {
  margin-left: 10px;
  margin-bottom: 43px;
}
.group-picker {
  display: flex;
  width: 100%;
  padding: 12px 10px;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 7px;
  text-align: left;
  margin-bottom: 29px;
}
.group-picker > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.group-picker small {
  font-size: 12px;
  color: #939d96;
  display: block;
  margin-bottom: 5px;
}
.group-picker strong {
  display: block;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.group-picker > svg {
  width: 15px;
  color: #86968b;
}
.group-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  color: var(--green);
  background: #edf4ef;
}
.group-icon svg {
  width: 17px;
}
.nav-item {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 13px 14px;
  font-size: 14px;
  text-align: left;
  border-radius: 6px;
  margin-bottom: 6px;
  color: #7e8b83;
}
.nav-item:hover {
  background: #f5f8f6;
}
.nav-item.active {
  background: var(--soft);
  color: var(--green);
  font-weight: 600;
}
.nav-item svg {
  width: 18px;
  height: 18px;
}
.nav-dot {
  margin-left: auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.nav-divider {
  margin: 24px 10px;
  border-bottom: 1px solid var(--border);
}
.sidebar-bottom {
  margin-top: auto;
}
.circle-peek {
  padding: 24px 10px;
}
.avatar-stack {
  display: flex;
  padding-left: 3px;
  margin-bottom: 12px;
}
.avatar-stack .avatar {
  margin-left: -3px;
  border: 2px solid white;
  width: 29px;
  height: 29px;
  font-size: 12px;
}
.circle-peek > span {
  display: block;
  font-size: 12px;
  color: #88938b;
}
.circle-peek .text-button {
  margin-top: 7px;
  font-size: 12px;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 23px 3px;
  border-top: 1px solid var(--border);
}
.profile > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.profile strong {
  display: block;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.profile small {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #91a092;
  margin-top: 4px;
}
.profile small svg {
  width: 11px;
  height: 11px;
}
.profile .icon-button {
  width: 25px;
}
.main-area {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.topbar {
  min-height: 84px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 40px;
  background: #ffffff70;
}
.breadcrumbs {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 12px;
  min-width: 0;
  color: #91a094;
}
.breadcrumbs > span:first-child {
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.breadcrumbs strong {
  color: #5c6c62;
  font-weight: 500;
  white-space: nowrap;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}
.content {
  padding: 38px 40px 48px;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.page-heading .eyebrow {
  font-size: 12px;
}
.page-heading h1 {
  font-family: Georgia, serif;
  font-size: 31px;
  font-weight: 400;
}
.date-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #7d8d81;
  white-space: nowrap;
}
.date-badge svg {
  width: 15px;
}
.today-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 265px;
  gap: 28px;
}
.daily-surface {
  min-width: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  align-self: start;
  overflow: hidden;
}
.week-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  padding: 18px 23px;
  border-bottom: 1px solid var(--border);
}
.week-strip button {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 10px 3px 6px;
  min-height: 82px;
  border-radius: 6px;
  color: #7c8e80;
}
.week-strip button small {
  font-size: 12px;
}
.week-strip button strong {
  font-size: 20px;
  font-weight: 500;
  margin-top: 7px;
}
.week-strip button:hover {
  background: #f1f5f2;
}
.week-strip button.selected {
  background: var(--green);
  color: white;
}
.day-dot {
  height: 4px;
  width: 4px;
  border-radius: 50%;
  margin-top: 9px;
}
.has-activity {
  background: currentColor;
}
.week-strip .is-today:not(.selected) {
  box-shadow: inset 0 0 0 1px #bfd5c6;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.section-heading h2 {
  font-size: 17px;
}
.section-heading p {
  font-size: 12px;
  color: #99a49b;
  margin-top: 7px;
}
.daily-surface > .section-heading {
  padding: 24px 25px 15px;
  margin: 0;
  flex-wrap: wrap;
}
.daily-surface .section-heading .date-controls {
  gap: 0;
}
.daily-surface .section-heading .date-controls > span {
  display: none;
}
.count {
  font-family: Inter, sans-serif;
  font-size: 12px;
  color: #879589;
  margin-left: 7px;
  background: #f0f4f1;
  padding: 3px 7px;
  border-radius: 4px;
  font-weight: 500;
}
.date-controls {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
}
.date-controls > span {
  min-width: 145px;
  text-align: center;
}
.date-controls > .text-button {
  margin-left: 12px;
  font-size: 12px;
}
.habit-list {
  padding: 0 24px;
}
.habit-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid #eef1ed;
  min-height: 82px;
  text-align: left;
}
.habit-row:last-child {
  border-bottom: 0;
}
.habit-row:hover {
  background: #fafcfb;
}
.habit-icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--color) 9%, white);
  color: var(--color);
  flex-shrink: 0;
}
.habit-icon svg {
  width: 19px;
  height: 19px;
}
.habit-label {
  flex: 1;
  min-width: 0;
}
.habit-label strong {
  font-size: 16px;
  font-weight: 500;
  display: block;
  line-height: 1.5;
}
.habit-label small {
  display: block;
  font-size: 12px;
  color: #94a094;
  margin-top: 5px;
}
.habit-row.completed .habit-label strong {
  color: #5f776a;
}
.check-circle {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1.5px solid #dce5df;
  border-radius: 50%;
  flex-shrink: 0;
  margin-left: 5px;
}
.completed .check-circle {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.check-circle svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
}
.weekly-mini {
  display: flex;
  gap: 3px;
  justify-content: flex-end;
  max-width: 65px;
  flex-wrap: nowrap;
}
.weekly-mini i {
  width: 5px;
  height: 17px;
  border-radius: 2px;
  background: #edf1ed;
}
.weekly-mini .filled {
  background: var(--color);
}
.daily-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #a2ada4;
  font-size: 12px;
  background: #fcfdfc;
  border-top: 1px solid #edf1ee;
  padding: 17px;
}
.daily-bottom svg {
  width: 14px;
  height: 14px;
}
.today-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.daily-progress {
  padding: 27px 20px 25px;
  background: #edf4ef;
  border-radius: 8px;
  text-align: center;
}
.daily-progress .section-kicker {
  color: #789282;
  font-size: 12px;
}
.progress-ring {
  width: 154px;
  aspect-ratio: 1;
  margin: 26px auto 22px;
  border-radius: 50%;
  background: conic-gradient(
    var(--green) calc(var(--progress) * 1%),
    #dce8df 0
  );
  padding: 8px;
  transform: rotate(-45deg);
}
.progress-ring > span {
  background: #edf4ef;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(45deg);
}
.progress-ring strong {
  font-size: 37px;
  font-weight: 500;
  color: #345342;
  line-height: 1.4;
}
.progress-ring strong small {
  font-size: 19px;
  color: #8aa08f;
}
.progress-ring > span > small {
  font-size: 12px;
  color: #8ba091;
}
.progress-message strong {
  font-family: Georgia, serif;
  font-size: 19px;
  font-weight: 400;
  color: #3b624b;
}
.progress-message p {
  font-size: 12px;
  color: #8aa08d;
  line-height: 1.8;
  margin-top: 7px;
}
.week-glance {
  border-bottom: 1px solid var(--border);
  padding: 0 5px 20px;
}
.week-glance > div:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #6a7e6e;
}
.week-glance svg {
  width: 16px;
  height: 16px;
}
.large-number {
  font-size: 31px;
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 20px;
}
.large-number small {
  font-size: 12px;
  color: #91a095;
}
.progress-track {
  height: 5px;
  background: #e6ece7;
  border-radius: 3px;
  overflow: hidden;
  margin: 18px 0 9px;
}
.progress-track i {
  display: block;
  background: #75a78d;
  height: 100%;
  border-radius: 3px;
}
.week-glance p {
  font-size: 12px;
  color: #98a59b;
}
.week-glance .text-button {
  font-size: 12px;
  margin-top: 13px;
}
.circle-link {
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  color: #7b8f80;
  padding: 0 5px;
}
.circle-link > svg:first-child {
  width: 24px;
  height: 24px;
}
.circle-link > svg:last-child {
  width: 16px;
  height: 16px;
  margin-left: auto;
}
.circle-link strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #577660;
}
.circle-link small {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #9baa9e;
}
.workspace-footer {
  display: flex;
  justify-content: space-between;
  padding: 0 40px 23px;
  color: #a1ada3;
  font-size: 12px;
}
.workspace-footer svg {
  width: 11px;
  height: 11px;
  margin-right: 5px;
}
.report-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.legend {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #8a998c;
}
.legend i {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--green);
}
.legend .missed {
  background: #e9eeea;
  margin-left: 8px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  margin-bottom: 35px;
}
.metrics > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 24px;
  border-left: 1px solid var(--border);
}
.metrics > div:first-child {
  padding-left: 0;
  border-left: 0;
}
.metrics span {
  font-size: 12px;
  color: #85988b;
}
.metrics strong {
  font-size: 31px;
  font-weight: 500;
}
.metrics strong small {
  font-size: 18px;
  margin-left: 3px;
}
.metrics small {
  font-size: 12px;
  color: #9da99f;
}
.report-section {
  margin: 0 0 38px;
  min-width: 0;
}
.report-section > .section-heading {
  margin-bottom: 17px;
}
.report-section > .section-heading > .subtle {
  font-size: 12px;
}
.table-scroll {
  overflow: auto;
  max-width: 100%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  text-align: left;
  font-size: 12px;
}
th {
  font-weight: 500;
}
thead th {
  color: #8e9b91;
  font-size: 12px;
  background: #f7f9f8;
  padding: 15px 12px;
  white-space: nowrap;
  border-bottom: 1px solid var(--border);
}
tbody th,
tbody td {
  padding: 12px;
  border-bottom: 1px solid #eaf0eb;
}
tbody tr:last-child > td,
tbody tr:last-child > th {
  border-bottom: 0;
}
.habit-name {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 12px;
}
.mini-icon {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--color) 8%, white);
  color: var(--color);
  border-radius: 5px;
}
.mini-icon svg {
  height: 14px;
  width: 14px;
}
.habit-board .member-col {
  width: 116px;
  min-width: 116px;
  position: sticky;
  left: 0;
  z-index: 3;
  background: #f7f9f8;
  border-right: 1px solid #e6ece7;
}
.habit-board .habit-col {
  min-width: 185px;
  position: sticky;
  left: 116px;
  background: #f7f9f8;
  z-index: 2;
}
.habit-board th:not(.member-col):not(.habit-col) {
  min-width: 39px;
  text-align: center;
  padding: 12px 5px;
}
.habit-board thead small {
  display: block;
  font-size: 12px;
  margin-bottom: 5px;
}
.habit-board td {
  padding: 7px 5px;
  text-align: center;
  background: #fff;
}
.member-cell {
  vertical-align: top;
  padding-top: 19px;
  font-size: 12px;
}
.member-cell > div {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
  max-width: 96px;
}
.member-cell strong {
  overflow-wrap: anywhere;
}
.member-cell small {
  color: #9aa79d;
  font-size: 12px;
}
.member-start:not(:first-child) > * {
  border-top: 9px solid #e4ede7;
}
.member-start:not(:first-child) .member-cell {
  border-top: 9px solid #d7e4db;
}
.board-check {
  height: 27px;
  width: 27px;
  display: inline-grid;
  place-items: center;
  border-radius: 5px;
  background: #f0f3f0;
  color: #ccd6cd;
  vertical-align: middle;
}
.board-check.done {
  background: color-mix(in srgb, var(--color) 15%, white);
  color: var(--color);
}
.board-check svg {
  height: 14px;
  width: 14px;
  stroke-width: 2;
}
.board-check.unavailable {
  background: transparent;
}
.board-check:not(:disabled):hover {
  filter: brightness(0.95);
}
.cell-dash {
  height: 2px;
  width: 6px;
  background: #d5dfd6;
  border-radius: 2px;
}
.current-date {
  color: var(--green) !important;
}
.year-board td {
  min-width: 55px;
}
.month-stripe {
  display: block;
  position: relative;
  min-width: 46px;
  border-radius: 4px;
  background: linear-gradient(
    to right,
    color-mix(in srgb, var(--color) 45%, white) var(--fill),
    #f0f3f0 var(--fill)
  );
  height: 27px;
  font-size: 12px;
  line-height: 27px;
  color: #355343;
}
.month-stripe.unavailable {
  background: transparent;
}
.streak-table td {
  white-space: nowrap;
  color: #6e8375;
}
.streak-table td svg {
  width: 14px;
  color: #b48543;
}
.report-note {
  font-size: 12px;
  color: #99a89d;
  line-height: 1.7;
}
.standing-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}
.standing-row .rank {
  width: 16px;
  color: #a2ada5;
  font-size: 12px;
}
.standing-row .avatar {
  width: 30px;
  height: 30px;
  font-size: 12px;
}
.standing-row > strong {
  font-size: 13px;
  min-width: 130px;
  max-width: 180px;
  overflow-wrap: anywhere;
}
.standing-row > strong small {
  font-size: 12px;
  color: #98a69d;
  margin-left: 5px;
  font-weight: 400;
}
.standing-bar {
  height: 6px;
  background: #e7ede8;
  flex: 1;
  border-radius: 4px;
  overflow: hidden;
}
.standing-bar i {
  display: block;
  height: 100%;
  border-radius: 4px;
}
.standing-count {
  width: 85px;
  font-size: 12px;
  text-align: right;
  color: #91a095;
}
.standing-row > b {
  width: 43px;
  text-align: right;
  font-size: 13px;
  font-weight: 550;
}
.comparison-table td {
  text-align: center;
  min-width: 95px;
}
.comparison-table td small {
  display: block;
  font-size: 12px;
  color: #a0ada2;
  margin-top: 6px;
}
.comparison-table th:not(:first-child) {
  text-align: center;
  white-space: normal;
  min-width: 95px;
  max-width: 180px;
}
.score {
  display: inline-block;
  padding: 4px 9px;
  min-width: 45px;
  font-size: 12px;
  border-radius: 4px;
  background: #edf1ee;
  color: #91a194;
  font-weight: 500;
}
.score.high {
  background: #e1efe5;
  color: #3f8561;
}
.score.some {
  background: #edf0f8;
  color: #6880b2;
}
.comparison-table .habit-leader {
  text-align: left;
  min-width: 140px;
  font-size: 12px;
  color: #728678;
}
.settings-section {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.settings-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
}
.settings-heading h2 {
  font-size: 17px;
}
.settings-heading p {
  font-size: 12px;
  color: #9aaba0;
  margin-top: 8px;
}
.inline-form {
  display: flex;
  align-items: end;
  gap: 15px;
  max-width: 720px;
  flex-wrap: wrap;
}
.inline-form .field {
  margin-bottom: 16px;
  min-width: 150px;
}
.inline-form .button {
  margin-bottom: 16px;
}
.inline-form .form-error {
  flex-basis: 100%;
}
.inline-form .field > span {
  font-size: 12px;
}
.group-details {
  display: flex;
  align-items: center;
  gap: 35px;
}
.group-details > .inline-form {
  flex: 1;
}
.role-badge {
  padding: 5px 9px;
  border-radius: 4px;
  font-size: 12px;
  background: #e7f0e9;
  color: #66856e;
}
.group-code {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  max-width: 225px;
  margin-top: -14px;
}
.group-code small {
  width: 100%;
  font-size: 12px;
  color: #9aa89e;
}
.group-code code {
  font-size: 13px;
  color: #759080;
}
.settings-table .row-actions {
  white-space: nowrap;
}
.settings-section > .field-note {
  font-size: 12px;
  margin-top: 15px;
  line-height: 1.8;
  max-width: 750px;
}
.members-settings > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.members-settings > div > span:nth-child(2) {
  flex: 1;
}
.members-settings strong {
  font-size: 13px;
  display: block;
}
.members-settings small {
  font-size: 12px;
  display: block;
  color: #9daa9f;
  margin-top: 4px;
}
.penalty-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.penalty-list > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  padding: 13px 0;
}
.penalty-list strong {
  font-weight: 500;
  color: #617765;
}
.empty-state {
  text-align: center;
  padding: 65px 20px;
}
.empty-state > svg {
  width: 32px;
  height: 32px;
  color: #a7bbae;
  margin-bottom: 17px;
}
.empty-state h3 {
  font-size: 18px;
  font-weight: 500;
}
.empty-state p {
  font-size: 14px;
  color: #99a89c;
  margin: 12px 0 20px;
}
.boot {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}
.boot p {
  color: #809186;
}
.boot h1 {
  font-size: 23px;
}
dialog {
  border: 1px solid #dde6de;
  border-radius: 8px;
  padding: 0;
  width: min(480px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  color: var(--ink);
  box-shadow: 0 20px 100px #15352725;
}
dialog::backdrop {
  background: #183d2c55;
  backdrop-filter: blur(3px);
}
.dialog-body {
  position: relative;
  padding: 32px;
}
.dialog-close {
  position: absolute;
  right: 13px;
  top: 13px;
}
.dialog-body h2 {
  font-size: 24px;
  font-family: Georgia, serif;
  font-weight: 400;
  margin: 8px 28px 22px 0;
}
.dialog-body > p {
  font-size: 14px;
  line-height: 1.7;
  color: #829589;
  margin-bottom: 25px;
}
.invite-code {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #eff5f0;
  padding: 16px;
  border-radius: 6px;
  margin-bottom: 22px;
}
.invite-code code {
  font-size: 19px;
  color: #397552;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.form-grid .field {
  font-size: 12px;
}
.color-field {
  border: 0;
  padding: 0;
  display: flex;
  gap: 10px;
  margin: 0 0 25px;
}
.color-field legend {
  font-size: 14px;
  margin-bottom: 12px;
  color: #6a7d6f;
}
.color-field label {
  position: relative;
  display: block;
  cursor: pointer;
}
.color-field input {
  position: absolute;
  opacity: 0;
}
.color-field label span {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: var(--color);
  color: white;
}
.color-field label svg {
  visibility: hidden;
  width: 16px;
}
.color-field input:checked + span svg {
  visibility: visible;
}
.color-field input:focus-visible + span {
  outline: 3px solid #95bca2;
  outline-offset: 3px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: #294f3b;
  color: white;
  z-index: 20;
  border-radius: 7px;
  max-width: calc(100% - 32px);
  padding: 12px 20px;
  font-size: 14px;
  box-shadow: 0 8px 35px #18352220;
  transition: 0.2s;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
#toast.error {
  background: #a54144;
}
.mobile-nav,
.mobile-account,
.mobile-signout {
  display: none;
}
@media (min-width: 1500px) {
  .content {
    padding: 45px 60px;
  }
  .today-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 40px;
  }
  .topbar {
    padding: 0 60px;
  }
  .habit-row {
    padding: 19px 0;
  }
  .daily-progress {
    padding: 33px 20px;
  }
  .today-aside {
    gap: 30px;
  }
}
@media (max-width: 1150px) {
  .app-shell {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .sidebar {
    padding-left: 14px;
    padding-right: 14px;
  }
  .content {
    padding: 30px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .today-layout {
    grid-template-columns: minmax(0, 1fr) 215px;
    gap: 18px;
  }
  .daily-surface > .section-heading {
    padding-left: 18px;
    padding-right: 18px;
  }
  .habit-list {
    padding: 0 18px;
  }
  .habit-row {
    gap: 10px;
  }
  .habit-label strong {
    font-size: 16px;
  }
  .weekly-mini {
    display: none;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .date-badge {
    display: none;
  }
  .group-details {
    display: block;
  }
  .group-code {
    margin-top: 0;
  }
  .progress-ring {
    width: 140px;
  }
  .workspace-footer {
    padding: 10px 24px 22px;
  }
  .top-actions {
    gap: 5px;
  }
  .page-heading {
    flex-wrap: wrap;
  }
}
@media (max-width: 850px) {
  .app-shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none;
  }
  .mobile-account {
    display: block;
  }
  .topbar {
    min-height: 70px;
    padding: 0 20px;
  }
  .breadcrumbs {
    font-size: 12px;
    gap: 10px;
  }
  .breadcrumbs > span:first-child {
    max-width: 160px;
  }
  .top-actions .button {
    display: none;
  }
  .mobile-nav {
    display: flex;
    justify-content: space-around;
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 8;
    padding: 5px 8px;
  }
  .mobile-nav button {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    padding: 10px 4px;
    font-size: 12px;
    min-width: 55px;
    color: #8d9e91;
  }
  .mobile-nav svg {
    width: 18px;
    height: 18px;
  }
  .mobile-nav .active {
    color: var(--green);
  }
  .content {
    padding: 27px 20px;
  }
  .today-layout {
    grid-template-columns: minmax(0, 1fr) 235px;
    gap: 20px;
  }
  .mobile-signout {
    display: inline-flex;
  }
  .auth-main {
    gap: 8%;
    padding: 35px 0 70px;
  }
  .auth-intro h1 {
    font-size: 44px;
  }
  .auth-intro p {
    font-size: 15px;
  }
  .entry-header {
    padding: 24px 5%;
  }
}
@media (max-width: 620px) {
  h1 {
    font-size: 27px;
  }
  .topbar {
    padding: 0 16px;
  }
  .breadcrumbs > span:first-child {
    max-width: 125px;
  }
  .content {
    padding: 26px 16px;
  }
  .page-heading {
    gap: 18px;
    margin-bottom: 25px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .today-layout {
    display: flex;
    flex-direction: column;
  }
  .today-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    order: 0;
  }
  .daily-progress {
    padding: 20px 10px;
  }
  .daily-progress .section-kicker {
    font-size: 12px;
  }
  .progress-ring {
    width: 110px;
    margin: 18px auto;
    padding: 6px;
  }
  .progress-ring strong {
    font-size: 28px;
  }
  .progress-ring strong small {
    font-size: 14px;
  }
  .progress-ring > span > small {
    font-size: 12px;
  }
  .progress-message strong {
    font-size: 16px;
  }
  .progress-message p {
    font-size: 12px;
  }
  .week-glance {
    align-self: center;
    border-bottom: 0;
    padding: 10px;
  }
  .week-glance > div:first-child {
    font-size: 12px;
  }
  .week-glance > div:first-child svg {
    display: none;
  }
  .circle-link {
    grid-column: 1/-1;
    padding: 12px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .daily-surface > .section-heading {
    padding: 21px 16px 12px;
  }
  .habit-list {
    padding: 0 16px;
  }
  .habit-row {
    padding: 15px 0;
    gap: 12px;
    min-height: 78px;
  }
  .habit-label strong {
    font-size: 14px;
  }
  .habit-label small {
    font-size: 12px;
  }
  .habit-icon {
    width: 38px;
    height: 38px;
  }
  .week-strip {
    padding: 12px;
    gap: 3px;
  }
  .week-strip button {
    min-height: 75px;
  }
  .week-strip button small {
    font-size: 12px;
  }
  .week-strip button strong {
    font-size: 19px;
  }
  .weekly-mini {
    display: flex;
    max-width: 50px;
  }
  .weekly-mini i {
    width: 4px;
    height: 13px;
  }
  .check-circle {
    width: 26px;
    height: 26px;
  }
  .section-heading {
    flex-wrap: wrap;
    gap: 10px;
  }
  .report-toolbar {
    gap: 10px;
    flex-wrap: wrap;
  }
  .date-controls {
    font-size: 12px;
  }
  .date-controls > .text-button {
    margin-left: 5px;
  }
  .date-controls > span {
    min-width: 120px;
  }
  .legend {
    display: none;
  }
  .metrics {
    padding: 20px 0;
    gap: 10px;
  }
  .metrics > div {
    padding: 0 10px;
    gap: 9px;
  }
  .metrics span {
    font-size: 12px;
  }
  .metrics strong {
    font-size: 26px;
  }
  .metrics small {
    font-size: 12px;
  }
  .metrics > div:last-child {
    padding-right: 0;
  }
  .period-tabs {
    width: 100%;
    justify-content: space-between;
  }
  .period-tabs button {
    flex: 1;
    padding: 6px 14px;
  }
  .habit-board .member-col {
    min-width: 80px;
    width: 80px;
    max-width: 80px;
    padding: 10px 8px;
  }
  .habit-board .habit-col {
    left: 80px;
    min-width: 150px;
    padding: 10px 8px;
  }
  .habit-board .habit-name {
    white-space: normal;
    font-size: 12px;
    gap: 5px;
    max-width: 140px;
  }
  .habit-board .mini-icon {
    display: none;
  }
  .member-cell > div {
    max-width: 65px;
  }
  .member-cell strong {
    font-size: 12px;
  }
  .habit-board .member-col .avatar {
    width: 27px;
    height: 27px;
    font-size: 12px;
  }
  .year-board .habit-col {
    min-width: 135px;
  }
  .streak-table th,
  .streak-table td {
    padding: 12px 8px;
  }
  .standing-row {
    gap: 9px;
  }
  .standing-row > strong {
    min-width: 90px;
    max-width: 110px;
    font-size: 12px;
  }
  .standing-count {
    display: none;
  }
  .standing-row > b {
    font-size: 12px;
    width: 34px;
  }
  .standing-row .avatar {
    width: 26px;
    height: 26px;
  }
  .standing-row .rank {
    width: 10px;
  }
  .settings-heading {
    align-items: flex-start;
  }
  .settings-heading > .button {
    padding: 9px 11px;
    min-height: 37px;
    font-size: 12px;
  }
  .settings-heading h2 {
    font-size: 17px;
  }
  .inline-form {
    gap: 10px;
  }
  .inline-form .field {
    min-width: 100%;
    margin-bottom: 0;
  }
  .inline-form .button {
    margin-bottom: 23px;
  }
  .settings-section .inline-form:last-child .button {
    margin-bottom: 0;
  }
  .group-code {
    margin-top: 15px;
  }
  .settings-table td,
  .settings-table th {
    padding: 12px 8px;
  }
  .settings-table .habit-name {
    white-space: normal;
    min-width: 120px;
  }
  .settings-table .mini-icon {
    display: none;
  }
  .settings-table thead th {
    white-space: normal;
    min-width: 70px;
  }
  .penalty-list {
    grid-template-columns: 1fr 1fr;
  }
  .auth-main {
    display: flex;
    flex-direction: column;
    width: min(390px, 88%);
    padding: 30px 0;
  }
  .auth-intro {
    width: 100%;
  }
  .auth-intro h1 {
    font-size: 35px;
  }
  .auth-intro h1 br {
    display: none;
  }
  .auth-intro .eyebrow {
    font-size: 12px;
    margin-bottom: 15px;
  }
  .auth-intro p,
  .practice-stripes {
    display: none;
  }
  .auth-form {
    width: 100%;
    padding: 28px 0;
  }
  .auth-form > .section-kicker {
    display: none;
  }
  .auth-form h2 {
    font-size: 24px;
    margin: 0 0 22px;
  }
  .entry-note {
    display: none;
  }
  .entry-header {
    padding: 24px 6%;
  }
  .entry-footer {
    font-size: 12px;
  }
  .groups-main {
    margin: 35px auto;
  }
  .groups-main h1 {
    font-size: 34px;
  }
  .group-actions {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 30px;
  }
  .group-actions > section + section {
    padding-left: 0;
    padding-top: 30px;
    border-left: 0;
    border-top: 1px solid var(--border);
  }
  .group-actions h2 {
    font-size: 21px;
  }
  .group-list {
    grid-template-columns: 1fr;
  }
  .account-inline > span:nth-child(2) {
    display: none;
  }
  .workspace-footer {
    padding: 10px 16px 22px;
    font-size: 12px;
  }
  .dialog-body {
    padding: 26px 22px;
  }
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid .field:last-child {
    grid-column: 1/-1;
  }
  .invite-code code {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
@media (max-width: 850px) {
  #toast {
    bottom: 95px;
  }
}
@media (max-width: 620px) {
  .metrics > div > span {
    min-height: 30px;
  }
}
@media (max-width: 850px) {
  .mobile-nav {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid var(--border);
    border-bottom: 0;
    padding-bottom: max(5px, env(safe-area-inset-bottom));
    background: #fff;
  }
  .main-area {
    padding-bottom: 75px;
  }
  .mobile-nav button {
    font-size: 12px;
  }
  .content {
    padding-top: 27px;
  }
  .mobile-account {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .mobile-account small {
    max-width: 65px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
  }
  .breadcrumbs > span:first-child {
    max-width: 115px;
  }
}
@media (max-width: 620px) {
  .daily-surface {
    width: 100%;
  }
  .weekly-mini {
    display: none;
  }
  .metrics {
    gap: 5px;
  }
  .metrics > div {
    padding: 0 7px;
  }
  .metrics span,
  .metrics small {
    font-size: 12px;
  }
  .metrics strong {
    font-size: 26px;
  }
  .breadcrumbs {
    gap: 7px;
  }
  .top-actions {
    gap: 2px;
  }
  .mobile-account .avatar {
    width: 28px;
    height: 28px;
  }
  .mobile-account small {
    max-width: 55px;
  }
  .workspace-footer {
    flex-wrap: wrap;
    gap: 10px;
  }
  .today-aside {
    gap: 14px;
  }
  .progress-message p {
    font-size: 12px;
  }
  .week-glance {
    padding: 10px 0;
  }
  .month-stripe {
    min-width: 50px;
  }
  .invite-code code {
    font-size: 15px;
  }
}
