:root{--bg:#f7f5ef;--paper:#fffefa;--ink:#2f352d;--muted:#7d8277;--line:#e6e6dc;--orange:#d95f41;--teal:#448576;--gold:#b58a32;--shadow:0 5px 24px #353d2910;font-family:Inter,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #44857680;outline-offset:3px}button{color:inherit}h1,h2,h3,p{margin:0}button svg{pointer-events:none}svg{vertical-align:middle}button{border:0}a{color:var(--teal)}.shell{max-width:1216px;margin:auto;padding:0 38px 26px}.topbar{height:96px;display:flex;align-items:center;gap:25px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;font-size:23px;font-weight:760;letter-spacing:-1px}.brand img{width:35px;height:35px}.version{font-size:10px;letter-spacing:1.5px;color:var(--muted);font-weight:500;margin:5px 0 0 3px}.nav{display:flex;align-items:center;gap:4px;margin:auto}.nav button{background:transparent;padding:10px 16px;border-radius:10px;font-size:13px;color:var(--muted);font-weight:600;display:flex;gap:7px;align-items:center}.nav button.active{background:#eaece2;color:var(--ink)}.nav button:hover{color:var(--ink)}.header-actions{display:flex;gap:8px}.btn{border:1px solid var(--line);background:var(--paper);padding:10px 14px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:12px;font-weight:650;white-space:nowrap}.btn:hover{border-color:#b4baac;background:#f5f5ed}.btn.primary{background:var(--ink);border-color:var(--ink);color:white}.btn.orange{background:var(--orange);border-color:var(--orange);color:white}.icon-btn{padding:8px;background:transparent;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;color:var(--muted)}.icon-btn:hover{background:#eeeee5;color:var(--ink)}.eyebrow{font-size:10px;letter-spacing:1.9px;font-weight:700;text-transform:uppercase;color:var(--muted)}.intro{display:flex;align-items:flex-end;justify-content:space-between;padding:35px 0 27px}.intro h1{font-family:Georgia,serif;font-size:40px;font-weight:500;letter-spacing:-1.5px;line-height:1.1;margin:9px 0}.intro .sub{font-size:13px;color:var(--muted);line-height:1.6}.date-pill{font-size:12px;border:1px solid var(--line);padding:9px 12px;border-radius:50px;display:flex;align-items:center;gap:8px;background:#eeefe5;color:#5c6454}.layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr);gap:22px;align-items:start}.card{background:var(--paper);border:1px solid var(--line);border-radius:19px;box-shadow:var(--shadow)}.goals-card{overflow:hidden}.card-head{padding:24px 26px 19px;display:flex;justify-content:space-between;align-items:center;gap:12px}.card-head h2{font-size:16px;letter-spacing:-.4px}.card-head p{color:var(--muted);font-size:11px;margin-top:5px}.progress-overview{margin:0 26px 23px;background:#f3f3eb;border:1px solid #e9e9df;border-radius:13px;padding:16px;display:flex;gap:15px;align-items:center}.ring{--pct:0;position:relative;width:63px;height:63px;flex-shrink:0;border-radius:50%;background:conic-gradient(var(--teal) calc(var(--pct)*1%),#dfE3d6 0);display:grid;place-items:center}.ring:before{content:"";position:absolute;inset:5px;border-radius:50%;background:#f3f3eb}.ring span{position:relative;font-size:16px;font-weight:750;letter-spacing:-.6px}.overview-copy h3{font-size:13px;font-weight:650}.overview-copy p{font-size:11px;line-height:1.5;color:var(--muted);margin-top:4px}.goal{padding:21px 26px;border-top:1px solid var(--line);--accent:var(--orange);--tint:#fbece6}.goal.color-1{--accent:var(--teal);--tint:#eaf2ec}.goal.color-2{--accent:var(--gold);--tint:#fbf3dc}.goal.color-3{--accent:#8172aa;--tint:#f0ecf8}.goal.color-4{--accent:#6484a6;--tint:#eaf0f7}.goal-title{display:flex;align-items:center;gap:11px}.goal-icon{background:var(--tint);color:var(--accent);height:34px;width:34px;display:grid;place-items:center;border-radius:10px;flex-shrink:0}.goal-name{font-size:14px;font-weight:680;letter-spacing:-.15px}.goal-note{font-size:11px;color:var(--muted);margin-top:3px;line-height:1.5}.goal-count{margin-left:auto;white-space:nowrap;font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}.goal-count strong{font-size:18px;color:var(--ink)}.bubbles{display:flex;flex-wrap:wrap;gap:7px;margin-top:17px}.bubble{height:33px;width:33px;border-radius:50%;border:1px solid #dfe2d7;background:transparent;color:#858b7d;font-size:11px;font-weight:550;transition:transform .12s,background .15s}.bubble.done{background:var(--accent);border-color:var(--accent);color:white}.bubble.next{border:1.5px solid var(--accent);color:var(--accent);background:var(--tint);box-shadow:0 0 0 3px var(--tint)}.bubble:enabled:hover{transform:translateY(-2px);box-shadow:0 2px 6px #343c2920}.bubble:disabled:not(.done){opacity:.6}.goal-help{font-size:9px;color:var(--muted);margin-top:12px}.mini-progress{height:3px;border-radius:3px;background:#eceee5;margin-top:15px;overflow:hidden}.mini-progress span{display:block;height:100%;background:var(--accent);transition:width .2s}.card-foot{padding:15px 26px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);display:flex;align-items:center;gap:7px;background:#fbfbf5}.side{display:grid;gap:18px}.reflection{padding:24px}.section-title{display:flex;gap:10px;align-items:center;margin-bottom:7px}.section-title h2{font-size:16px;letter-spacing:-.4px}.section-title .icon-btn{margin-left:auto}.reflection .intro-note{font-size:11px;line-height:1.7;color:var(--muted);margin-bottom:19px}.reflection label,.field-label{display:block;font-size:10px;font-weight:650;color:#656f5b;margin:17px 0 9px}.rating{display:flex;gap:6px}.rating button{width:100%;padding:9px 0;background:#f5f5ee;border:1px solid var(--line);border-radius:8px;font-size:15px;line-height:1.1}.rating button.selected{background:#e8eee1;border-color:#849d71;box-shadow:0 0 0 1px #849d71}.rating-caption{display:flex;justify-content:space-between;font-size:8px;color:var(--muted);margin-top:6px}.reflection textarea,.expanded-note{width:100%;resize:vertical;min-height:161px;border:1px solid var(--line);border-radius:10px;background:#fcfcf7;padding:13px;font-size:12px;line-height:1.8;color:var(--ink)}textarea::placeholder{color:#a1a596}.note-bottom{margin-top:9px;display:flex;justify-content:space-between;font-size:9px;color:var(--muted)}.insight-card{padding:20px 24px;background:#edf0e4;box-shadow:none;position:relative;overflow:hidden}.insight-card h3{font-family:Georgia,serif;font-size:19px;font-weight:400;line-height:1.35;margin:10px 0 9px;max-width:240px}.insight-card p{font-size:10px;line-height:1.7;color:#77816d;max-width:260px}.insight-card:after{content:"✳";position:absolute;right:-7px;bottom:-27px;font-size:126px;color:#d9dfca;line-height:1;z-index:0}.insight-card>*{position:relative;z-index:1}.week-card{margin-top:22px;padding:22px 26px}.week-header{display:flex;justify-content:space-between;align-items:center}.week-header h2{font-size:14px}.text-button{padding:0;border:0;background:transparent;color:var(--teal);font-size:11px;display:inline-flex;gap:5px;align-items:center}.week-dots{display:grid;grid-template-columns:repeat(7,1fr);margin-top:18px;gap:12px}.week-day{display:flex;flex-direction:column;gap:7px;align-items:center;font-size:9px;color:var(--muted);background:none;min-height:63px;padding:0}.day-circle{height:31px;width:31px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;font-size:10px;background:#f5f6ee;color:var(--ink)}.week-day.today .day-circle{border-color:var(--orange);color:var(--orange)}.week-day .day-circle.complete{background:var(--teal);color:white;border-color:var(--teal)}.week-day:hover .day-circle{box-shadow:0 0 0 3px #e8ebde}.page-footer{display:flex;align-items:center;justify-content:space-between;margin-top:26px;font-size:10px;color:var(--muted);gap:10px}.save-status{display:flex;align-items:center;gap:6px}.save-dot{height:5px;width:5px;border-radius:50%;background:var(--teal)}.back{margin-bottom:20px}.page-body{padding:32px 0}.page-heading{margin-bottom:25px}.page-heading h1{font-family:Georgia,serif;font-weight:400;letter-spacing:-1px;font-size:34px;margin:10px 0}.page-heading p{font-size:12px;line-height:1.6;color:var(--muted)}.settings-layout{max-width:800px}.goal-editor{border-bottom:1px solid var(--line);padding:20px;display:flex;align-items:flex-start;gap:12px;background:var(--paper)}.goal-editor:first-child{border-radius:18px 18px 0 0}.goal-editor.dragging{opacity:.4}.drag-handle{cursor:grab;padding:8px 0;color:#abb19f;touch-action:none}.editor-content{flex:1;min-width:0}.editor-row{display:flex;gap:10px}.input{background:#fcfcf7;border:1px solid var(--line);padding:10px 11px;border-radius:8px;min-width:0;width:100%;color:var(--ink);font-size:12px}.target-field{width:78px;flex-shrink:0}.editor-note{margin-top:9px}.editor-tools{display:flex;gap:3px;align-items:center}.danger{color:#b65744}.add-goal{margin:20px}.settings-foot{display:flex;justify-content:space-between;align-items:center;margin-top:20px;gap:10px}.notice{border:1px solid #e4dfc2;background:#f7f3e2;padding:14px 17px;border-radius:12px;color:#77704f;font-size:11px;line-height:1.7;margin:20px 0}.history-tools{display:flex;gap:10px;margin:20px 0}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:20px}.stat{padding:21px}.stat strong{font-family:Georgia,serif;font-size:30px;display:block;font-weight:400;margin-bottom:5px}.stat span{font-size:10px;color:var(--muted)}.history-chart{padding:22px;margin:20px 0}.bar-chart{display:flex;align-items:flex-end;height:100px;gap:8px;margin:20px 0 5px}.bar-col{flex:1;display:flex;align-items:center;flex-direction:column;gap:7px;justify-content:flex-end;min-width:0;background:none;padding:0;font-size:8px;color:var(--muted);height:100%}.bar-track{height:78px;width:100%;display:flex;align-items:flex-end;justify-content:center}.bar{width:min(100%,30px);border-radius:5px 5px 2px 2px;background:var(--teal);min-height:3px;opacity:.75}.bar.empty{background:#e8eade}.history-list{display:grid;gap:12px}.history-item{padding:20px;cursor:pointer}.history-item:hover{border-color:#b8c2ad}.history-line{display:flex;justify-content:space-between;align-items:center;gap:15px}.history-item h3{font-size:13px}.history-item .pct{font-size:13px;color:var(--teal);font-weight:650}.history-item p{font-size:11px;line-height:1.7;color:var(--muted);margin-top:10px;white-space:pre-wrap;overflow-wrap:anywhere}.history-counts{font-size:10px;color:var(--muted);margin-top:7px}.empty{text-align:center;padding:35px;font-size:12px;color:var(--muted)}.day-detail{max-width:800px}.detail-card{padding:25px;margin:16px 0}.detail-card h2{font-size:15px;margin-bottom:15px}.detail-goal{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.detail-goal:last-child{border-bottom:0}.detail-note{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.9}.detail-meta{font-size:10px;color:var(--muted);margin-top:20px}.expanded-wrap{max-width:800px}.expanded-note{min-height:45vh;background:var(--paper);padding:24px;font-size:15px}.storage-card{padding:25px;margin:18px 0}.storage-card h2{font-size:15px;margin-bottom:9px}.storage-card p{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:18px}.storage-actions{display:flex;flex-wrap:wrap;gap:9px}.storage-badge{display:inline-flex;align-items:center;gap:6px;color:var(--teal);font-size:11px;margin-bottom:15px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:90vw;padding:13px 19px;border-radius:12px;background:var(--ink);color:white;box-shadow:0 8px 40px #0002;z-index:100;font-size:12px;line-height:1.6}.modal-backdrop{position:fixed;inset:0;background:#29302055;backdrop-filter:blur(3px);display:grid;place-items:center;padding:20px;z-index:80}.modal{max-width:460px;background:var(--paper);padding:27px;border-radius:20px;box-shadow:var(--shadow)}.modal h2{font-family:Georgia,serif;font-weight:400;font-size:25px;margin-bottom:13px}.modal p{font-size:12px;color:var(--muted);line-height:1.8;white-space:pre-line}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}.compact-header{display:none}.float-notice{padding:40px;text-align:center;max-width:500px;margin:20vh auto;line-height:1.8}.compact .shell,.floating .shell{max-width:520px;padding:0 17px 20px}.compact .topbar,.floating .topbar{height:65px;gap:8px;flex-wrap:wrap}.compact .brand,.floating .brand{font-size:19px}.compact .brand img,.floating .brand img{width:28px;height:28px}.compact .version,.floating .version,.compact .nav,.floating .nav{display:none}.compact .header-actions,.floating .header-actions{margin-left:auto}.compact .intro,.floating .intro{padding:20px 0 15px}.compact .intro h1,.floating .intro h1{font-size:29px}.compact .intro .sub,.floating .intro .sub,.compact .date-pill,.floating .date-pill{display:none}.compact .layout,.floating .layout{grid-template-columns:1fr;gap:15px}.compact .goal,.floating .goal{padding:17px}.compact .card-head,.floating .card-head{padding:18px}.compact .progress-overview,.floating .progress-overview{margin:0 17px 18px}.compact .week-card,.floating .week-card{display:none}.compact .reflection,.floating .reflection{padding:18px}.compact .insight-card,.floating .insight-card{display:none}.compact .page-footer,.floating .page-footer{font-size:9px}.compact .compact-header,.floating .compact-header{display:flex;gap:2px;border-bottom:1px solid var(--line);padding:9px 0}.compact-header button{flex:1;justify-content:center;font-size:10px;padding:7px}.compact .page-body,.floating .page-body{padding:20px 0}.floating .float-btn{display:none}.compact .stats,.floating .stats{gap:7px}.compact .stat,.floating .stat{padding:13px}.compact .editor-row,.floating .editor-row{flex-wrap:wrap}.compact .goal-editor,.floating .goal-editor{padding:15px 10px;gap:7px}.compact .target-field,.floating .target-field{width:70px}.compact .editor-tools,.floating .editor-tools{flex-direction:column}.tucked .shell{padding:0 12px;max-width:100%}.tucked .topbar{height:53px;border:0;flex-wrap:nowrap}.tucked .topbar .brand{font-size:17px}.tucked .nav,.tucked .version,.tucked .float-btn,.tucked .compact-btn,.tucked .page-content,.tucked .page-footer,.tucked .compact-header{display:none!important}.tucked .tuck-btn{background:#e8ecde}.tucked .header-actions{margin-left:auto}.tucked .brand:after{content:attr(data-progress);font-size:11px;letter-spacing:0;color:var(--teal);margin-left:7px}.storage-error{padding:14px;background:#f9e6df;color:#963f2b;font-size:12px;line-height:1.6;margin:15px 0;border-radius:10px}
@media(max-width:900px){.shell{padding:0 22px 25px}.topbar{gap:15px}.nav button{padding:10px}.version{display:none}.layout{grid-template-columns:minmax(0,1.2fr) minmax(280px,1fr)}.intro h1{font-size:35px}.goal{padding:20px}.bubbles{gap:6px}.bubble{width:31px;height:31px}}
@media(max-width:680px){.shell{padding:0 17px 22px}.topbar{height:auto;min-height:76px;flex-wrap:wrap;gap:5px;padding:16px 0 0}.brand{font-size:21px}.brand img{width:30px;height:30px}.header-actions{margin-left:auto}.nav{width:100%;order:3;justify-content:center;margin:10px 0 8px}.nav button{flex:1;justify-content:center;font-size:11px;padding:9px 4px}.intro{padding:25px 0 20px}.intro h1{font-size:33px}.intro .sub{font-size:11px}.date-pill{display:none}.layout{grid-template-columns:1fr;gap:18px}.goal{padding:20px}.side{gap:15px}.insight-card{display:none}.week-card{padding:20px;margin-top:18px}.page-footer{font-size:8px}.stats{gap:8px}.stat{padding:16px}.stat strong{font-size:24px}.goal-editor{padding:17px 12px;gap:8px}.editor-row{flex-wrap:wrap}.editor-tools{flex-direction:column}.history-tools{flex-wrap:wrap}.history-tools input{flex-basis:100%}.bar-chart{gap:4px}.page-heading h1{font-size:30px}.settings-foot{align-items:flex-start}.reflection textarea{min-height:140px}.tucked .topbar{padding:0}.compact .topbar,.floating .topbar{padding:0}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
