:root {
  color-scheme: dark;
  --green: #78adff;
  --ink: #eff0f4;
  --muted: #9498a3;
  --border: #292c33;
  --surface: #14161b;
  --soft: #1c2637;
  background: #0b0c0f;
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}
body {
  background: #0b0c0f;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline-color: #8ab7ff;
}
h1,
h2,
h3 {
  color: #f1f2f6;
}
h1,
h2,
.brand,
.auth-intro h1,
.groups-main h1,
.page-heading h1,
.dialog-body h2,
.progress-message strong {
  font-family: inherit;
  letter-spacing: 0;
}
.page-heading h1 {
  font-size: 32px;
  font-weight: 650;
}
.eyebrow,
.section-kicker {
  color: #969da9;
  font-weight: 550;
  font-size: 12px;
}
.page-heading .eyebrow {
  font-size: 12px;
}
.brand {
  gap: 11px;
  font-size: 22px;
  font-weight: 650;
}
.brand-mark {
  background: #242830;
  color: #f0f3ff;
  border: 1px solid #383e49;
  border-radius: 10px;
  font-family: inherit;
  font-size: 24px;
  padding: 0;
}
.brand-mark svg {
  width: 23px;
  height: 23px;
}
.brand-small {
  font-family: inherit;
  font-size: 10px;
  color: #878d9b;
  margin-top: 7px;
}
.sidebar {
  background: #101115;
  border-color: #23252c;
  padding-top: 31px;
}
.sidebar .brand {
  margin-bottom: 39px;
}
.group-picker {
  background: #181a20;
  border-color: #2b2e36;
  padding: 13px 10px;
}
.group-picker small {
  color: #89909c;
  font-size: 10px;
}
.group-picker strong {
  color: #eceef5;
  font-size: 14px;
}
.group-picker > svg {
  color: #959aa6;
}
.group-icon {
  background: #242b36;
  color: #9cc4ff;
}
.nav-item {
  color: #9197a5;
  font-size: 14px;
  padding: 13px 14px;
  margin-bottom: 8px;
}
.nav-item:hover {
  background: #191c24;
}
.nav-item.active {
  background: #232832;
  color: #e8f0ff;
}
.nav-item.active svg {
  color: #8bb8ff;
}
.nav-divider {
  border-color: #252831;
}
.avatar {
  background: color-mix(in srgb, var(--color) 14%, #101215);
  color: var(--color);
  border: 1px solid color-mix(in srgb, var(--color) 22%, transparent);
}
.avatar-stack .avatar {
  border-color: #101115;
}
.circle-peek > span,
.profile small {
  color: #8b929f;
  font-size: 12px;
}
.profile {
  border-color: #282b33;
}
.profile strong {
  color: #e4e8ef;
  font-size: 14px;
}
.profile small svg {
  color: #64dfb4;
}
.text-button {
  color: #9ec3ff;
}
.text-button:hover {
  color: #d9e8ff;
}
.icon-button {
  color: #8d96a7;
}
.icon-button:hover {
  background: #252a35;
  color: #edf4ff;
}
.button.primary {
  background: #97bdff;
  color: #071327;
  box-shadow: inset 0 1px 0 #c2d8ff;
}
.button.primary:hover {
  background: #b2cfff;
}
.button.secondary {
  background: #191d25;
  border-color: #363c48;
  color: #d2dae8;
}
.button.secondary:hover {
  background: #262d38;
}
.button.danger {
  background: #ce657d;
  color: #17060c;
}
.topbar {
  background: #0e1014;
  border-color: #23272f;
  min-height: 78px;
}
.breadcrumbs {
  color: #7d8595;
  font-size: 13px;
}
.breadcrumbs strong {
  color: #bfc9da;
}
.content {
  padding-top: 36px;
  max-width: 1600px;
}
.date-badge {
  color: #909aaa;
}
.top-actions {
  gap: 12px;
}
.workspace-footer {
  color: #778292;
  font-size: 12px;
}
.workspace-footer svg {
  color: #76a695;
}
.date-controls {
  gap: 6px;
  flex-wrap: wrap;
  color: #c4c9d4;
}
.date-controls > span {
  font-size: 13px;
}
.date-picker {
  color: #c8d4e8;
  border: 1px solid #303847;
  border-radius: 6px;
  background: #171c24;
  padding: 6px 8px;
  min-height: 34px;
  width: 143px;
  font-size: 12px;
}
.date-controls .text-button {
  font-size: 13px;
}
.date-badge svg {
  color: #92baf9;
}
.today-layout {
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 36px;
}
.daily-surface {
  border: 0;
  background: transparent;
  overflow: visible;
}
.week-strip {
  background: #15181e;
  border: 1px solid #2b303a;
  border-radius: 8px;
  padding: 12px;
  gap: 8px;
}
.week-strip button {
  color: #8b96a7;
  min-height: 76px;
}
.week-strip button strong {
  font-weight: 600;
  font-size: 21px;
}
.week-strip button small {
  font-size: 12px;
}
.week-strip button:hover {
  background: #232a36;
}
.week-strip button.selected {
  background: #dce8ff;
  color: #101b2e;
}
.week-strip .is-today:not(.selected) {
  box-shadow: inset 0 0 0 1px #4c6890;
}
.daily-surface > .section-heading {
  padding: 28px 0 20px;
}
.section-heading h2 {
  font-size: 18px;
  color: #e8ebf1;
}
.section-heading p {
  color: #8a94a4;
  font-size: 13px;
}
.count {
  background: #242a34;
  color: #a1b1c6;
  font-size: 12px;
}
.habit-list {
  padding: 0;
  display: grid;
  gap: 8px;
}
.habit-row {
  border: 1px solid #242933;
  background: #15181e;
  border-radius: 8px;
  padding: 15px 17px;
  min-height: 76px;
  gap: 14px;
}
.habit-row:last-child {
  border-bottom: 1px solid #242933;
}
.habit-row:hover {
  background: #1c222d;
  border-color: #3e4b60;
}
.habit-row.completed {
  background: #17231f;
  border-color: #294639;
}
.habit-icon {
  background: color-mix(in srgb, var(--color) 12%, #15181e);
  color: var(--color);
  width: 42px;
  height: 42px;
  border-radius: 8px;
}
.habit-label strong,
.habit-row.completed .habit-label strong {
  color: #e5eaf2;
  font-weight: 500;
  font-size: 16px;
}
.habit-label small {
  color: #8a96a7;
  font-size: 12px;
}
.check-circle {
  border-color: #475162;
  background: #1a202a;
  color: #d8f7e9;
  width: 28px;
  height: 28px;
}
.completed .check-circle {
  background: #71d9b0;
  border-color: #71d9b0;
  color: #09271c;
}
.weekly-mini i {
  background: #303641;
}
.weekly-mini .filled {
  background: var(--color);
}
.daily-bottom {
  background: transparent;
  border: 0;
  color: #6e7989;
  padding: 21px;
  font-size: 12px;
}
.daily-progress {
  background: transparent;
  border-radius: 0;
  padding: 22px 8px 25px;
  border-bottom: 1px solid #282e38;
}
.daily-progress .section-kicker {
  color: #9ca7b8;
  font-size: 12px;
}
.progress-ring {
  background: conic-gradient(#71d9b0 calc(var(--progress) * 1%), #242e31 0);
  width: 164px;
  padding: 7px;
}
.progress-ring > span {
  background: #0b0c0f;
}
.progress-ring strong {
  color: #ebf5f1;
  font-size: 40px;
  font-weight: 550;
}
.progress-ring strong small {
  color: #697e79;
}
.progress-ring > span > small {
  color: #95a69f;
  font-size: 12px;
}
.progress-message strong {
  color: #d8e4de;
  font-size: 19px;
  font-weight: 550;
}
.progress-message p {
  color: #7e9188;
  font-size: 13px;
}
.week-glance {
  border-color: #282e38;
  padding-bottom: 24px;
}
.week-glance > div:first-child {
  color: #b4bed0;
  font-size: 14px;
}
.week-glance p,
.large-number small {
  color: #8a97ad;
  font-size: 13px;
}
.progress-track {
  background: #232c3b;
  height: 5px;
}
.progress-track i {
  background: #7bafff;
}
.large-number {
  color: #dfeaff;
  font-size: 33px;
  font-weight: 550;
}
.week-glance .text-button {
  font-size: 13px;
}
.circle-link {
  color: #8da9d0;
}
.circle-link strong {
  color: #b9cee8;
  font-size: 14px;
}
.circle-link small {
  color: #7386a0;
  font-size: 12px;
}
.segmented {
  background: #181c24;
  border: 1px solid #2c3340;
  padding: 4px;
  border-radius: 8px;
}
.segmented button {
  color: #8995a8;
  font-size: 14px;
  padding: 8px 15px;
}
.segmented button.selected {
  background: #353d4d;
  color: #f2f6ff;
  box-shadow: inset 0 1px 0 #465369;
}
.metrics {
  border-color: #282f3a;
  margin-bottom: 32px;
  padding: 24px 0;
}
.metrics > div {
  border-color: #29313d;
}
.metrics span {
  font-size: 13px;
  color: #8b9ab1;
}
.metrics strong {
  font-size: 32px;
  color: #e7effb;
}
.metrics small {
  color: #7a8ba5;
  font-size: 12px;
}
.metrics .target-stat {
  display: flex;
  align-items: center;
  gap: 10px;
}
.target-stat > span:not(.completion-badge) {
  font-size: 28px;
  color: #d7e3f6;
}
.metrics .target-stat .completion-badge {
  width: 33px;
  height: 33px;
}
.metrics .target-stat small {
  font-size: 17px;
}
.completion-badge {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color) 10%, #12171e);
  color: color-mix(in srgb, var(--color) 65%, #29313c);
  vertical-align: middle;
}
.completion-badge svg {
  width: 19px;
  height: 19px;
}
.completion-badge.complete {
  color: var(--color);
  background: color-mix(in srgb, var(--color) 17%, #10151b);
}
.complete svg {
  stroke-width: 2.2;
}
.subtle,
.field-note {
  color: #8c9ab0;
}
.report-section {
  margin-bottom: 36px;
}
.report-note {
  color: #8998b0;
  font-size: 12px;
  max-width: 940px;
  margin-top: 15px;
  line-height: 1.7;
}
.report-section > .section-heading > .subtle {
  font-size: 12px;
}
.legend {
  color: #93a3ba;
}
.legend i {
  background: #71d9b0;
}
.legend .missed {
  background: #303b4c;
}
.table-scroll {
  border-color: #2b3340;
}
table {
  font-size: 14px;
  color: #bac8dc;
}
thead th {
  background: #11161e;
  color: #899db9;
  border-color: #293444;
  font-size: 12px;
}
tbody td,
tbody th {
  border-color: #242f3e;
}
.habit-name {
  font-size: 14px;
  white-space: normal;
  min-width: 160px;
  color: #d2dfef;
}
.mini-icon {
  background: color-mix(in srgb, var(--color) 10%, #131a23);
  color: var(--color);
}
.habit-board .member-col,
.habit-board .habit-col {
  background: #11161e;
  border-color: #273140;
}
.habit-board .member-col {
  min-width: 120px;
  width: 120px;
}
.habit-board .habit-col {
  left: 120px;
  min-width: 200px;
}
.habit-board td {
  background: #0d1219;
}
.habit-board thead small {
  font-size: 12px;
  color: #7b8da6;
}
.member-cell strong {
  font-size: 13px;
  color: #d7e4f5;
}
.member-cell small {
  color: #82a4c9;
}
.member-start:not(:first-child) > * {
  border-top: 10px solid #273243;
}
.member-start:not(:first-child) .member-cell {
  border-top: 10px solid #394a62;
}
.board-check {
  background: #1f2b3b;
  color: #879db9;
  width: 29px;
  height: 29px;
}
.board-check.done {
  background: color-mix(in srgb, var(--color) 19%, #101921);
  color: var(--color);
}
.board-check.done svg {
  stroke-width: 2.3;
}
.cell-dash {
  background: #52647e;
}
.current-date {
  color: #b2d1ff !important;
}
.month-stripe {
  background: linear-gradient(
    to right,
    color-mix(in srgb, var(--color) 24%, #10151e) var(--fill),
    #1a2431 var(--fill)
  );
  color: var(--color);
  min-width: 47px;
  height: 29px;
  line-height: 29px;
}
.month-stripe svg {
  width: 15px;
  height: 15px;
}
.month-stripe.unavailable {
  background: #141d28;
}
.comparison-table td small {
  color: #8294af;
  font-size: 12px;
}
.comparison-table .habit-leader {
  font-size: 13px;
  color: #a3b8d3;
}
.streak-table td {
  color: #9fb2ca;
}
.streak-table td svg {
  color: #f5c76b;
}
.member-inline {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 160px;
}
.member-inline > span:last-child {
  overflow-wrap: anywhere;
}
.member-inline small {
  display: block;
  color: #849dbb;
  font-size: 12px;
  margin-top: 4px;
}
.performance-table th,
.performance-table td {
  padding: 16px 12px;
}
.performance-table td {
  white-space: nowrap;
}
.performance-table .money {
  color: #f2cc89;
  font-variant-numeric: tabular-nums;
  font-size: 17px;
}
.money small {
  display: block;
  color: #9b9d9e;
  font-size: 12px;
  margin-top: 6px;
}
.performance-meter {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 190px;
  max-width: 340px;
}
.performance-meter small {
  font-size: 12px;
  min-width: 40px;
  color: #98abc5;
}
.standing-bar {
  background: #273344;
  min-width: 70px;
}
.settings-section {
  border-color: #2a3441;
}
.settings-heading h2 {
  font-size: 19px;
}
.settings-heading p {
  color: #899bb3;
  font-size: 13px;
}
.role-badge {
  background: #243650;
  color: #afcfff;
  font-size: 12px;
}
.field {
  color: #b4c3d9;
}
.field input,
.copy-fallback {
  background: #131b26;
  border-color: #33445c;
  color: #dfebfc;
  font-size: 15px;
}
.field input::placeholder {
  color: #768aa5;
}
.field input:disabled {
  opacity: 0.6;
}
.inline-form .field > span {
  font-size: 13px;
}
.field input[type="date"] {
  color-scheme: dark;
}
.form-error {
  color: #ff9aa9;
}
.group-code small {
  color: #8096b4;
}
.group-code code {
  color: #a9c8f3;
}
.group-details {
  gap: 24px;
}
.settings-table th,
.settings-table td {
  padding: 14px 10px;
}
.settings-table .habit-name {
  min-width: 160px;
}
.order-controls {
  white-space: nowrap;
  width: 80px;
}
.order-controls .icon-button {
  width: 30px;
  height: 34px;
}
.order-controls .icon-button:disabled {
  opacity: 0.22;
}
.settings-section > .field-note {
  color: #8197b4;
  font-size: 12px;
}
.members-settings > div {
  border-color: #26374c;
}
.members-settings strong {
  font-size: 14px;
  color: #d2e4ff;
}
.members-settings small {
  color: #8da6c8;
  font-size: 12px;
}
.role-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #b4d4ff;
  font-size: 12px;
  min-height: 36px;
  padding: 7px;
}
.role-toggle:hover {
  background: #1e2e46;
  border-radius: 5px;
}
.role-toggle svg {
  width: 15px;
  height: 15px;
}
.penalty-list > div {
  border-color: #26364a;
  color: #a7bcdb;
}
.penalty-list strong {
  color: #f2cc89;
}
.empty-state > svg {
  color: #6e8fb8;
}
.empty-state p {
  color: #8ba6c7;
}
.boot p {
  color: #91afd3;
}
dialog {
  background: #121a26;
  color: #dceaff;
  border-color: #3a4d69;
  box-shadow: 0 25px 100px #000a;
  border-radius: 8px;
}
dialog::backdrop {
  background: #03060bab;
  backdrop-filter: blur(9px);
}
.dialog-body > p {
  color: #a0b8d8;
}
.dialog-body h2 {
  color: #e4efff;
  font-weight: 600;
  font-size: 25px;
}
.invite-code {
  background: #1e3049;
  border: 1px solid #385476;
}
.invite-code code {
  color: #c2ddff;
}
.color-field legend {
  color: #adc4e3;
}
.action-icon {
  background: #223b58;
  color: #a1ccff;
}
.action-icon.blue {
  background: #273551;
  color: #a0baff;
}
#toast {
  background: #263d53;
  color: #e1f1ff;
  border: 1px solid #4b6c8b;
}
.entry-header {
  border-bottom: 1px solid #232a35;
}
.entry-note,
.entry-footer,
.auth-footer {
  color: #7e91ac;
}
.auth-intro h1 {
  font-size: 50px;
  color: #eff5ff;
  font-weight: 600;
}
.auth-intro .eyebrow {
  color: #89b3ec;
}
.auth-intro p {
  color: #8a9db9;
}
.practice-stripes {
  transform: none;
}
.practice-stripes span {
  background: #232f40;
}
.auth-form h2 {
  color: #e3eeff;
  font-size: 27px;
}
.auth-tabs {
  border-color: #30425a;
  background: #192638;
}
.invite-note {
  background: #1b314d;
  color: #afcefa;
}
.group-card {
  background: #151f2e;
  border-color: #30435e;
}
.group-card:hover {
  border-color: #628cbe;
  background: #1c2d45;
}
.group-card small {
  color: #89a5ca;
}
.groups-main h1 {
  font-size: 39px;
  font-weight: 600;
  color: #e0edff;
}
.group-actions > section + section {
  border-color: #30435c;
}
.checkbox-line {
  color: #a1b7d4;
}
.account-inline small {
  color: #8cadd8;
}
.account-inline {
  color: #d1e7ff;
}
.analytics-section {
  margin: 0 0 40px;
  border-top: 1px solid #2a3442;
  padding-top: 27px;
}
.analytics-section .section-kicker {
  margin-bottom: 9px;
  color: #8099bc;
  font-size: 11px;
}
.analytics-section > .section-heading {
  align-items: flex-start;
}
.analytics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(220px, 1fr);
  gap: 28px;
  padding: 20px 0 27px;
  border-bottom: 1px solid #2b3646;
}
.chart-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.chart-title h3 {
  font-size: 15px;
  font-weight: 500;
  color: #d0e0f6;
}
.chart-title > span {
  font-size: 12px;
  color: #7993b6;
}
.chart-frame {
  aspect-ratio: 760/244;
  width: 100%;
  min-height: 170px;
}
.chart-frame svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.chart-grid line {
  stroke: #2a3648;
  stroke-width: 1;
  stroke-dasharray: 3 5;
}
.chart-grid text {
  fill: #8da6c9;
  font-family: inherit;
  font-size: 12px;
}
.chart-frame polyline {
  fill: none;
  stroke: var(--series);
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.chart-frame circle {
  fill: var(--series);
  stroke: #0b111a;
  stroke-width: 1.5;
}
.chart-frame circle:focus,
.chart-frame circle:hover {
  r: 6;
  outline: none;
  stroke: #eef6ff;
}
.chart-legend {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
  max-width: 65%;
}
.chart-legend button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  font-size: 12px;
  border-radius: 5px;
  color: #8fa9ce;
  border: 1px solid transparent;
}
.chart-legend button:hover {
  background: #1c2c43;
}
.chart-legend button.selected {
  color: #ddeaff;
  border-color: #436087;
  background: #233851;
}
.chart-legend i {
  width: 7px;
  height: 7px;
  display: block;
  background: var(--series);
  border-radius: 50%;
}
.member-chart {
  border-left: 1px solid #2e4059;
  padding-left: 28px;
}
.member-bars {
  display: grid;
  gap: 18px;
  max-height: 270px;
  overflow: auto;
  padding-right: 7px;
}
.member-bar-row > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 13px;
  color: #bfd5f4;
  margin-bottom: 9px;
}
.member-bar-row strong {
  color: var(--series);
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}
.chart-bar-track {
  height: 7px;
  background: #24344a;
  border-radius: 4px;
  overflow: hidden;
}
.chart-bar-track > span {
  display: block;
  height: 100%;
  background: var(--series);
  border-radius: 4px;
}
.member-bar-row small {
  display: block;
  color: #7995bc;
  font-size: 12px;
  margin-top: 7px;
}
/* Carbon surfaces keep the interface neutral; color belongs to progress. */
:root {
  --border: #2b2d32;
  --surface: #16171b;
  --soft: #22252b;
}
.sidebar,
.topbar {
  background: #101114;
  border-color: #292b30;
}
.content {
  background: #0d0e11;
}
.group-picker {
  background: #1b1d22;
  border-color: #32353d;
}
.nav-item.active {
  background: #262a31;
}
.breadcrumbs strong {
  color: #c2c6d0;
}
.habit-row {
  background: #17191e;
  border-color: #2b2e35;
}
.habit-row:hover {
  background: #20232a;
}
.week-strip {
  background: #181a1f;
  border-color: #31343c;
}
.habit-row.completed {
  background: #19221f;
  border-color: #364a40;
}
.habit-board .member-col,
.habit-board .habit-col,
thead th {
  background: #17191e;
}
.habit-board td {
  background: #111318;
}
.field input,
.copy-fallback {
  background: #171a20;
  border-color: #383d49;
}
.segmented {
  background: #191b20;
  border-color: #31353e;
}
.group-card {
  background: #191c22;
  border-color: #343b46;
}
.entry-header {
  border-color: #2c3037;
}
.auth-tabs {
  background: #191d24;
  border-color: #353b47;
}
.mobile-nav {
  background: #15171ced;
}
.chart-grid line {
  stroke: #31363e;
}
.member-chart,
.analytics-section,
.analytics-grid {
  border-color: #30363f;
}
.chart-bar-track {
  background: #272e38;
}
.settings-section,
.metrics,
.metrics > div,
.table-scroll {
  border-color: #30353e;
}
.date-picker {
  background: #1b1e25;
  border-color: #3a414c;
}
dialog {
  background: #181c23;
  border-color: #424b5b;
}
.comparison-table td,
.comparison-table th,
.settings-table td,
.settings-table th {
  border-color: #292e37;
}
@media (min-width: 1500px) {
  .today-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 44px;
  }
}
@media (max-width: 1150px) {
  .today-layout {
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 22px;
  }
  .date-controls > span {
    min-width: 100px;
  }
  .date-picker {
    width: 133px;
  }
  .analytics-grid {
    grid-template-columns: 1fr;
  }
  .member-chart {
    border-left: 0;
    border-top: 1px solid #303b4b;
    padding-left: 0;
    padding-top: 22px;
  }
  .member-bars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
  }
  .page-heading h1 {
    font-size: 29px;
  }
}
@media (max-width: 850px) {
  .mobile-nav {
    background: #16191feb;
    border-color: #393f49;
    backdrop-filter: blur(18px);
  }
  .mobile-nav button {
    color: #8c99ae;
  }
  .mobile-nav .active {
    color: #b5d3ff;
  }
  .mobile-account small {
    color: #afc3df;
  }
  .today-layout {
    grid-template-columns: minmax(0, 1fr) 230px;
  }
  .brand-small {
    font-size: 10px;
  }
  .main-area {
    padding-bottom: 85px;
  }
  .analytics-section > .section-heading {
    display: block;
  }
  .chart-legend {
    max-width: 100%;
    justify-content: flex-start;
    margin-top: 18px;
  }
  .account-inline small {
    color: #93afd3;
  }
}
@media (max-width: 620px) {
  .today-layout {
    display: flex;
    gap: 24px;
  }
  .content {
    padding: 27px 16px 35px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .today-aside {
    gap: 22px;
    grid-template-columns: 1fr 1fr;
  }
  .daily-progress {
    padding: 15px 0;
    border: 0;
  }
  .progress-ring {
    width: 131px;
  }
  .progress-ring strong {
    font-size: 31px;
  }
  .progress-ring strong small {
    font-size: 16px;
  }
  .progress-ring > span > small {
    font-size: 11px;
  }
  .daily-surface > .section-heading {
    padding: 23px 0 17px;
    align-items: flex-start;
    gap: 14px;
  }
  .daily-surface .date-controls {
    width: 100%;
  }
  .daily-surface .date-controls .date-picker {
    flex: 1;
    max-width: 180px;
  }
  .habit-row {
    padding: 13px 12px;
    gap: 11px;
    min-height: 74px;
  }
  .habit-label strong {
    font-size: 15px;
  }
  .habit-icon {
    width: 36px;
    height: 36px;
  }
  .habit-list {
    gap: 7px;
  }
  .week-strip {
    padding: 8px;
    gap: 3px;
  }
  .week-strip button {
    min-height: 69px;
    padding-top: 9px;
  }
  .week-strip button strong {
    font-size: 19px;
  }
  .week-strip button small {
    font-size: 11px;
  }
  .daily-bottom {
    font-size: 12px;
  }
  .week-glance {
    padding: 10px 0;
  }
  .circle-link {
    border-color: #343d49;
  }
  .circle-link strong {
    font-size: 13px;
  }
  .date-controls {
    gap: 3px;
    width: 100%;
    font-size: 12px;
  }
  .date-controls > span {
    flex: 1;
    font-size: 12px;
    min-width: 138px;
  }
  .report-toolbar .date-picker {
    margin-top: 3px;
    flex: 1;
    min-width: 145px;
  }
  .report-toolbar .date-controls > .text-button {
    margin-left: 10px;
  }
  .metrics > div {
    padding: 0 7px;
  }
  .metrics span,
  .metrics small {
    font-size: 12px;
  }
  .metrics strong {
    font-size: 27px;
  }
  .metrics .target-stat {
    gap: 6px;
  }
  .metrics .target-stat > span:not(.completion-badge) {
    font-size: 22px;
  }
  .metrics .target-stat .completion-badge {
    width: 23px;
    height: 23px;
  }
  .metrics .target-stat .completion-badge svg {
    width: 16px;
  }
  .metrics .target-stat small {
    font-size: 13px;
  }
  .section-heading h2 {
    font-size: 18px;
  }
  .habit-board .member-col {
    min-width: 82px;
    width: 82px;
    max-width: 82px;
  }
  .habit-board .habit-col {
    left: 82px;
    min-width: 140px;
  }
  .habit-board .habit-name {
    min-width: 0;
    max-width: 122px;
    font-size: 12px;
  }
  .member-cell strong {
    font-size: 12px;
  }
  .table-scroll {
    max-width: 100%;
  }
  .streak-table .habit-name {
    min-width: 160px;
  }
  .comparison-table .habit-name {
    min-width: 160px;
  }
  .chart-title {
    flex-wrap: wrap;
    gap: 6px;
  }
  .chart-title h3 {
    font-size: 15px;
  }
  .analytics-section .section-kicker {
    font-size: 12px;
  }
  .analytics-grid {
    padding-top: 10px;
    gap: 22px;
  }
  .chart-frame {
    min-height: 155px;
    aspect-ratio: 760/290;
  }
  .chart-grid text {
    font-size: 17px;
  }
  .chart-legend {
    gap: 2px;
  }
  .chart-legend button {
    font-size: 12px;
    padding: 7px;
  }
  .member-bars {
    grid-template-columns: 1fr;
  }
  .member-chart {
    padding-top: 22px;
  }
  .member-bar-row > div:first-child {
    font-size: 14px;
  }
  .settings-heading h2 {
    font-size: 18px;
  }
  .settings-table th,
  .settings-table td {
    padding: 12px 7px;
  }
  .settings-table .habit-name {
    min-width: 135px;
  }
  .order-controls .icon-button {
    width: 28px;
    height: 38px;
  }
  .members-settings > div {
    gap: 7px;
    flex-wrap: wrap;
  }
  .members-settings > div > span:nth-child(2) {
    min-width: 65px;
  }
  .role-toggle {
    font-size: 12px;
    padding: 6px 3px;
    gap: 3px;
  }
  .members-settings .icon-button {
    width: 29px;
  }
  .role-toggle svg {
    width: 13px;
  }
  .settings-heading p {
    font-size: 12px;
  }
  .group-code {
    max-width: 100%;
  }
  .auth-intro h1 {
    font-size: 35px;
  }
  .groups-main h1 {
    font-size: 32px;
  }
  .group-actions > section + section {
    border-color: #37465b;
  }
  .entry-footer {
    font-size: 12px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .workspace-footer {
    font-size: 12px;
    line-height: 1.5;
  }
  .dialog-body h2 {
    font-size: 23px;
  }
  .inline-form .field {
    min-width: 100%;
  }
}
