:root{font-family:Noto Sans KR,Apple SD Gothic Neo,Malgun Gothic,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#25314a;background:#f7f8fc;font-synthesis:none;font-size:16px;--blue: #3158ed;--muted: #81899a;--border: #e9ecf3;--green: #138975;--coral: #d7776b}.reset-section{margin-top:40px;padding:24px 0 8px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:18px}.reset-section h2{font-size:1rem}.reset-section p{margin-top:8px;font-size:.875rem;color:#758198;line-height:1.8}.reset-button-outline{border:1px solid #e8b5b9;color:#b1424b;background:#fff;padding:12px 16px;border-radius:10px;font-size:.875rem;white-space:nowrap;min-height:44px}.reset-button-outline:hover{background:#fff0ef}.reset-description{font-size:.875rem;color:#758198;line-height:1.9}.reset-description p+p{margin-top:12px}@media(max-width:700px){.reset-section{align-items:stretch;flex-direction:column}}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;transition:background .16s,transform .16s;border:0}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #7991ff;outline-offset:4px}button:active:not(:disabled){transform:translateY(1px)}button svg{flex-shrink:0}a{color:inherit;text-decoration:none}h1,h2,h3,h4,p{margin:0}h2{font-size:1.18rem;letter-spacing:-.04em}h3{font-size:1rem}small{font-size:.78rem}input,select{width:100%;min-width:0;border:1px solid #dfe4ee;border-radius:10px;background:#fff;color:#25314a;min-height:47px;padding:10px 13px}input[type=date]{display:block}label{font-size:.88rem;font-weight:600;display:grid;gap:9px}fieldset{padding:0;margin:0;border:0}legend{font-size:.88rem;font-weight:600;margin-bottom:10px}button{color:inherit}.app-shell{min-height:100vh}.sidebar{width:247px;height:100dvh;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--border);background:#fff;padding:38px 24px 22px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;gap:11px;align-items:center;font-size:1.24rem;font-weight:900;letter-spacing:-1px;white-space:nowrap}.brand-symbol{display:grid;place-items:center;background:var(--blue);color:#fff;width:39px;height:43px;border-radius:14px 14px 14px 4px;font-size:1.85rem;font-weight:800;box-shadow:0 5px 10px #3158ed17}.brand-question{color:var(--blue)}.brand small{font-size:.66rem;color:#9299a8;display:block;letter-spacing:-.02em;font-weight:400;margin-top:4px}.brand small.brand-credit{font-size:.75rem;color:#7d879b;letter-spacing:0;margin-top:6px}.header-credit{display:none;font-size:.75rem;font-weight:400;color:#7d879b;letter-spacing:0;margin-left:12px}@media(max-width:700px){.header-credit{display:inline-block}}.workspace-label{font-size:.63rem;font-weight:700;letter-spacing:1.8px;color:#9da5b5;margin:58px 14px 17px}.sidebar nav{display:grid;gap:9px}.sidebar nav button{display:flex;align-items:center;gap:13px;text-align:left;background:transparent;padding:15px 18px;border-radius:12px;color:#7c8597;font-size:.95rem;font-weight:600}.sidebar nav button.active{background:#edf1ff;color:var(--blue)}.sidebar nav button:hover{background:#f3f5fc}.sidebar nav button svg:last-child:not(:first-child){margin-left:auto}.sidebar-bottom{margin-top:auto}.sidebar-message{position:relative;background:#f7f8fc;border:1px solid #f0f2f7;border-radius:16px;padding:22px 18px;overflow:hidden;margin-bottom:22px}.sidebar-message>span{font-weight:700;font-size:1rem;line-height:1.65;letter-spacing:-.03em}.sidebar-message p{font-size:.69rem;color:#8b94a8;margin-top:10px;position:relative;z-index:1}.little-sprout{position:absolute;right:9px;top:5px;font-size:5rem;color:#e1e7fa;transform:rotate(12deg)}.storage-status{display:flex;align-items:center;gap:9px;padding:0 2px}.storage-dot{width:7px;height:7px;background:#1aa187;border-radius:50%;flex-shrink:0}.storage-status strong{font-size:.73rem;display:block;font-weight:500}.storage-status small{display:block;font-size:.63rem;color:#98a0ae;margin-top:5px}.account-button{width:100%;margin-top:14px;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 4px;background:#f3f5fc;border-radius:8px;font-size:.75rem}.main{max-width:1410px;padding:48px 52px 24px;margin-left:247px}.page-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:31px}.page-kicker{font-size:.78rem;color:var(--blue);font-weight:700;margin-bottom:9px;letter-spacing:.03em}.page-header h1{font-size:1.85rem;font-weight:800;letter-spacing:-.055em;line-height:1.4}.page-header p{font-size:.85rem;color:var(--muted);margin-top:10px}.header-mark{width:50px;height:50px;border:1px solid #e6e9f1;border-radius:16px;display:grid;place-items:center;background:#fff;color:#edb951;font-size:2.1rem}.insight{background:#edf1ff;border:1px solid #e4eaff;position:relative;border-radius:21px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:32px 37px 63px;overflow:hidden;min-height:252px;touch-action:pan-y}.insight:after{content:"";position:absolute;width:290px;height:290px;border:1px solid #dde4fd;border-radius:50%;right:-100px;top:-135px;pointer-events:none}.insight-content{z-index:1}.eyebrow{font-size:.77rem;font-weight:600;display:flex;align-items:center;gap:7px;color:#5570c7;letter-spacing:-.01em}.insight h2{font-size:1.52rem;letter-spacing:-.05em;margin-top:16px;line-height:1.45}.insight p{font-size:.83rem;color:#7c88a7;margin-top:11px;line-height:1.75;max-width:500px}.insight-link{display:flex;gap:9px;align-items:center;font-size:.76rem;font-weight:600;color:#5872c6;margin-top:20px;background:transparent;padding:0}.progress-ring{position:relative;width:145px;height:145px;flex-shrink:0;margin-right:11px}.progress-ring svg{width:100%;height:100%;transform:rotate(-90deg)}.progress-ring circle{fill:none;stroke-width:9}.ring-track{stroke:#dce4ff}.ring-fill{stroke:var(--blue);stroke-linecap:round;transition:stroke-dasharray .5s}.progress-ring>div{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;flex-direction:column}.progress-ring strong{font-size:2.25rem;letter-spacing:-2px;color:var(--blue);line-height:1.35}.progress-ring strong small{font-size:1rem;letter-spacing:0;margin-left:3px}.progress-ring span{font-size:.63rem;color:#8390b4;margin-top:4px}.insight-big{font-size:2.9rem;font-weight:800;color:var(--blue);text-align:center;min-width:160px}.insight-big span{display:block;font-size:.69rem;font-weight:400;color:#7c88a7}.carousel-footer{position:absolute;left:37px;right:28px;bottom:19px;display:flex;justify-content:space-between;align-items:center}.dots{display:flex;align-items:center;gap:5px}.dots button{position:relative;width:15px;height:25px;background:transparent;padding:0}.dots button:after{content:"";position:absolute;top:9px;left:4px;background:#cad3ed;width:6px;height:6px;border-radius:20px}.dots button.active{width:25px}.dots button.active:after{background:var(--blue);width:20px;left:0}.carousel-arrows{display:flex;align-items:center;gap:9px}.carousel-arrows button{background:transparent;color:#7e8db1;display:grid;place-items:center;width:28px;height:28px}.carousel-arrows span{font-size:.68rem;color:#8290b0;letter-spacing:1px}.today-section{margin-top:36px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:23px}.section-heading h2{display:flex;gap:10px;align-items:center;font-weight:800}.section-heading p{margin-top:8px;font-size:.79rem;color:var(--muted);line-height:1.7}.count{color:var(--blue);background:#eaf0ff;border-radius:7px;font-size:.8rem;padding:1px 7px;min-width:24px;text-align:center}.primary,.secondary,.danger{border-radius:10px;padding:12px 17px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:600;font-size:.82rem;white-space:nowrap;min-height:43px}.primary{background:var(--blue);color:#fff;box-shadow:0 3px 6px #3158ed10}.primary:hover{background:#2647cc}.secondary{background:#fff;border:1px solid #dfe4ee;color:#68758d}.secondary:hover{background:#f0f3fb}.danger{background:#c74f56;color:#fff}.full{width:100%}.filter-tabs{display:flex;gap:9px;margin-bottom:20px}.filter-tabs button{background:transparent;border-radius:8px;padding:8px 13px;font-size:.76rem;color:#8590a4;display:flex;gap:8px;align-items:center}.filter-tabs button.active{background:#eaf0ff;color:var(--blue);font-weight:600}.filter-tabs button span{font-size:.68rem}.category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px;align-items:start}.habit-card{background:#fff;border:1px solid var(--border);border-radius:16px;overflow:hidden;box-shadow:0 3px 8px #263d7410}.habit-card header{display:flex;align-items:center;justify-content:space-between;margin:0 22px;padding:20px 0 16px;border-bottom:1px solid #f0f2f6;gap:12px}.category-title{display:flex;align-items:center;gap:10px;min-width:0}.category-title h3{font-size:.91rem;font-weight:700;letter-spacing:-.04em}.category-icon{width:35px;height:35px;border-radius:11px;display:grid;place-items:center;font-size:1.15rem;flex-shrink:0}.category-marker{width:5px;height:5px;border-radius:50%;opacity:.65}.muted{font-size:.76rem;color:#9aa4b8}.habit-row{padding:20px 22px;display:flex;gap:12px;align-items:center;justify-content:space-between}.habit-row+.habit-row{border-top:1px solid #f4f5f8}.habit-info{min-width:0}.habit-info h4{font-size:.88rem;font-weight:600;letter-spacing:-.03em;overflow-wrap:anywhere;line-height:1.55}.habit-info p{font-size:.72rem;color:#99a2b2;margin-top:6px;line-height:1.6;overflow-wrap:anywhere}.record-actions{display:flex;gap:6px;flex-shrink:0;align-items:center}.record-actions button{display:flex;gap:4px;align-items:center;justify-content:center;border-radius:7px;font-size:.71rem;min-height:34px;padding:7px 10px}.record-success{background:#eef7f4;color:#268978;border:1px solid #e0eeea}.record-success:hover{background:#dcefe8}.record-failure{background:#fff4f1;color:#c6877f;border:1px solid #f5e8e4}.record-failure:hover{background:#ffe7df}.status-button.success{background:#e9f5ef;color:var(--green)}.status-button.failure{background:#fff0ec;color:var(--coral)}.habit-row.success .habit-info h4{color:#588a7b}.habit-row.success .habit-info p{color:#8cab9f}.habit-row.failure .habit-info p{color:#c18981}.record-actions .reset-button{padding:5px;color:#9aa4b3;background:transparent;min-width:28px}.gentle-note{display:flex;gap:12px;align-items:center;justify-content:center;padding:39px 20px 34px;color:#a7afbe;text-align:left}.gentle-note>span{font-size:3rem;font-family:Georgia,serif;color:#d3d9e7;line-height:1}.gentle-note p{font-size:.75rem;line-height:1.9}.gentle-note strong{font-weight:400;color:#8994a9}.page-footer{margin-top:36px;padding-top:19px;border-top:1px solid #e9edf5;display:flex;gap:15px;justify-content:space-between;font-size:.64rem;color:#abb3c2}.page-footer>span:first-child{font-weight:700}.panel{border:1px solid var(--border);border-radius:17px;background:#fff;padding:25px;min-width:0}.empty{text-align:center;padding:35px 14px 38px;display:flex;flex-direction:column;align-items:center}.empty-icon{background:#f0f4ff;color:#7189d6;border-radius:20px;display:grid;place-items:center;width:63px;height:63px;margin-bottom:19px}.empty h3{font-size:1.01rem;letter-spacing:-.03em}.empty p{font-size:.81rem;color:#929cad;line-height:1.95;max-width:365px;margin-top:10px;word-break:keep-all}.empty .primary{margin-top:23px;font-size:.78rem}.management-heading{margin-top:5px}.category-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:35px}.category-setting{display:flex;gap:11px;align-items:center;position:relative;background:#fff;border:1px solid var(--border);border-radius:13px;padding:17px 16px 38px}.category-setting>div:nth-child(2){flex:1;min-width:0}.category-setting strong{font-size:.82rem;display:block;overflow-wrap:anywhere}.category-setting small{display:block;margin-top:4px;font-size:.66rem;color:#9aa3b4}.category-setting.inactive{background:#f0f2f7}.category-setting.inactive>.category-icon{filter:grayscale(1);opacity:.7}.switch{width:35px;height:21px;flex-shrink:0;background:#d8deeb;border-radius:20px;padding:3px}.switch>span{display:block;width:15px;height:15px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;transition:transform .2s}.switch[aria-checked=true]{background:var(--blue)}.switch[aria-checked=true]>span{transform:translate(14px)}.category-edit-actions{position:absolute;right:12px;bottom:5px;display:flex;gap:3px}.category-edit-actions .icon-button{height:30px;width:30px}.icon-button{width:35px;height:35px;display:inline-grid;place-items:center;background:transparent;color:#8e98aa;border-radius:8px;padding:6px}.icon-button:hover{background:#edf1fa;color:#53688d}.edit-actions{display:flex;flex-shrink:0}.mobile-nav{display:none}.stats-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:19px;flex-wrap:wrap}.period-tabs{background:#e9edf5;display:flex;padding:4px;border-radius:10px;gap:2px}.period-tabs button{padding:8px 14px;border-radius:7px;background:transparent;font-size:.77rem;color:#7b8597;white-space:nowrap}.period-tabs button.active{background:#fff;color:var(--blue);font-weight:700;box-shadow:0 1px 4px #24356610}.date-range{font-size:.72rem;color:#8793a9;letter-spacing:.03em}.stats-filters{display:flex;gap:9px;align-items:center;margin-bottom:23px;flex-wrap:wrap}.stats-filters>span{display:flex;gap:7px;align-items:center;font-size:.74rem;color:#8c97aa;margin-right:5px}.stats-filters label{max-width:210px}.stats-filters select{font-size:.73rem;min-height:38px;padding:7px 26px 7px 11px;border-radius:8px}.text-button{background:transparent;color:var(--blue);font-size:.75rem}.stat-summary{display:grid;grid-template-columns:1.7fr repeat(3,1fr);gap:14px;margin-bottom:23px}.stat-main,.stat-small{border-radius:15px;padding:22px;background:#fff;border:1px solid var(--border)}.stat-main{position:relative;background:var(--blue);color:#fff;border-color:var(--blue);overflow:hidden}.stat-main>span{font-size:.8rem}.stat-main>strong{display:block;font-size:2.5rem;margin-top:13px;line-height:1.2;letter-spacing:-1px}.stat-main small{font-size:1rem;margin-left:3px}.stat-main p{font-size:.63rem;color:#bbcaff;margin-top:11px;position:relative;z-index:1}.stat-deco{position:absolute;right:16px;bottom:22px;color:#6683f6;opacity:.55}.stat-small>span{display:flex;align-items:center;gap:7px;font-size:.78rem}.stat-small strong{display:block;font-size:1.9rem;margin-top:23px}.stat-small small{font-size:.75rem;color:#9ea8b8;font-weight:400;margin-left:6px}.green{color:var(--green)}.coral{color:var(--coral)}.gray{color:#8b97ab}.stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:24px}.panel-heading h2{font-size:1rem;letter-spacing:-.04em}.panel-heading p{font-size:.72rem;color:#919bad;margin-top:8px;line-height:1.7}.panel-heading>svg{color:#a4aec0}.panel-heading .eyebrow{margin-bottom:9px;font-size:.67rem}.badge{font-size:.65rem;padding:5px 9px;border-radius:6px;background:#f1f4fb;color:#8b97ac;white-space:nowrap}.failure-panel .badge{background:#fff2ec;color:#d09278}.top-reason{display:flex;align-items:center;gap:12px;background:#f8f9fd;border-radius:12px;padding:16px;margin-bottom:24px}.top-reason>span{font-size:1.9rem}.top-reason>div{flex:1;min-width:0}.top-reason small{font-size:.65rem;color:#8995ab}.top-reason h3{font-size:.91rem;margin-top:5px;overflow-wrap:anywhere}.top-reason>strong{font-size:1.6rem;color:var(--blue)}.top-reason>strong small{color:var(--blue);font-size:.8rem;margin-left:2px}.reason-bars{display:grid;gap:18px}.reason-bar>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:.75rem;margin-bottom:9px}.reason-bar>div:first-child>span:first-child{overflow-wrap:anywhere}.reason-bar>div:first-child>span:last-child{white-space:nowrap;color:#9ca7b8;font-size:.7rem}.reason-bar strong{color:#4e628e;margin-left:10px;font-weight:600}.bar-track{height:6px;background:#f0f3f9;border-radius:5px;overflow:hidden}.bar-track i{height:100%;display:block;border-radius:5px;background:#6c88f7;transition:width .4s}.rate-bars{display:grid;gap:17px}.rate-row{background:transparent;padding:0;text-align:left;width:100%}.rate-row:disabled{opacity:1}.rate-row>div:first-child{display:flex;justify-content:space-between;gap:15px;font-size:.78rem;margin-bottom:10px}.rate-row strong{font-size:.76rem;white-space:nowrap}.rate-row small{display:block;text-align:right;font-size:.6rem;color:#a4aec0;margin-top:4px}.rate-row:hover:not(:disabled)>div:first-child{color:var(--blue)}.weekday-chart{display:flex;gap:18px;height:180px;padding:10px 8px 0;justify-content:space-around}.weekday-chart>div{flex:1;display:flex;flex-direction:column;align-items:center;min-width:0}.weekday-chart strong{font-size:.66rem;color:#6e7d9a;font-weight:500;margin-bottom:10px}.weekday-chart span{font-size:.73rem;color:#8792a6;margin-top:10px}.weekday-track{background:#f1f4fb;border-radius:5px;width:100%;max-width:27px;flex:1;display:flex;align-items:flex-end;overflow:hidden}.weekday-track i{width:100%;background:#7890f2;border-radius:5px;min-height:0}.chart-note{font-size:.65rem;color:#a4aebf;margin-top:19px;line-height:1.7;text-align:center}.trend-chart{width:100%;height:auto;min-height:145px;margin-top:9px;display:block}.chart-details{font-size:.72rem;color:#8b98af;margin-top:12px}.chart-details summary{cursor:pointer}.chart-details>div{max-height:220px;overflow:auto;margin-top:10px}.chart-details p{display:flex;justify-content:space-between;padding:6px 2px}.chart-details strong{color:#546caa}.chart-empty{min-height:180px;display:grid;place-items:center;font-size:.79rem;color:#9aa6ba;text-align:center;padding:20px}.full-span{grid-column:1/-1}.full-span .rate-bars{grid-template-columns:repeat(2,minmax(0,1fr));gap:21px 38px}.metric-note{font-size:.67rem;color:#a2adbf;text-align:center;margin-top:27px;line-height:1.9}.stats-grid .empty{padding:19px 5px}.stats-grid .empty h3{font-size:.87rem}.stats-grid .empty p{font-size:.75rem}.stats-grid .empty-icon{width:48px;height:48px;border-radius:15px}.modal{border:0;padding:0;border-radius:22px;width:calc(100% - 32px);max-width:470px;color:#25314a;box-shadow:0 25px 100px #172b5633;max-height:88dvh;overflow:auto}.modal::backdrop{background:#15244065;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-inner{padding:29px}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:24px}.modal-head h2{font-size:1.24rem;letter-spacing:-.05em}.modal-head p{font-size:.77rem;color:#929eb0;line-height:1.8;margin-top:9px;word-break:keep-all}.modal-head .icon-button{margin:-5px -7px 0 0;flex-shrink:0}.editor{display:grid;gap:21px}.form-note{font-size:.72rem;font-weight:400;color:#99a4b6;line-height:1.85;word-break:keep-all}.center{text-align:center;margin-top:20px}.segmented{background:#f0f3f9;border-radius:10px;display:flex;gap:3px;padding:4px}.segmented button{flex:1;min-height:40px;background:transparent;border-radius:7px;color:#8a96aa;font-size:.8rem}.segmented button.selected{background:#fff;color:var(--blue);font-weight:600;box-shadow:0 1px 5px #405fa115}.week-select{display:flex;gap:7px}.week-select button{flex:1;height:41px;background:#f1f4fa;color:#8e99ad;border-radius:9px;font-size:.8rem}.week-select button.selected{background:var(--blue);color:#fff}.icon-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(43px,1fr));gap:8px;max-height:216px;overflow-y:auto;padding:4px}.icon-options button{background:#f5f7fc;border:1px solid transparent;width:43px;height:43px;border-radius:10px;font-size:1.3rem}.icon-options button.selected{border-color:var(--blue);background:#edf1ff}.color-options{display:flex;gap:13px}.color-options button{border-radius:50%;width:34px;height:34px;display:grid;place-items:center;color:#fff}.color-options button[aria-pressed=true]{outline:2px solid #d7dff5;outline-offset:3px}.reason-options{display:grid;gap:8px}.reason-options button{display:flex;align-items:center;gap:14px;width:100%;background:#f8f9fc;border:1px solid #edf0f6;border-radius:10px;padding:13px 16px;text-align:left;font-size:.83rem}.reason-options button>span:first-child{font-size:1.25rem}.reason-options button:hover,.reason-options button.selected{background:#f0f3ff;border-color:#b9c7ff;color:var(--blue)}.reason-radio{margin-left:auto;width:17px;height:17px;border:1px solid #d7deeb;border-radius:50%;display:grid;place-items:center;color:var(--blue);flex-shrink:0}.other-form{display:grid;gap:15px;margin-top:20px}.delete-description{font-size:.85rem;color:#8390a6;line-height:1.9;margin-bottom:24px}.move-label{margin-bottom:26px}.modal-actions{display:flex;gap:10px;justify-content:flex-end}.toast{position:fixed;bottom:27px;left:calc(50% + 123px);transform:translate(-50%);background:#25314a;color:#fff;border-radius:12px;padding:15px 22px;box-shadow:0 6px 24px #14224830;font-size:.8rem;display:flex;align-items:center;gap:9px;z-index:50;max-width:90vw;white-space:nowrap}.saving-indicator{position:fixed;right:20px;top:15px;border:1px solid var(--border);background:#fff;border-radius:8px;padding:8px 13px;font-size:.75rem;color:var(--blue);z-index:100}.error-banner{display:flex;justify-content:space-between;gap:10px;align-items:center;color:#a64444;background:#fff0ef;border:1px solid #f6d6d3;padding:15px 18px;font-size:.8rem;border-radius:10px;margin-bottom:20px;line-height:1.8}.error-banner button{background:transparent;white-space:nowrap;display:flex;color:#b34f4f}.form-error{color:#bb5358;font-size:.78rem}.loading{padding:65px 20px;text-align:center;color:#8b97ad;font-size:.87rem}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:1500px){.main{margin-left:max(247px,calc((100vw - 1410px)/2 + 180px));max-width:1100px}.sidebar{width:270px;padding:38px 30px}.main{padding-top:54px}}@media(max-width:1200px){.sidebar{width:218px;padding-left:19px;padding-right:19px}.brand{font-size:1.1rem;gap:9px}.brand small{font-size:.6rem}.main{margin-left:218px;padding:38px 30px 24px}.habit-row{padding:18px 17px;flex-wrap:wrap}.habit-card header{margin:0 17px}.record-actions{margin-left:auto}.insight{padding:27px 28px 60px}.insight h2{font-size:1.3rem}.progress-ring{width:128px;height:128px;margin-right:0}.insight p{max-width:330px}.stat-summary{gap:10px}.stat-main,.stat-small{padding:19px 16px}.stat-main p{font-size:.6rem}.stats-grid>.panel{padding:21px}.toast{left:calc(50% + 109px)}}@media(max-width:950px){.category-grid{grid-template-columns:1fr}.habit-row{flex-wrap:nowrap}.sidebar{width:198px;padding:32px 15px 18px}.brand{font-size:1.02rem}.brand-symbol{width:32px;height:37px}.main{margin-left:198px;padding:34px 26px 23px}.sidebar-message{padding:18px 12px}.storage-status small{font-size:.58rem}.stats-grid{grid-template-columns:1fr}.full-span{grid-column:auto}.full-span .rate-bars{grid-template-columns:1fr}.stat-summary{grid-template-columns:repeat(3,1fr)}.stat-main{grid-column:1/-1;min-height:142px}.stat-main>strong{margin-top:12px}.stat-small strong{margin-top:15px;font-size:1.6rem}.category-settings{grid-template-columns:1fr}.insight{padding:24px 24px 58px}.insight h2{font-size:1.14rem}.insight p{font-size:.75rem}.progress-ring{width:112px;height:112px}.progress-ring strong{font-size:1.9rem}.progress-ring span{font-size:.54rem}.insight-big{min-width:105px;font-size:2rem}.insight-big span{font-size:.6rem}.toast{left:calc(50% + 99px)}}@media(max-width:700px){:root{font-size:16px}.sidebar{display:none}.main{padding:28px 20px 100px;max-width:600px;margin-right:auto;margin-left:auto}.page-header{margin-bottom:25px}.page-header h1{font-size:1.55rem}.page-kicker,.page-header p{font-size:.8rem}.header-mark{width:43px;height:43px;font-size:1.8rem;border-radius:14px}.insight{min-height:256px;padding:25px 22px 63px;gap:10px;border-radius:18px}.insight-content{flex:1;min-width:0}.eyebrow{font-size:.73rem}.insight h2{font-size:1.16rem;line-height:1.6;max-width:210px;word-break:keep-all}.insight p{font-size:.76rem;line-height:1.8;word-break:keep-all}.insight-link{font-size:.7rem;margin-top:15px}.progress-ring{width:110px;height:110px}.carousel-footer{left:22px;right:17px;bottom:17px}.today-section{margin-top:29px}.section-heading{margin-bottom:20px;align-items:flex-start}.section-heading h2{font-size:1.08rem}.section-heading p{font-size:.74rem;max-width:210px;word-break:keep-all}.section-heading .primary,.section-heading .secondary{font-size:.74rem;padding:10px 12px;min-height:39px}.filter-tabs{margin-bottom:17px}.filter-tabs button{font-size:.76rem;padding:8px 12px}.category-grid{gap:16px}.habit-card{border-radius:15px;box-shadow:0 2px 6px #263d7407}.habit-card header{margin:0 19px;padding:19px 0 15px}.habit-row{padding:19px;gap:9px}.habit-info h4{font-size:.88rem}.habit-info p{font-size:.74rem}.record-actions button{font-size:.72rem;padding:8px 10px;min-height:36px}.category-title h3{font-size:.91rem}.gentle-note{padding:32px 10px}.gentle-note p{font-size:.71rem}.page-footer{margin-top:15px;font-size:.6rem;gap:10px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;background:#ffffffed;border-top:1px solid #e8edf5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);display:flex;z-index:20;padding:7px 15px calc(8px + env(safe-area-inset-bottom))}.mobile-nav button{background:transparent;flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;color:#a1aabb;padding:6px;min-height:49px;font-size:.67rem}.mobile-nav button.active{color:var(--blue);font-weight:700}.mobile-nav button.active svg{fill:#edf1ff}.empty{padding:32px 5px}.empty h3{font-size:.92rem}.empty p{font-size:.77rem}.panel{padding:21px}.category-settings{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.category-setting{display:grid;grid-template-columns:35px 1fr;gap:9px;padding:14px 13px 39px}.category-setting>div:nth-child(2){grid-column:1/-1;grid-row:2}.category-setting .switch{grid-column:2;grid-row:1;justify-self:end}.category-setting strong{font-size:.8rem;line-height:1.6}.category-setting small{font-size:.64rem}.category-edit-actions{bottom:6px;right:8px}.category-edit-actions .icon-button{width:32px;height:29px}.stats-toolbar{margin-bottom:17px;gap:12px}.period-tabs{width:100%;justify-content:space-between}.period-tabs button{flex:1;padding:9px 8px;font-size:.76rem}.date-range{font-size:.7rem}.stats-filters>span{display:none}.stats-filters{gap:8px}.stats-filters label{max-width:none;flex:1;min-width:0}.stats-filters select{font-size:.72rem;padding-right:12px}.stats-grid{gap:16px}.stat-summary{gap:10px}.stat-main{padding:23px}.stat-small{padding:18px 15px}.stat-small>span{font-size:.75rem}.stat-small strong{font-size:1.65rem}.stat-deco{right:28px}.stat-main>span{font-size:.85rem}.stat-main p{font-size:.7rem}.metric-note{font-size:.66rem}.panel-heading h2{font-size:1rem}.panel-heading p{font-size:.73rem}.top-reason small{font-size:.68rem}.chart-empty{font-size:.76rem}.rate-row>div:first-child{font-size:.8rem}.reason-bar>div:first-child{font-size:.76rem}.chart-note{font-size:.68rem}.modal{margin:auto 0 0;width:100%;max-width:none;border-radius:23px 23px 0 0;max-height:92dvh}.modal-inner{padding:26px 23px calc(27px + env(safe-area-inset-bottom))}.modal-head h2{font-size:1.26rem}.modal-head p{font-size:.8rem}.modal input,.modal select{font-size:1rem}.modal label,.modal legend{font-size:.88rem}.reason-options button{padding:14px 16px;font-size:.88rem;min-height:52px}.reason-options button>span:first-child{font-size:1.35rem}.form-note{font-size:.74rem}.toast{left:50%;bottom:85px;font-size:.75rem;padding:14px 17px}.saving-indicator{top:8px;right:8px}.management-heading .secondary{font-size:.69rem;padding:9px}.insight-big{font-size:2rem;min-width:90px}.insight-big span{font-size:.54rem}}@media(max-width:370px){.main{padding:24px 15px 100px}.insight{padding-left:17px;padding-right:17px}.progress-ring{width:90px;height:90px}.progress-ring strong{font-size:1.65rem}.progress-ring span{font-size:.47rem}.insight h2{font-size:1.07rem}.record-actions{gap:4px}.record-actions button{padding:7px}.habit-row{padding:17px 14px}.section-heading p{max-width:170px}.page-header h1{font-size:1.4rem}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}.habit-info h4,.category-title h3,.category-setting strong{font-size:1rem}.record-actions button,.primary,.secondary,.danger,.section-heading .primary,.section-heading .secondary,.period-tabs button,.filter-tabs button,.segmented button,.stats-filters select,.rate-row>div:first-child,.reason-bar>div:first-child,.panel-heading p,.insight p,.section-heading p,.habit-info p,.empty p,.stats-grid .empty p{font-size:.875rem}.form-note,.chart-note,.metric-note,.date-range,.rate-row small,.mobile-nav button,.badge{font-size:.75rem}.habit-info p,.section-heading p,.empty p,.panel-heading p{color:#758198}.insight p{color:#65769a}.record-actions button{min-height:40px}@media(max-width:700px){.record-actions button,.icon-button{min-height:44px}.habit-row{flex-wrap:wrap}.record-actions{margin-left:auto}.modal .primary{min-height:46px}}
