@font-face {
  font-family: Inter;
  src: url("/assets/inter-v4.1.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: #171717;
  background: #fafafa;
  font-synthesis: none;
  --line: #e8e8e8;
  --muted: #737373;
  --blue: #456ce5;
  --sidebar: 244px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #dedede;
  border-radius: 7px;
  color: #242424;
  background: white;
  box-shadow: 0 1px 2px #00000005;
  text-decoration: none;
  line-height: 1.2;
  transition:
    background 0.12s,
    border-color 0.12s;
}
button:hover,
.button:hover {
  background: #f5f5f5;
  border-color: #cfcfcf;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.primary {
  background: #202020;
  border-color: #202020;
  color: #fff;
  font-weight: 500;
}
.primary:hover {
  background: #363636;
  border-color: #363636;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
input,
select {
  width: 100%;
  min-width: 0;
  border: 1px solid #dcdcdc;
  background: #fff;
  border-radius: 7px;
  padding: 9px 11px;
  color: inherit;
  box-shadow: 0 1px 2px #00000004;
}
input::placeholder {
  color: #929292;
}
label {
  font-size: 13px;
  font-weight: 500;
}
form {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
}
form button {
  justify-self: start;
}
p {
  margin: 0 0 12px;
  line-height: 1.6;
}
h1,
h2 {
  font-weight: 500;
}
h2 {
  font-size: 14px;
  margin: 0 0 13px;
  color: #5c5c5c;
  line-height: 1.45;
}
code {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
  border-radius: 4px;
  background: #f4f4f4;
  padding: 2px 4px;
  color: #454545;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.app-shell {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  min-height: 100dvh;
  padding: 7px 7px 7px 0;
}
.sidebar {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 7px;
  height: calc(100dvh - 14px);
  padding: 7px 8px 8px;
  min-width: 0;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  padding: 0 7px;
  margin-bottom: 16px;
  gap: 5px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.2px;
}
.brand-mark {
  width: 19px;
  height: 19px;
}
.icon-button {
  width: 30px;
  min-height: 30px;
  padding: 6px;
  border: 0;
  box-shadow: none;
  background: transparent;
  color: #666;
}
.navigation {
  display: grid;
  gap: 3px;
}
.navigation button {
  width: 100%;
  justify-content: flex-start;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  min-height: 34px;
  padding: 7px 10px;
  gap: 10px;
  border-radius: 6px;
  white-space: nowrap;
}
.navigation button[aria-pressed="true"] {
  background: #ededed;
  color: #141414;
  font-weight: 500;
}
.navigation button:hover {
  background: #f0f0f0;
}
.navigation svg {
  color: #606060;
}
.sidebar-footer {
  margin-top: auto;
  padding: 12px 7px 0;
}
.account {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}
.avatar {
  width: 27px;
  height: 27px;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #555;
  background: #fff;
  font-size: 11px;
}
.account strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
}
.account div > span {
  color: #888;
  font-size: 11px;
}
.logout {
  width: 100%;
  justify-content: flex-start;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
  padding: 7px 0;
  color: #777;
}
.workspace {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  box-shadow: 0 0 0 1px #00000001;
  overflow: clip;
  display: flex;
  flex-direction: column;
  min-height: calc(100dvh - 14px);
}
.topbar {
  height: 51px;
  flex-shrink: 0;
  padding: 0 23px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}
.topbar h1 {
  font-size: 13px;
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.1px;
}
.page-icon {
  color: #707070;
  display: flex;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.header-actions > span {
  font-size: 11px;
  color: #888;
}
.toolbar {
  height: 48px;
  padding: 0 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 10px;
  flex-shrink: 0;
}
.segmented {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 7px;
  background: #f4f4f4;
}
.segmented button {
  border: 1px solid transparent;
  box-shadow: none;
  min-height: 25px;
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 5px;
  background: transparent;
  color: #777;
}
.segmented button[aria-pressed="true"] {
  background: white;
  color: #171717;
  border-color: #e3e3e3;
  box-shadow: 0 1px 2px #00000008;
}
.timezone {
  font-size: 11px;
  color: #777;
}
.content {
  padding: 22px 23px 28px;
  flex: 1;
  min-width: 0;
  outline: none;
}
.page-description {
  color: #777;
  font-size: 12px;
  margin-bottom: 17px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.view-heading {
  color: #252525;
  font-size: 17px;
  margin: 0 0 20px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 17px;
}
.metric {
  border: 1px solid var(--line);
  border-radius: 11px;
  box-shadow: 0 1px 3px #00000006;
  padding: 16px;
  display: flex;
  flex-direction: column;
  min-height: 137px;
  min-width: 0;
}
.metric-label {
  color: #686868;
  font-size: 12px;
  display: flex;
  gap: 7px;
  align-items: center;
}
.metric-label:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: #919191;
  flex-shrink: 0;
}
.metric:nth-child(2) .metric-label:before {
  background: #456ce5;
}
.metric:nth-child(3) .metric-label:before {
  background: #569573;
}
.metric:nth-child(4) .metric-label:before {
  background: #9a86bf;
}
.metric strong {
  font-size: 34px;
  letter-spacing: -1.4px;
  font-weight: 500;
  line-height: 1.2;
  margin: 10px 0 9px;
  font-variant-numeric: tabular-nums;
}
.metric-detail {
  color: #808080;
  font-size: 11px;
  margin-top: auto;
}
.metric-track {
  height: 6px;
  background: repeating-linear-gradient(
    to right,
    #efefef 0,
    #efefef 5px,
    transparent 5px,
    transparent 7px
  );
  border-radius: 2px;
  margin-top: 9px;
  overflow: hidden;
}
.metric-fill {
  height: 100%;
  background: repeating-linear-gradient(
    to right,
    #5478e7 0,
    #5478e7 5px,
    transparent 5px,
    transparent 7px
  );
}
.columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 16px;
  margin-bottom: 16px;
  background: #fff;
  box-shadow: 0 1px 2px #00000004;
}
.panel > p {
  font-size: 12px;
  color: #777;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}
.panel-heading h2 {
  margin: 0;
}
.count {
  font-size: 11px;
  padding: 1px 6px;
  border: 1px solid #e7e7e7;
  background: #f7f7f7;
  border-radius: 4px;
  color: #777;
  font-variant-numeric: tabular-nums;
}
.item {
  padding: 10px 0;
  border-top: 1px solid #f0f0f0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.item:first-child {
  border: 0;
  padding-top: 0;
}
.item:last-child {
  padding-bottom: 0;
}
.item-title {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.item .muted {
  margin-top: 3px;
  font-size: 11px;
}
.badge {
  flex-shrink: 0;
  display: inline-flex;
  border-radius: 4px;
  border: 1px solid #e8e8e8;
  background: #f7f7f7;
  color: #777;
  font-size: 10px;
  padding: 2px 5px;
  white-space: nowrap;
}
.badge.done {
  color: #367650;
  border-color: #d9eadf;
  background: #f2f8f4;
}
.badge.missed {
  color: #a24e4e;
  border-color: #f0dede;
  background: #fcf5f5;
}
.table-wrap {
  overflow-x: auto;
  max-width: 100%;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  table-layout: fixed;
}
th {
  text-align: left;
  color: #777;
  font-size: 11px;
  font-weight: 400;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 11px 8px;
  vertical-align: top;
  border-bottom: 1px solid #f0f0f0;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
tr:last-child td {
  border-bottom: 0;
}
th:first-child,
td:first-child {
  padding-left: 0;
  width: 56%;
}
th:last-child,
td:last-child {
  padding-right: 0;
  width: 19%;
  color: #777;
  font-size: 11px;
}
.project-col {
  width: 25%;
  color: #777;
}
tbody tr:hover {
  background: #fcfcfc;
}
.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.note {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 16px;
  min-width: 0;
}
.note time {
  font-size: 11px;
  color: #888;
}
.note p,
.proposal p {
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 10px 0 0;
}
.proposal {
  border-top: 1px solid var(--line);
  padding: 13px 0;
}
.proposal:first-child {
  border: 0;
  padding-top: 0;
}
.proposal-actions {
  display: flex;
  gap: 7px;
  margin-top: 13px;
}
.proposal-actions button {
  font-size: 12px;
  min-height: 30px;
  padding: 6px 10px;
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.settings-grid .panel {
  margin: 0;
}
.settings-grid .panel:last-child {
  grid-column: 1/-1;
  max-width: 760px;
}
.connection-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px !important;
  color: #555 !important;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  background: #fafafa;
  padding: 3px 7px;
}
.connection-status[data-connected="true"] {
  color: #3d7d55 !important;
  background: #f2f8f4;
  border-color: #dcebe1;
}
.settings-grid + .button,
.settings-grid + button {
  margin-top: 18px;
}
details {
  margin-top: 18px;
  font-size: 12px;
}
summary {
  cursor: pointer;
  color: #777;
  padding: 3px 0;
}
details p {
  margin: 12px 0;
  font-size: 12px;
  color: #777;
}
.settings-grid form {
  max-width: 540px;
}
.settings-grid input {
  font-size: 12px;
}
.settings-grid form button {
  font-size: 12px;
}
.settings-grid > section > p {
  font-size: 12px;
}
#google-connect {
  font-size: 12px;
  margin-top: 6px;
}
#sync-status {
  font-size: 11px;
  margin-top: 10px;
}
.search {
  display: flex;
  gap: 7px;
  max-width: 500px;
  margin: 0 0 18px;
}
.search input {
  min-width: 0;
}
.search button {
  font-size: 12px;
}
.trend-row {
  padding: 10px 0;
  border-bottom: 1px solid #f3f3f3;
}
.trend-row:last-child {
  border: 0;
}
.trend-label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #666;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.trend-row .muted {
  font-size: 10px;
}
progress {
  appearance: none;
  width: 100%;
  height: 6px;
  display: block;
  margin: 8px 0;
  border: 0;
  border-radius: 3px;
  background: #eee;
  overflow: hidden;
}
progress::-webkit-progress-bar {
  background: #eee;
}
progress::-webkit-progress-value {
  background: #5778e0;
  border-radius: 3px;
}
progress::-moz-progress-bar {
  background: #5778e0;
}
#habit-stats,
#completion-stats {
  color: #777;
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.workspace-footer {
  font-size: 10px;
  color: #999;
  border-top: 1px solid #f1f1f1;
  padding: 12px 23px;
}
.login-screen {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 18px;
  background: #fafafa;
}
.login-brand {
  margin-bottom: 28px;
}
.login-card {
  width: 100%;
  max-width: 375px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
  box-shadow: 0 2px 6px #00000004;
}
.login-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  margin-bottom: 17px;
  color: #555;
}
.login-card h1 {
  font-size: 19px;
  letter-spacing: -0.5px;
  margin: 0 0 9px;
  font-weight: 550;
}
.login-card > p {
  color: #777;
  font-size: 12px;
  margin: 0;
}
.login-card form {
  margin-top: 22px;
  gap: 10px;
}
.login-card form button {
  justify-self: stretch;
  margin-top: 4px;
}
.login-card label {
  font-size: 12px;
}
.login-hint {
  margin-top: 15px;
  color: #969696;
  font-size: 10px;
  text-align: center;
}
.login-footer {
  color: #aaa;
  font-size: 10px;
  margin-top: 22px;
}
#message {
  position: fixed;
  bottom: 16px;
  right: 18px;
  max-width: 440px;
  background: #fff;
  border: 1px solid #dedede;
  box-shadow: 0 4px 18px #0000000d;
  border-radius: 8px;
  color: #444;
  padding: 12px 16px;
  font-size: 12px;
  z-index: 20;
  overflow-wrap: anywhere;
  margin: 0;
}
#message:empty {
  display: none;
}
.skip,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  clip: auto;
  width: auto;
  height: auto;
  top: 8px;
  left: 8px;
  z-index: 50;
  background: white;
  color: #222;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
#mobile-menu {
  display: none;
}
[hidden] {
  display: none !important;
}
.sidebar-small {
  --sidebar: 64px;
}
.sidebar-small .brand span,
.sidebar-small .sidebar-brand > .icon-button,
.sidebar-small .navigation span,
.sidebar-small .account div,
.sidebar-small .logout span {
  display: none;
}
.sidebar-small .sidebar-brand {
  justify-content: center;
  padding: 0;
}
.sidebar-small .navigation button {
  justify-content: center;
  padding: 8px;
}
.sidebar-small .account {
  justify-content: center;
}
.sidebar-small .sidebar-footer {
  padding: 12px 0 0;
}
.sidebar-small .logout {
  justify-content: center;
}
.sidebar-small #mobile-menu {
  display: inline-flex;
}
@media (min-width: 1500px) {
  .content {
    padding: 24px;
  }
  .metric {
    min-height: 147px;
  }
  .metric strong {
    font-size: 37px;
  }
}
@media (max-width: 1100px) {
  :root {
    --sidebar: 210px;
  }
  .sidebar-brand {
    padding: 0 4px;
  }
  .brand {
    font-size: 12px;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 13px;
  }
  .metric-label {
    font-size: 11px;
  }
  .metric strong {
    font-size: 31px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .settings-grid .panel:last-child {
    grid-column: auto;
    max-width: none;
  }
}
@media (max-width: 800px) {
  :root {
    --sidebar: 190px;
  }
  .content {
    padding: 17px;
  }
  .topbar,
  .toolbar {
    padding-left: 17px;
    padding-right: 17px;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .metric {
    min-height: 126px;
  }
  .header-actions > span {
    display: none;
  }
  .notes-grid {
    grid-template-columns: 1fr;
  }
  .sidebar-brand > .icon-button {
    display: none;
  }
  .sidebar-brand {
    height: 42px;
  }
  .brand {
    font-size: 11px;
  }
  .navigation button {
    font-size: 12px;
    gap: 8px;
  }
  .navigation svg {
    width: 14px;
    height: 14px;
  }
}
@media (max-width: 600px) {
  .app-shell,
  .sidebar-small {
    display: block;
    padding: 0;
    --sidebar: 0px;
  }
  .workspace {
    border-radius: 0;
    border-width: 0;
    min-height: 100dvh;
    overflow: hidden;
  }
  .sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 230px;
    height: 100dvh;
    background: #fafafa;
    border-right: 1px solid #e5e5e5;
    z-index: 30;
    padding: 14px 9px;
    box-shadow: 12px 0 40px #00000016;
  }
  .menu-open .sidebar {
    display: flex;
  }
  .menu-open .sidebar:after {
    content: "";
    position: fixed;
    inset: 0 0 0 230px;
    background: #00000018;
    z-index: -1;
  }
  .sidebar .brand span,
  .sidebar .navigation span,
  .sidebar .account div,
  .sidebar .logout span {
    display: initial;
  }
  .sidebar .sidebar-brand {
    justify-content: flex-start;
    padding: 0 6px;
  }
  .sidebar .navigation button {
    justify-content: flex-start;
    padding: 9px 10px;
    font-size: 13px;
    min-height: 38px;
  }
  .sidebar .account,
  .sidebar .logout {
    justify-content: flex-start;
  }
  .sidebar .sidebar-brand > .icon-button {
    display: none;
  }
  .brand {
    font-size: 13px;
  }
  .topbar {
    height: 49px;
    padding: 0 12px;
    gap: 9px;
  }
  #mobile-menu {
    display: inline-flex;
  }
  .page-icon {
    display: none;
  }
  .toolbar {
    padding: 0 13px;
    height: 48px;
  }
  .timezone {
    font-size: 10px;
  }
  .segmented button {
    font-size: 11px;
    padding: 4px 8px;
  }
  .content {
    padding: 16px 13px 25px;
  }
  .metrics {
    gap: 9px;
    margin-bottom: 13px;
  }
  .metric {
    padding: 13px;
    min-height: 129px;
    border-radius: 9px;
  }
  .metric strong {
    font-size: 30px;
    margin: 10px 0 8px;
  }
  .metric-label {
    font-size: 10px;
    gap: 5px;
  }
  .metric-detail {
    font-size: 10px;
  }
  .panel {
    padding: 14px;
    border-radius: 9px;
    margin-bottom: 13px;
  }
  .panel h2 {
    font-size: 13px;
  }
  .page-description {
    font-size: 11px;
    margin-bottom: 14px;
  }
  .project-col {
    display: none;
  }
  th:first-child,
  td:first-child {
    width: 70%;
  }
  th:last-child,
  td:last-child {
    width: 30%;
  }
  .item {
    gap: 8px;
  }
  .item-title {
    font-size: 12px;
  }
  .item .muted {
    font-size: 10px;
  }
  .badge {
    font-size: 9px;
    max-width: 90px;
    white-space: normal;
    text-align: center;
  }
  .workspace-footer {
    padding: 12px 14px;
    font-size: 9px;
  }
  .login-card {
    padding: 23px;
  }
  #message {
    bottom: 12px;
    left: 12px;
    right: 12px;
    max-width: none;
  }
  .settings-grid {
    gap: 13px;
  }
  .search {
    max-width: none;
  }
  .notes-grid {
    gap: 11px;
  }
  .view-heading {
    font-size: 16px;
  }
  .timezone {
    white-space: nowrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
.metric-progress {
  margin: 10px 0 0;
  height: 6px;
  border-radius: 2px;
}
.metric-progress::-webkit-progress-bar {
  background: repeating-linear-gradient(
    to right,
    #eee 0,
    #eee 5px,
    transparent 5px,
    transparent 7px
  );
}
.metric-progress::-webkit-progress-value {
  background: repeating-linear-gradient(
    to right,
    #5478e7 0,
    #5478e7 5px,
    transparent 5px,
    transparent 7px
  );
  border-radius: 0;
}
.metric-progress::-moz-progress-bar {
  background: #5478e7;
}
.attention-panel,
.calendar-panel {
  min-height: 174px;
}
.table-caption {
  font-size: 10px !important;
  color: #909090 !important;
  margin: 8px 0 0;
}
.table-caption:empty {
  display: none;
}
.mobile-close {
  display: none;
}
@media (max-width: 600px) {
  .sidebar .sidebar-brand > .mobile-close {
    display: inline-flex;
    margin-left: auto;
  }
  .sidebar .sidebar-brand {
    justify-content: space-between;
  }
}
