:root{--bg:#f8f7fc;--surface:#fff;--raised:#f0eef8;--ink:#252337;--muted:#696577;--brand:#5144c9;--on-brand:#fff;--soft:#eeeafa;--line:#e4e0ed;--edge:#8c879b;--red:#b3273b;--red-bg:#fff0f2;--orange:#91460d;--orange-bg:#fff2df;--green:#226345;--green-bg:#eaf6ee;--shadow:0 12px 40px #33245007;--radius:24px;--size:16px;--touch:48px;--backdrop:#19152578;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}body[data-palette=honey]{--bg:#fcf7f0;--soft:#efe9fb;--line:#e9e0d5;--raised:#f5eee4;--brand:#5140bd}body[data-dark=true]{--bg:#14131d;--surface:#201e2c;--raised:#2a2738;--ink:#f4f0ff;--muted:#b9b2c9;--brand:#b5a6ff;--on-brand:#241b51;--soft:#302947;--line:#3b354b;--edge:#81768f;--red:#ff9cac;--red-bg:#3e2430;--orange:#f4bd7e;--orange-bg:#3d3022;--green:#92d7b0;--green-bg:#20392e;--shadow:none;--backdrop:#0009;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}body[data-dark=true][data-palette=honey]{--bg:#1a161a;--surface:#282126;--raised:#342a30;--line:#493d47;--soft:#3b2f47;--brand:#c3b1ff;--on-brand:#2a194b}body[data-preset=color]{--radius:29px}body[data-preset=comfort]{--size:20px;--touch:60px}*{box-sizing:border-box}[hidden]{display:none!important}body{background:var(--bg);color:var(--ink);font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:var(--size);-webkit-tap-highlight-color:transparent;margin:0;line-height:1.5}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{outline-offset:4px}:focus-visible{outline:3px solid var(--brand)}button{cursor:pointer;min-height:var(--touch);touch-action:manipulation;background:0 0;border:0}button:disabled{opacity:.4;cursor:default}input,select,textarea{border:1px solid var(--edge);background:var(--surface);width:100%;min-height:var(--touch);border-radius:15px;padding:13px 14px;font-size:max(1em,16px)}textarea{resize:vertical;min-height:90px}input[type=checkbox]{width:23px;height:23px;min-height:0;accent-color:var(--brand);flex:none}input[type=color]{width:54px;padding:5px}h1,h2,h3,p{margin:0}h1{letter-spacing:-1.2px;font-size:2.05em;font-weight:760;line-height:1.15}h2{letter-spacing:-.4px;font-size:1.18em;line-height:1.3}h3{font-size:1em}small,.small{font-size:.82em}.muted{color:var(--muted)}.icon{vertical-align:middle;stroke-width:1.8px;flex:none;width:22px;height:22px}.shell{max-width:560px;min-height:100dvh;margin:auto;position:relative}.demo-bar{text-align:center;color:var(--muted);border-bottom:1px solid var(--line);padding:8px 14px;font-size:12px}.header{justify-content:space-between;align-items:center;padding:22px 24px 8px;display:flex}.brand{letter-spacing:1px;align-items:center;gap:10px;font-weight:800;display:flex}.logo{background:var(--brand);width:36px;height:36px;color:var(--on-brand);border-radius:12px;place-items:center;display:grid}.logo .icon{width:21px;height:21px}.round{min-width:var(--touch);border-radius:50%;place-items:center;padding:0 9px;display:grid}.round:hover{background:var(--soft)}.avatar{background:var(--soft);width:42px;height:42px;color:var(--brand);border-radius:50%;flex:none;place-items:center;font-size:14px;font-weight:750;display:grid}.main{padding:22px 24px 120px}.heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px;display:flex}.heading .muted{margin-bottom:7px;font-size:.83em}.heading .primary{flex-shrink:0;width:auto}.section{margin-top:32px}.section-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.section-head h2{font-size:1.05em}.primary,.secondary,.subtle,.danger-button{border-radius:16px;justify-content:center;align-items:center;gap:8px;padding:12px 18px;font-weight:650;line-height:1.3;display:inline-flex}.primary{background:var(--brand);color:var(--on-brand);width:100%}.secondary{background:var(--surface);border:1px solid var(--edge)}.subtle{background:var(--soft);color:var(--brand)}.danger-button{background:var(--red-bg);color:var(--red)}.text-button{color:var(--brand);padding:0 5px;font-size:.88em;font-weight:650}.full{width:100%}.row{align-items:center;gap:12px;display:flex}.between{justify-content:space-between}.stack{gap:12px;display:grid}.grow{flex:1;min-width:0}.spacer{height:24px}.progress-copy{color:var(--muted);justify-content:space-between;gap:10px;margin-bottom:9px;font-size:.84em;display:flex}.progress{background:var(--line);border-radius:10px;height:6px;overflow:hidden}.progress i{background:var(--brand);border-radius:10px;height:100%;display:block}.task-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);align-items:flex-start;gap:9px;margin:12px 0;padding:16px 14px;display:flex}.task-check{border-radius:14px;place-items:center;min-width:48px;padding:0;display:grid}.circle{border:2px solid var(--red);border-radius:50%;place-items:center;width:29px;height:29px;display:grid}.doing .circle{border-color:var(--orange)}.done .circle{background:var(--green);border-color:var(--green);color:var(--surface)}.circle .icon{width:18px;height:18px}.task-title{text-align:start;overflow-wrap:anywhere;width:100%;min-height:30px;padding:1px 0;font-size:1em;font-weight:680;line-height:1.4;display:block}.task-meta{color:var(--muted);margin-top:4px;font-size:.81em}.task-footer{justify-content:space-between;align-items:center;gap:8px;margin-top:10px;display:flex}.badge{border-radius:9px;align-items:center;gap:5px;padding:4px 9px;font-size:.75em;font-weight:650;line-height:1.5;display:inline-flex}.badge.todo{background:var(--red-bg);color:var(--red)}.badge.doing{background:var(--orange-bg);color:var(--orange)}.badge.done{background:var(--green-bg);color:var(--green)}.badge.neutral{background:var(--raised);color:var(--muted)}.start-button{color:var(--orange);border-radius:12px;min-height:44px;padding:4px 10px;font-size:.82em;font-weight:650}.start-button:hover{background:var(--orange-bg)}.start-button .icon{width:14px;height:14px;margin-inline-end:5px}.done .task-title{color:var(--muted);text-decoration:line-through}.late{color:var(--red)}.category-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.category-card{min-width:0;position:relative}.category-button{text-align:start;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);width:100%;height:100%;min-height:176px;box-shadow:var(--shadow);flex-direction:column;align-items:flex-start;padding:22px 18px;transition:transform .16s;display:flex}.category-button:hover{transform:translateY(-2px)}.emoji{background:var(--soft);background:color-mix(in srgb,var(--cat,var(--brand)) 13%,var(--surface));border-radius:16px;place-items:center;width:49px;height:49px;margin-bottom:20px;font-size:26px;display:grid}.category-name{overflow-wrap:anywhere;font-size:1em;font-weight:720;line-height:1.3}.category-meta{width:100%;color:var(--muted);justify-content:space-between;gap:5px;margin-top:8px;font-size:.77em;display:flex}.category-meta .icon{width:15px;height:15px}.category-dot{background:var(--cat);border-radius:50%;width:9px;height:9px;margin-inline-end:7px;display:inline-block}.category-actions{justify-content:center;gap:4px;margin-top:6px;display:flex}.category-actions button{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:0 12px}.cat-create{width:100%;min-height:56px;margin-top:18px}.goal-card{border-radius:var(--radius);background:var(--soft);padding:22px}.goal-card .goal-title{text-align:start;width:100%;min-height:32px;padding:0;font-size:1.02em;font-weight:700}.goal-footer{justify-content:space-between;align-items:center;gap:12px;margin-top:16px;display:flex}.goal-progress{gap:6px;margin-top:16px;display:flex}.goal-progress i{background:var(--surface);border-radius:8px;flex:1;height:6px}.goal-progress i.filled{background:var(--brand)}.goal-add{background:var(--brand);color:var(--on-brand);border-radius:13px;padding:8px 14px;font-weight:700}.goal-count{color:var(--muted);font-size:.83em}.empty{text-align:center;background:var(--surface);border:1px dashed var(--edge);border-radius:var(--radius);padding:36px 20px}.empty-symbol{margin-bottom:14px;font-size:38px}.empty p{color:var(--muted);margin:8px 0 20px;font-size:.9em}.note{color:var(--muted);margin:14px 0;font-size:.82em;line-height:1.6}.notice{background:var(--soft);color:var(--ink);border-radius:14px;margin:16px 0;padding:13px 15px;font-size:.83em}.warning{background:var(--orange-bg);color:var(--orange)}.error{color:var(--red);min-height:1px;margin:10px 0;font-size:.85em}.nav{background:var(--surface);border-top:1px solid var(--line);width:min(100%,560px);padding:9px 10px max(10px,env(safe-area-inset-bottom));z-index:20;grid-template-columns:repeat(3,1fr);display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.nav button{color:var(--muted);border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:53px;font-size:12px;font-weight:650;display:flex}.nav button.active{color:var(--brand);background:var(--soft)}.menu-panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);margin-bottom:18px;padding:5px 18px}.menu-item{text-align:start;border-bottom:1px solid var(--line);align-items:center;gap:13px;width:100%;padding:17px 0;display:flex}.menu-item:last-child{border:0}.menu-item .trailing{color:var(--muted);width:17px;margin-inline-start:auto}.menu-item span{font-weight:650}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);margin:16px 0;padding:20px}.segment{background:var(--raised);border-radius:16px;gap:5px;margin-top:12px;padding:5px;display:flex}.segment button{border-radius:12px;flex:1;min-width:0;min-height:46px;padding:9px 5px;font-size:.86em}.segment button[aria-pressed=true]{background:var(--surface);color:var(--brand);box-shadow:var(--shadow);font-weight:700}.preset-card{text-align:start;border:1px solid var(--line);background:var(--surface);border-radius:16px;align-items:center;gap:15px;width:100%;margin-top:10px;padding:16px;display:flex}.preset-card[aria-pressed=true]{border:2px solid var(--brand);background:var(--soft);padding:15px}.preset-card .sample{text-align:center;width:38px;font-size:24px;font-weight:700}.preset-card p{color:var(--muted);font-size:.8em}.setting-line{justify-content:space-between;align-items:center;gap:14px;padding:14px 0;display:flex}.switch{background:var(--edge);border-radius:20px;width:52px;min-width:52px;height:32px;min-height:32px;padding:4px}.switch i{background:#fff;border-radius:50%;width:24px;height:24px;transition:transform .15s;display:block}.switch[aria-checked=true]{background:var(--brand)}.switch[aria-checked=true] i{transform:translate(20px)}.member-row{border-bottom:1px solid var(--line);text-align:start;align-items:center;gap:12px;width:100%;padding:14px 0;display:flex}.member-row:last-child{border:0}.member-row .role{color:var(--muted);font-size:.8em}.member-row.disabled{opacity:.6}.stat-row{gap:8px;margin:18px 0;display:flex}.stat{background:var(--surface);border:1px solid var(--line);text-align:center;border-radius:18px;flex:1;padding:15px 10px}.stat strong{font-size:1.5em;display:block}.stat span{color:var(--muted);font-size:.75em}.invite-row{border-bottom:1px solid var(--line);padding:15px 0}.invite-row:last-child{border:0}.invite-row code{letter-spacing:1px;font-size:.92em;font-weight:700}.overlay{background:var(--backdrop);z-index:60;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.dialog{background:var(--bg);width:100%;max-width:560px;max-height:94dvh;padding:10px 24px max(28px,env(safe-area-inset-bottom));overscroll-behavior:contain;border-radius:28px 28px 0 0;overflow:auto}.handle{background:var(--edge);border-radius:4px;width:38px;height:4px;margin:0 auto 10px}.dialog-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.dialog-heading h2{font-size:1.3em}.field{margin:18px 0}.field label,.field-label{margin-bottom:8px;font-size:.88em;font-weight:650;display:block}.field .note{margin:7px 0 0}.two{grid-template-columns:1fr 1fr;gap:12px;display:grid}.two .field{margin-top:0}.actions{gap:10px;margin-top:20px;display:flex}.actions>*{flex:1}.checkline{cursor:pointer;align-items:center;gap:11px;min-height:48px;padding:11px 0;display:flex}.checkline small{color:var(--muted);display:block}.share-row{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:6px 0;display:flex}.share-row .checkline{flex:1}.share-row select{width:auto;max-width:45%;min-height:44px;padding:8px;font-size:.8em}.swatches{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.swatch{border:2px solid #0000;border-radius:50%;width:42px;min-width:42px;height:42px;min-height:42px;padding:5px}.swatch i{background:var(--c);border-radius:50%;width:100%;height:100%;display:block}.swatch[aria-pressed=true]{border-color:var(--ink)}.emoji-options{flex-wrap:wrap;gap:7px;display:flex}.emoji-options button{background:var(--surface);border:1px solid var(--line);border-radius:12px;min-width:48px;font-size:24px}.emoji-options button[aria-pressed=true]{border:2px solid var(--brand);background:var(--soft)}details{border-top:1px solid var(--line);margin-top:10px;padding:15px 0}summary{cursor:pointer;min-height:36px;font-weight:650}.step{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:11px 0;display:flex}.step button{text-align:start;align-items:center;gap:12px;width:100%;padding:0;display:flex}.step.checked .step-text{color:var(--muted);text-decoration:line-through}.step-box{border:1px solid var(--edge);border-radius:8px;flex:none;place-items:center;width:25px;height:25px;display:grid}.step.checked .step-box{background:var(--brand);color:var(--on-brand)}.step-box .icon{width:17px;height:17px}.inline-form{gap:8px;margin-top:14px;display:flex}.inline-form input{min-width:0}.inline-form button{min-width:var(--touch);background:var(--soft);color:var(--brand);border-radius:14px}.auth-main{padding-top:34px}.auth-art{justify-content:center;align-items:center;height:130px;margin:15px 0 30px;display:flex;position:relative}.mini-card{background:var(--surface);border:1px solid var(--line);border-radius:19px;width:150px;height:98px;padding:20px;position:absolute;top:25px;left:calc(50% - 110px);transform:rotate(-8deg);box-shadow:0 12px 30px #2920440b}.mini-card.front{background:var(--soft);top:6px;left:calc(50% - 20px);transform:rotate(9deg)}.mini-card .icon{color:var(--brand);width:30px;height:30px}.mini-line{background:var(--line);border-radius:8px;width:75%;height:6px;margin-top:12px}.auth-title{text-align:center;margin-bottom:30px}.auth-title p{color:var(--muted);margin-top:12px;font-size:.93em}.auth-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:24px}.auth-card h2{margin-bottom:20px}.auth-card .field:first-of-type{margin-top:0}.divider{text-align:center;color:var(--muted);align-items:center;gap:14px;margin:22px 0 16px;font-size:.8em;display:flex}.divider:before,.divider:after{content:"";background:var(--line);flex:1;height:1px}.auth-links{text-align:center;margin-top:14px;display:grid}.code-box{background:var(--soft);border:1px dashed var(--brand);text-align:center;border-radius:18px;margin:18px 0;padding:20px}.code-box code{letter-spacing:2px;overflow-wrap:anywhere;font-size:1.4em;font-weight:750;display:block}.toast{bottom:calc(94px + env(safe-area-inset-bottom));background:var(--ink);width:max-content;max-width:calc(100% - 32px);color:var(--bg);z-index:100;border-radius:16px;align-items:center;gap:15px;padding:13px 18px;font-size:.88em;display:flex;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 8px 25px #0002}.toast button{color:inherit;min-height:40px;padding:0;text-decoration:underline}.celebrate{pointer-events:none;z-index:110;place-items:center;display:grid;position:fixed;inset:0}.celebrate span{font-size:36px;animation:.8s forwards spark}@keyframes spark{0%{opacity:0;transform:translateY(24px)scale(.7)}40%{opacity:1;transform:translateY(0)scale(1)}to{opacity:0;transform:translateY(-50px)scale(.8)}}.compact-note{color:var(--muted);text-align:center;margin-top:22px;font-size:12px}.hidden-title{clip:rect(0,0,0,0);width:1px;height:1px;position:absolute;overflow:hidden}.no-motion *{transition:none!important;animation:none!important}body[data-preset=color] .category-button{background:color-mix(in srgb,var(--cat) 7%,var(--surface))}body[data-preset=comfort] .category-grid,body[data-preset=comfort] .two{grid-template-columns:1fr}body[data-preset=comfort] .category-button{min-height:142px}body[data-preset=comfort] .task-card{padding:18px 10px}body[data-preset=comfort] .task-check{min-width:56px}body[data-preset=comfort] .actions{flex-direction:column}body[data-preset=comfort] .segment{flex-wrap:wrap}body[data-preset=comfort] .nav button{font-size:15px}body[data-preset=comfort] .badge{font-size:.8em}body[data-preset=comfort] .share-row{flex-wrap:wrap}body[data-preset=comfort] .share-row select{width:100%;max-width:100%}@media (min-width:700px){body{background:var(--raised);padding:24px 0}.shell{background:var(--bg);border-radius:30px;min-height:calc(100dvh - 48px);overflow:hidden;box-shadow:0 15px 80px #0001}.overlay{align-items:center}.dialog{border-radius:28px;max-height:90dvh}.nav{border-radius:18px 18px 0 0}}@media (max-width:370px){.main,.header,.dialog{padding-inline:18px}.category-grid{gap:10px}.category-button{min-height:166px;padding:18px 14px}.two{grid-template-columns:1fr}.heading{flex-wrap:wrap}.auth-card{padding:20px}.share-row{flex-wrap:wrap}.share-row select{width:100%;max-width:100%}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}[dir=rtl] .icon.dir{transform:scaleX(-1)}[dir=rtl] .switch[aria-checked=true] i{transform:translate(-20px)}:lang(ar-DZ) body,body:lang(ar-DZ){letter-spacing:0;font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans Arabic,Geeza Pro,Tahoma,sans-serif}[dir=rtl] h1,[dir=rtl] h2,[dir=rtl] .brand{letter-spacing:0}.diag-line{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:12px 0;display:flex}.diag-line:last-child{border-bottom:0}.diag-state{background:var(--raised);white-space:nowrap;border-radius:999px;padding:4px 10px;font-size:.85em;font-weight:700}.diag-state.ok{background:var(--green-bg);color:var(--green)}.diag-state.missing{background:var(--orange-bg);color:var(--orange)}.lang-choice{gap:12px;margin-top:24px;display:grid}.boot{min-height:60dvh;color:var(--muted);place-items:center;display:grid}
