:root{--ink:#172b3d;--muted:#71808d;--bg:#f4f6f8;--paper:#fff;--line:#e4e9ec;--orange:#e9773b;--soft:#fff1e9;--green:#2b8267;--red:#bd4c4c;--nav:248px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #efac7e;outline-offset:3px}a{color:var(--ink)}button{border:0;border-radius:10px;padding:11px 16px;background:var(--ink);color:white;font-size:13px;font-weight:650;display:inline-flex;gap:8px;align-items:center;justify-content:center;min-height:42px}button svg{width:17px;height:17px;flex-shrink:0}.secondary{color:var(--ink);border:1px solid var(--line);background:var(--paper)}.ghost{background:transparent;color:var(--muted);padding:8px}.accent{background:var(--orange);color:white}.danger{color:var(--red);background:#fff0f0;border:1px solid #f1d6d6}.small{font-size:12px;padding:7px 10px;min-height:34px}.iconbtn{padding:10px;min-width:40px}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.muted{color:var(--muted)}.caption,.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase}.eyebrow{color:var(--orange)}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-1px;line-height:1.2;margin-bottom:10px}h2{font-size:18px;letter-spacing:-.4px;margin-bottom:18px}h3{font-size:15px;margin-bottom:7px}p{line-height:1.65}small{font-size:12px}hr{border:0;border-top:1px solid var(--line);margin:22px 0}.loading{height:100vh;display:grid;place-content:center;gap:10px;font-size:28px;font-weight:800;text-align:center}.loading span{font-size:14px;font-weight:400;color:var(--muted)}.layout{display:grid;grid-template-columns:var(--nav) minmax(0,1fr);min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--nav);background:var(--paper);border-right:1px solid var(--line);padding:27px 20px;display:flex;flex-direction:column;z-index:20}.brand{font-size:22px;font-weight:800;letter-spacing:-1px;display:flex;align-items:center;gap:10px}.brandmark{width:34px;height:34px;border-radius:10px;background:var(--ink);color:white;display:grid;place-content:center;position:relative;font-size:23px}.brandmark:after{content:'';position:absolute;right:4px;top:5px;width:6px;height:6px;border-radius:100%;background:var(--orange)}.profile{display:flex;align-items:center;gap:10px;margin:32px 0 13px;padding:0;background:transparent;color:var(--ink);text-align:left;justify-content:flex-start}.avatar{width:42px;height:42px;flex-shrink:0;border-radius:50%;background:#f4e5da;display:grid;place-content:center;overflow:hidden;font-size:15px;color:#9d5931;font-weight:750}.avatar img{width:100%;height:100%;object-fit:cover}.profile strong{font-size:13px;display:block;max-width:146px;overflow-wrap:anywhere}.profile small{font-size:10px;font-weight:450;display:block;color:var(--muted);margin-top:4px}.quote{font-size:11px;line-height:1.65;color:var(--muted);padding-bottom:23px;border-bottom:1px solid var(--line);margin-bottom:20px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.navitem{border:0;color:var(--muted);background:none;text-align:left;justify-content:flex-start;font-size:13px;padding:12px 13px;border-radius:9px}.navitem svg{width:18px;height:18px}.navitem.active{background:var(--soft);color:#b4582d}.navitem.active:after{content:'';margin-left:auto;width:5px;height:5px;border-radius:50%;background:var(--orange)}.sidebottom{margin-top:auto;padding-top:24px}.mode{background:var(--bg);padding:12px;border-radius:10px;font-size:11px;line-height:1.6}.mode b{display:block;color:var(--ink);font-size:12px}.main{grid-column:2;padding:0 38px 40px;max-width:1580px;width:100%;margin:0 auto}.topbar{height:78px;border-bottom:1px solid var(--line);margin-bottom:30px}.date-label{font-size:12px;color:var(--muted);text-transform:capitalize}.statusdot{width:6px;height:6px;display:inline-block;background:var(--green);border-radius:50%;margin-right:6px}.pagetitle{margin-bottom:25px}.pagetitle p{font-size:13px;color:var(--muted);margin-bottom:0}.card{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:23px}.grid{display:grid;gap:20px}.cols2{grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr)}.stats{grid-template-columns:repeat(4,minmax(0,1fr));margin:22px 0}.stat{padding:20px;position:relative}.stat .label{font-size:12px;color:var(--muted);margin-bottom:16px}.stat .value{font-size:27px;font-weight:750;letter-spacing:-1px;line-height:1.2;margin-bottom:7px}.stat .foot{font-size:11px;color:var(--muted)}.stat-icon{position:absolute;right:17px;top:17px;color:#a5b0b9;background:var(--bg);width:30px;height:30px;display:grid;place-content:center;border-radius:9px}.stat-icon svg{width:16px;height:16px}.mission{background:var(--ink);color:white;border:0;position:relative;overflow:hidden;padding:29px;min-height:230px}.mission:after{content:'';position:absolute;width:210px;height:210px;border:1px solid #ffffff0d;border-radius:50%;right:-25px;top:-65px;box-shadow:0 0 0 35px #ffffff03,0 0 0 70px #ffffff03;pointer-events:none}.mission .eyebrow{color:#f3a777}.mission h2{font-size:25px;margin:17px 0 10px;max-width:80%}.mission p{color:#b4c0cc;font-size:13px;margin-bottom:19px;max-width:85%}.mission .secondary{background:#ffffff0c;border-color:#ffffff25;color:#fff}.badge{display:inline-flex;gap:5px;align-items:center;padding:5px 9px;border-radius:6px;font-size:10px;font-weight:650;white-space:nowrap;background:var(--bg);color:var(--muted)}.badge.orange{background:var(--soft);color:#bd6233}.badge.green{background:#eaf5ee;color:var(--green)}.badge.red{background:#fbeeee;color:var(--red)}.mission .badge{background:#ffffff12;color:#d1dbe5}.progress{height:6px;background:#edf0f2;border-radius:5px;overflow:hidden}.progress>span{height:100%;display:block;background:var(--orange);border-radius:5px}.task{padding:17px 0;border-bottom:1px solid var(--line);display:flex;gap:14px;align-items:center}.task:last-child{border-bottom:0}.tasktime{font-size:12px;color:var(--muted);min-width:46px;align-self:flex-start;margin-top:4px;font-variant-numeric:tabular-nums}.taskline{width:3px;align-self:stretch;border-radius:3px;background:#f0be98}.taskline.p2{background:#a8bdd5}.taskline.p3{background:#c2d7ca}.taskbody{min-width:0;flex:1}.tasktitle{font-size:13px;font-weight:650;margin-bottom:6px;overflow-wrap:anywhere}.taskmeta{font-size:11px;color:var(--muted);display:flex;gap:8px;flex-wrap:wrap;align-items:center}.task.done .tasktitle{text-decoration:line-through;color:var(--muted)}.task.cancelled{opacity:.65}.taskactions{display:flex;gap:5px}.taskactions button{padding:7px;min-height:32px}.taskactions svg{width:15px;height:15px}.goal-preview{margin-top:20px;padding-top:20px;border-top:1px solid var(--line)}.goal-preview .amount{font-size:23px;font-weight:750;margin:15px 0 10px}.goal-preview small{color:var(--muted)}.empty{padding:30px 12px;text-align:center;color:var(--muted);font-size:13px;line-height:1.7}.empty svg{width:30px;height:30px;margin-bottom:10px;color:#a4b0ba}.empty strong{display:block;color:var(--ink);font-size:15px;margin-bottom:6px}.empty button{margin-top:15px}.weekstrip{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin-bottom:22px}.daybtn{display:flex;flex-direction:column;gap:8px;background:var(--paper);color:var(--muted);border:1px solid var(--line);font-size:11px;padding:13px 5px}.daybtn strong{font-size:18px;color:var(--ink)}.daybtn.active{background:var(--ink);color:#aebdca;border-color:var(--ink)}.daybtn.active strong{color:white}.daybtn span:last-child{font-size:9px}.toolbar{margin-bottom:18px}.weekview{display:grid;grid-template-columns:repeat(7,minmax(155px,1fr));gap:10px;overflow:auto;padding-bottom:10px}.weekcol{background:#edf1f4;border-radius:12px;padding:12px;min-height:220px}.weekcol h3{font-size:12px}.weektask{background:white;border:1px solid var(--line);padding:12px;border-radius:9px;margin:9px 0;font-size:11px;cursor:grab;line-height:1.5;min-height:70px}.weektask b{display:block;font-size:12px;margin:4px 0}.weektask:hover{border-color:var(--orange)}.hint{font-size:12px;color:var(--muted);line-height:1.65}.note{background:var(--soft);color:#9b542d;border-radius:10px;padding:13px 16px;font-size:12px;line-height:1.6;margin:16px 0}.note.neutral{background:#edf3f8;color:#50677a}.goalgrid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.goalcard .goalnum{font-size:28px;font-weight:750;letter-spacing:-1px;margin:20px 0 4px}.goalcard h3{font-size:18px}.goalcard .progress{margin:17px 0}.goalcard .actions{margin-top:20px}.timer{font-size:70px;letter-spacing:-3px;font-weight:750;font-variant-numeric:tabular-nums;margin:28px 0}.focuscard{text-align:center;max-width:700px;margin:0 auto;padding:38px}.focuscard .row{justify-content:center}.focuscard select{max-width:430px;margin:0 auto}.focuscaption{font-size:12px;color:var(--muted)}.chart{display:flex;align-items:flex-end;gap:12px;height:165px;border-bottom:1px solid var(--line);padding:0 6px}.bar-group{flex:1;display:flex;align-items:flex-end;justify-content:center;gap:4px;height:100%;position:relative;padding-bottom:24px}.bar{width:16px;min-height:2px;background:var(--orange);border-radius:4px 4px 0 0}.bar.pending{background:#dce4eb}.bar-label{position:absolute;bottom:4px;font-size:10px;color:var(--muted)}.legend{font-size:11px;color:var(--muted);margin:15px 0}.legend i{width:8px;height:8px;background:var(--orange);display:inline-block;border-radius:3px;margin-right:5px}.legend i.pending{background:#dce4eb;margin-left:15px}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}td,th{text-align:left;padding:13px 10px;border-bottom:1px solid var(--line);vertical-align:top;line-height:1.6}th{color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.7px;white-space:nowrap}.audio-card{display:flex;gap:16px;align-items:center;margin-bottom:12px}.audio-art{width:48px;height:48px;background:var(--soft);color:var(--orange);border-radius:12px;display:grid;place-content:center;flex-shrink:0}.audio-card h3{font-size:14px;margin-bottom:6px}.audio-card .details{flex:1;min-width:0;overflow-wrap:anywhere}#player{position:fixed;bottom:18px;left:calc(var(--nav) + 38px);right:38px;z-index:35;background:var(--ink);color:white;padding:14px 20px;border-radius:15px;box-shadow:0 12px 50px #0003;display:flex;gap:18px;align-items:center}#player[hidden]{display:none}#player audio{flex:1;height:36px;min-width:150px}#player .player-title{font-size:12px;max-width:200px}.withplayer .main{padding-bottom:120px}dialog{border:0;border-radius:18px;box-shadow:0 20px 100px #13243830;width:min(640px,calc(100% - 28px));max-height:calc(100dvh - 48px);padding:26px;color:var(--ink);background:var(--paper)}dialog::backdrop{background:#12223688;backdrop-filter:blur(3px)}.modalhead{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.modalhead h2{margin:0;font-size:22px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field.full{grid-column:1/-1}label{font-size:12px;font-weight:650}input,select,textarea{width:100%;min-height:43px;border:1px solid #dbe2e7;background:var(--paper);color:var(--ink);border-radius:9px;padding:11px 12px;font-size:13px;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--orange);box-shadow:0 0 0 3px #e9773b14}textarea{resize:vertical;min-height:90px}input[type=checkbox]{width:17px;height:17px;min-height:17px;accent-color:var(--orange)}.check{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:450}.days{display:flex;gap:6px;flex-wrap:wrap}.days label{display:flex;align-items:center;gap:4px;font-size:11px}.formactions{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}.error{font-size:12px;line-height:1.6;color:var(--red);margin-top:14px;white-space:pre-wrap}.auth{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.authstory{background:var(--ink);color:white;padding:55px 10%;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}.authstory .brandmark{background:#ffffff12}.authstory h1{font-size:52px;letter-spacing:-2px;max-width:450px}.authstory p{color:#aebdcb;max-width:390px;font-size:15px}.authstory .eyebrow{margin-bottom:25px;color:#f7a777}.authbottom{font-size:11px;color:#91a1b1}.authform{display:flex;justify-content:center;align-items:center;padding:35px}.authform form{width:100%;max-width:360px}.authform h2{font-size:27px;letter-spacing:-.8px;margin-bottom:10px}.authform .field{margin-top:19px}.authform .primarysubmit{width:100%;margin-top:26px;background:var(--orange)}.authform .switch{text-align:center;margin-top:18px}.onboard{max-width:850px;margin:0 auto}.settingscard{max-width:850px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#152637;color:white;border-radius:11px;padding:13px 20px;z-index:99;max-width:90vw;box-shadow:0 8px 35px #0002;font-size:13px;display:none}#toast.show{display:block}.savednote{font-size:11px;color:var(--muted)}.ring{width:120px;height:120px;border-radius:50%;display:grid;place-content:center;margin:20px auto}.ring-inner{background:var(--paper);width:94px;height:94px;border-radius:50%;display:grid;place-content:center;font-size:25px;font-weight:750}.sleep-list{display:grid;gap:10px}.sleeprow{display:flex;gap:12px;align-items:center;font-size:12px;border-bottom:1px solid var(--line);padding:12px 0}.reviewcheck{display:flex;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);font-size:13px}.reviewcheck .badge{margin-left:auto}.mobilebrand{display:none}.mb{margin-bottom:20px}.mt{margin-top:20px}.nowrap{white-space:nowrap}.text-right{text-align:right}.offscreen{position:absolute;left:-9999px}body.dark{--ink:#e0e8ee;--muted:#9bacbb;--bg:#101a24;--paper:#182634;--line:#2a3a48;--soft:#3c2d24}body.dark .mission,body.dark #player,body.dark button:not(.secondary):not(.ghost):not(.danger):not(.accent):not(.navitem):not(.profile):not(.daybtn){background:#243c50;color:#fff}body.dark .weektask{background:var(--paper)}body.dark .weekcol{background:#132230}body.dark .progress{background:#30414e}body.dark .badge.green{background:#1e3f34;color:#8edbb8}body.dark .badge.red{background:#4b2b2b;color:#ffaaaa}body.dark .mission{color:#fff}body.dark .brandmark{color:#172b3d}body.dark .note.neutral{background:#263b4d;color:#bfd0dd}body.dark .note{color:#efbd9b}body.dark .authstory{background:#172b3d}body.dark .stat-icon,body.dark .mode{background:#223342}
@media(min-width:1500px){.main{padding-left:55px;padding-right:55px}.mission{min-height:250px}}@media(max-width:1150px){:root{--nav:210px}.sidebar{padding:24px 15px}.main{padding:0 24px 30px}.cols2{grid-template-columns:1fr}.stats{gap:12px}.stat{padding:16px}.stat .value{font-size:23px}.stat-icon{display:none}.profile strong{max-width:122px}#player{left:calc(var(--nav) + 24px);right:24px}}@media(max-width:760px){:root{--nav:0px}.layout{display:block}.sidebar{position:relative;width:100%;padding:18px 20px 0;border:0;background:var(--paper)}.sidebar .brand{font-size:19px}.sidebar .brandmark{width:29px;height:29px;font-size:20px}.profile{margin:18px 0 7px;min-height:45px}.profile strong{max-width:none;font-size:15px}.quote{padding-bottom:17px;margin-bottom:0;font-size:12px;max-width:100%}.sidebar nav{position:fixed;left:0;right:0;bottom:0;z-index:40;flex-direction:row;overflow-x:auto;gap:0;padding:7px 4px calc(7px + env(safe-area-inset-bottom));background:var(--paper);border-top:1px solid var(--line)}.navitem{flex:1;min-width:58px;display:flex;flex-direction:column;gap:5px;font-size:9px;padding:7px 5px;border-radius:7px}.navitem svg{width:19px;height:19px}.navitem.active:after{display:none}.sidebottom{display:none}.main{padding:0 18px 120px}.topbar{height:59px;margin-bottom:22px}.topbar .savednote{display:none}h1{font-size:25px}.pagetitle{gap:12px;align-items:flex-start}.pagetitle>button{font-size:11px;padding:10px}.pagetitle p{font-size:12px}.stats{grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.stat{border-radius:12px;padding:17px}.stat .label{font-size:11px;margin-bottom:12px}.stat .value{font-size:24px}.card{padding:19px;border-radius:13px}.grid{gap:15px}.mission{padding:24px;min-height:220px}.mission h2{font-size:23px}.mission .row{flex-wrap:wrap}.cols2{grid-template-columns:1fr}.task{gap:9px}.tasktime{font-size:11px;min-width:38px}.taskactions{gap:2px}.taskactions button{min-width:28px}.tasktitle{font-size:12px}.taskmeta{font-size:10px}.weekstrip{gap:5px}.daybtn{font-size:9px;padding:12px 3px}.daybtn strong{font-size:17px}.daybtn span:last-child{font-size:8px}.weekview{grid-template-columns:repeat(7,160px)}.formgrid{gap:14px}.field.full-mobile{grid-column:1/-1}dialog{padding:20px}.modalhead h2{font-size:20px}.auth{grid-template-columns:1fr}.authstory{min-height:auto;padding:25px}.authstory .storybody{margin-top:35px}.authstory h1{font-size:33px;max-width:350px}.authstory p{font-size:13px;margin-bottom:0}.authbottom{display:none}.authform{padding:30px 25px}.authform h2{font-size:23px}.authstory .eyebrow{margin-bottom:12px}.timer{font-size:60px}.focuscard{padding:28px 18px}.goalgrid{grid-template-columns:1fr}.toolbar{flex-wrap:wrap}.audio-card{gap:10px}.audio-art{width:40px;height:40px}.audio-card h3{font-size:12px}#player{left:10px;right:10px;bottom:calc(85px + env(safe-area-inset-bottom));padding:11px;gap:8px;flex-wrap:wrap}#player .player-title{max-width:calc(100% - 50px);width:100%;order:0}#player audio{order:2;flex:1;width:100%;height:36px}#player button{margin-left:auto;padding:5px;min-height:28px}.withplayer .main{padding-bottom:230px}#toast{bottom:calc(100px + env(safe-area-inset-bottom));font-size:12px;width:max-content;max-width:90vw}.tablewrap{margin:0 -5px}.row.wrap button{flex-shrink:0}}
@media(prefers-reduced-motion:no-preference){button{transition:background .15s,transform .15s}button:hover{filter:brightness(.97)}.card{animation:enter .22s ease-out}@keyframes enter{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}}

svg{width:18px;height:18px;flex-shrink:0;vertical-align:middle}.sidebar{overflow-y:auto}.mode b svg{width:14px;height:14px;margin-right:4px}.days[hidden],.field[hidden],#weekdays[hidden],#monthday[hidden]{display:none}
