:root{font-family:Inter,Segoe UI,-apple-system,BlinkMacSystemFont,sans-serif;color:#f0edf5;background:#101014;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color-scheme:dark;--accent:#aa8afa;--muted:#a29daF;--panel:#1e1e25;--border:#303039}*{box-sizing:border-box}body{margin:0;min-width:360px}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 18px;border:1px solid transparent;border-radius:14px;background:#30303a;color:#eeebf5;cursor:pointer;font-weight:600;transition:background .15s,transform .15s}button:hover{background:#3b3a46}button:active{transform:scale(.98)}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}input,select,textarea{width:100%;min-height:46px;background:#17171d;border:1px solid #383740;border-radius:12px;padding:12px 13px;color:#eeebf5;outline:none}input::placeholder,textarea::placeholder{color:#85808f}input:focus,textarea:focus,select:focus{border-color:var(--accent)}textarea{resize:vertical;min-height:80px}input[type=date]{min-width:0;max-width:100%}input[type=checkbox]{accent-color:var(--accent);width:20px;height:20px;min-height:20px;flex-shrink:0}label{display:flex;flex-direction:column;gap:9px;font-size:13px;color:#b9b5c3;font-weight:500}h1,h2,h3,p{margin-top:0}h1{font-size:36px;letter-spacing:-1.2px;margin-bottom:11px;font-weight:700}h2{font-size:20px;letter-spacing:-.4px;margin-bottom:12px}h3{font-size:16px;margin-bottom:10px}p{line-height:1.6}a{color:inherit;text-decoration:none}.primary{background:var(--accent);color:#1e142f}.primary:hover{background:#bba2ff}.ghost{background:transparent;color:var(--muted)}.text-button{min-height:44px;background:none;color:var(--accent);padding:8px;font-size:13px}.text-button:hover{background:#aa8afa12}.danger{color:#f7a1af}.full{width:100%}.hint{font-size:12px;color:#9f9aab;line-height:1.6}.muted{color:var(--muted)}.eyebrow{font-size:12px;color:var(--muted);font-weight:500;letter-spacing:.1px}.badge{display:inline-flex;align-items:center;white-space:nowrap;font-size:11px;color:#b3a1dc;background:#aa8afa12;border:1px solid #aa8afa20;padding:6px 10px;border-radius:9px}.selected{background:var(--accent)!important;color:#1e142f!important}.app-shell{max-width:1600px;margin:auto}.desktop-sidebar{position:fixed;top:0;bottom:0;width:260px;padding:38px 24px 24px;border-right:1px solid #26252d;background:#15151a;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;font-weight:750;letter-spacing:-1px;font-size:29px}.brand>span{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:var(--accent);color:#21152f}.brand-caption{font-size:11px;color:#8b859a;margin:12px 0 50px}.desktop-sidebar nav{display:grid;gap:8px}.desktop-sidebar nav button{justify-content:flex-start;padding:15px 18px;background:transparent;color:#a29cad;font-size:14px;gap:15px;border-radius:13px}.desktop-sidebar nav button.active{background:#aa8afa16;color:#bda0ff}.sidebar-footer{margin-top:auto;font-size:11px;color:#8e889c;padding:10px}.sidebar-footer p{font-size:12px;color:#625e6c;margin:10px 0}.status-dot{display:inline-block;width:7px;height:7px;background:#9ed3af;border-radius:50%;margin-right:5px}main{margin-left:260px;padding:46px 50px 36px;max-width:1250px}.mobile-brand,.bottom-nav{display:none}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-heading .eyebrow{display:block;margin-bottom:12px}.title-dot{color:var(--accent)}.date-title{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:13px}.date-select{position:relative;font-size:14px;display:inline-flex;padding-right:20px;cursor:pointer}.date-select:after{content:"⌄";position:absolute;right:0;top:0;color:#a68bfa}.date-select input{position:absolute;inset:0;opacity:0;cursor:pointer}.date-select input::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:auto;height:auto;cursor:pointer}.add-button{min-height:48px;font-size:13px;padding:13px 18px;white-space:nowrap}.week-strip{display:flex;gap:6px;align-items:center;margin-bottom:24px}.week-days{display:grid;grid-template-columns:repeat(7,1fr);gap:10px;width:100%;min-width:0}.day{flex-direction:column;padding:12px 4px 9px;gap:7px;background:#1c1c23;min-height:88px;border-radius:17px}.day>span{text-transform:capitalize;font-weight:400;font-size:11px;color:#a8a1b6}.day strong{font-size:21px;font-weight:650}.day i{width:4px;height:4px;border-radius:50%;background:transparent}.day.today i{background:var(--accent)}.day.selected>span{color:#302244}.day.selected i{background:#342149}.week-arrow{background:transparent;padding:0;min-width:22px;color:#94869e;font-size:28px}.panel{background:var(--panel);border:1px solid #2a2932;border-radius:23px;padding:25px;margin-bottom:22px}.daily-progress{display:flex;align-items:center;justify-content:space-between;gap:16px;background:radial-gradient(ellipse at 80% -60%,#65518c55,transparent 70%),#21202a;padding:26px 30px}.daily-progress .eyebrow{font-size:11px;color:#b4a0d3}.daily-progress h2{font-size:22px;margin:10px 0 7px}.daily-progress p{margin:0;font-size:12px;color:#aca2bb}.ring{width:100px;height:100px;border-radius:50%;flex-shrink:0;display:grid;place-items:center;background:conic-gradient(var(--ring-color) var(--ring-progress),#36313f 0);padding:6px}.ring>div{width:100%;height:100%;display:flex;flex-direction:column;gap:4px;justify-content:center;align-items:center;border-radius:50%;background:#21202a}.ring strong{font-size:23px;line-height:1.2}.ring span{font-size:10px;color:#a79db5}.ring.large{width:210px;height:210px;padding:10px;margin:24px auto 12px}.ring.large strong{font-size:38px}.ring.large span{font-size:13px}.toolbar{display:flex;align-items:center;gap:12px;margin:28px 0 24px}.search{display:flex;flex-direction:row;align-items:center;gap:10px;background:#1c1c23;border:1px solid #2b2a33;border-radius:14px;padding:0 15px;flex:1;color:#7f798c}.search input{border:0;background:transparent;padding:13px 0;font-size:13px;min-width:0}.search:focus-within{border-color:var(--accent)}.filter-button{background:#1e1e25;border-color:#2d2b36;font-size:12px}.filter-panel{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.filter-panel>label:first-child{grid-column:1/-1}.checkbox{display:flex;flex-direction:row;gap:10px;align-items:center;cursor:pointer;line-height:1.5}.section-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:18px}.section-heading h2{margin:0}.list-heading h2{font-size:15px;font-weight:600}.list-heading>span{font-size:11px}.habit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.habit-card{position:relative;background:#202027;border:1px solid #2b2a34;border-radius:21px;min-height:134px;display:flex;align-items:center;padding:20px 16px 25px;gap:10px;overflow:hidden}.card-main{flex:1;min-width:0;justify-content:flex-start;background:transparent;padding:0;gap:14px;text-align:left;align-items:flex-start}.card-main:hover{background:transparent}.habit-emoji{display:grid;place-items:center;background:color-mix(in srgb,var(--habit-color) 16%,#202027);border-radius:15px;width:46px;height:46px;flex-shrink:0;font-size:24px}.habit-info{min-width:0}.habit-info h3{font-size:15px;line-height:1.4;margin:1px 0 5px;overflow-wrap:anywhere}.habit-info p{font-size:10px;line-height:1.5;color:#a49bac;margin-bottom:10px;font-weight:400}.value-label{font-size:11px;color:var(--habit-color);font-weight:500}.quick-action{height:40px;min-height:44px;width:44px;flex-shrink:0;border-radius:13px;padding:0;background:color-mix(in srgb,var(--habit-color) 15%,#202027);color:var(--habit-color)}.quick-action:hover{background:color-mix(in srgb,var(--habit-color) 25%,#202027)}.card-progress{height:3px;position:absolute;bottom:0;left:20px;right:20px;background:#ffffff08}.card-progress span{display:block;height:100%;background:var(--habit-color);border-radius:3px}.habit-card.completed{background:var(--habit-color);border-color:var(--habit-color);color:#211c2c}.completed .card-main{color:#211c2c}.completed .habit-emoji{background:#ffffff28}.completed .habit-info p,.completed .value-label{color:#30243dcc}.completed .quick-action{background:#21162a;color:var(--habit-color)}.completed .card-progress,.completed .card-progress span{background:#211c2c30}.page-footnote{text-align:center;font-size:11px;color:#756e82;margin:34px 0 14px}.empty{padding:48px 22px;text-align:center;border-radius:22px;border:1px dashed #393242;background:#19181f}.empty-icon{width:72px;height:72px;background:#aa8afa12;border:1px solid #aa8afa20;border-radius:24px;margin:0 auto 20px;display:grid;place-items:center;color:var(--accent)}.empty h2{font-size:24px}.empty p{max-width:360px;margin:0 auto 24px;color:#a49daf;font-size:13px}.empty button{font-size:13px}.active-timer{display:flex;width:100%;font-size:12px;background:#aa8afa15;color:#bfa7f0;margin:0 0 15px;flex-wrap:wrap}.active-timer span:last-child{margin-left:auto}.error-banner{padding:15px;background:#4c252c;border:1px solid #8c4b58;border-radius:14px;margin-bottom:20px;display:flex;align-items:center;font-size:13px;gap:10px;overflow-wrap:anywhere}.error-banner button{margin-left:auto;padding:0 12px}.error{background:#5a27313d;border:1px solid #874650;color:pink;padding:13px;border-radius:12px;font-size:13px}.notice{background:#aa8afa13;border:1px solid #aa8afa22;border-radius:13px;padding:15px;color:#c8b7e7;font-size:13px}.save-status{position:fixed;bottom:15px;right:20px;z-index:5;font-size:11px;color:#b1a1d0;pointer-events:none}.modal{border:1px solid #39343f;border-radius:26px;background:#1e1d25;color:#f0edf5;max-width:520px;width:calc(100% - 32px);padding:0;max-height:calc(100dvh - 48px - env(safe-area-inset-top) - env(safe-area-inset-bottom));box-shadow:0 30px 120px #0008;overscroll-behavior:contain}.modal.wide{max-width:600px}.modal::backdrop{background:#050408bc;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.modal-head{padding:20px 24px 16px;display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;top:0;background:#1e1d25;z-index:2;border-bottom:1px solid #302b38}.modal-head h2{font-size:17px;margin:0;overflow-wrap:anywhere}.icon-button{width:44px;height:44px;padding:8px;background:#2d2936;border-radius:50%;flex-shrink:0}.modal-content{padding:24px;padding-bottom:calc(24px + env(safe-area-inset-bottom))}.form{display:grid;gap:19px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;min-width:0}.form-grid label{min-width:0}.habit-preview{display:flex;align-items:center;gap:16px;padding:18px;border-radius:17px;font-size:16px;min-width:0}.habit-preview span{font-size:32px}.habit-preview strong{overflow-wrap:anywhere}.emoji-picker{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin-top:-7px}.emoji-picker button{font-size:22px;padding:6px;min-width:0}.field-title{display:block;font-size:12px;color:#bbb2c6;margin-bottom:10px}.color-picker{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.color-picker button,.color-picker input{width:30px;height:30px;min-height:30px;min-width:30px;border-radius:50%;padding:0;border:3px solid transparent}.color-picker button.selected{outline:2px solid white;outline-offset:3px}.segmented{display:flex;background:#16151b;padding:4px;border-radius:14px;gap:4px}.segmented button{flex:1;background:transparent;font-size:13px}.day-picker,.month-picker{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.day-picker button,.month-picker button{padding:8px 0;font-size:12px;border-radius:10px;min-width:0}.version-box{padding:16px;background:#aa8afa0b;border:1px solid #aa8afa25;border-radius:15px}.version-box p{margin:12px 0 0}.form-actions{display:flex;gap:12px;margin-top:8px}.form-actions>button{flex:1;min-width:0;font-size:13px}.detail-heading{text-align:center}.detail-emoji{width:70px;height:70px;display:grid;place-items:center;margin:0 auto 16px;border-radius:23px;font-size:35px}.detail-heading h2{font-size:25px;overflow-wrap:anywhere}.detail-heading p{font-size:13px;color:#b8b0c4;margin:0 0 5px}.detail-heading>span:last-child{font-size:12px;color:#8e869c}.description{font-size:13px;white-space:pre-wrap;color:#a89fb8;margin:20px 0;text-align:center;overflow-wrap:anywhere}.result-label{text-align:center;font-size:13px;color:#b9aad1;margin-bottom:22px}.controls{border:0;padding:0;margin:0;min-width:0;display:grid;gap:14px}.counter{display:flex;justify-content:space-between;align-items:center;background:#17161d;padding:10px;border-radius:18px}.counter button{width:54px;height:54px;font-size:27px}.counter strong{font-size:23px}.counter small{font-size:12px;font-weight:400;color:#aaa0b8}.inline-form{display:flex;gap:10px;align-items:flex-end}.inline-form label{flex:1;min-width:0}.inline-form button{font-size:12px;white-space:nowrap}.timer-box{padding:20px;background:#16151b;border-radius:18px;text-align:center}.timer-digits{display:block;font-size:36px;letter-spacing:2px;font-variant-numeric:tabular-nums;margin:22px 0}.timer-box p{margin:14px 0 0}.button-row{display:flex;align-items:center;gap:10px}.button-row>button{flex:1;font-size:12px}.notes{border-top:1px solid #35303d;padding-top:24px;margin-top:24px}.notes h3{display:flex;gap:10px;align-items:center}.notes h3>span{font-size:11px;color:#a89ab7}.notes textarea{margin-bottom:12px}.note{padding:16px;background:#28242f;border-radius:15px;margin-bottom:12px}.note p{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:9px}.note time{font-size:10px;color:#9d91ae}.note .button-row button{flex:initial;padding-left:0;font-size:11px}.detail-actions{display:grid;gap:3px;margin-top:24px;border-top:1px solid #37303d;padding-top:15px}.detail-actions button{justify-content:space-between;text-align:left;background:none;font-size:13px;min-height:50px;border-radius:10px}.detail-actions button:hover{background:#2d2635}.detail-actions span{color:#a387cd}.history-row{display:flex;width:100%;justify-content:space-between;text-align:left;padding:16px;background:#27232e;border-radius:15px;margin-bottom:10px}.history-row strong{font-size:13px}.history-row div>span{display:block;color:#a69ab7;font-size:11px;margin-top:7px}.history-row p{margin:10px 0 0;font-size:12px;font-weight:400;white-space:pre-wrap;overflow-wrap:anywhere}.history-row div{min-width:0}.version-row{padding:14px 0;border-bottom:1px solid #332c3a;font-size:12px}.version-row span{display:block;margin-top:8px;color:#a99cb6}.stats-filters{display:grid;grid-template-columns:1fr 1fr 2fr;gap:16px}.stats-overview{display:flex;align-items:center;gap:28px;padding:30px}.stats-overview h2{font-size:38px;margin:10px 0}.stats-overview p{font-size:13px;margin-bottom:8px}.stats-overview .ring{width:130px;height:130px}.chart-panel h2{font-size:17px}.chart-scroll,.table-scroll{overflow:auto}.chart{display:flex;gap:8px;min-width:100%;height:240px;padding-top:25px}.chart-column{flex:1;min-width:32px;max-width:70px;text-align:center;display:flex;flex-direction:column;gap:10px;font-size:9px;color:#93859f}.bar-track{flex:1;background:#aa8afa07;display:flex;align-items:flex-end;position:relative;border-radius:7px 7px 3px 3px}.bar{width:100%;background:linear-gradient(#bb9afb,#8161b9);border-radius:7px 7px 3px 3px;min-height:0}.bar-value{position:absolute;top:-18px;left:0;right:0;font-size:9px;color:#b8a0d0}.chart-data{font-size:12px;margin-top:25px}.chart-data summary{cursor:pointer;color:#b49cd0;min-height:44px;padding:14px 0}table{width:100%;border-collapse:collapse;font-size:12px}th,td{text-align:left;padding:12px;border-bottom:1px solid #37303e;white-space:nowrap}th{color:#ad9bbc;font-weight:500}.sum{font-size:38px;margin:20px 0 8px}.sum span{font-size:18px;color:#b0a0bf}.archive-row{display:flex;align-items:center;gap:15px;padding:18px 0;border-bottom:1px solid #302a37;min-width:0}.archive-row:last-child{border:0;padding-bottom:0}.archive-emoji{font-size:27px}.archive-row div{flex:1;min-width:0}.archive-row strong{font-size:13px;overflow-wrap:anywhere}.archive-row div span{display:block;font-size:11px;margin-top:7px;color:#998aa8}.archive-row button{font-size:11px;padding:12px}.about{display:flex;gap:18px;align-items:center}.about h2{display:flex;align-items:center;gap:12px;margin-bottom:7px}.about p{margin:4px 0}.panel>.muted{font-size:13px}.panel>.hint{margin:18px 0 0}.stats-filters select{max-width:100%}@media(min-width:1400px){main{padding:55px 65px}.habit-card{padding:23px 22px 27px;min-height:140px}.habit-info h3{font-size:16px}.habit-info p{font-size:11px}.week-days{gap:14px}}@media(max-width:1150px){.desktop-sidebar{width:220px;padding:30px 18px}main{margin-left:220px;padding:35px 28px}.habit-grid{grid-template-columns:1fr}.habit-card{min-height:112px}.habit-info h3{font-size:16px}.habit-info p{font-size:11px;margin-bottom:8px}.stats-filters{grid-template-columns:1fr 1fr}.stats-filters label:last-child{grid-column:1/-1}}@media(max-width:760px){body{min-width:360px}.desktop-sidebar{display:none}main{padding:calc(20px + env(safe-area-inset-top)) 20px calc(105px + env(safe-area-inset-bottom));max-width:650px;margin:auto}.mobile-brand{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.mobile-brand>span:first-child{font-size:21px;font-weight:700;display:flex;align-items:center;gap:8px}.mobile-brand svg{color:var(--accent)}.mobile-brand .badge{font-size:10px}.page-heading{margin-bottom:24px;gap:14px}h1{font-size:30px;letter-spacing:-1px}.page-heading .eyebrow{font-size:10px;margin-bottom:10px}.add-button{width:48px;height:48px;padding:0;border-radius:16px;flex-shrink:0}.add-button span{display:none}.date-select{font-size:12px}.date-title{gap:6px}.week-strip{gap:2px;margin-bottom:20px}.week-days{gap:6px}.week-arrow{min-width:13px;font-size:24px}.day{min-height:78px;border-radius:14px;padding:10px 1px 8px;gap:6px}.day span{font-size:10px}.day strong{font-size:19px}.panel{border-radius:21px;padding:22px;margin-bottom:20px}.daily-progress{padding:22px 20px;gap:10px}.daily-progress h2{font-size:18px;line-height:1.4}.daily-progress p{font-size:11px}.daily-progress .eyebrow{font-size:10px}.ring{width:86px;height:86px;padding:5px}.ring strong{font-size:22px}.ring span{font-size:9px}.toolbar{gap:10px;margin:24px 0 23px}.filter-button{width:46px;height:46px;padding:0}.filter-button>span{display:none}.habit-grid{gap:12px}.habit-card{padding:20px 16px 24px;min-height:122px;border-radius:21px}.card-main{gap:13px}.habit-emoji{width:46px;height:46px;font-size:25px;border-radius:15px}.habit-info h3{font-size:15px}.habit-info p{font-size:10px}.value-label{font-size:11px}.quick-action{width:44px;height:44px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:4;justify-content:space-around;padding:11px 10px calc(10px + env(safe-area-inset-bottom));background:#19181ef5;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-top:1px solid #302a38}.bottom-nav button{display:flex;flex-direction:column;gap:5px;background:none;color:#817889;min-width:90px;padding:5px 12px;font-size:10px;min-height:49px}.bottom-nav button.active{color:#b39af1}.bottom-nav button.active svg{filter:drop-shadow(0 0 8px #b29af130)}.filter-panel{grid-template-columns:1fr;gap:13px}.filter-panel>label:first-child{grid-column:auto}.page-footnote{font-size:10px;margin:28px 0}.save-status{bottom:calc(82px + env(safe-area-inset-bottom));right:22px}.modal{width:calc(100% - 16px);border-radius:23px;max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));margin:auto}.modal-head{padding:16px 20px 12px}.modal-content{padding:20px;padding-bottom:calc(22px + env(safe-area-inset-bottom))}.form-grid{gap:10px}.form-actions{position:sticky;bottom:-21px;background:#1e1d25;padding:13px 0 calc(5px + env(safe-area-inset-bottom));margin-bottom:-5px}.stats-filters{gap:12px}.stats-overview{padding:22px;gap:20px;align-items:flex-start}.stats-overview .ring{width:95px;height:95px}.stats-overview h2{font-size:30px;margin:8px 0}.stats-overview .eyebrow{font-size:10px}.stats-overview p{font-size:11px}.stats-overview .hint{font-size:10px}.section-heading h2{font-size:16px}.stats-overview .ring strong{font-size:24px}.panel .button-row{flex-wrap:wrap}.panel .button-row button{white-space:nowrap}.archive-row{gap:10px}.archive-row button{padding:10px;font-size:10px}.about{align-items:flex-start}.empty{padding:38px 20px}.empty h2{font-size:22px}.empty p{font-size:12px}.detail-heading h2{font-size:23px}.notice{font-size:12px}.inline-form button{padding:12px;font-size:11px}.button-row button{font-size:11px}.chart-panel .section-heading .hint{font-size:10px}.day-picker button,.month-picker button{min-height:44px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}.modal{position:fixed;inset-inline:0;top:calc(var(--visual-top,0px) + var(--visual-height,100dvh)/2);bottom:auto;transform:translateY(-50%);margin:0 auto;max-height:calc(var(--visual-height,100dvh) - 48px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}@media(max-width:760px){.modal{max-height:calc(var(--visual-height,100dvh) - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}}.archive-row .archive-history{display:flex;padding:0;min-height:36px;margin-top:3px;font-size:11px}button,a{touch-action:manipulation}.ring strong,.value-label,.counter strong,.sum{font-variant-numeric:tabular-nums}.skip-link{position:fixed;top:12px;left:12px;transform:translateY(-150%);background:#aa8afa;color:#20142f;padding:13px 19px;border-radius:12px;z-index:20}.skip-link:focus{transform:none}main{padding-top:35px}.brand-caption{font-size:12px}.desktop-sidebar nav button{font-size:15px}.sidebar-footer{font-size:12px}.page-heading .eyebrow{font-size:13px;margin-bottom:9px}.page-heading{margin-bottom:23px}h1{font-size:35px}.date-select{font-size:14px}.day>span{font-size:12px}.day{min-height:78px;gap:6px}.week-strip{margin-bottom:20px}.daily-progress{padding:21px 25px;border-color:#3c314c;background:radial-gradient(ellipse at 90% -70%,#68508e45,transparent 75%),#211c2b}.daily-progress h2{font-size:21px;margin:8px 0 5px}.daily-progress p{font-size:13px}.daily-progress .eyebrow{font-size:12px}.daily-progress .ring{width:83px;height:83px}.daily-progress .ring strong{font-size:22px}.daily-progress .ring span{font-size:11px}.daily-progress .ring>div{background:#211c2b}.task-shortcut{margin:-3px 0 18px}.task-shortcut button{min-height:44px;font-size:13px;background:#211c2a;border:1px solid #3a2e47;border-radius:13px;padding:10px 14px;color:#cbb5e9;justify-content:flex-start}.task-shortcut span{border-radius:7px;padding:2px 7px;background:#ae8afa18;color:#d6b9ff;font-size:11px;margin-left:7px}.toolbar{margin:18px 0 21px}.search input{font-size:14px}.list-heading h2{font-size:16px}.list-heading>span{font-size:12px}.habit-grid{gap:15px}.habit-card{min-height:124px;border-radius:22px;padding:21px 17px 24px;background:#211d28;border-color:#352b41}.habit-emoji{background:color-mix(in srgb,var(--habit-color) 16%,#211d28);width:49px;height:49px;font-size:26px}.habit-info h3{font-size:16px;font-weight:650}.habit-info p{font-size:12px;line-height:1.45;margin-bottom:8px;color:#b4a5c2}.value-label{font-size:12px;line-height:1.5;display:block}.quick-action{width:45px;height:45px;background:color-mix(in srgb,var(--habit-color) 15%,#211d28)}.habit-card.failed{border-color:#af63725e;background:#321f2980}.failed .value-label{color:#f4acbb}.habit-card.moved{opacity:.7}.page-footnote{font-size:12px;color:#97869f}.eyebrow{color:#b0a2be}.hint{color:#afa2bd}.panel{border-color:#352c40}.modal{background:#211c29;border-color:#4b3a5c}.modal-head,.form-actions{background:#211c29}.modal-head h2{font-size:18px}.modal-head{border-color:#3b2e48}.modal-content{padding:25px}.form{gap:18px}label{font-size:14px;color:#c9bcd6}input,textarea,select{font-size:14px;background:#19151f;border-color:#43354f}.field-title{font-size:13px;color:#c9bcd6}.notice{font-size:14px}.checkbox{font-size:13px}.form-actions button{font-size:14px;min-height:49px}.editor-context{display:flex;gap:11px;align-items:center;color:#b7a7c5;font-size:12px}.editor-back{justify-content:flex-start;padding:0;min-height:35px;margin-bottom:-8px}.catalog-heading .eyebrow{font-size:12px;color:#b598df}.catalog-heading h2{font-size:28px;letter-spacing:-.8px;margin:11px 0 10px}.catalog-heading p{font-size:14px;line-height:1.6;color:#b4a6c1;max-width:410px;margin-bottom:23px}.catalog-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.catalog-category{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:12px;text-align:left;min-height:164px;padding:20px;background:color-mix(in srgb,var(--category-color) 9%,#1c1624);border:1px solid color-mix(in srgb,var(--category-color) 29%,#312639);border-radius:20px;color:#f4edf9}.catalog-category:hover{background:color-mix(in srgb,var(--category-color) 18%,#1c1624)}.catalog-category>span{font-size:30px;line-height:1.2}.catalog-category strong{font-size:18px;font-weight:650;letter-spacing:-.3px}.catalog-category small{font-size:12px;line-height:1.6;font-weight:400;color:#c0b3ca;max-width:190px}.catalog-category i{font-style:normal;position:absolute;top:16px;right:17px;color:var(--category-color);font-size:19px}.catalog-search{margin:22px 0 20px;background:#19151f;border-color:#3f304a}.catalog-back{justify-content:flex-start;padding:0;margin:-12px 0 11px;font-size:13px}.catalog-custom{display:grid;gap:9px;margin:18px 0 25px}.catalog-custom>button{justify-content:space-between;text-align:left;padding:16px;border-radius:15px;font-size:14px;background:#302439}.catalog-custom>button span{font-weight:400;color:#bfacca;font-size:12px}.catalog-custom>button.primary{justify-content:center;background:#aa8afa;color:#21152e;font-size:14px}.catalog-presets{display:grid;gap:10px}.catalog-preset{display:flex;justify-content:flex-start;align-items:center;text-align:left;padding:16px;background:#292031;border:1px solid #40304e;border-radius:17px;gap:14px;min-width:0}.catalog-preset:hover{background:#33263d}.preset-emoji{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:color-mix(in srgb,var(--category-color) 14%,transparent);font-size:25px;flex-shrink:0}.catalog-preset div{min-width:0;flex:1}.catalog-preset strong{font-size:14px;display:block;line-height:1.4;overflow-wrap:anywhere}.catalog-preset small{font-size:12px;display:block;color:#b8a6c5;font-weight:400;margin-top:6px;line-height:1.5}.preset-arrow{font-size:24px;color:#b799d0}.section-heading h3{font-size:14px;margin:0}.detail-heading>span:last-child{font-size:13px}.detail-heading p,.description{font-size:14px}.result-label{font-size:15px;margin-bottom:18px}.status-failed{color:#ffb5c3}.status-complete{color:#bba0fa}.detail-rule{text-align:center;line-height:1.6;margin-bottom:21px}.ring.large span{padding:0 14px;text-align:center;font-size:12px;max-width:180px}.counter small,.inline-form button,.timer-box .hint{font-size:13px}.button-row>button{font-size:13px}.note p{font-size:14px}.note time{font-size:11px}.detail-actions button,.history-row strong{font-size:14px}.history-row div>span{font-size:12px;line-height:1.6}.history-row p,.version-row{font-size:13px}.backlog-item{background:#292031;border:1px solid #423150;border-radius:18px;padding:17px;margin:15px 0}.backlog-open{display:flex;width:100%;justify-content:flex-start;padding:0;background:none;text-align:left;gap:13px}.backlog-open>span:first-child{font-size:29px}.backlog-open div{flex:1;min-width:0}.backlog-open strong{font-size:15px;overflow-wrap:anywhere}.backlog-open small{display:block;color:#c0accf;font-size:12px;font-weight:400;margin-top:6px}.backlog-open>span:last-child{font-size:23px;color:#b79bd2}.backlog-move{display:flex;gap:12px;align-items:flex-end;margin-top:17px}.backlog-move label{flex:1;min-width:0}.backlog-move button{font-size:13px;padding:13px 15px;background:#af8efa;color:#241832}.chart-column{font-size:11px;min-width:34px}.bar-value{font-size:11px}.stats-overview p,.archive-row strong,.empty p{font-size:14px}.empty{border-color:#44344f;background:#1b1622}.badge{font-size:12px}.about .hint{font-size:13px}.panel>.muted{font-size:14px}@media(max-width:760px){main{padding:calc(16px + env(safe-area-inset-top)) 18px calc(105px + env(safe-area-inset-bottom))}.mobile-brand{margin-bottom:22px}.mobile-brand .badge{font-size:11px}.page-heading{margin-bottom:18px}.page-heading .eyebrow{font-size:11px}.page-heading h1{font-size:29px}.date-select{font-size:13px}.day{min-height:72px;border-radius:13px;padding:8px 2px;gap:5px}.day>span{font-size:11px}.day strong{font-size:18px}.week-days{gap:5px}.daily-progress{padding:18px;border-radius:20px;gap:13px}.daily-progress h2{font-size:17px;line-height:1.35}.daily-progress p{font-size:12px}.daily-progress .eyebrow{font-size:11px}.daily-progress .ring{width:75px;height:75px}.daily-progress .ring strong{font-size:21px}.daily-progress .ring span{font-size:10px}.task-shortcut{margin:0 0 15px}.task-shortcut button{font-size:12px;min-height:42px;width:100%;justify-content:center}.toolbar{margin:16px 0 21px}.list-heading{margin-bottom:14px}.habit-card{min-height:119px;padding:18px 14px 21px;border-radius:20px}.habit-info h3{font-size:16px}.habit-info p{font-size:11px}.value-label{font-size:12px}.card-main{gap:11px}.habit-emoji{width:43px;height:43px;font-size:24px}.quick-action{width:44px;height:44px}.bottom-nav button{font-size:11px}.bottom-nav{padding:10px 8px calc(10px + env(safe-area-inset-bottom))}.catalog-grid{gap:11px}.catalog-category{min-height:155px;padding:17px;gap:11px;border-radius:18px}.catalog-category strong{font-size:17px}.catalog-category small{font-size:12px;line-height:1.5}.catalog-heading h2{font-size:27px}.catalog-heading p{font-size:13px;margin-bottom:19px}.catalog-heading .eyebrow{font-size:11px}.catalog-category i{right:13px;top:14px}.modal-content{padding:21px}.catalog-search{margin-top:20px}.catalog-custom>button{font-size:13px;gap:10px}.catalog-custom>button span{font-size:11px}.catalog-preset{padding:14px;gap:12px}.catalog-preset strong{font-size:14px}.catalog-preset small{font-size:12px}.form-actions{bottom:-22px;background:#211c29}.notice{font-size:13px}.form-grid{gap:10px}.inline-form label{font-size:12px}.inline-form button{font-size:12px;padding:12px}.task-shortcut span{font-size:12px}.stats-overview .hint{font-size:11px}.stats-overview p{font-size:12px}.stats-overview .eyebrow{font-size:11px}.note time{font-size:11px}.page-footnote{font-size:11px}.empty{padding:29px 18px}.empty p{font-size:13px}.empty-icon{width:61px;height:61px;margin-bottom:16px}.empty h2{font-size:23px}.backlog-move{gap:8px}.backlog-move button{padding:12px;font-size:12px}.backlog-move label{font-size:12px}}.notes-filters{display:grid;grid-template-columns:1fr 1fr;gap:16px}.notes-filters>label{min-width:0}.notes-filters>button{grid-column:1/-1}.note-summary{display:flex;justify-content:space-around;gap:16px;text-align:center}.note-summary strong{display:block;font-size:28px;margin-bottom:8px}.note-summary span{font-size:12px;color:var(--muted)}.note-distribution{list-style:none;padding:0;margin:16px 0 0}.note-distribution li{display:flex;justify-content:space-between;gap:18px;padding:10px 0;border-bottom:1px solid var(--border)}.note-distribution span{overflow-wrap:anywhere}.notes-feed time{display:block;color:var(--muted);font-size:12px;margin-top:8px}.notes-feed .history-row p{font-size:14px;line-height:1.6}@media(max-width:760px){.bottom-nav button{min-width:0;flex:1;padding-inline:4px;font-size:10px}.notes-filters{gap:12px}.notes-filters>label:first-child,.notes-filters>label:nth-child(2){grid-column:1/-1}.note-summary{padding:20px 12px;gap:8px}.note-summary strong{font-size:25px}.note-summary span{font-size:11px}}.modal{top:var(--modal-top,12px);transform:none;max-height:var(--modal-max-height, calc(100dvh - 24px) );overflow:hidden}.modal[open]{display:flex;flex-direction:column}.modal-head{flex-shrink:0}.modal-content{min-height:0;overflow-y:auto;overscroll-behavior:contain;scroll-padding-block:20px}@media(max-width:760px){.modal{max-height:var(--modal-max-height, calc(100dvh - 24px) )}.modal input,.modal textarea,.modal select{font-size:16px}}.auth-shell{margin:0 auto;padding:calc(30px + env(safe-area-inset-top)) 20px calc(30px + env(safe-area-inset-bottom));max-width:490px;min-height:100dvh;display:flex;flex-direction:column;justify-content:center}.auth-brand{display:flex;align-items:center;gap:12px;font-size:29px;font-weight:750;color:#b89aff;margin:0 0 28px 8px}.auth-panel{background:#211c29;border:1px solid #493651;border-radius:26px;padding:30px}.auth-panel h1{font-size:29px;line-height:1.2;margin-top:16px}.auth-panel p{color:#bbb2c8;font-size:14px}.auth-panel .full{margin-top:12px}.auth-panel .hint{font-size:12px;margin-top:21px}.auth-panel .error{color:#ffb5c3}.sync-banner{display:flex;align-items:center;gap:12px;padding:12px 15px;margin-bottom:24px;border:1px solid #413449;background:#231d2b;border-radius:15px;min-width:0}.sync-banner>div{flex:1;min-width:0}.sync-banner strong{font-size:13px}.sync-banner small{display:block;color:#beb0ca;font-size:12px;line-height:1.5;margin-top:5px;overflow-wrap:anywhere}.sync-banner button{font-size:12px;min-height:44px;padding:10px}.sync-unavailable .status-dot,.sync-local .status-dot{background:#eab17b}.sync-conflict{border-color:#8e6559}.sync-conflict .status-dot{background:#eaa96f}.sync-syncing .status-dot{background:#b394fa}.account-email{display:block;overflow-wrap:anywhere;font-size:17px;margin:18px 0}.member-row{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:18px 0;border-top:1px solid #403448}.member-row>div:first-child{min-width:0}.member-row strong{display:block;font-size:14px;overflow-wrap:anywhere}.member-row .hint{display:block;margin-top:6px}.member-row .button-row{flex-wrap:wrap;justify-content:flex-end}.member-row button{font-size:12px;padding:9px 12px}.invitation-link{padding:16px;background:#18151e;border-radius:16px;margin:20px 0}.invitation-link button{margin-top:12px}.invitation-link .hint{margin-bottom:0}.backup-status{padding-top:22px;border-top:1px solid #403448;margin-top:20px}.backup-status p{font-size:13px}.backup-status a{color:#bba0fa;font-size:13px;text-decoration:underline;text-underline-offset:4px}.conflict-card{border:1px solid #55405e;padding:20px;border-radius:19px;margin:20px 0;background:#292031}.conflict-values h3{margin-top:16px;line-height:1.5}.conflict-values>div{background:#19161f;padding:13px;border-radius:12px;margin-bottom:10px}.conflict-values>div>span{display:block;font-size:12px;color:#b2a2c4;margin-bottom:7px}.conflict-values strong{font-size:15px;overflow-wrap:anywhere;white-space:pre-wrap}.conflict-card .button-row{flex-wrap:wrap}.conflict-card button{font-size:12px}.conflict-card .inline-form{margin-top:16px}.error:focus{outline:2px solid #aa8afa;outline-offset:4px}h1,h2,h3{text-wrap:balance}.modal input,.modal textarea,.modal select{scroll-margin-top:90px}@media(max-width:760px){.auth-shell{padding:calc(22px + env(safe-area-inset-top)) 18px calc(22px + env(safe-area-inset-bottom));margin:0 auto}.auth-panel{padding:24px;border-radius:23px}.auth-panel h1{font-size:27px}.sync-banner{padding:11px;margin-bottom:20px;gap:8px}.sync-banner strong{font-size:12px}.sync-banner button{max-width:130px;font-size:11px;line-height:1.4}.member-row{flex-direction:column;align-items:flex-start}.member-row .button-row{justify-content:flex-start}.member-row strong{font-size:13px}.conflict-card{padding:16px}.conflict-card .button-row>button{flex:1;min-width:130px}}.editor-section{display:grid;gap:22px;min-width:0;border:0;padding:0;margin:0}.editor-section[hidden]{display:none}.editor-menu{display:grid;gap:2px;border:1px solid var(--border);border-radius:20px;overflow:hidden;background:#29252f}.editor-menu>button{border-radius:0;min-height:78px;text-align:left;justify-content:flex-start;background:transparent;padding:17px 20px;font-weight:400}.editor-menu>button+button{border-top:1px solid #ffffff0d}.editor-menu>button:hover{background:#ffffff07}.editor-menu-icon{display:grid;place-items:center;font-size:23px;width:34px;flex-shrink:0}.editor-menu>button>span:nth-child(2){display:grid;gap:7px;min-width:0;flex:1}.editor-menu strong{font-size:16px;font-weight:600}.editor-menu small{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-menu>button>span:last-child{font-size:25px;color:var(--muted)}.habit-editor .habit-preview{margin-bottom:0;min-height:94px;border-radius:20px;overflow-wrap:anywhere}.habit-editor .editor-back{justify-content:flex-start;padding-inline:0}.habit-editor .form-actions{position:sticky;bottom:-25px;margin:0 -25px -25px;padding:18px 25px calc(18px + env(safe-area-inset-bottom));z-index:3;border-top:1px solid var(--border)}.group-heading{display:flex;width:100%;justify-content:space-between;text-align:left;padding:14px 0;background:none;border:0;border-radius:0;margin:8px 0}.group-heading strong{font-size:18px}.group-heading span{color:var(--muted);font-size:13px}.habit-group{margin-bottom:18px}.group-manager{margin-top:24px}.group-manager h3{margin:0}.group-manager .section-heading{flex-wrap:wrap;gap:12px}.group-manager .button-row{gap:6px;flex-wrap:wrap}.group-manager .button-row button{padding:8px 12px;min-width:44px}.group-habit-row{display:grid;grid-template-columns:minmax(100px,1fr) minmax(100px,190px) 44px 44px;gap:9px;align-items:center;padding:10px 0}.group-habit-row>span{overflow-wrap:anywhere}.group-habit-row button{padding:8px}.period-row{display:flex;gap:16px;align-items:center;width:100%;text-align:left;justify-content:space-between;background:transparent;border-radius:0;padding:17px 0;flex-wrap:wrap}.period-row+.period-row{border-top:1px solid var(--border)}.period-row>span:first-child{flex:1;min-width:160px}.period-row small,.vacation-row small{display:block;font-size:11px;color:var(--muted);margin-top:7px}.period-status{border:1px solid var(--border);border-radius:16px;padding:18px;margin-block:18px}.period-status p{margin:10px 0 0;font-size:13px}.vacation-habits{display:grid;gap:12px;max-height:260px;overflow:auto}.vacation-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:18px 0}.vacation-row>span{flex:1;min-width:180px}.habit-chart{margin:24px 0;min-width:0}.habit-chart.compact{margin:12px 0 0}.streak-summary{display:flex;gap:24px;flex-wrap:wrap;align-items:center;margin-bottom:16px}.streak-summary>span{font-size:12px;color:var(--muted)}.streak-summary strong{display:block;font-size:25px;color:#eeeaf4;margin-top:7px}.streak-summary small{font-size:11px;color:var(--muted);max-width:160px}.achievement-list{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.achievement-list>span{border:1px solid #aa8afa44;background:#aa8afa12;color:#cfbaff;border-radius:9px;font-size:11px;padding:8px 10px}.progress-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(32px,1fr));gap:6px;margin:16px 0}.compact .progress-grid{grid-template-columns:repeat(14,minmax(0,1fr));gap:3px}.progress-cell{aspect-ratio:1;display:grid;place-items:center;border-radius:6px;background:#ffffff08;color:#b7b0c2;border:1px solid #ffffff0c;font-size:10px;min-width:0}.progress-cell.status-complete{background:#266859;color:#c1ffea;border-color:#5cae98}.progress-cell.status-failed{background:#643340;color:#ffc3cf;border-color:#a35468}.progress-cell.status-partial,.progress-cell.status-pending{background:#5c4a2b;color:#ffe3ac;border-color:#a68a55}.progress-cell.status-skipped{border-style:dashed;color:#dad2e6}.progress-cell.status-vacation{background:#254c62;color:#c0e9ff}.progress-cell.status-unscheduled,.progress-cell.status-future,.progress-cell.status-excluded{opacity:.45}.progress-plot{margin:18px 0}.progress-plot svg{width:100%;height:auto;display:block;overflow:visible}.average-summary{font-size:13px;margin-top:16px}.average-summary p{margin-bottom:9px}.average-summary strong{color:#d3baff}@media(max-width:760px){.editor-menu>button{padding:16px;min-height:76px}.habit-editor .form-actions{bottom:-21px;margin:0 -21px -21px;padding:14px 21px calc(14px + env(safe-area-inset-bottom))}.group-habit-row{grid-template-columns:minmax(0,1fr) 44px 44px}.group-habit-row>select{grid-column:1;grid-row:2}.group-habit-row>button{grid-row:2}.group-habit-row>span{grid-column:1/-1}.group-manager .button-row{width:100%}.period-row>strong{font-size:14px}.period-row>span:last-child{font-size:12px}.streak-summary{gap:20px}.progress-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.habit-editor input,.habit-editor textarea,.habit-editor select{font-size:16px}}@media(prefers-reduced-motion:reduce){.editor-menu button{transition:none}}
