@font-face{font-family:Inter;src:local('Inter')}*{box-sizing:border-box}html{color-scheme:light}body{margin:0;background:#f6f7f4;color:#233a33;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #bc873c;outline-offset:3px}button{border:0}a{color:#277660}h1,h2,h3,p{margin:0}h1{font-size:32px;font-weight:620;letter-spacing:-1.25px;line-height:1.2}h2{font-size:17px;letter-spacing:-.3px;font-weight:620}h3{font-size:15px;font-weight:600}small{font-size:12px}svg.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.muted{color:#78877f}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:1.6px;font-weight:650;color:#8f9f95}.shell{display:flex;min-height:100dvh}.sidebar{width:232px;background:#173d33;color:#c7d4ca;padding:34px 22px 22px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;z-index:20}.brand{display:flex;gap:11px;align-items:center;color:#f6f8ed;padding:0 8px}.brand-mark{width:39px;height:39px;display:grid;place-items:center;background:#b7d6b2;color:#204b3c;border-radius:12px}.brand-mark svg{width:27px;height:27px}.brand-name{font-size:28px;font-weight:650;letter-spacing:-1.1px;line-height:1.1}.brand-sub{font-size:9px;letter-spacing:1.7px;text-transform:uppercase;display:block;margin-top:5px;color:#91af9f}.side-label{margin:50px 15px 14px;font-size:10px;letter-spacing:1.5px;color:#729987}.nav-link{display:flex;align-items:center;width:100%;gap:13px;background:none;color:#b9cdc0;text-align:left;padding:13px 15px;border-radius:8px;margin:4px 0;font-size:13px}.nav-link.active{background:#315649;color:#eff6e9}.nav-link.active:after{content:'';width:6px;height:6px;background:#b8d3aa;margin-left:auto;border-radius:100%}.nav-link:hover{background:#2c5044}.side-bottom{margin-top:auto;padding-top:32px}.sidebar-note{padding:20px 15px 23px;border:1px solid #335649;border-radius:12px;margin-bottom:22px;position:relative;overflow:hidden}.sidebar-note:after{content:'';position:absolute;width:65px;height:65px;border:1px solid #456453;border-radius:50%;right:-24px;top:-20px}.sidebar-note .icon{color:#bed3aa;margin-bottom:13px}.sidebar-note h3{font-family:Georgia,serif;font-size:19px;font-weight:400;line-height:1.35;color:#e0e9d6;margin-bottom:8px}.sidebar-note p{font-size:11px;color:#98b29f;line-height:1.7}.side-profile{display:flex;gap:11px;align-items:center;padding:16px 8px 0;border-top:1px solid #315347}.avatar{width:33px;height:33px;border-radius:50%;background:#d7e2c8;color:#375a46;display:grid;place-items:center;font-size:11px;font-weight:650}.side-profile strong{font-size:12px;color:#e6eddf;display:block;font-weight:550}.side-profile small{color:#8dac99;font-size:10px}.side-profile button{margin-left:auto;background:none;color:#a9c0af;padding:5px}.content{width:calc(100% - 232px);margin-left:232px;min-width:0}.topbar{height:78px;border-bottom:1px solid #e5e9e2;display:flex;justify-content:space-between;align-items:center;padding:0 42px;background:#fafbf8}.breadcrumbs{display:flex;align-items:center;gap:12px;font-size:12px;color:#849087}.breadcrumbs .icon{width:17px;height:17px}.breadcrumbs b{font-weight:500;color:#3a5146}.top-actions{display:flex;gap:20px;align-items:center;font-size:11px;color:#7a8a80}.save-dot{height:6px;width:6px;border-radius:50%;background:#6c937b;display:inline-block;margin-right:6px}.plain{background:none;color:#627a6b;display:inline-flex;align-items:center;gap:7px;padding:5px;font-size:12px}.plain .icon{width:16px;height:16px}.main{max-width:1510px;padding:36px 42px 26px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-heading .overline{font-size:11px;letter-spacing:.3px;color:#8a9388;margin-bottom:8px}.page-heading p{margin-top:9px;font-size:13px;color:#7b877e}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:7px;min-height:40px;padding:10px 16px;font-size:12px;font-weight:550;background:#fff;border:1px solid #dce3db;text-decoration:none;white-space:nowrap}.btn:hover{background:#f0f4ed}.btn.primary{background:#277660;border-color:#277660;color:#fff;box-shadow:0 2px 2px #234f3310}.btn.primary:hover{background:#1e634f}.btn .icon{width:16px;height:16px}.btn.danger{color:#a34c4c;background:#fff8f7;border-color:#ebd5d2}.btn:disabled{opacity:.45}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat{background:#fff;border:1px solid #e4e8e0;border-radius:10px;padding:19px 20px;min-height:120px}.stat-label{display:flex;justify-content:space-between;align-items:center;color:#7b877e;font-size:11px}.stat-label .icon{width:18px;height:18px;color:#829482}.stat-number{font-size:29px;font-weight:600;letter-spacing:-1px;line-height:1.2;margin-top:12px}.stat-number span{font-size:12px;color:#839085;letter-spacing:0;font-weight:400;margin-left:5px}.stat-foot{font-size:10px;color:#8a9389;margin-top:8px}.stat:first-child{background:#edf3e9;border-color:#dce7d6}.stat .inline-progress{height:4px;background:#e6ebe2;border-radius:2px;margin:13px 0 0;overflow:hidden}.inline-progress i{display:block;height:100%;background:#7aab7b;border-radius:2px}.panel{background:#fff;border:1px solid #e2e7de;border-radius:11px;min-width:0}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:21px 24px}.panel-head p{color:#8b958c;font-size:11px;margin-top:4px}.panel-tools{display:flex;align-items:center;gap:15px}.segmented{padding:3px;background:#f2f4ef;border:1px solid #e8ece4;display:flex;border-radius:6px}.segmented button{font-size:10px;padding:5px 11px;border-radius:4px;color:#809080;background:none}.segmented button.active{background:#fff;color:#3b5746;box-shadow:0 1px 3px #334e3315}.month-selector{display:flex;align-items:center;gap:9px}.month-selector strong{font-size:12px;min-width:104px;text-align:center;font-weight:550}.icon-btn{background:transparent;padding:6px;display:inline-flex;align-items:center;justify-content:center;border-radius:5px}.icon-btn .icon{width:17px;height:17px}.icon-btn:hover{background:#f1f5ec}.icon-btn:disabled{opacity:.3}.filter-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 24px 18px}.filter-chips{display:flex;gap:6px;flex-wrap:wrap}.chip{background:transparent;border:1px solid transparent;border-radius:5px;padding:4px 9px;font-size:10px;color:#8a958b}.chip.active{background:#eff4ec;color:#4c7558;border-color:#e4eadf}.chip:hover{background:#f3f6f0}.legend{display:flex;gap:13px;color:#8e998e;font-size:9px;align-items:center;white-space:nowrap}.legend span{display:flex;gap:5px;align-items:center}.legend i{width:9px;height:9px;border-radius:2px;background:#6d9e76}.legend i.empty{border:1px solid #d8e0d4;background:#f6f8f3}.legend i.scheduled{background:#edf0eb}.table-scroll{overflow:auto;scrollbar-width:thin;scrollbar-color:#d4ddcf transparent;border-top:1px solid #e9ede5;max-width:100%}.tracker{border-collapse:separate;border-spacing:0;width:100%;table-layout:fixed;min-width:1080px}.tracker.week{min-width:630px}.tracker th,.tracker td{text-align:center;border-bottom:1px solid #edf0e9;padding:0}.tracker thead th{font-weight:400;background:#fafbf8;color:#99a195;font-size:9px}.tracker th.habit-col{width:215px;text-align:left;position:sticky;left:0;z-index:3;background:#fafbf8;padding:0 22px;color:#6c7f70;font-size:10px}.tracker .week-group{height:28px;border-left:1px solid #e9ede5;letter-spacing:.25px;color:#8d9b8c;font-size:9px}.tracker th.day-head{height:44px;font-size:9px}.day-head span{display:block;font-size:10px;color:#72826f;margin-top:2px}.tracker th.day-head.today{background:#edf3e7;color:#4d7859}.day-head.today span{background:#427b58;color:white;border-radius:50%;display:grid;place-items:center;width:20px;height:20px;margin:2px auto 0}.tracker td{height:59px}.tracker td.habit-cell{position:sticky;left:0;z-index:2;background:white;text-align:left;padding:0 16px 0 22px;box-shadow:4px 0 5px #fff}.habit-name-btn{background:none;display:flex;align-items:center;gap:10px;text-align:left;width:100%;padding:8px 0}.habit-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:7px;background:color-mix(in srgb,var(--habit-color) 9%,white);color:var(--habit-color);flex-shrink:0}.habit-icon .icon{width:15px;height:15px}.habit-name{font-size:11px;font-weight:500;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.habit-name-btn>span:last-child{min-width:0}.habit-meta{font-size:9px;color:#95a18f;margin-top:3px;display:block}.tracker .cell-btn{width:100%;height:43px;background:none;display:grid;place-items:center;position:relative;padding:0}.cell-box{width:17px;height:17px;border-radius:4px;border:1px solid #dce3d6;background:#f8faf6;display:grid;place-items:center;color:#fff;transition:background .15s,transform .15s}.cell-btn:hover:not(:disabled) .cell-box{border-color:var(--habit-color);transform:scale(1.12)}.cell-btn.checked .cell-box{background:var(--habit-color);border-color:var(--habit-color)}.cell-box .icon{width:12px;height:12px;stroke-width:2.2}.cell-btn:disabled .cell-box{border-color:#edf0e9;background:#f8f9f6;opacity:.6}.cell-na{color:#d9dfd4;font-size:11px}.tracker .today-col{background:#f9fbf6}.tracker .week-start{border-left:1px solid #e8ede2}.tracker .rate-col{width:66px;border-left:1px solid #e9ede5;color:#7f8f77;font-size:10px}.rate-badge{font-size:10px;font-weight:500;color:#698361;background:#f1f5ed;padding:4px 7px;border-radius:4px}.tracker-footer{padding:14px 23px;display:flex;justify-content:space-between;align-items:center;color:#9ba493;font-size:10px}.tracker-footer button{background:none;display:flex;align-items:center;gap:7px;color:#5c825f;padding:4px 0;font-size:11px}.tracker-footer .icon{width:14px;height:14px}.below-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(280px,1fr);gap:22px;margin-top:22px}.chart-panel{padding-bottom:17px}.chart-wrap{padding:0 24px;position:relative}.trend-svg{width:100%;height:175px;overflow:visible}.chart-note{padding:2px 24px 0;font-size:10px;color:#8f9b89}.chart-empty{padding:22px 24px 12px;display:flex;align-items:center;gap:15px;min-height:180px}.chart-empty .empty-icon{background:#f1f5ed;color:#8caa82;width:55px;height:55px;border-radius:16px;display:grid;place-items:center;flex-shrink:0}.chart-empty h3{font-size:14px;font-weight:500;margin-bottom:5px}.chart-empty p{font-size:12px;max-width:280px;color:#8c9788}.focus-panel{background:#f0f4e9;border-color:#dfe7d4;overflow:hidden}.focus-panel .panel-head{padding-bottom:12px}.focus-list{padding:0 22px 17px}.focus-item{display:flex;align-items:center;gap:11px;padding:11px 0;border-bottom:1px solid #dfe7d5}.focus-item:last-child{border-bottom:0}.check-big{border:1px solid #cbd8c0;width:23px;height:23px;border-radius:50%;background:#f9fbf5;display:grid;place-items:center;flex-shrink:0;color:white;padding:3px}.check-big.checked{background:#5f8860;border-color:#5f8860}.check-big .icon{width:14px;height:14px}.focus-item strong{display:block;font-size:11px;font-weight:500}.focus-item small{font-size:10px;color:#8c9b82}.focus-item .streak{margin-left:auto;display:flex;align-items:center;gap:3px;color:#a18d5f;font-size:10px}.streak .icon{width:12px;height:12px}.footer{display:flex;justify-content:space-between;margin-top:26px;font-size:10px;color:#9aa390}.footer span{display:flex;align-items:center;gap:6px}.footer .icon{width:12px;height:12px}.mobile-brand,.bottom-nav{display:none}.welcome-strip{padding:13px 17px;background:#edf3e8;border:1px solid #e0e9d8;display:flex;align-items:center;gap:12px;border-radius:8px;margin-bottom:22px;font-size:11px;color:#657b59}.welcome-strip strong{color:#45613f;font-weight:550}.welcome-strip button{margin-left:auto;color:#78936a}.today-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(250px,1fr);gap:22px}.day-selector{display:flex;gap:10px;align-items:center;justify-content:flex-end}.day-selector input{border:1px solid #dfe6d9;border-radius:7px;background:white;color:#476a4a;padding:10px;font-size:12px;max-width:160px}.progress-hero{padding:26px;display:flex;gap:24px;align-items:center;background:#eff5e9;border:1px solid #dfe8d5;border-radius:11px;margin-bottom:22px}.ring{height:82px;width:82px;position:relative;flex-shrink:0}.ring svg{width:100%;height:100%;transform:rotate(-90deg)}.ring-value{position:absolute;inset:0;display:grid;place-items:center;font-size:20px;font-weight:600}.progress-hero h2{font-size:19px;margin-bottom:5px}.progress-hero p{font-size:12px;color:#819076}.today-habits{padding:6px 22px}.daily-item{display:flex;align-items:center;gap:14px;padding:20px 0;border-bottom:1px solid #ebeee6}.daily-item:last-child{border-bottom:0}.daily-item .habit-icon{width:39px;height:39px;border-radius:10px}.daily-item .habit-icon .icon{width:20px;height:20px}.daily-item h3{font-size:13px;font-weight:550}.daily-item p{font-size:11px;color:#87947f;margin-top:3px}.daily-item .check-big{margin-left:auto;width:30px;height:30px}.daily-item.checked h3{color:#96a28e;text-decoration:line-through}.daily-item.checked .habit-icon{opacity:.65}.notes-body{padding:0 22px 22px}.notes-body textarea{width:100%;resize:vertical;min-height:180px;border:1px solid #e3e9dc;border-radius:7px;padding:12px;color:#52684b;background:#fcfdf9;font-size:12px}.notes-body textarea::placeholder{color:#a1ac96}.notes-body .row{display:flex;justify-content:space-between;align-items:center;margin-top:12px}.notes-body small{font-size:10px;color:#8f9b85}.guide-card{padding:22px;background:#faf8ef;border:1px solid #e9e4d5;border-radius:10px;margin-top:20px}.guide-card .icon{color:#af945d;margin-bottom:10px}.guide-card h3{font-family:Georgia,serif;font-weight:400;font-size:19px;margin-bottom:7px}.guide-card p{font-size:12px;color:#958b72;line-height:1.8}.habit-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.habit-card{padding:22px;background:#fff;border:1px solid #e2e8da;border-radius:11px}.habit-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.habit-card .habit-icon{width:37px;height:37px;border-radius:10px}.habit-card .habit-icon .icon{width:20px;height:20px}.habit-card h3{font-size:14px;font-weight:550;margin-bottom:5px;overflow-wrap:anywhere}.habit-card p{font-size:11px;color:#8c9785;min-height:34px}.habit-card .schedule{display:flex;gap:5px;margin:18px 0;font-size:9px}.schedule span{width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:#f4f6f0;color:#b7beb1}.schedule span.on{color:#5f8656;background:#edf3e6}.habit-card-foot{display:flex;justify-content:space-between;align-items:center;padding-top:14px;border-top:1px solid #edf0e7;font-size:11px;color:#809477}.habit-card-foot .streak{display:flex;align-items:center;gap:5px;color:#a39369}.habit-card-actions{display:flex;gap:7px;margin-top:15px}.habit-card-actions .btn{min-height:31px;padding:5px 10px;font-size:10px}.empty-state{padding:55px 25px;text-align:center}.empty-state .icon{width:36px;height:36px;color:#a0b492;margin-bottom:15px}.empty-state h2{margin-bottom:9px}.empty-state p{color:#929e86;font-size:12px;margin-bottom:18px}.insight-layout{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.weekly-bars{padding:10px 24px 26px}.weekly-row{display:grid;grid-template-columns:70px 1fr 35px;gap:15px;align-items:center;margin:17px 0;font-size:10px;color:#8b9a81}.bar-track{height:9px;background:#f2f5ed;border-radius:4px;overflow:hidden}.bar-track i{background:#82a771;height:100%;display:block;border-radius:4px}.ranking{padding:0 24px 24px}.rank-row{display:flex;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid #edf1e6}.rank-row:last-child{border-bottom:0}.rank-row strong{font-size:11px;font-weight:550;flex:1}.rank-row>span:first-child{font-size:10px;color:#a2ab99;min-width:10px}.rank-row b{font-size:11px;color:#6e9164;font-weight:550}.settings-layout{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}.settings-body{padding:0 24px 24px}.settings-body p{font-size:12px;color:#86967d;line-height:1.8;margin-bottom:16px}.settings-body .btn{margin:0 7px 8px 0}.settings-body label{display:block;font-size:11px;margin-bottom:7px;color:#6f8464}.settings-body input{width:100%;border:1px solid #dfe5d7;background:#fbfcf9;color:#3f5d38;padding:10px 12px;border-radius:6px;margin-bottom:16px}.settings-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;font-size:11px;margin-bottom:15px}.settings-meta span{color:#98a38e}.install-instructions{padding:15px;background:#f5f8ef;border-radius:7px;font-size:11px;line-height:1.8;color:#6e845f;margin:14px 0}.install-instructions strong{font-weight:550}.subtle-label{display:inline-flex;gap:6px;align-items:center;background:#edf3e7;border-radius:5px;padding:5px 9px;color:#7f9670;font-size:10px}.error-banner{padding:17px;background:#fff1e9;border:1px solid #e6cdbb;color:#8a5138;border-radius:8px;margin-bottom:20px;font-size:12px}.error-banner .btn{margin:10px 5px 0 0}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.dialog-header h2{font-size:21px;font-weight:550}.dialog-header p{font-size:12px;color:#8c9a83;margin-top:4px}dialog{border:1px solid #dde5d5;border-radius:15px;width:min(510px,calc(100vw - 30px));padding:27px;color:#2f4938;background:#fcfdfa;max-height:90dvh;box-shadow:0 20px 100px #12372230}dialog::backdrop{background:#183c3260;backdrop-filter:blur(3px)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-field{margin-bottom:17px}.form-field label,.form-field legend{display:block;font-size:11px;color:#627a56;margin-bottom:7px}.form-field input:not([type=radio]):not([type=checkbox]),.form-field select{width:100%;border:1px solid #dce4d3;border-radius:7px;padding:10px 11px;color:#405b35;background:white;font-size:12px}.form-field small{display:block;margin-top:5px;font-size:10px;color:#9aa88e}.form-field fieldset,fieldset.form-field{border:0;padding:0;min-width:0}.day-options{display:flex;gap:7px}.day-options label{margin:0;flex:1;text-align:center;cursor:pointer;position:relative}.day-options input{position:absolute;opacity:0;inset:0;width:100%;height:100%;cursor:pointer;margin:0}.day-options span{display:block;border:1px solid #dfe6d5;background:#f4f7ee;border-radius:6px;padding:9px 0;font-size:10px;color:#8b9c7b}.day-options input:checked+span{background:#5f8760;border-color:#5f8760;color:white}.day-options input:focus-visible+span{outline:3px solid #bc873c;outline-offset:2px}.color-options,.icon-options{display:flex;gap:8px;flex-wrap:wrap}.color-option{width:26px;height:26px;border:3px solid #fcfdfa;border-radius:50%;padding:0;outline:1px solid transparent}.color-option.active{outline:2px solid #739167}.icon-option{width:33px;height:33px;border-radius:6px;display:grid;place-items:center;border:1px solid #e1e7d8;background:white;color:#92a27f}.icon-option.active{background:#edf3e5;color:#4e7850;border-color:#9fb797}.icon-option .icon{width:17px;height:17px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:23px;padding-top:19px;border-top:1px solid #e4eadc}.dialog-message{font-size:13px;color:#7b8f6e;line-height:1.8}.form-error{color:#a05145;font-size:11px;margin-top:12px}.dialog-note{font-size:10px;background:#f1f5ea;color:#80946f;border-radius:6px;padding:10px 12px}.dialog-stats{display:flex;justify-content:space-between;font-size:11px;color:#839674;background:#f1f5e9;padding:12px;border-radius:7px;margin:12px 0}.backup-preview{font-size:12px;background:#eef4e6;padding:14px;border-radius:7px;margin-top:14px;color:#678255}#toast{position:fixed;bottom:26px;left:calc(50% + 116px);transform:translateX(-50%) translateY(20px);padding:12px 20px;background:#254c3c;color:#f3f7e9;border:1px solid #46694c;box-shadow:0 5px 25px #23462425;border-radius:8px;font-size:12px;z-index:100;opacity:0;pointer-events:none;transition:.2s;max-width:calc(100vw - 30px);text-align:center}#toast.visible{transform:translateX(-50%) translateY(0);opacity:1}.skip-link{position:fixed;top:-100px;left:20px;background:white;padding:12px;z-index:200}.skip-link:focus{top:15px}.toolbar-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px}.search-input{border:1px solid #dfe6d6;background:#fff;border-radius:7px;font-size:12px;color:#577044;padding:10px 13px;width:230px;max-width:100%}.badge{font-size:9px;padding:4px 7px;border-radius:5px;color:#8d9b7e;background:#f0f4e9}.text-link{background:none;color:#527c4c;font-size:11px;display:flex;align-items:center;gap:5px}.text-link .icon{width:14px;height:14px}.keyboard-hint{font-size:9px;color:#9eaa93}.period-heading{font-size:11px;color:#7e906f;margin-bottom:14px}.full-width{grid-column:1/-1}.small-note{font-size:11px;color:#8b9d7c;margin-bottom:18px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1650px){.main{padding-top:44px}.tracker{min-width:1150px}.tracker td{height:66px}.below-grid{margin-top:26px}.trend-svg{height:200px}.stat{min-height:130px}}
@media(max-width:1200px){.sidebar{width:204px;padding:30px 15px 20px}.content{margin-left:204px;width:calc(100% - 204px)}.main{padding:30px 27px 24px}.topbar{padding:0 27px}.brand-name{font-size:25px}.stats{gap:12px}.stat{padding:16px}.stat-label{font-size:10px}.panel-tools{gap:8px}.habit-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.below-grid{grid-template-columns:minmax(0,1.4fr) minmax(240px,1fr)}#toast{left:calc(50% + 102px)}}
@media(max-width:960px){.sidebar{width:180px;padding:28px 12px 20px}.content{margin-left:180px;width:calc(100% - 180px)}.brand{gap:8px;padding:0 5px}.brand-name{font-size:24px}.brand-mark{width:32px;height:32px;border-radius:9px}.brand-sub{font-size:7px;letter-spacing:1.2px}.nav-link{font-size:12px;padding:12px}.main{padding:27px 23px}.topbar{padding:0 23px;height:68px}.top-actions{gap:10px}.stats{gap:9px}.stat{padding:14px 12px}.stat-label .icon{display:none}.stat-foot{font-size:9px}.page-heading h1{font-size:28px}.panel-head{padding:19px}.panel-tools{flex-wrap:wrap;justify-content:flex-end}.filter-bar{padding:0 19px 15px}.below-grid,.insight-layout,.today-layout,.settings-layout{grid-template-columns:1fr}.focus-panel{display:none}.today-layout>.panel{margin-bottom:0}.settings-layout .panel{display:block}.legend{display:none}.footer{gap:15px}.sidebar-note h3{font-size:17px}#toast{left:calc(50% + 90px)}}
@media(max-width:700px){.sidebar{display:none}.content{margin:0;width:100%}.topbar{height:68px;padding:0 20px;background:#f8faf4}.breadcrumbs{display:none}.mobile-brand{display:flex;align-items:center;gap:8px;font-size:24px;font-weight:650;letter-spacing:-1px;color:#254d39}.mobile-brand .brand-mark{width:30px;height:30px;border-radius:9px}.mobile-brand .icon{width:22px;height:22px}.top-actions .install-top{display:none}.top-actions{font-size:10px}.main{padding:27px 18px 100px}.page-heading{align-items:flex-start;gap:12px;margin-bottom:24px}.page-heading h1{font-size:28px;max-width:265px}.page-heading p{font-size:11px;max-width:265px;line-height:1.7}.page-heading .overline{font-size:10px}.page-heading>.btn{padding:9px 11px;min-height:35px;font-size:10px;align-self:center}.page-heading>.btn .icon{width:14px;height:14px}.stats{grid-template-columns:1fr 1fr;gap:11px;margin-bottom:20px}.stat{padding:16px;min-height:115px}.stat-label{font-size:10px}.stat-label .icon{display:block;width:16px;height:16px}.stat-number{font-size:27px;margin-top:10px}.stat-foot{font-size:9px}.stat .inline-progress{margin-top:10px}.welcome-strip{padding:12px;font-size:10px;line-height:1.7;margin-bottom:20px}.welcome-strip>.icon{display:none}.panel-head{padding:18px 16px;align-items:flex-start}.panel-head h2{font-size:15px}.panel-head p{font-size:10px}.panel-tools{gap:7px}.month-selector{gap:2px}.month-selector strong{font-size:10px;min-width:85px}.icon-btn{padding:4px}.month-selector .icon{width:15px;height:15px}.segmented button{padding:4px 8px;font-size:9px}.panel-tools .segmented{display:none}.filter-bar{padding:0 15px 14px}.filter-chips{gap:0}.chip{padding:4px 7px;font-size:9px}.tracker{min-width:1060px}.tracker th.habit-col{width:173px;padding-left:15px}.tracker td.habit-cell{padding-left:15px;padding-right:9px}.tracker .habit-name{font-size:10px}.tracker .habit-icon{width:24px;height:24px}.tracker .habit-meta{font-size:8px}.habit-name-btn{gap:7px}.tracker-footer{padding:13px 15px}.tracker-footer>span{max-width:145px;text-align:right;font-size:8px}.below-grid{margin-top:19px;gap:18px}.chart-wrap{padding:0 16px}.chart-note{padding:0 16px;font-size:9px}.trend-svg{height:158px}.chart-empty{padding:15px 17px;min-height:150px}.chart-empty h3{font-size:13px}.chart-empty p{font-size:11px}.chart-empty .empty-icon{width:44px;height:44px;border-radius:12px}.footer{margin-top:23px;font-size:9px;flex-wrap:wrap}.footer>span:last-child{display:none}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fcfdf9f5;backdrop-filter:blur(15px);border-top:1px solid #e1e7d8;padding:8px 5px calc(9px + env(safe-area-inset-bottom));z-index:30;justify-content:space-around}.bottom-nav button{display:flex;flex-direction:column;align-items:center;gap:4px;flex:1;background:none;color:#9ca98f;font-size:9px;padding:5px;min-height:46px}.bottom-nav .icon{width:20px;height:20px}.bottom-nav button.active{color:#3c714a}.bottom-nav button.active .icon{stroke-width:2}.habit-cards{grid-template-columns:1fr}.habit-card{padding:20px}.habit-card p{min-height:0}.toolbar-row{flex-wrap:wrap;gap:14px}.search-input{width:100%}.habit-card-actions .btn{padding:8px 12px;font-size:11px}.daily-item{padding:18px 0;gap:11px}.daily-item h3{font-size:12px}.daily-item p{font-size:10px;max-width:210px}.today-habits{padding:0 16px}.progress-hero{padding:20px;gap:17px}.progress-hero h2{font-size:17px}.progress-hero p{font-size:11px}.ring{width:68px;height:68px}.ring-value{font-size:17px}.page-heading:has(.day-selector){flex-wrap:wrap}.day-selector{width:100%;justify-content:flex-start;margin-top:5px}.day-selector input{max-width:none;flex:1}.notes-body{padding:0 17px 18px}.settings-body{padding:0 17px 20px}.settings-body .btn{font-size:11px}.settings-body p{font-size:11px}.settings-meta{font-size:10px}.settings-layout,.today-layout,.insight-layout{gap:18px}#toast{left:50%;bottom:calc(85px + env(safe-area-inset-bottom));font-size:11px;width:max-content;max-width:calc(100vw - 30px)}dialog{padding:23px 20px}.dialog-header h2{font-size:19px}.dialog-header p{font-size:11px}.form-grid{gap:12px}.dialog-actions .btn{font-size:11px}.day-options{gap:5px}.guide-card{margin-top:18px}.period-heading{font-size:10px}.small-note{font-size:10px}.ranking{padding:0 17px 18px}.weekly-bars{padding:0 17px 18px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.sidebar,.topbar,.bottom-nav,.page-heading>.btn,.filter-bar,.tracker-footer,.footer,.welcome-strip,dialog,#toast{display:none!important}.content{margin:0;width:100%}.main{padding:0}.table-scroll{overflow:visible}.tracker{min-width:0;font-size:7px}.tracker th.habit-col{width:140px}.tracker td.habit-cell{padding-left:5px}.tracker .cell-box{width:12px;height:12px}.panel{break-inside:avoid}.below-grid{display:block}.chart-panel{margin-top:20px}.stats{grid-template-columns:repeat(4,1fr)}body{background:white}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
