.home-root { font-size: 15px; } .home-root .ds-eyebrow { font-size: 10px; } .home-root .ds-button { font-size: 13px !important; } .home-header nav { font-size: 13px; } .home-header nav [aria-current] { border-bottom: 1px solid var(--ds-ink); padding-bottom: 5px; } .home-account { display: flex; align-items: center; gap: 12px; min-width: 0; } .home-avatar { display: grid; place-items: center; background: #f1f0ed; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; font-family: var(--ds-serif); font-size: 19px; } .home-avatar:is(img) { object-fit: cover; } .home-account-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; } .home-account .ds-button { margin-left: 12px; white-space: nowrap; } .home-welcome { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding: 64px 0 48px; } .home-welcome > div:first-child { min-width: 0; } .home-welcome h1 { font-size: clamp(52px, 6vw, 78px); letter-spacing: -1.7px; margin: 18px 0 22px; overflow-wrap: anywhere; } .home-welcome .ds-intro-copy { max-width: 480px; } .home-date { flex: 0 0 235px; font-size: 13px; padding-bottom: 5px; } .home-date .ds-tiny-cross { margin-bottom: 14px; } .home-date p { color: var(--ds-secondary); margin: 5px 0 17px; font-size: 12px; overflow-wrap: anywhere; } .home-date .ds-footnote { font-size: 12px; } .home-overview { display: grid; grid-template-columns: 1fr 1fr 1.7fr; border-top: 1px solid var(--ds-rule); padding: 28px 0 34px; gap: 32px; } .home-overview > div + div { border-left: 1px solid var(--ds-rule); padding-left: 32px; } .home-overview p:not(.home-stat) { color: var(--ds-secondary); font-size: 12px; } .home-stat { font-family: var(--ds-serif); font-size: 54px; line-height: 1; margin: 18px 0 10px !important; } .home-stat span { color: #777; font-size: 32px; } .home-overview progress { display: block; height: 3px; margin-top: 18px; width: 100%; max-width: 185px; border: 0; background: #eee; accent-color: #111; } .home-overview progress::-webkit-progress-bar { background: #eee; } .home-overview progress::-webkit-progress-value { background: #111; } .home-overview-note h2 { font-size: 32px; margin: 19px 0 13px; } .home-overview-note p { max-width: 280px; line-height: 1.8; } .home-today { padding-top: 34px; } .home-empty > p:first-child { font-size: 17px; margin-bottom: 9px; } .home-empty > .ds-muted { max-width: 610px; font-size: 14px; line-height: 1.8; } .home-starters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 32px; } .home-starters > button { background: transparent; border: 0; border-top: 1px solid var(--ds-rule); border-bottom: 1px solid var(--ds-rule); text-align: left; color: var(--ds-ink); padding: 22px 4px 18px; font: inherit; } .home-starters > button:hover { background: #fafaf8; } .home-starter-symbol { font-family: var(--ds-serif); font-size: 27px; display: block; margin-bottom: 20px; } .home-starters h3 { font-family: var(--ds-serif); font-size: 28px; margin-bottom: 9px; } .home-starters p { color: var(--ds-secondary); font-size: 13px; min-height: 40px; } .home-starter-action { display: flex; justify-content: space-between; margin-top: 24px; font-size: 12px; } .home-root .ds-view-switch button { font-size: 13px; } .home-root .ds-view-switch button span { font-size: 11px; color: var(--ds-secondary); margin-left: 8px; } .home-autosave { align-self: center; color: var(--ds-secondary); font-size: 11px; } .home-habit { padding: 12px 0; border-bottom: 1px solid var(--ds-rule); } .home-habit-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; } .home-habit-heading > div:first-child { min-width: 0; } .home-habit .ds-eyebrow { color: var(--ds-secondary); font-size: 9px; } .home-habit h3 { font-family: var(--ds-serif); font-size: 24px; line-height: 1.15; margin: 0 0 4px; overflow-wrap: anywhere; } .home-habit-status { font-size: 11px; color: var(--ds-secondary); } .home-habit--complete .home-habit-status { color: #386641; } .home-check-in { display: flex; align-items: center; gap: 16px; flex-shrink: 0; } .home-check-in .ds-checkbox span { max-width: 250px; overflow-wrap: anywhere; } .home-task-count { font-family: var(--ds-serif); font-size: 26px; } .home-task-count > span { color: var(--ds-secondary); font-size: 20px; } .home-history-link { display: grid; place-items: center; width: 32px; min-height: 44px; color: var(--ds-secondary); } .home-task-details { margin-top: 6px; font-size: 12px; } .home-task-details summary { cursor: pointer; padding: 4px 0; } .home-task-details summary span { color: var(--ds-secondary); margin-left: 8px; } .home-tasks { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 8px; } .home-tasks .ds-checkbox { min-height: 36px; } .home-tasks .ds-checkbox span { overflow-wrap: anywhere; } .home-count-entry { font-size: 11px; color: var(--ds-secondary); margin-top: 6px; } .home-count-entry summary, .home-off-day summary { cursor: pointer; } .home-count-entry form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 0; } .home-count-entry input { width: 120px; padding: 10px; border: 1px solid var(--ds-rule); } .home-off-day { margin-top: 26px; } .home-off-day summary { font-size: 14px; } .home-off-day summary > span { margin-left: 8px; color: var(--ds-secondary); font-size: 12px; } .home-off-day > p { margin-top: 16px; } .home-off-day > div { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--ds-rule); } .home-off-day strong { font-weight: 400; overflow-wrap: anywhere; } .home-off-day small { display: block; color: var(--ds-secondary); margin-top: 4px; } .home-off-day a { flex-shrink: 0; font-size: 12px; } .home-rhythm > .ds-footnote { margin-top: 24px; font-size: 12px; } .home-state { padding: 36px 0; color: var(--ds-secondary); } .home-state h3 { font-family: var(--ds-serif); font-size: 30px; color: var(--ds-ink); margin-bottom: 10px; } .home-state .ds-button { margin-top: 16px; } .home-error { border-left: 2px solid #963e33; padding: 12px 16px; background: #fcf6f3; margin-bottom: 20px !important; color: #772d25; } .home-error .ds-button { margin-top: 12px; } .home-notice { font-size: 12px; color: #386641; } .home-notice:not(:empty) { padding: 0 0 20px; } .home-footer { margin-top: 12px; } .home-habit-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; } .home-habit-actions .ds-button { min-height: 36px; padding: 0; color: var(--ds-secondary); } .home-habit-actions .ds-button:hover { color: var(--ds-ink); } .home-create { color: var(--ds-ink); background: var(--ds-paper); border: 1px solid var(--ds-rule); padding: 28px 32px; width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 48px); overflow-y: auto; } .home-create::backdrop { background: rgb(0 0 0 / 35%); } .home-delete { max-width: 520px; } .home-delete h2 { margin-top: 20px; } .home-delete strong { color: var(--ds-ink); overflow-wrap: anywhere; } .home-create-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; } .home-create-heading .ds-button { font-size: 26px !important; min-width: 36px; } .home-create h2 { font-size: 46px; margin: 8px 0 14px; } .home-create > .ds-muted { font-size: 13px; } .home-form-fields { border: 0; margin: 24px 0; padding: 0; display: grid; gap: 22px; min-width: 0; } .home-form-fields .ds-field { min-width: 0; } .home-form-fields textarea { resize: vertical; width: 100%; border: 1px solid var(--ds-rule); padding: 10px 12px; font: inherit; } .home-form-actions { display: flex; justify-content: flex-end; gap: 12px; border-top: 1px solid var(--ds-rule); padding-top: 22px; } @media (max-width: 900px) { .home-header { flex-wrap: wrap; } .home-header nav { order: 3; flex-basis: 100%; } .home-welcome { gap: 24px; } .home-date { flex-basis: 190px; } .home-overview { gap: 20px; } .home-overview > div + div { padding-left: 20px; } .home-starters { gap: 18px; } } @media (max-width: 680px) { .home-header { padding: 22px 24px; gap: 20px; } .home-header nav { justify-content: space-between; gap: 20px; } .home-account-name { display: none; } .home-account { gap: 8px; } .home-account .ds-button { margin-left: 0; } .home-root .ds-main { padding: 0 24px; } .home-welcome { display: block; padding: 30px 0 24px; } .home-welcome h1 { font-size: clamp(46px, 10vw, 60px); margin: 14px 0; } .home-date { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 18px; padding: 0; font-size: 12px; } .home-date .ds-tiny-cross, .home-date > span:last-child { display: none; } .home-date p { margin: 0; } .home-overview { grid-template-columns: 1fr 1fr; gap: 18px; padding: 20px 0; } .home-overview > .home-overview-note { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--ds-rule); padding: 16px 0 0; } .home-overview-note .ds-eyebrow { display: none; } .home-overview-note h2 { font-size: 28px; margin: 0 0 8px; } .home-overview-note p { max-width: none; } .home-root .ds-section-top { align-items: flex-start; flex-direction: column; gap: 24px; } .home-root .ds-section-top h2 { font-size: 38px; } .home-starters { grid-template-columns: 1fr; gap: 0; } .home-starters > button { padding: 22px 0; border-bottom: 0; } .home-starters > button:last-child { border-bottom: 1px solid var(--ds-rule); } .home-starter-symbol { float: right; margin: 0; } .home-starters p { min-height: 0; } .home-starter-action { margin-top: 18px; } .home-autosave { display: none; } .home-habit-heading { flex-wrap: wrap; gap: 8px 12px; } .home-habit h3 { font-size: 23px; } .home-check-in { margin-left: auto; gap: 8px; } .home-check-in .ds-checkbox span { max-width: none; } .home-tasks { flex-direction: column; gap: 6px; margin-top: 12px; } .home-create { padding: 20px; } .home-create .ds-form-grid { grid-template-columns: 1fr; } .home-create .ds-weekdays { flex-wrap: wrap; } .home-footer { flex-wrap: wrap; } }