:root {
  --bg:#f5f4f8;
  --paper:#fff;
  --ink:#24242a;
  --muted:#898993;
  --line:#eeedf2;
  --coral:#f27757;
  --purple:#a79acb;
  --green:#5c947d;
  --sidebar:238px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    14px -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: -.2px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: .5;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #b5a1d6;
  outline-offset: 3px;
}
.sidebar {
  width: var(--sidebar);
  position: fixed;
  inset: 0 auto 0 0;
  background: #fbfbfd;
  border-right: 1px solid #e9e8ef;
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 720;
  font-size: 26px;
  letter-spacing: -1.5px;
}
.brandmark {
  font-size: 22px;
  letter-spacing: -5px;
  width: 34px;
  height: 34px;
  padding: 2px 8px 0 4px;
  background: var(--coral);
  color: white;
  border-radius: 12px;
  transform: rotate(-6deg);
}
.brandmark span {
  font-weight: 400;
}
.brand-dot {
  color: var(--coral);
  margin-left: -9px;
}
.workspace {
  display: flex;
  align-items: center;
  gap: 9px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 11px;
  margin: 35px -2px 28px;
}
.avatar {
  background: #ece7f3;
  color: #847297;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-weight: 600;
}
.workspace strong {
  font-size: 11px;
  display: block;
}
.workspace small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.tiny {
  margin-left: auto;
  color: var(--muted);
}
.nav-label,
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.6px;
  color: var(--muted);
}
.nav-label {
  margin: 0 12px 12px;
}
.nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  background: none;
  border: 0;
  padding: 13px;
  border-radius: 10px;
  text-align: left;
  color: #777680;
  margin: 3px 0;
  font-size: 13px;
}
.nav-item.active {
  background: #eeebf4;
  color: #3c344b;
  font-weight: 650;
}
.nav-item:hover {
  background: #f0edf5;
}
.nav-item .nav-count {
  margin-left: auto;
  font-size: 10px;
  background: white;
  border-radius: 5px;
  padding: 2px 6px;
}
.sidebar-bottom {
  margin-top: auto;
}
.quote {
  border-top: 1px solid var(--line);
  padding: 25px 12px 24px;
}
.quote > span {
  font-size: 30px;
  color: var(--coral);
}
.quote p {
  font-size: 18px;
  font-weight: 550;
  line-height: 1.4;
  margin: 10px 0;
}
.quote small {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  display: block;
}
.local-status {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 15px 13px 0;
}
.local-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #82aa94;
}
.app-shell {
  margin-left: var(--sidebar);
}
.topbar {
  height: 83px;
  border-bottom: 1px solid #e9e8ee;
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.breadcrumbs {
  font-size: 12px;
  color: #92909d;
  display: flex;
  gap: 13px;
}
.breadcrumbs strong {
  color: #5e5b69;
  font-weight: 500;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 19px;
}
.today-label {
  font-size: 11px;
  color: var(--muted);
}
.icon-button {
  border: 0;
  background: none;
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  font-size: 23px;
}
.icon-button:hover {
  background: #f1eef6;
}
.profile {
  width: 33px;
  height: 33px;
  border: 3px solid white;
  background: #e9dfd9;
  border-radius: 50%;
  font-size: 11px;
  box-shadow: 0 0 0 1px #e6e2df;
}
main {
  padding: 32px 38px 15px;
  max-width: 1600px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
  gap: 16px;
}
h1 {
  font-size: 30px;
  letter-spacing: -1.2px;
  font-weight: 650;
  margin: 7px 0 8px;
}
h1 span {
  font-weight: 400;
}
.subtitle {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}
.heading-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.button {
  border: 1px solid #e5e3ea;
  background: white;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 550;
  white-space: nowrap;
}
.button svg {
  width: 14px;
  height: 14px;
}
.primary {
  background: #29272f;
  color: white;
  border-color: #29272f;
}
.primary:hover {
  background: #47414f;
}
.ghost {
  background: transparent;
}
.soft {
  background: #f7f5fa;
  border: 0;
  color: #75638c;
}
.demo-pill {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: #95809d;
  background: #eee9f3;
  border-radius: 5px;
  font-size: 9px;
  padding: 4px 6px;
  letter-spacing: .4px;
}
.date-strip {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 21px;
}
.welcome-date {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--muted);
  text-transform: uppercase;
}
.metrics {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
  gap: 17px;
  margin-bottom: 22px;
}
.card {
  background: var(--paper);
  border: 1px solid #eeedf2;
  border-radius: 17px;
  padding: 21px;
  min-width: 0;
}
.metric {
  position: relative;
  min-height: 153px;
}
.metric-label {
  font-size: 11px;
  color: #77727e;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.metric-label svg {
  width: 16px;
  height: 16px;
  color: #9a929c;
}
.metric-value {
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -1.1px;
  margin: 21px 0 10px;
}
.metric-value small {
  font-size: 13px;
  font-weight: 450;
  letter-spacing: 0;
  margin-left: 3px;
}
.metric-foot {
  font-size: 10px;
  color: var(--muted);
}
.metric.coral {
  background: #f28262;
  border: 0;
  color: white;
  overflow: hidden;
}
.metric.coral:after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 24px solid #ffffff13;
  right: -52px;
  bottom: -65px;
  pointer-events: none;
}
.metric.coral .metric-label,
.metric.coral svg,
.metric.coral .metric-foot {
  color: #fff0e9;
}
.mini-tag {
  font-size: 9px;
  background: #ffffff26;
  border-radius: 4px;
  padding: 3px 5px;
  margin-right: 5px;
}
.progress {
  height: 5px;
  background: #f0edf4;
  border-radius: 10px;
  overflow: hidden;
}
.progress > span {
  display: block;
  height: 100%;
  border-radius: 10px;
  background: var(--purple);
}
.metric .progress {
  margin: 18px 0 10px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(290px, 1fr);
  gap: 21px;
}
.stack {
  display: grid;
  gap: 21px;
  align-content: start;
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.card-header h2,
h2 {
  font-size: 14px;
  font-weight: 650;
  margin: 0;
}
.card-header p {
  font-size: 10px;
  color: var(--muted);
  margin: 6px 0 0;
}
.text-button {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 10px;
  padding: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.text-button:hover {
  color: var(--coral);
}
.text-button svg {
  width: 13px;
  height: 13px;
}
.chart-legend {
  display: flex;
  gap: 12px;
  font-size: 9px;
  color: var(--muted);
}
.legend-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  margin-right: 4px;
  background: var(--coral);
}
.legend-dot.purple {
  background: #c8bfda;
}
.chart {
  height: 185px;
  width: 100%;
  margin: 0;
}
.chart svg {
  width: 100%;
  height: 100%;
  stroke: none;
  overflow: visible;
}
.chart text {
  fill: #a5a0af;
  font-size: 10px;
  font-family: inherit;
}
.chart-summary {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 17px;
  margin-top: 13px;
  font-size: 10px;
  color: var(--muted);
}
.chart-summary strong {
  color: var(--ink);
  font-weight: 600;
}
.budget-bottom {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
  margin-top: 16px;
}
.budget-bottom b {
  color: var(--green);
  font-weight: 500;
}
.tabs {
  display: flex;
  gap: 3px;
  background: #f5f3f8;
  border-radius: 8px;
  padding: 3px;
  font-size: 10px;
}
.tabs button {
  border: 0;
  background: none;
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 10px;
}
.tabs button.selected {
  background: white;
  color: var(--ink);
  box-shadow: 0 1px 3px #30213e0b;
}
.task {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 0;
  border-bottom: 1px solid #f0eef4;
}
.task:last-child {
  border-bottom: 0;
}
.check {
  width: 17px;
  height: 17px;
  appearance: none;
  flex: none;
  border: 1.5px solid #ddd7e5;
  border-radius: 5px;
  background: white;
  cursor: pointer;
  margin: 0;
  display: grid;
  place-items: center;
}
.check:checked {
  background: var(--purple);
  border-color: var(--purple);
}
.check:checked:after {
  content: "✓";
  font-size: 12px;
  color: white;
}
.task-title {
  font-size: 11px;
  line-height: 1.5;
}
.task.done .task-title {
  text-decoration: line-through;
  color: #b1aab9;
}
.task-meta {
  font-size: 9px;
  color: #a19aa9;
  margin-top: 4px;
}
.task-category {
  margin-left: auto;
  background: #f0edf7;
  color: #9b8daf;
  padding: 4px 7px;
  border-radius: 5px;
  font-size: 9px;
  white-space: nowrap;
}
.task-category.orange {
  background: #fff0e8;
  color: #ce947c;
}
.task-category.green {
  background: #eaf3ef;
  color: #78a08c;
}
.delete {
  border: 0;
  background: none;
  color: #b4aaba;
  font-size: 15px;
  padding: 3px 5px;
}
.delete:hover {
  color: #d06554;
}
.tasks-list .task > .delete {
  opacity: 0;
}
.tasks-list .task:hover > .delete,
.tasks-list .task:focus-within > .delete {
  opacity: 1;
}
.add-inline {
  border: 1px dashed #e7e0ee;
  color: #a299ae;
  width: 100%;
  border-radius: 9px;
  background: none;
  font-size: 10px;
  padding: 11px;
  margin-top: 16px;
}
.add-inline:hover {
  background: #faf8fd;
}
.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.calendar-head strong {
  font-size: 12px;
  font-weight: 600;
}
.calendar-arrows {
  display: flex;
  gap: 3px;
}
.calendar-arrows button {
  font-size: 16px;
  height: 25px;
  width: 25px;
}
.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  margin-top: 15px;
  text-align: center;
}
.day-label {
  font-size: 9px;
  color: #a49bab;
  padding: 7px 0;
}
.day {
  position: relative;
  border: 0;
  background: none;
  border-radius: 8px;
  padding: 8px 2px;
  font-size: 10px;
  min-height: 31px;
}
.day:hover {
  background: #f2edf8;
}
.day.out {
  color: #c8c2cd;
}
.day.selected {
  background: #302b38;
  color: white;
}
.day.today:not(.selected) {
  background: #f3e9e5;
  color: #d17f60;
}
.day.has-event:after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: calc(50% - 1.5px);
  width: 3px;
  height: 3px;
  background: var(--coral);
  border-radius: 50%;
}
.agenda-label {
  border-top: 1px solid var(--line);
  margin: 16px 0 7px;
  padding-top: 16px;
  font-size: 9px;
  color: #a49baa;
  text-transform: uppercase;
  letter-spacing: 1.1px;
}
.event {
  display: flex;
  gap: 13px;
  padding: 10px 0;
  align-items: center;
}
.event-time {
  font-size: 10px;
  color: #a198ab;
  width: 35px;
  flex: none;
}
.event-info {
  padding-left: 11px;
  border-left: 3px solid var(--purple);
  flex: 1;
}
.event:nth-of-type(even) .event-info {
  border-color: #eeaa8e;
}
.event-title {
  font-size: 11px;
}
.event-place {
  font-size: 9px;
  color: var(--muted);
  margin-top: 5px;
}
.habits-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.habit {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
}
.habit-icon {
  width: 31px;
  height: 31px;
  background: #f4f0f9;
  color: #9983b6;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 15px;
}
.habit > div:nth-child(2) {
  flex: 1;
}
.habit p {
  margin: 0;
  font-size: 11px;
}
.habit small {
  font-size: 9px;
  color: var(--muted);
}
.habit-days {
  display: flex;
  gap: 4px;
}
.habit-day {
  width: 23px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  font-size: 9px;
  color: #afa4bc;
  background: #f5f1f9;
}
.habit-day.on {
  background: #c0afd7;
  color: white;
}
.habit-day.current {
  box-shadow: 0 0 0 1px #af99c8;
}
.habit-day:not(:disabled):hover {
  background: #e1d6ee;
}
.goal {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 13px 0;
}
.goal-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f8eee7;
  color: #ce9a7d;
  font-size: 18px;
}
.goal-content {
  flex: 1;
  min-width: 0;
}
.goal-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  margin-bottom: 8px;
}
.goal-title span {
  color: var(--muted);
  font-size: 9px;
}
.goal .progress {
  height: 4px;
}
.goal-foot {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
  margin-top: 7px;
}
.note-preview {
  background: #faf7ef;
  border: 1px solid #f1ebdf;
  border-radius: 10px;
  padding: 15px;
  margin-top: 12px;
  text-align: left;
  width: 100%;
}
.note-preview strong {
  font-size: 11px;
  font-weight: 600;
}
.note-preview p {
  font-size: 11px;
  line-height: 1.7;
  color: #9b9381;
  white-space: pre-wrap;
  margin-bottom: 0;
}
.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 21px;
}
.wide {
  grid-column: 1/-1;
}
.empty {
  padding: 24px 10px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  line-height: 1.7;
}
.transaction {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.transaction-icon {
  background: #f4f0f8;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #a590b8;
}
.transaction > div:nth-child(2) {
  flex: 1;
}
.transaction strong {
  font-size: 12px;
  font-weight: 500;
}
.transaction small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
}
.transaction-amount {
  font-size: 12px;
  font-weight: 600;
}
.positive {
  color: var(--green);
}
.settings-block {
  max-width: 780px;
}
.settings-block p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}
.settings-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.danger {
  color: #b25e51;
  background: #fff8f7;
  border-color: #eedcd8;
}
.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.notes-grid .note-preview {
  margin: 0;
  min-height: 180px;
  position: relative;
}
.notes-grid .note-preview:nth-child(3n+2) {
  background: #f1edf7;
  border-color: #e9e1f2;
}
.notes-grid .note-preview:nth-child(3n) {
  background: #ecf3ef;
  border-color: #e1ebe5;
}
.notes-grid .note-preview p {
  color: #8b8395;
}
.note-preview:hover {
  box-shadow: 0 4px 16px #39304a08;
}
.big-calendar {
  gap: 6px;
}
.big-calendar .day {
  height: 80px;
  text-align: left;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.event-chip {
  font-size: 8px;
  display: block;
  background: #ebe4f3;
  padding: 4px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #8c79a7;
}
.big-calendar .selected .event-chip {
  background: #ffffff24;
  color: white;
}
.search-input {
  width: 100%;
  padding: 13px;
  border: 1px solid #e8e1ee;
  border-radius: 10px;
  margin: 5px 0 17px;
  background: #fcfbfe;
}
footer {
  margin: 18px 38px 28px;
  display: flex;
  justify-content: space-between;
  color: #b1a9bb;
  font-size: 9px;
}
footer span {
  font-size: 8px;
  letter-spacing: 1px;
}
dialog {
  border: 1px solid #e9e2ef;
  border-radius: 20px;
  padding: 27px;
  width: min(470px, calc(100% - 28px));
  color: var(--ink);
  box-shadow: 0 30px 90px #28203024;
}
dialog::backdrop {
  background: #29233655;
  backdrop-filter: blur(4px);
}
.modal-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.modal-heading h2 {
  font-size: 22px;
}
.modal-heading .eyebrow {
  margin: 0 0 7px;
}
.field {
  display: block;
  margin-bottom: 15px;
  font-size: 11px;
  color: #7f748b;
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 11px 12px;
  border: 1px solid #e5dfea;
  border-radius: 9px;
  background: #fcfbfd;
  color: #3b3344;
  outline: 0;
  min-height: 41px;
}
.field textarea {
  height: 120px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  border-color: #b4a0c8;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 24px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: calc(50% + 100px);
  transform: translate(-50%, 15px);
  background: #302938;
  color: white;
  box-shadow: 0 8px 30px #2e203b20;
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 12px;
  opacity: 0;
  transition: .2s;
  pointer-events: none;
  z-index: 50;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.storage-warning {
  background: #fff0e8;
  color: #a25338;
  padding: 12px;
  border-radius: 9px;
  margin-bottom: 15px;
  font-size: 12px;
}
.month-select {
  display: flex;
  align-items: center;
  gap: 10px;
}
.month-select input {
  border: 1px solid #e9e3ed;
  background: white;
  border-radius: 8px;
  padding: 8px;
  font-size: 11px;
  color: #75667f;
}
@media (min-width: 1550px) {
  main {
    padding-top: 40px;
  }
  .metric {
    min-height: 170px;
  }
  .chart {
    height: 230px;
  }
  .card {
    padding: 25px;
  }
  .task {
    padding: 17px 0;
  }
  .calendar .day {
    padding: 10px;
  }
}
@media (max-width: 1150px) {
  :root {
    --sidebar:200px;
  }
  .sidebar {
    padding: 26px 16px;
  }
  .topbar {
    padding: 0 25px;
  }
  main {
    padding: 27px 25px;
  }
  .metrics {
    gap: 12px;
  }
  .card {
    padding: 17px;
  }
  .metric-value {
    font-size: 26px;
  }
  .dashboard-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 16px;
  }
  .stack {
    gap: 16px;
  }
  .habit-days {
    gap: 3px;
  }
  .habit-day {
    width: 19px;
  }
  .habit-icon {
    display: none;
  }
  .heading-actions .button {
    padding: 9px 11px;
  }
  .today-label {
    display: none;
  }
  footer {
    margin-left: 25px;
    margin-right: 25px;
  }
  .workspace strong {
    font-size: 10px;
  }
}
@media (max-width: 900px) {
  :root {
    --sidebar:74px;
  }
  .sidebar {
    padding: 24px 14px;
    align-items: center;
  }
  .brand {
    font-size: 0;
    gap: 0;
  }
  .brand-dot,
  .workspace,
  .nav-label,
  .quote,
  .sidebar-bottom .nav-item,
  .local-status {
    display: none;
  }
  .brandmark {
    font-size: 23px;
    width: 36px;
  }
  .sidebar nav {
    margin-top: 38px;
  }
  .nav-item {
    font-size: 0;
    padding: 13px;
    width: 45px;
    justify-content: center;
  }
  .nav-item svg {
    width: 20px;
    height: 20px;
  }
  .nav-count {
    display: none;
  }
  .sidebar-bottom {
    margin-top: auto;
  }
  .dashboard-grid {
    grid-template-columns: 1.2fr 1fr;
  }
  .metric-value {
    font-size: 24px;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric {
    min-height: 137px;
  }
  .metric-value {
    margin-top: 17px;
  }
  .notes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 650px) {
  :root {
    --sidebar:0px;
  }
  .sidebar {
    width: 100%;
    height: 65px;
    inset: auto 0 0;
    padding: 0 7px;
    border-right: 0;
    border-top: 1px solid #e6e0ec;
    background: #fcfbfef5;
    backdrop-filter: blur(12px);
    display: block;
  }
  .brand,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    margin: 0;
    display: flex;
    height: 100%;
    justify-content: space-around;
    align-items: center;
  }
  .nav-item {
    flex-direction: column;
    gap: 4px;
    width: auto;
    font-size: 8px;
    padding: 8px 9px;
    margin: 0;
    border-radius: 10px;
  }
  .nav-item svg {
    width: 18px;
    height: 18px;
  }
  .nav-item[data-page=noter] {
    display: none;
  }
  .topbar {
    height: 63px;
    padding: 0 20px;
  }
  .top-actions {
    gap: 7px;
  }
  main {
    padding: 22px 17px 10px;
  }
  .page-heading {
    align-items: flex-start;
    margin-bottom: 23px;
    flex-wrap: wrap;
  }
  h1 {
    font-size: 27px;
  }
  .heading-actions {
    margin-top: 0;
  }
  .heading-actions .button {
    font-size: 10px;
  }
  .metrics {
    gap: 10px;
    margin-bottom: 15px;
  }
  .card {
    border-radius: 14px;
    padding: 17px;
  }
  .metric {
    min-height: 138px;
  }
  .metric-value {
    font-size: 27px;
  }
  .metric-label {
    font-size: 10px;
  }
  .metric-foot {
    font-size: 9px;
  }
  .dashboard-grid,
  .section-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .stack {
    gap: 15px;
  }
  .chart {
    height: 180px;
  }
  .habit-icon {
    display: grid;
  }
  .habit-day {
    width: 25px;
    height: 28px;
  }
  .notes-grid {
    grid-template-columns: 1fr;
  }
  .date-strip {
    margin-bottom: 17px;
  }
  .welcome-date {
    font-size: 9px;
  }
  .demo-pill {
    font-size: 8px;
  }
  .card-header {
    margin-bottom: 13px;
  }
  .calendar .day {
    padding: 11px 2px;
    font-size: 11px;
  }
  .big-calendar .day {
    height: 60px;
    padding: 7px 3px;
  }
  .big-calendar .event-chip {
    font-size: 7px;
    padding: 3px;
  }
  .event-info {
    min-width: 0;
  }
  .tasks-list .task > .delete {
    opacity: 1;
  }
  .task-title {
    font-size: 12px;
  }
  .task {
    padding: 15px 0;
  }
  .chart-legend {
    gap: 7px;
    font-size: 8px;
  }
  .chart-summary {
    font-size: 9px;
  }
  footer {
    margin: 15px 18px 90px;
    font-size: 8px;
  }
  .toast {
    left: 50%;
    bottom: 80px;
    white-space: nowrap;
    max-width: 95%;
  }
  .month-select input {
    max-width: 145px;
  }
  .button {
    padding: 10px 12px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  main {
    animation: appear .35s ease;
  }
  @keyframes appear {
    from {
      opacity: .4;
      transform: translateY(6px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
.budget-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin: 0 0 23px;
  flex-wrap: wrap;
}
.budget-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  padding: 4px;
  background: #eeebf3;
  border-radius: 11px;
}
.budget-tabs button {
  background: none;
  border: 0;
  border-radius: 8px;
  font-size: 11px;
  padding: 10px 12px;
  color: #8c8198;
}
.budget-tabs button.active {
  background: white;
  color: #403348;
  box-shadow: 0 2px 6px #46304f08;
}
.budget-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.budget-stat-value {
  font-size: 23px;
  letter-spacing: -.8px;
  font-weight: 650;
  margin: 20px 0 12px;
  overflow-wrap: anywhere;
}
.budget-stats > .card:first-child {
  background: #f28262;
  border-color: #f28262;
  color: white;
}
.budget-stats > .card:first-child .metric-label,
.budget-stats > .card:first-child .metric-foot {
  color: #fff0e9;
}
.budget-info {
  background: #eeebf3;
  color: #8a7b96;
  font-size: 11px;
  line-height: 1.9;
  border-radius: 12px;
  padding: 15px 18px;
  margin-bottom: 22px;
}
.budget-info strong {
  color: #72607f;
}
.table-scroll {
  overflow-x: auto;
  max-width: 100%;
  overscroll-behavior-x: contain;
}
.budget-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 11px;
}
.budget-table th {
  padding: 12px 13px;
  border-bottom: 1px solid #e9e2ef;
  font-size: 9px;
  color: #94859f;
  font-weight: 550;
  white-space: nowrap;
}
.budget-table td {
  padding: 15px 13px;
  border-bottom: 1px solid #f0ecf4;
  vertical-align: middle;
  line-height: 1.5;
}
.budget-table td:first-child {
  min-width: 145px;
}
.budget-table td strong {
  font-weight: 550;
}
.budget-table small {
  font-size: 9px;
  color: #aaa0b4;
  display: block;
  margin-top: 4px;
  max-width: 240px;
  overflow-wrap: anywhere;
}
.budget-table tr:last-child td {
  border-bottom: 0;
}
.numeric {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.actual-input {
  width: 135px;
  padding: 9px;
  border-radius: 7px;
  border: 1px solid #e4dbe9;
  background: #faf7ef;
  font-size: 11px;
  color: #65596e;
  outline: 0;
}
.actual-input:focus {
  border-color: #b396c8;
  box-shadow: 0 0 0 2px #e7dcee;
}
.actual-input:invalid {
  border-color: #c56f5f;
}
.actual-input::placeholder {
  font-size: 9px;
  color: #c0b4a4;
}
.status-pill {
  display: inline-block;
  font-size: 9px;
  border-radius: 5px;
  padding: 4px 6px;
  white-space: nowrap;
}
.waiting {
  background: #fbf1e7;
  color: #bf9674;
}
.complete {
  background: #eaf3ef;
  color: #7d9f8e;
}
.budget-category {
  margin-top: 22px;
}
.category-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
  background: #f7f4fa;
  border-top: 1px solid #e7dfef;
  border-radius: 6px;
  padding: 13px;
}
.category-heading h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
}
.category-heading span {
  font-size: 10px;
  color: #a196ab;
  line-height: 1.7;
}
.row-actions {
  display: flex;
  gap: 7px;
  align-items: center;
}
.negative {
  color: #c4715d;
}
.budget-help {
  font-size: 11px;
  color: #a092ab;
  line-height: 1.9;
  margin: 16px 0;
}
.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.category-chips button {
  border: 1px solid #e9e1f0;
  border-radius: 7px;
  background: #faf8fd;
  color: #9b89aa;
  padding: 8px 11px;
  font-size: 10px;
}
.category-chips button span {
  margin-left: 8px;
  opacity: .6;
}
.category-percent {
  margin: 17px 0;
}
.category-percent .goal-title {
  font-size: 10px;
  gap: 10px;
}
.category-percent .goal-title strong {
  font-weight: 500;
}
.transfer-method {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 22px;
}
.transfer-method .field {
  min-width: 310px;
  margin: 0;
}
.transfer-method p {
  font-size: 11px;
  color: #9c8ba9;
  line-height: 1.8;
  max-width: 480px;
}
.transfer-group {
  background: #f5f0f9;
  color: #8e779f;
}
.annual-chart {
  height: 220px;
  display: flex;
  gap: 8px;
  padding: 15px 0;
  margin-bottom: 15px;
}
.annual-chart-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  text-align: center;
}
.annual-chart-col > span {
  font-size: 8px;
  color: #a194ac;
}
.annual-bars {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 3px;
  height: 175px;
  border-bottom: 1px solid #efebf4;
}
.annual-bars i {
  width: 40%;
  max-width: 20px;
  background: #c4b6d8;
  border-radius: 3px 3px 0 0;
  min-height: 0;
}
.annual-bars i + i {
  background: #f18d6e;
}
.sr-only {
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .budget-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .budget-stat-value {
    font-size: 24px;
  }
  .budget-tabs button {
    font-size: 10px;
    padding: 9px 10px;
  }
  .transfer-method {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .budget-table th,
  .budget-table td {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 650px) {
  .budget-toolbar {
    gap: 12px;
  }
  .budget-tabs {
    width: 100%;
    gap: 3px;
  }
  .budget-tabs button {
    flex: 1 1 30%;
    padding: 11px 5px;
    font-size: 10px;
  }
  .budget-stats {
    gap: 10px;
    margin-bottom: 15px;
  }
  .budget-stat-value {
    font-size: 20px;
    margin-top: 15px;
  }
  .budget-stats .metric-label {
    line-height: 1.5;
    min-height: 30px;
  }
  .budget-stats .metric-foot {
    line-height: 1.7;
  }
  .budget-info {
    padding: 13px;
    font-size: 10px;
  }
  .budget-table {
    font-size: 10px;
  }
  .category-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .transfer-method .field {
    min-width: 0;
    width: 100%;
  }
  .transfer-method {
    gap: 0;
  }
  .budget-table .actual-input {
    font-size: 12px;
  }
  .annual-chart {
    gap: 5px;
  }
  .budget-help {
    font-size: 10px;
  }
  .budget-table td:first-child {
    min-width: 120px;
  }
}
.point-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.point-person {
  display: flex;
  align-items: center;
  gap: 13px;
  background: white;
  border: 1px solid #e9e2ef;
  border-radius: 16px;
  padding: 20px;
  text-align: left;
  min-width: 0;
}
.point-person.selected {
  border-color: #bda7d1;
  box-shadow: 0 0 0 3px #e9e1f14a;
}
.point-avatar {
  width: 43px;
  height: 43px;
  flex: none;
  background: #ebe4f2;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #9480a5;
  font-size: 18px;
}
.point-person:nth-child(2) .point-avatar {
  background: #f8e7df;
  color: #d09678;
}
.point-person-info {
  flex: 1;
  min-width: 0;
}
.point-person-info strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.point-person-info small {
  display: block;
  color: #a193ab;
  font-size: 10px;
  margin-top: 7px;
}
.point-crown {
  color: #d2aa67;
  font-size: 18px;
}
.point-balance {
  text-align: right;
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -.8px;
}
.point-balance small {
  display: block;
  font-size: 9px;
  color: #b1a4ba;
  font-weight: 400;
  letter-spacing: 0;
  margin-top: 5px;
}
.point-help {
  font-size: 10px;
  color: #a797b1;
  line-height: 1.8;
  margin: 12px 0 20px;
}
.task-tabs {
  display: inline-flex;
  margin-bottom: 21px;
}
.task-list-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  flex-wrap: wrap;
}
.task-list-toolbar .tabs {
  flex-wrap: wrap;
}
.task-scope {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #a190ad;
}
.task-scope select {
  background: #faf8fd;
  border: 1px solid #e9e1f0;
  border-radius: 7px;
  padding: 8px;
  font-size: 11px;
  color: #786782;
  max-width: 180px;
}
.expanded-task {
  display: block;
  padding: 17px 0;
}
.task-primary {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.task-primary > .check {
  margin-top: 3px;
}
.task-body {
  flex: 1;
  min-width: 0;
}
.task-badges {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 8px;
  flex-wrap: wrap;
}
.point-tag {
  background: #f5ecdf;
  color: #bf9b6a;
  font-size: 9px;
  padding: 4px 6px;
  border-radius: 5px;
}
.task-area {
  font-size: 9px;
  color: #b1a3bc;
}
.overdue {
  background: #fcece7;
  color: #d18d76;
}
.task-row-actions {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.task-row-actions .text-button {
  font-size: 9px;
}
.task-checklist {
  margin: 14px 0 0 29px;
  padding: 0 0 0 13px;
  border-left: 2px solid #f0eaf6;
}
.subtask {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 9px 0;
  font-size: 11px;
  color: #998ba4;
  line-height: 1.6;
}
.subtask .check {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}
.subtask .check:checked + span {
  text-decoration: line-through;
  color: #b9aec2;
}
.task-checklist > small {
  font-size: 9px;
  color: #b8aac3;
}
.skipped-task .task-title {
  color: #b5a8be;
  text-decoration: line-through;
}
.dashboard-points {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  background: #f8f5fb;
  border-radius: 8px;
  padding: 12px;
  font-size: 10px;
  color: #ab9ab8;
  margin-bottom: 9px;
}
.dashboard-points strong {
  color: #9781a7;
  font-weight: 550;
  margin-left: 5px;
}
.reward-shortcut {
  margin: 14px 0 0 auto;
}
.series-row {
  padding: 19px 0;
  border-bottom: 1px solid #f0ebf5;
  display: flex;
  gap: 16px;
  align-items: center;
}
.series-row > div {
  flex: 1;
}
.series-row strong {
  font-size: 12px;
}
.series-row p {
  font-size: 10px;
  color: #9d8cac;
  margin: 7px 0;
}
.series-row small {
  font-size: 9px;
  color: #b8a9c2;
}
.series-row .button {
  font-size: 10px;
}
.rewards-intro {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  align-items: center;
  margin: 7px 0 22px;
}
.rewards-intro h2 {
  font-size: 17px;
  letter-spacing: -.5px;
}
.rewards-intro p {
  font-size: 11px;
  color: #a48caf;
}
.reward-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.reward-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 23px;
}
.reward-symbol {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: #fbede4;
  color: #dfaa87;
  font-size: 25px;
  display: grid;
  place-items: center;
  margin-bottom: 21px;
}
.reward-card:nth-child(2n) .reward-symbol {
  color: #b59aca;
  background: #f0e8f6;
}
.reward-type {
  font-size: 9px;
  color: #b7a2c1;
  margin-bottom: 9px;
}
.reward-card h2 {
  font-size: 17px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.reward-card > p {
  font-size: 11px;
  line-height: 1.8;
  color: #aa97b5;
  min-height: 40px;
  flex: 1;
  overflow-wrap: anywhere;
}
.reward-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  border-top: 1px solid #f0ebf5;
  padding-top: 20px;
  margin-top: 13px;
}
.reward-bottom > strong {
  font-size: 23px;
  font-weight: 600;
}
.reward-bottom small {
  font-size: 10px;
  color: #b9a8c3;
  font-weight: 400;
}
.reward-bottom .button {
  font-size: 10px;
  white-space: normal;
}
.reward-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  color: #b7a6c1;
  margin-top: 17px;
}
.reward-controls > span {
  flex: 1;
}
.reward-controls .text-button {
  font-size: 9px;
}
.weekday-field {
  border: 0;
  padding: 5px 0 15px;
  margin: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.weekday-field[hidden] {
  display: none;
}
.weekday-field legend {
  font-size: 10px;
  color: #a695b3;
  margin-bottom: 10px;
  line-height: 1.7;
}
.weekday-field label {
  background: #f5f0fa;
  padding: 8px 7px;
  border-radius: 6px;
  font-size: 10px;
  color: #95809f;
  display: flex;
  gap: 4px;
  align-items: center;
}
.weekday-field input {
  margin: 0;
  accent-color: #ad91c2;
  width: 13px;
  height: 13px;
}
.task-tabs button {
  min-width: 100px;
}
.expanded-task .task-title {
  overflow-wrap: anywhere;
}
.point-person:hover {
  background: #fcfafe;
}
@media (max-width: 1150px) {
  .reward-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .task-row-actions {
    max-width: 100px;
  }
  .point-person {
    padding: 16px;
    gap: 10px;
  }
  .point-balance {
    font-size: 23px;
  }
  .point-person-info small {
    font-size: 9px;
  }
  .point-avatar {
    width: 35px;
    height: 35px;
  }
}
@media (max-width: 650px) {
  .point-board {
    gap: 9px;
  }
  .point-person {
    padding: 14px 12px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .point-person-info {
    min-width: 75px;
  }
  .point-avatar {
    width: 29px;
    height: 29px;
    border-radius: 9px;
    font-size: 13px;
  }
  .point-person-info strong {
    font-size: 11px;
  }
  .point-person-info small {
    font-size: 8px;
    line-height: 1.6;
  }
  .point-balance {
    text-align: left;
    width: 100%;
    font-size: 26px;
    margin-top: 6px;
  }
  .point-balance small {
    display: inline;
    margin-left: 8px;
    font-size: 8px;
  }
  .task-tabs {
    display: flex;
    width: 100%;
  }
  .task-tabs button {
    min-width: 0;
    flex: 1 1 auto !important;
    padding: 12px 8px;
  }
  .task-primary {
    gap: 10px;
    flex-wrap: wrap;
  }
  .task-body {
    flex-basis: calc(100% - 32px);
  }
  .task-row-actions {
    max-width: none;
    margin-left: 26px;
    justify-content: flex-start;
  }
  .task-row-actions .text-button {
    font-size: 10px;
  }
  .task-row-actions .delete {
    margin-left: 10px;
  }
  .task-checklist {
    margin-left: 26px;
  }
  .subtask {
    font-size: 12px;
  }
  .series-row {
    flex-wrap: wrap;
    gap: 11px;
  }
  .series-row > div {
    flex-basis: 100%;
  }
  .reward-grid {
    grid-template-columns: 1fr;
  }
  .rewards-intro h2 {
    font-size: 15px;
  }
  .rewards-intro .button {
    font-size: 10px;
  }
  .reward-card {
    padding: 22px;
  }
  .point-help {
    font-size: 9px;
  }
  .dashboard-points {
    flex-wrap: wrap;
    font-size: 10px;
  }
  .task-scope select {
    max-width: 155px;
  }
  .task-tabs {
    margin-bottom: 15px;
  }
}
.auth-root {
  display: none;
}
.auth-mode > .sidebar,
.auth-mode > .app-shell {
  display: none;
}
.auth-mode .auth-root {
  display: block;
  min-height: 100vh;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 100vh;
  max-width: 1500px;
  margin: auto;
  align-items: center;
  gap: 80px;
  padding: 60px 8%;
}
.auth-story > .brand {
  margin-bottom: 85px;
}
.auth-story > .eyebrow {
  color: #ab97b8;
  margin-bottom: 17px;
}
.auth-story > h1 {
  font-size: 54px;
  line-height: 1.13;
  letter-spacing: -2.8px;
  margin: 0 0 23px;
  font-weight: 620;
}
.auth-story > h1 span {
  color: #ee9274;
}
.auth-story > p:not(.eyebrow) {
  font-size: 14px;
  color: #a094aa;
  line-height: 1.9;
  max-width: 390px;
}
.auth-mini {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #a696b1;
  font-size: 11px;
  margin: 28px 0;
}
.auth-art {
  border-radius: 24px;
  padding: 25px;
  background: #eae3f2;
  transform: rotate(-3deg);
  max-width: 350px;
  margin-top: 40px;
  box-shadow: 8px 10px 0 #f9e9e1;
}
.auth-art > div {
  position: relative;
  background: #fffaf4;
  border-radius: 17px;
  padding: 27px;
}
.auth-art small {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #baa3c7;
}
.auth-art strong {
  display: block;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -.7px;
  font-weight: 550;
  margin-top: 13px;
  color: #8c799b;
}
.auth-art span {
  position: absolute;
  right: 20px;
  top: 28px;
  color: #eeb498;
  font-size: 35px;
}
.auth-card {
  background: #fff;
  border: 1px solid #e9e4ee;
  border-radius: 24px;
  padding: 44px;
  box-shadow: 0 20px 70px #34224706;
  max-width: 460px;
  width: 100%;
  justify-self: end;
}
.auth-card h2 {
  font-size: 27px;
  letter-spacing: -1px;
  margin: 14px 0;
}
.auth-card form {
  margin-top: 28px;
}
.auth-card .field {
  margin-bottom: 20px;
}
.auth-card .field input {
  background: #faf8fc;
  padding: 13px;
}
.auth-submit {
  width: 100%;
  padding: 14px;
  margin-top: 9px;
}
.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 22px 0 28px;
  flex-wrap: wrap;
}
.auth-links button {
  border: 0;
  background: none;
  color: #a68eaf;
  font-size: 11px;
  padding: 0;
}
.auth-links button:hover {
  text-decoration: underline;
}
.auth-foot {
  font-size: 10px;
  line-height: 1.9;
  color: #b3a5bd;
  display: block;
  border-top: 1px solid #f0ebf5;
  padding-top: 20px;
}
.form-error {
  font-size: 11px;
  line-height: 1.8;
  color: #bd795f;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.onboarding {
  max-width: 500px;
  margin: 12vh auto;
  padding: 36px;
}
.onboarding h1 {
  font-size: 29px;
  margin-top: 35px;
}
.onboarding form {
  margin: 25px 0;
}
.onboarding > .text-button {
  margin-top: 20px;
}
.brand {
  font-size: 25px;
  letter-spacing: -1.3px;
}
.sidebar .brand {
  font-size: 24px;
  gap: 8px;
}
.sidebar .brandmark {
  font-size: 21px;
  flex: none;
}
.sidebar .brand-dot {
  margin-left: -7px;
}
.nav-glyph {
  width: 18px;
  height: 18px;
  flex: none;
  text-align: center;
  font-size: 19px;
  line-height: 18px;
}
.sidebar {
  overflow-y: auto;
}
.sidebar .nav-item {
  padding-top: 11px;
  padding-bottom: 11px;
}
.sidebar .quote {
  padding-top: 20px;
  padding-bottom: 18px;
}
.sidebar .quote p {
  font-size: 17px;
}
.household-scoreboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 15px;
}
.member-chip {
  background: #f3edf8;
  color: #a28cb1;
  border: 1px solid #e8e0ef;
  padding: 8px 11px;
  border-radius: 7px;
  font-size: 10px;
}
.member-budget-row {
  display: flex;
  gap: 13px;
  align-items: center;
  border-bottom: 1px solid #f0ebf5;
  padding: 15px 0;
  font-size: 12px;
}
.member-budget-row .status-pill {
  margin-left: auto;
}
.coupon {
  background:
    linear-gradient(
      150deg,
      #fff,
      #faf5fd);
  border-style: dashed;
  border-color: #cbb8da;
}
.coupon.used {
  opacity: .65;
  background: #fbfafc;
}
.coupon-code {
  letter-spacing: 3px;
  font-size: 16px;
  color: #a28caf;
  margin: 12px 0 22px;
}
.coupon .button {
  margin-top: 8px;
}
.stock-label {
  font-size: 10px;
  color: #bd9a81;
  margin: 5px 0;
}
.completed-title {
  text-decoration: line-through;
  color: #b6a9bf;
}
.cloud-actions {
  display: flex;
  gap: 8px;
}
.workspace strong {
  overflow-wrap: anywhere;
}
.workspace {
  gap: 8px;
}
.workspace > span:nth-child(2) {
  min-width: 0;
}
.sidebar .workspace {
  margin-top: 28px;
  margin-bottom: 20px;
}
.modal-actions .button {
  white-space: normal;
}
.budget-stats {
  align-items: stretch;
}
.reward-type {
  line-height: 1.8;
}
.habit .button {
  font-size: 10px;
}
.notes-grid .note-preview {
  white-space: normal;
}
.nav-item .nav-glyph {
  color: inherit;
}
#sync-status {
  font-size: 9px;
}
.brandmark {
  letter-spacing: -5px;
}
@media (min-width: 1500px) {
  .auth-layout {
    gap: 120px;
  }
  .auth-card {
    padding: 50px;
  }
  .auth-story > h1 {
    font-size: 62px;
  }
  .auth-story > .brand {
    margin-bottom: 90px;
  }
}
@media (max-width: 1100px) {
  .auth-layout {
    gap: 35px;
    padding: 45px 6%;
  }
  .auth-story > h1 {
    font-size: 44px;
  }
  .auth-card {
    padding: 32px;
  }
  .auth-story > .brand {
    margin-bottom: 55px;
  }
  .auth-art {
    max-width: 300px;
  }
  .household-scoreboard {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  }
}
@media (max-width: 900px) {
  .sidebar .brand {
    font-size: 0;
  }
  .sidebar .brandmark {
    font-size: 21px;
  }
  .sidebar .brand-dot {
    display: none;
  }
  .sidebar .workspace {
    display: none;
  }
  .nav-item .nav-glyph {
    font-size: 20px;
  }
  .sidebar .nav-item {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .sidebar .quote {
    display: none;
  }
}
@media (max-width: 650px) {
  .auth-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 30px 20px;
    min-height: 100dvh;
    justify-content: center;
  }
  .auth-story {
    width: 100%;
    max-width: 440px;
  }
  .auth-story > .brand {
    margin: 0 0 23px;
  }
  .auth-story > h1 {
    font-size: 35px;
    line-height: 1.15;
    letter-spacing: -1.7px;
    margin-bottom: 12px;
  }
  .auth-story > .eyebrow {
    font-size: 9px;
    margin-bottom: 12px;
  }
  .auth-story > p:not(.eyebrow) {
    font-size: 11px;
    margin-bottom: 0;
    max-width: 100%;
  }
  .auth-art,
  .auth-mini {
    display: none;
  }
  .auth-card {
    padding: 25px;
    border-radius: 19px;
    max-width: 440px;
  }
  .auth-card h2 {
    font-size: 24px;
  }
  .auth-card .eyebrow {
    font-size: 8px;
  }
  .auth-card form {
    margin-top: 21px;
  }
  .auth-card .subtitle {
    font-size: 11px;
  }
  .onboarding {
    margin: 8vh 17px;
    padding: 26px;
  }
  .sidebar .nav-item {
    font-size: 7px;
    padding: 9px 5px;
    min-width: 35px;
  }
  .sidebar .nav-item[data-page=vaner],
  .sidebar .nav-item[data-page=maal],
  .sidebar .nav-item[data-page=noter] {
    display: none;
  }
  .sidebar .nav-item .nav-glyph {
    font-size: 19px;
  }
  .sidebar .brand {
    display: none;
  }
  .household-scoreboard {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .household-scoreboard .point-person {
    flex-wrap: nowrap;
  }
  .household-scoreboard .point-balance {
    width: auto;
    margin: 0;
    text-align: right;
  }
  .household-scoreboard .point-balance small {
    display: block;
    margin: 5px 0 0;
  }
  .household-scoreboard .point-person-info {
    min-width: 0;
    flex: 1;
  }
  .household-scoreboard .point-person-info strong {
    font-size: 12px;
  }
  .task-tabs {
    flex-wrap: wrap;
  }
  .task-tabs button {
    flex: 1 1 28% !important;
  }
  .member-budget-row {
    gap: 9px;
    font-size: 11px;
  }
  .member-budget-row .status-pill {
    font-size: 8px;
  }
  .habit {
    flex-wrap: wrap;
  }
  .habit .text-button {
    margin-left: 0;
  }
  .brand-dot {
    display: inline;
  }
  footer {
    margin-bottom: 85px;
  }
}
.mobile-shortcuts {
  display: none;
}
@media (max-width: 650px) {
  .mobile-shortcuts {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-bottom: 19px;
  }
  .mobile-shortcuts button {
    background: #ede7f3;
    color: #9c86ac;
    border: 0;
    border-radius: 7px;
    padding: 8px 11px;
    font-size: 10px;
  }
}
.admin-households {
  margin-bottom: 24px;
}
.text-button.danger {
  color: #b43e3e;
}
.personal-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: row dense;
  gap: 20px;
  align-items: start;
}
.personal-dashboard-grid > .card {
  min-width: 0;
  margin: 0;
}
.dashboard-span-3 {
  grid-column: span 3;
}
.dashboard-span-4 {
  grid-column: span 4;
}
.dashboard-span-8 {
  grid-column: span 8;
}
.dashboard-span-12 {
  grid-column: span 12;
}
.dashboard-widget-content {
  min-width: 0;
  overflow-wrap: anywhere;
}
.dashboard-budget:not(.dashboard-widget-editing) {
  background: var(--coral);
  color: white;
}
.dashboard-budget:not(.dashboard-widget-editing) .metric-label,
.dashboard-budget:not(.dashboard-widget-editing) .metric-foot {
  color: white;
}
.dashboard-widget .budget-stat-value {
  font-size: 28px;
  margin: 18px 0 12px;
}
.dashboard-widget .card-header {
  flex-wrap: wrap;
  gap: 12px;
}
.dashboard-widget .card-header > div {
  min-width: 0;
}
.dashboard-edit-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  margin-bottom: 20px;
  background: #ede8f6;
  border: 1px solid #d8cfe9;
  border-radius: 14px;
}
.dashboard-edit-banner p {
  margin: 0;
  line-height: 1.6;
}
.dashboard-catalog {
  margin-bottom: 22px;
}
.dashboard-catalog summary {
  cursor: pointer;
  font-weight: 650;
}
.dashboard-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.dashboard-catalog-option {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border: 1px solid var(--line);
  background: #faf9fd;
  border-radius: 10px;
  padding: 14px;
}
.dashboard-catalog-option small {
  color: var(--muted);
  line-height: 1.4;
}
.dashboard-catalog-option:not(:disabled):hover {
  border-color: var(--purple);
  background: #f0ebf7;
}
.dashboard-goal-picker {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-top: 20px;
}
.dashboard-goal-picker .field {
  flex: 1;
  margin: 0;
}
.dashboard-goal-picker .button {
  min-height: 44px;
}
.dashboard-widget-editing {
  border: 2px dashed #c6b5df;
  padding: 0;
}
.dashboard-widget-editing .dashboard-widget-content {
  padding: 20px;
  opacity: .65;
  min-height: 100px;
}
.dashboard-widget-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  padding: 12px;
  border-bottom: 1px solid #e4dcef;
  background: #f6f2fa;
  border-radius: 13px 13px 0 0;
  cursor: grab;
}
.dashboard-drag-handle {
  font-size: 22px;
  color: #847393;
}
.dashboard-widget-tools > strong {
  flex: 1;
  min-width: 80px;
  font-size: 12px;
}
.dashboard-widget-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  width: 100%;
}
.dashboard-widget-controls button,
.dashboard-widget-controls select {
  background: white;
  border: 1px solid #ded6e8;
  border-radius: 7px;
  padding: 8px;
  min-height: 38px;
}
.dashboard-widget-controls select {
  flex: 1;
  min-width: 74px;
}
.dashboard-widget-editing:active {
  cursor: grabbing;
}
.dashboard-goal {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.dashboard-goal:last-of-type {
  margin-bottom: 15px;
}
.dashboard-goal-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}
.dashboard-goal-value {
  font-size: 23px;
  font-weight: 650;
}
.dashboard-goal-value small {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}
.dashboard-note {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.dashboard-note p {
  line-height: 1.6;
  color: var(--muted);
  white-space: pre-wrap;
}
.dashboard-widget .household-scoreboard {
  display: flex;
  flex-direction: column;
}
.dashboard-widget .point-person {
  width: 100%;
}
@media (max-width: 1000px) {
  .dashboard-span-3,
  .dashboard-span-4,
  .dashboard-span-8 {
    grid-column: span 6;
  }
  .dashboard-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .personal-dashboard-grid {
    gap: 15px;
  }
  .personal-dashboard-grid > .card {
    grid-column: span 12;
  }
  .dashboard-catalog-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-edit-banner,
  .dashboard-goal-picker {
    flex-direction: column;
    align-items: stretch;
  }
  .dashboard-widget-controls button {
    min-height: 44px;
    min-width: 44px;
  }
}
.personal-dashboard-grid.dashboard-masonry-ready {
  grid-auto-rows: 1px;
  row-gap: 0;
}
.budget-group-table {
  table-layout: fixed;
  width: 100%;
  min-width: 980px;
}
.budget-group-table th.numeric,
.budget-group-table td.numeric {
  text-align: right;
}
.budget-group-table td:first-child,
.budget-group-table td:nth-child(6),
.budget-group-table td:nth-child(7) {
  white-space: normal;
  overflow-wrap: anywhere;
}
.budget-period-actions {
  flex-wrap: wrap;
  min-width: 170px;
  gap: 8px 12px;
}
.brand-logo {
  display: block;
  width: 184px;
  max-width: 100%;
  height: auto;
}
.auth-story .brand-logo {
  width: 230px;
}
.onboarding .brand-logo {
  width: 184px;
}
.budget-plan-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin: 22px 0 16px;
  flex-wrap: wrap;
}
.budget-plan-views {
  margin: 0;
}
.budget-plan-search {
  margin: 0;
  width: 300px;
  max-width: 100%;
}
.budget-plan-count {
  display: inline-block;
  min-width: 20px;
  margin-left: 5px;
  padding: 2px 5px;
  border-radius: 5px;
  font-size: 10px;
  background: #ece8f2;
  color: #6b5c7c;
}
.budget-plan-views .active .budget-plan-count {
  background: #ffffff33;
  color: inherit;
}
@media (max-width: 700px) {
  .budget-plan-search {
    width: 100%;
  }
}
