@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap";:root{font-family:DM Sans,Noto Sans SC,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#26352d;background:#f7f6f2;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--paper:#fffefa;--ink:#26352d;--muted:#858b82;--line:#e9e8e0;--green:#294b3b;--soft-green:#e8eee7;--radius:20px}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#f7f6f2}button,input,textarea,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #9bbba5;outline-offset:2px}.app-shell{max-width:720px;min-height:100dvh;margin:0 auto;padding-bottom:calc(88px + env(safe-area-inset-bottom));background:#f7f6f2}.topbar{height:76px;padding:14px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eeede6;background:#f7f6f2f0;position:sticky;top:0;z-index:5;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.brand{display:flex;align-items:center;gap:11px}.brand-mark{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;color:#f8f7f2;background:var(--green)}.brand-name{font-size:18px;font-weight:700;letter-spacing:.02em}.brand-name span{font-size:10px;letter-spacing:.18em;color:#858b82;margin-left:5px}.brand-sub{font-size:11px;color:#8a8e86;margin-top:2px}.icon-btn{width:38px;height:38px;border:1px solid var(--line);background:var(--paper);border-radius:13px;display:grid;place-items:center;color:#5d695f;flex-shrink:0}.icon-btn.subtle{border:0;background:transparent}.main-content{padding:26px 20px 30px}.page{animation:appear .22s ease}@keyframes appear{0%{opacity:.45;transform:translateY(3px)}to{opacity:1;transform:none}}.eyebrow{font-size:10px;letter-spacing:.16em;color:#9b9d91;font-weight:700}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 24px}.page-heading h1{font-size:28px;line-height:1.25;letter-spacing:-.04em;margin:0;font-weight:700}.page-heading p{font-size:13px;color:#858b82;margin:8px 0 0}.date-chip,.sort-btn{border:1px solid #e7e6de;background:#fffefa;border-radius:13px;padding:10px 12px;color:#526258;display:flex;align-items:center;gap:7px;font-size:12px;white-space:nowrap}.progress-card{padding:20px;border-radius:22px;background:#294b3b;color:#f7f6f2;box-shadow:0 8px 20px #294b3b12}.progress-copy{display:flex;align-items:center;justify-content:space-between}.muted{font-size:12px;color:#92988e}.progress-card .muted{color:#c1cfc3}.progress-copy h2{font-size:32px;margin:7px 0 0;letter-spacing:-.04em}.progress-copy h2 small{font-size:13px;font-weight:400;letter-spacing:0;color:#c1cfc3}.progress-percent{font-size:25px;font-weight:600;color:#d0dfbd}.progress-track{height:6px;border-radius:99px;background:#ffffff24;margin:19px 0 12px;overflow:hidden}.progress-track div{height:100%;background:#c4d8b1;border-radius:99px;transition:width .3s}.progress-foot{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:#c1cfc3}.section-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:27px 0 13px}.section-title-row h2{font-size:17px;margin:0;letter-spacing:-.02em}.section-title-row p{font-size:11px;color:#92968c;margin:5px 0 0}.text-btn{display:flex;align-items:center;gap:4px;border:0;background:transparent;color:#42674f;font-size:12px;font-weight:600;padding:8px 0;white-space:nowrap}.habit-list{display:flex;flex-direction:column;gap:10px}.habit-card{background:var(--paper);border:1px solid #eeede6;border-radius:18px;padding:14px;display:flex;align-items:center;gap:12px;min-width:0;transition:border-color .2s}.habit-card.is-done{border-color:#d9e4d7}.habit-symbol{width:44px;height:44px;flex-shrink:0;border-radius:15px;display:grid;place-items:center;font-size:21px}.habit-main{flex:1;min-width:0}.habit-title-line{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.habit-main h3{font-size:14px;margin:0;font-weight:600}.habit-main p{font-size:11px;color:#96988e;margin:5px 0 0}.note-indicator{display:inline-flex;align-items:center;gap:3px;color:#a18b69;background:#f5f0e6;border-radius:5px;padding:3px 5px;font-size:9px}.saved-value{font-size:11px;color:#58775f;margin-top:6px;overflow-wrap:anywhere}.habit-actions{flex-shrink:0}.check-btn{width:36px;height:36px;border-radius:50%;border:1.5px solid #d7ddd4;background:transparent;color:#aab0a7;display:grid;place-items:center}.check-btn.checked{border-color:var(--green);background:var(--green);color:#fff}.record-btn{display:flex;align-items:center;gap:1px;border:1px solid #e4e8df;background:#f5f7f1;color:#496950;padding:9px 10px;border-radius:11px;font-size:11px}.journal-cta{width:100%;display:flex;align-items:center;gap:12px;padding:16px;margin-top:18px;border:1px dashed #cfd8cb;border-radius:18px;background:#eef2eb;color:#42664b;text-align:left}.journal-cta-icon{width:39px;height:39px;border-radius:13px;background:#dce7d9;display:grid;place-items:center;flex-shrink:0}.journal-cta div:nth-child(2){display:flex;flex:1;flex-direction:column;gap:5px}.journal-cta strong{font-size:13px}.journal-cta span{font-size:10px;color:#7e8b7d}.today-journals{margin-top:8px}.journal-mini{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;text-align:left;background:var(--paper);border:1px solid var(--line);border-radius:15px;padding:13px;margin-bottom:8px;color:var(--ink)}.journal-mini strong{font-size:13px}.journal-mini p{font-size:11px;color:#8a8f86;margin:5px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.calendar-card,.filter-card,.selected-day-card,.backup-card{background:var(--paper);border:1px solid #eeede6;border-radius:20px;padding:16px}.calendar-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px}.calendar-header h2{font-size:17px;margin:0}.calendar-header .icon-btn{border:0;background:transparent;width:32px;height:32px}.weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.weekdays{margin-bottom:8px}.weekdays span{text-align:center;color:#a1a399;font-size:10px;padding:3px 0}.calendar-day{border:1px solid transparent;min-width:0;aspect-ratio:1/1.12;border-radius:10px;background:#f8f7f2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#596258;position:relative;padding:3px}.calendar-day.selected{border-color:#294b3b;background:#f0f3ec}.calendar-day.today .day-number{font-weight:700;color:#294b3b}.day-number{font-size:12px}.heat-dot{width:18px;height:5px;border-radius:10px}.day-count{font-size:8px;color:#7f877c;position:absolute;right:3px;top:2px}.heat-legend{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:16px;font-size:9px;color:#96998f}.legend-swatches{display:flex;gap:3px}.legend-swatches i{width:14px;height:8px;border-radius:3px;background:#dce9dc}.legend-swatches i:nth-child(2){background:#a9c9ae}.legend-swatches i:nth-child(3){background:#6e9c79}.legend-swatches i:nth-child(4){background:#356b49}.filter-card{margin-top:14px}.filter-heading{display:flex;align-items:center;gap:7px;font-size:12px;color:#687267;margin-bottom:12px}.filter-heading strong{font-weight:600}.habit-chips{display:flex;flex-wrap:wrap;gap:7px}.habit-chips button{display:inline-flex;align-items:center;gap:6px;border:1px solid #e9e8e0;background:#fffefa;color:#687167;border-radius:10px;padding:8px 10px;font-size:11px}.habit-chips button span{width:7px;height:7px;border-radius:50%;flex-shrink:0}.habit-chips button.active{background:#e9efe6;border-color:#c8d7c6;color:#31563d}.selected-day-card{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.selected-day-card h3{font-size:15px;margin:6px 0}.selected-day-card p{font-size:10px;color:#92968c;margin:0}.primary-btn,.secondary-btn{border:0;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:12px 15px;font-size:12px;font-weight:600;white-space:nowrap}.primary-btn{background:#294b3b;color:#fffefa}.secondary-btn{background:#f0f0e9;color:#59665b}.primary-btn.small,.secondary-btn.small{padding:9px 11px;font-size:11px}.round-add{width:42px;height:42px;border:0;border-radius:15px;background:#294b3b;color:#fffefa;display:grid;place-items:center}.journal-tools{display:flex;gap:8px;margin-bottom:14px}.search-box{display:flex;align-items:center;gap:8px;flex:1;min-width:0;border:1px solid #e8e7df;background:var(--paper);border-radius:13px;padding:0 12px;color:#96998e}.search-box input{border:0;outline:0;min-width:0;width:100%;padding:12px 0;background:transparent;font-size:12px;color:var(--ink)}.search-box input:focus-visible{outline:0}.sort-btn{padding:10px;font-size:10px}.journal-list{margin-top:22px}.journal-card{display:grid;grid-template-columns:16px minmax(0,1fr);gap:12px}.timeline-rail{display:flex;flex-direction:column;align-items:center}.timeline-rail span{width:9px;height:9px;border-radius:50%;background:#78967a;border:2px solid #e2e9dd;box-shadow:0 0 0 3px #f7f6f2;margin-top:4px;z-index:1}.timeline-rail:after{content:"";width:1px;flex:1;background:#e0e4da;margin-top:7px}.journal-entry-body{padding-bottom:25px;min-width:0}.journal-date{font-size:10px;color:#96998e;margin-bottom:9px}.journal-date span{margin:0 4px}.journal-entry-click{width:100%;text-align:left;border:1px solid #eeede6;background:var(--paper);border-radius:16px;padding:15px;color:var(--ink)}.journal-entry-click h3{font-size:15px;margin:0 0 9px}.journal-entry-click p{font-size:12px;line-height:1.85;color:#6d756b;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}.read-more{display:flex;align-items:center;gap:2px;color:#57775e;font-size:10px;margin-top:12px}.journal-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.journal-tags span{font-size:10px;border-radius:6px;padding:4px 7px}.empty-state{padding:36px 16px;text-align:center;border:1px dashed #dedfd5;border-radius:20px}.empty-illustration{width:55px;height:55px;border-radius:18px;background:#e9eee5;color:#5b7b60;display:grid;place-items:center;margin:0 auto 15px}.empty-state h3{font-size:15px;margin:0}.empty-state p{font-size:11px;color:#8b9086;line-height:1.8;margin:8px 0 18px}.manage-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:26px}.manage-summary div{background:#eeeee7;border-radius:15px;padding:14px 12px;display:flex;flex-direction:column;gap:8px}.manage-summary span{font-size:10px;color:#858c81}.manage-summary strong{font-size:22px;font-weight:600;letter-spacing:-.04em}.manage-card{padding:12px}.manage-open{border:0;background:transparent;text-align:left;color:inherit;padding:0}.manage-open p{line-height:1.6}.manage-card.inactive{opacity:.55}.backup-card{display:flex;gap:12px;margin-top:25px;background:#eef1e9}.backup-icon{width:39px;height:39px;flex-shrink:0;border-radius:12px;background:#dfe7d9;display:grid;place-items:center;color:#537359}.backup-copy{min-width:0}.backup-copy h3{font-size:13px;margin:2px 0 7px}.backup-copy p{font-size:10px;line-height:1.7;color:#858d81;margin:0}.backup-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}.bottom-nav{position:fixed;z-index:10;bottom:0;left:50%;transform:translate(-50%);width:min(720px,100%);padding:9px 14px calc(9px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,1fr);background:#fffefaf5;border-top:1px solid #eae9e1;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px)}.bottom-nav button{border:0;background:transparent;color:#a0a398;display:flex;flex-direction:column;align-items:center;gap:4px;padding:4px 0;font-size:10px}.bottom-nav button.active{color:#294b3b;font-weight:700}.bottom-nav button.active:before{content:"";position:absolute;margin-top:-9px;width:30px;height:2px;border-radius:3px;background:#294b3b}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;background:#18231d66;display:flex;align-items:flex-end;justify-content:center;padding-top:30px}.modal-sheet{width:min(720px,100%);max-height:92dvh;display:flex;flex-direction:column;background:#fbfaf6;border-radius:25px 25px 0 0;padding:10px 20px calc(16px + env(safe-area-inset-bottom));box-shadow:0 -10px 50px #17241a24;animation:slideup .2s ease}@keyframes slideup{0%{transform:translateY(18px);opacity:.6}to{transform:none;opacity:1}}.modal-handle{height:4px;width:37px;background:#d9dcd2;border-radius:99px;margin:0 auto 17px;flex-shrink:0}.modal-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;flex-shrink:0}.modal-heading h2{font-size:22px;margin:5px 0 0;letter-spacing:-.03em}.modal-scroll{overflow-y:auto;overscroll-behavior:contain;padding:0 1px 10px}.field-label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600;color:#5f6a60;margin-bottom:17px}.field-label>input,.field-label>textarea,.field-label>select,.two-fields input,.two-fields select{width:100%;min-width:0;border:1px solid #e4e5dc;border-radius:12px;background:#fffefa;color:#2b382f;padding:12px;font-size:13px;font-weight:400;outline:0}.field-label textarea{resize:vertical;line-height:1.75}.field-label small{font-weight:400;color:#979b91;font-size:10px}.type-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.type-options button{border:1px solid #e5e5dc;background:#fffefa;text-align:left;border-radius:12px;padding:11px;display:flex;flex-direction:column;gap:5px;color:#5f6b60}.type-options button strong{font-size:12px}.type-options button span{font-size:10px;color:#9a9c92}.type-options button.chosen{border-color:#74947a;background:#eef3eb;color:#31543b}.two-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.two-fields .field-label{min-width:0}.range-fields{margin-top:10px}.range-fields label{display:flex;flex-direction:column;gap:5px;font-size:10px;font-weight:500}.color-options{display:flex;gap:10px;flex-wrap:wrap}.color-options button{width:31px;height:31px;border:0;border-radius:50%;color:#fff;display:grid;place-items:center}.color-options button.selected-color{outline:3px solid #cbd6c6;outline-offset:3px}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #ecebe3;padding:14px 0;margin-bottom:2px}.switch-row span{display:flex;flex-direction:column;gap:4px}.switch-row strong{font-size:12px}.switch-row small{font-size:10px;color:#94988e}.switch-row input{width:18px;height:18px;accent-color:#294b3b}.modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding-top:13px;border-top:1px solid #eae9e1;flex-shrink:0}.modal-footer .danger-text{margin-right:auto}.danger-text{border:0;background:transparent;color:#b64e4e;display:flex;align-items:center;gap:5px;font-size:11px;padding:8px}.compact-sheet{max-height:82dvh}.journal-sheet{max-height:94dvh}.long-textarea{min-height:240px!important;resize:vertical;font-size:14px!important;line-height:1.9!important}.editor-chips{margin:-4px 0 18px}.editor-tip{display:flex;align-items:center;gap:7px;background:#eef1e9;color:#778273;padding:10px;border-radius:10px;font-size:10px;margin:3px 0 10px}.toast{position:fixed;z-index:50;left:50%;bottom:calc(83px + env(safe-area-inset-bottom));transform:translate(-50%);display:flex;align-items:center;gap:8px;white-space:nowrap;background:#294b3b;color:#fff;border-radius:99px;padding:11px 16px;font-size:12px;box-shadow:0 8px 25px #1c34252b}.empty-card{padding:25px 18px;text-align:center;border:1px dashed #d9ddd2;border-radius:17px;color:#858d81;font-size:12px}.field-label>small{line-height:1.7}@media(min-width:650px){.main-content{padding:32px 32px 40px}.topbar{padding-inline:32px}.modal-backdrop{align-items:center;padding:24px}.modal-sheet{border-radius:24px;max-height:min(88dvh,850px);padding:18px 24px 22px}.modal-handle{display:none}.modal-footer{padding-top:16px}.page-heading h1{font-size:31px}.calendar-grid{gap:8px}.calendar-day{aspect-ratio:1/1.02}.habit-card{padding:16px}.journal-entry-click{padding:18px}}@media(max-width:380px){.main-content{padding-inline:14px}.page-heading h1{font-size:25px}.calendar-card{padding:12px}.weekdays,.calendar-grid{gap:3px}.day-number{font-size:11px}.heat-dot{width:15px}.progress-card{padding:17px}.habit-card{padding:11px;gap:9px}.habit-symbol{width:39px;height:39px}.record-btn{padding:8px}.journal-tools{gap:5px}.sort-btn{padding:9px 7px}.topbar{padding-inline:15px}}.calendar-day{background:#ecebe5;transition:background-color .18s ease,transform .18s ease;overflow:hidden}.calendar-day .day-number{position:relative;z-index:1;color:#39463c}.calendar-day.heat-strong .day-number{color:#fff}.calendar-day .day-count{z-index:2;color:inherit;background:#ffffff7a;border-radius:4px;padding:1px 3px}.calendar-day.selected{box-shadow:inset 0 0 0 2px #294b3b}.calendar-day.today .day-number{font-weight:800}.heat-dot{display:none}.manage-card{gap:8px}.manage-card .icon-btn{flex-shrink:0}.detail-sheet{max-height:92dvh}.detail-sheet .modal-heading{align-items:flex-start}.detail-subtitle{font-size:11px;color:#8b9287;margin:7px 0 0;line-height:1.6}.detail-scroll{min-height:180px}.date-filter-fields{margin:0 0 6px}.date-filter-fields .field-label{margin-bottom:12px}.detail-journal-list{display:flex;flex-direction:column;gap:10px;padding-bottom:8px}.detail-journal{display:flex;flex-direction:column;gap:7px;width:100%;text-align:left;border:1px solid #e8e9e0;background:#fffefa;border-radius:15px;padding:14px;color:#26352d}.detail-journal-date{font-size:10px;color:#8a9386}.detail-journal strong{font-size:14px}.detail-journal p{font-size:12px;line-height:1.8;color:#687267;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}.detail-journal .read-more{margin-top:1px}@media(max-width:380px){.calendar-day{border-radius:7px}.day-count{font-size:7px!important}}.journal-date-filters{gap:10px;margin-bottom:18px}.journal-date-filters .field-label{margin-bottom:0}.journal-date-filters input{font-size:12px!important;padding:10px!important}.habit-filter-select{display:flex;flex-direction:column;gap:8px;margin:0 0 14px}.habit-filter-select label{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:#687267}.habit-filter-select select{width:100%;-webkit-appearance:auto;-moz-appearance:auto;appearance:auto;border:1px solid #e4e5dc;border-radius:12px;background:#fffefa;color:#2b382f;padding:12px 13px;font-size:13px;outline:0}.calendar-habit-filter{margin-bottom:14px}.journal-habit-filter{margin-top:2px;margin-bottom:22px}.today-title{margin:0 0 18px}.today-title h2{font-size:21px}.calendar-day{padding:4px 2px;gap:3px;justify-content:flex-start}.calendar-day .day-number{margin-top:2px;line-height:1.15}.calendar-day .day-count{font-size:8px;line-height:1.2}.day-metrics{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:100%;min-width:0;font-size:8px;line-height:1.15;font-weight:700;color:#294b3b;overflow:hidden}.calendar-day.heat-strong .day-metrics{color:#fff}.day-metrics span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selected-day-card{margin-top:14px}.calendar-records{margin-top:12px;border:1px solid #eeede6;border-radius:18px;background:var(--paper);padding:15px}.calendar-records-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.calendar-records-heading h3{font-size:14px;margin:0}.calendar-records-heading>span{font-size:10px;color:#7c897b;background:#edf1e9;border-radius:8px;padding:5px 8px}.calendar-record-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-top:1px solid #eeede6;min-width:0}.calendar-record-icon{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;font-size:18px;flex-shrink:0}.calendar-record-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.calendar-record-main strong{font-size:12px}.calendar-record-main>span{font-size:12px;color:#4d7357;font-weight:600}.calendar-record-main p{font-size:11px;color:#858b82;white-space:pre-wrap;overflow-wrap:anywhere;margin:2px 0 0;line-height:1.6}.calendar-record-row .secondary-btn{flex-shrink:0;padding:8px;font-size:10px}.calendar-record-empty{border-top:1px solid #eeede6;padding:18px 6px;text-align:center;font-size:11px;color:#93988e}.calendar-record-journal{display:flex;align-items:flex-start;gap:8px;width:100%;border:0;border-top:1px solid #eeede6;background:transparent;text-align:left;color:#637461;padding:12px 0 2px;font-size:11px;line-height:1.7}.calendar-record-journal svg{flex-shrink:0;margin-top:2px}@media(max-width:380px){.day-metrics{font-size:7px}.calendar-record-row{gap:7px}.calendar-record-icon{width:31px;height:31px}.calendar-record-row .secondary-btn{padding:7px 6px}}
