:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#30282a;background:#f5f0e9;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--bg:#f5f0e9;--card:#fff;--text:#30282a;--muted:#928582;--line:#eee8e3;--burgundy:#642638;--burgundy2:#783448;--blush:#d9c5b8;--champagne:#b49a78;--soft:#f8f5f1;--shadow:0 12px 34px rgba(61,40,43,.045)}*{box-sizing:border-box}body{margin:0;min-width:320px;background:var(--bg);color:var(--text)}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid rgba(180,154,120,.55);outline-offset:3px}button:disabled{opacity:.5;cursor:not-allowed}.app-shell{min-height:100vh;display:flex}.sidebar{width:244px;background:var(--card);border-right:1px solid var(--line);padding:28px 19px 18px;display:flex;flex-direction:column;flex-shrink:0}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--text);font-family:Manrope,sans-serif;font-size:16px;font-weight:800;letter-spacing:2px}.brand-mark{width:34px;height:34px;border-radius:10px;background:var(--burgundy);color:#fff;display:grid;place-items:center;font-family:Manrope,sans-serif;font-size:18px;font-weight:700;letter-spacing:0;box-shadow:0 5px 12px #6426382a}.brand small{display:block;font-family:DM Sans,sans-serif;font-size:8px;letter-spacing:1.25px;color:var(--muted);font-weight:600;margin-top:1px}.nav-label,.eyebrow{font-size:9px;letter-spacing:1.55px;font-weight:700;color:#a19591}.nav-label{margin:53px 0 13px 10px}.sidebar nav{display:grid;gap:5px}.nav-item{height:44px;border:0;background:none;text-align:left;display:flex;align-items:center;gap:12px;border-radius:9px;color:#746967;padding:0 11px;font-size:13px;font-weight:500}.nav-item.active{background:#f6eff0;color:var(--burgundy);font-weight:700}.nav-count{margin-left:auto;color:#9b8588;font-size:11px}.sidebar-bottom{margin-top:auto}.sidebar-quote{padding:16px 12px 18px;border-radius:10px;background:var(--soft);position:relative}.quote-mark{font-family:Georgia,serif;font-size:32px;color:var(--champagne);line-height:20px}.sidebar-quote p{margin:5px 0 13px;font-family:Manrope,sans-serif;font-size:11px;font-weight:600;line-height:1.8;color:#574d4b}.sidebar-quote small{font-size:8px;color:#a19591;letter-spacing:1.15px;font-weight:700}.profile{display:flex;align-items:center;gap:9px;padding:18px 2px 0}.avatar{width:30px;height:30px;border-radius:50%;background:#e6d8ce;color:var(--burgundy);display:grid;place-items:center;font-family:Manrope,sans-serif;font-weight:800;font-size:12px}.profile div:nth-child(2){display:grid;gap:2px;flex:1}.profile strong{font-size:10px}.profile small{font-size:9px;color:var(--muted)}.profile>svg{color:#a89d99}.main{max-width:1440px;margin:0 auto;flex:1;padding:0 48px 30px;min-width:0}.topbar{height:70px;border-bottom:1px solid #e8e0da;display:flex;align-items:center;justify-content:flex-end;gap:18px}.top-date{display:flex;align-items:center;gap:8px;color:#9b8e8a;font-size:9px;font-weight:700;letter-spacing:1.2px}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#90a58d;box-shadow:0 0 0 3px #90a58d20}.theme-btn,.icon-btn{border:0;background:transparent;display:grid;place-items:center;color:#827672;border-radius:8px;width:34px;height:34px}.theme-btn:hover,.icon-btn:hover{background:var(--soft);color:var(--burgundy)}.mobile-brand{display:none}.welcome{display:flex;justify-content:space-between;align-items:flex-end;padding:37px 0 25px;gap:20px}.welcome h1{font-family:Manrope,sans-serif;font-weight:700;font-size:28px;letter-spacing:-1.15px;margin:9px 0 7px}.welcome h1 em{font-style:normal;color:var(--burgundy)}.welcome p{font-size:12px;color:#8e807c;margin:0}.primary-btn,.secondary-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:8px;min-height:40px;padding:0 15px;font-size:11px;font-weight:700;transition:transform .15s,background .15s}.primary-btn{background:var(--burgundy);color:#fff;box-shadow:0 5px 12px #6426381b}.primary-btn:hover{background:var(--burgundy2);transform:translateY(-1px)}.secondary-btn{background:var(--soft);border:1px solid var(--line);color:#766966}.secondary-btn:hover{background:#efe9e4}.overview-grid{display:grid;grid-template-columns:1.8fr 1fr 1fr;gap:15px}.progress-card{background:var(--burgundy);min-height:184px;border-radius:13px;padding:21px 24px;color:#fff;position:relative;overflow:hidden;display:flex;justify-content:space-between;align-items:center;box-shadow:0 12px 24px #6426381b}.progress-copy{z-index:1;flex:1}.eyebrow.light{color:#e2cbd0}.progress-copy h2{font-family:Manrope,sans-serif;font-size:36px;letter-spacing:-1.4px;margin:8px 0 0;font-weight:700}.progress-copy h2 span{font-size:22px;color:#d4bfc4;font-weight:500}.progress-copy>p{font-size:11px;color:#eadde0;margin:0 0 19px}.progress-caption{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:9px;color:#eadde0;margin-bottom:7px;max-width:245px}.progress-caption>span{display:flex;align-items:center;gap:6px}.progress-caption strong{color:#fff;font-size:10px}.light-dot{background:#d9b47b;box-shadow:0 0 0 3px #d9b47b2b}.progress-track{height:4px;max-width:245px;background:#ffffff35;border-radius:9px;overflow:hidden}.progress-track>div{height:100%;background:#d9b47b;border-radius:9px;transition:width .4s}.progress-ring{width:95px;height:95px;border-radius:50%;background:conic-gradient(#d9b47b var(--progress),#ffffff28 0);display:grid;place-items:center;position:relative;margin:0 6px 0 12px;z-index:1;flex-shrink:0}.progress-ring:before{content:"";position:absolute;top:5px;right:5px;bottom:5px;left:5px;border-radius:50%;background:var(--burgundy)}.progress-ring>div{position:relative;display:grid;text-align:center;gap:2px}.progress-ring span{font-family:Manrope,sans-serif;font-size:22px;font-weight:700}.progress-ring small{font-size:7px;letter-spacing:1.2px;color:#e3cdd2}.card-decoration{position:absolute;width:160px;height:160px;border:1px solid #ffffff0d;border-radius:50%;right:5px;top:-97px;box-shadow:0 0 0 17px #ffffff05,0 0 0 37px #ffffff04}.metric-card,.analytics-panel,.habits-panel,.history-card,.history-list{background:var(--card);border:1px solid #eee9e5;border-radius:12px;box-shadow:var(--shadow)}.metric-card{padding:16px 17px 13px;min-height:184px}.metric-top{display:flex;align-items:center;justify-content:space-between}.metric-icon{width:32px;height:32px;border-radius:9px;display:grid;place-items:center}.metric-icon.blush,.summary-icon.blush{background:#f1e6df;color:#946e69}.metric-icon.gold,.summary-icon.gold{background:#f4eee2;color:#a2824f}.metric-tag{color:#a89b97;font-size:8px;letter-spacing:1.1px;font-weight:700}.metric-number{font-family:Manrope,sans-serif;font-size:27px;font-weight:700;letter-spacing:-.7px;margin-top:7px}.metric-number small{font:500 11px DM Sans,sans-serif;color:#9c908d;letter-spacing:0}.metric-label{font-size:11px;font-weight:700;margin-top:-2px}.metric-note{font-size:9px;color:#a29793;margin-top:4px}.metric-line{height:3px;background:#f1ece8;border-radius:5px;margin-top:14px}.metric-line span{display:block;height:100%;border-radius:5px;background:#c9a784}.streak-icons{display:flex;gap:4px;margin-top:9px}.streak-icons span{display:grid;place-items:center;width:19px;height:19px;background:#f5f0e9;border-radius:50%;color:#c4b8b1}.streak-icons span.hot{color:#b47c4d;background:#f5eee3}.content-grid{display:grid;grid-template-columns:minmax(0,1.38fr) minmax(290px,.9fr);gap:15px;margin-top:16px}.habits-panel,.analytics-panel{padding:19px 20px;min-height:290px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-head h2{font-family:Manrope,sans-serif;font-size:17px;letter-spacing:-.4px;margin:5px 0 0}.count-pill{display:inline-grid;place-items:center;background:#f4edeb;color:#98777d;border-radius:20px;font:700 9px DM Sans,sans-serif;width:21px;height:21px;vertical-align:2px;margin-left:3px}.text-btn{border:0;background:transparent;color:var(--burgundy);display:flex;align-items:center;gap:5px;font-size:10px;font-weight:700;padding:7px}.text-btn:hover{color:#9a4c60}.habit-list{margin-top:15px}.habit-row{min-height:61px;border-top:1px solid #f1eeeb;display:flex;align-items:center;gap:11px;padding:9px 2px;transition:opacity .2s}.habit-row:first-child{border-top:0}.habit-row.completed .habit-info h3{text-decoration:line-through;color:#a89e9a}.check-control{border:0;padding:0;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;color:#d2c8c3;background:transparent;flex-shrink:0;transition:all .15s}.check-control:hover{color:var(--burgundy);background:#f5eff0}.check-control.checked{background:var(--burgundy);color:#fff;box-shadow:0 3px 7px #6426382c}.habit-icon{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;flex-shrink:0}.icon-health{background:#eff3ec;color:#81947d}.icon-learning{background:#f1ebf4;color:#8c7399}.icon-career{background:#f6eee7;color:#ab805e}.icon-fitness{background:#f4ecea;color:#a37670}.icon-personal{background:#f1ece5;color:#a28b68}.icon-productivity{background:#eaf0f1;color:#6d898c}.habit-info{min-width:0;flex:1}.habit-info h3{font-size:11px;font-weight:700;margin:0 0 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.habit-info>span{display:flex;align-items:center;gap:6px;color:#a39894;font-size:9px}.habit-info i{width:3px;height:3px;background:#c5b9b4;border-radius:50%}.habit-streak{display:flex;align-items:center;gap:3px;color:#b7aaa4;min-width:47px}.habit-streak.has-streak{color:#b48c59}.habit-streak strong{font-size:11px}.habit-streak small{font-size:8px;color:#a69a96}.row-actions{width:24px;display:grid;place-items:center}.delete-btn{opacity:0;color:#ad777b;width:27px;height:27px}.habit-row:hover .delete-btn,.delete-btn:focus-visible{opacity:1}.empty-state{min-height:202px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:24px 10px 8px}.empty-icon{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#f3eded;color:#9d7b7f}.empty-state h3{font:700 14px Manrope,sans-serif;margin:12px 0 5px}.empty-state p{font-size:10px;color:#988c88;max-width:260px;line-height:1.7;margin:0 0 13px}.empty-state .primary-btn{min-height:34px;font-size:10px}.analytics-panel{padding:19px 19px 15px}.analytics-head h2{margin-top:5px}.week-badge{display:flex;align-items:center;gap:5px;color:#8a785f;background:#f5f0e7;border-radius:14px;padding:6px 8px;font-size:10px;font-weight:700}.chart-wrap{height:142px;display:flex;margin-top:13px}.chart-y{display:flex;flex-direction:column;justify-content:space-between;color:#b2a7a2;font-size:8px;padding:0 9px 17px 0}.chart-area{position:relative;flex:1}.chart-lines{position:absolute;top:0;right:0;bottom:17px;left:0;display:flex;flex-direction:column;justify-content:space-between}.chart-lines i{height:1px;border-top:1px dashed #eee9e4}.bars{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:space-around;align-items:stretch}.bar-column{height:100%;display:flex;align-items:center;flex-direction:column;gap:7px;z-index:1;flex:1}.bar-track{height:calc(100% - 17px);width:22px;display:flex;align-items:flex-end}.bar-fill{width:100%;min-height:0;background:#e8ddd9;border-radius:5px 5px 2px 2px;transition:height .4s}.bar-fill:not([style*="0%"]){min-height:3px}.bar-column>span{font-size:8px;color:#a89d98}.bar-column>span.today-label{font-weight:700;color:var(--burgundy)}.analytics-foot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #f0ece8;padding-top:12px}.analytics-foot>div:first-child{display:grid;gap:2px}.analytics-foot strong{font:700 18px Manrope,sans-serif}.analytics-foot span{font-size:9px;color:#9b908c}.foot-right{display:grid;text-align:right;gap:4px}.foot-right span:last-child{font-size:8px;color:#b0a49f}.insight{display:flex;gap:8px;align-items:center;background:#faf7f3;border-radius:7px;margin-top:12px;padding:8px 9px}.insight-icon{color:#ae8c5a;flex-shrink:0}.insight p{font-size:9px;line-height:1.5;color:#827671;margin:0}.footer-note{display:flex;justify-content:space-between;align-items:center;padding:15px 2px;color:#a39792;font-size:9px}.footer-note>span,.footer-note button{display:flex;align-items:center;gap:5px}.footer-note>span svg{color:#8ea08c}.footer-note button{background:none;border:0;color:var(--burgundy);font-size:9px;font-weight:700}.history-view .welcome{padding-top:37px}.history-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(240px,.75fr);gap:15px}.history-card{padding:19px 21px}.month-controls{display:flex;gap:2px}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin-top:19px}.weekday{height:22px;display:grid;place-items:center;color:#aea29d;font-size:9px;font-weight:700}.calendar-day{position:relative;height:38px;border-radius:7px;display:grid;place-items:center;color:#786e6a;font-size:10px}.calendar-day.has-completion{background:#eee3de;color:#583b3d;font-weight:700}.calendar-day.is-today{outline:1px solid var(--burgundy);outline-offset:-1px}.calendar-day i{position:absolute;bottom:5px;width:4px;height:4px;border-radius:50%;background:#759172}.calendar-legend{display:flex;align-items:center;gap:5px;justify-content:flex-end;margin-top:15px;color:#a39692;font-size:8px}.calendar-legend i{width:10px;height:10px;border-radius:2px;background:#eee3de}.calendar-legend i:nth-of-type(2){background:#ddc8bf}.calendar-legend i:nth-of-type(3){background:#bd9b91}.calendar-legend i:nth-of-type(4){background:#8b6569}.calendar-note{border-top:1px solid #f0ece8;padding-top:10px;margin:11px 0 0;font-size:9px;color:#a39894}.summary-card h2{font:700 15px Manrope,sans-serif;margin:7px 0 15px}.summary-stat{display:flex;align-items:center;gap:11px;border-top:1px solid #f1eeeb;padding:11px 0}.summary-icon{width:32px;height:32px;border-radius:9px;background:#edf1eb;color:#7e927c;display:grid;place-items:center}.summary-stat>div{display:grid;gap:2px}.summary-stat strong{font:700 17px Manrope,sans-serif}.summary-stat small{font-size:9px;color:#a19691}.summary-callout{display:flex;align-items:center;gap:7px;margin-top:6px;padding:10px;background:#f8f4ee;color:#8d795c;border-radius:7px;font-size:9px;line-height:1.5}.history-list{margin-top:15px;padding:19px 21px}.activity-list{margin-top:13px}.activity-row{min-height:55px;display:flex;align-items:center;gap:10px;border-top:1px solid #f1eeeb}.activity-row>div:nth-child(2){display:grid;gap:4px;flex:1}.activity-row strong{font-size:10px}.activity-row small{font-size:9px;color:#a09590}.activity-check{width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:#edf2eb;color:#7e957a}.history-empty{margin-top:13px;min-height:120px;border-top:1px solid #f1eeeb;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:#958984;text-align:center}.history-empty .empty-icon{width:34px;height:34px}.history-empty strong{font:700 11px Manrope,sans-serif;color:#645957}.history-empty span{font-size:9px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#241a1bb0;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:grid;place-items:center;padding:20px;z-index:10;animation:fade-in .18s ease}.modal{width:min(100%,430px);background:var(--card);border-radius:15px;padding:24px;box-shadow:0 24px 70px #1c12144d;animation:rise-in .2s ease}.modal-head{display:flex;align-items:flex-start;justify-content:space-between}.modal h2{font:700 21px Manrope,sans-serif;letter-spacing:-.5px;margin:6px 0 0}.modal-intro{font-size:11px;line-height:1.6;color:#958984;margin:10px 0 21px}.modal form{display:flex;flex-direction:column}.modal label{font-size:10px;font-weight:700;margin-bottom:7px;color:#625653}.modal input,.modal select{width:100%;height:42px;border:1px solid #e7dfd9;border-radius:7px;background:var(--card);color:var(--text);padding:0 11px;font-size:11px;outline:none}.modal input:focus,.modal select:focus{border-color:#9f6d78;box-shadow:0 0 0 3px #64263810}.modal input::placeholder{color:#b3a8a3}.field-hint{font-size:8px;color:#aa9f9a;text-align:right;margin:5px 1px 17px}.select-wrap{position:relative;margin-bottom:2px}.select-wrap select{-webkit-appearance:none;-moz-appearance:none;appearance:none}.select-wrap svg{position:absolute;right:11px;top:13px;color:#958984;pointer-events:none}.form-error{font-size:10px;color:#a3434b;margin:9px 0 0}.modal-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid #f0ece8;padding-top:16px;margin-top:19px}.modal-actions .primary-btn,.modal-actions .secondary-btn{min-height:37px;font-size:10px}.toast{position:fixed;bottom:23px;left:50%;transform:translate(-50%);z-index:20;display:flex;align-items:center;gap:8px;background:#30282a;color:#fff;border-radius:8px;padding:11px 15px;font-size:11px;box-shadow:0 8px 24px #0002;animation:rise-in .2s ease}.toast svg{color:#b8c8af}.mobile-nav{display:none}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes rise-in{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}html[data-theme=dark]{--bg:#201a1c;--card:#2a2224;--text:#f2ebe6;--muted:#baadaa;--line:#3c3033;--soft:#332a2c;--shadow:0 12px 34px rgba(0,0,0,.13)}html[data-theme=dark] .sidebar,html[data-theme=dark] .topbar{border-color:#3a2e31}html[data-theme=dark] .nav-item{color:#c5b6b2}html[data-theme=dark] .nav-item.active{background:#483238;color:#f0dfe1}html[data-theme=dark] .sidebar-quote,html[data-theme=dark] .insight,html[data-theme=dark] .summary-callout{background:#332a2c}html[data-theme=dark] .sidebar-quote p,html[data-theme=dark] .profile strong{color:#e8ddda}html[data-theme=dark] .metric-card,html[data-theme=dark] .analytics-panel,html[data-theme=dark] .habits-panel,html[data-theme=dark] .history-card,html[data-theme=dark] .history-list{border-color:#3a3032}html[data-theme=dark] .habit-row,html[data-theme=dark] .activity-row,html[data-theme=dark] .summary-stat{border-color:#3d3335}html[data-theme=dark] .count-pill,html[data-theme=dark] .week-badge{background:#45383a;color:#d7b8bd}html[data-theme=dark] .metric-line{background:#403638}html[data-theme=dark] .habit-row.completed .habit-info h3{color:#9f9190}html[data-theme=dark] .chart-lines i{border-color:#413638}html[data-theme=dark] .bar-fill{background:#5d4649}html[data-theme=dark] .calendar-day{color:#d7cbc6}html[data-theme=dark] .calendar-day.has-completion{background:#583f44;color:#f4e7e3}html[data-theme=dark] .calendar-day.is-today{outline-color:#d6a9b2}html[data-theme=dark] .calendar-legend i{background:#60474b}html[data-theme=dark] .calendar-legend i:nth-of-type(2){background:#80565d}html[data-theme=dark] .calendar-legend i:nth-of-type(3){background:#a26c71}html[data-theme=dark] .calendar-legend i:nth-of-type(4){background:#c48b86}html[data-theme=dark] .modal input,html[data-theme=dark] .modal select{border-color:#504145}html[data-theme=dark] .modal label{color:#ddcfca}html[data-theme=dark] .modal-actions{border-color:#403638}html[data-theme=dark] .modal input::placeholder{color:#8d7d7e}html[data-theme=dark] .field-hint{color:#98878a}html[data-theme=dark] .progress-ring:before{background:var(--burgundy)}@media(min-width:1450px){.main{padding-left:60px;padding-right:60px}.overview-grid,.content-grid{gap:18px}.welcome{padding-top:43px}}@media(max-width:1050px){.sidebar{width:210px;padding-left:15px;padding-right:15px}.main{padding-left:27px;padding-right:27px}.overview-grid{grid-template-columns:1.5fr 1fr 1fr;gap:10px}.progress-card{padding:18px}.progress-ring{width:79px;height:79px}.progress-copy h2{font-size:31px}.content-grid{grid-template-columns:minmax(0,1.2fr) minmax(270px,.9fr);gap:10px}.habits-panel,.analytics-panel{padding:16px}.habit-row{gap:8px}.habit-streak small{display:none}}@media(max-width:780px){.sidebar{width:66px;padding:21px 10px 14px;align-items:center}.brand{display:block}.brand>span:nth-child(2),.nav-label,.nav-item:not(.active){font-size:0}.sidebar nav{width:100%;margin-top:38px}.nav-item{font-size:0;justify-content:center;padding:0;position:relative}.nav-item svg{width:19px;height:19px}.nav-count,.sidebar-bottom{display:none}.main{padding-left:21px;padding-right:21px}.overview-grid{grid-template-columns:1.35fr 1fr}.progress-card{grid-column:span 2}.content-grid{grid-template-columns:1fr}.habits-panel,.analytics-panel{min-height:unset}.history-grid{grid-template-columns:1fr 1fr}}@media(max-width:560px){.app-shell{display:block;padding-bottom:65px}.sidebar{display:none}.main{padding:0 16px 18px}.topbar{height:55px;justify-content:space-between}.mobile-brand{display:flex;align-items:center;gap:8px;font:800 12px Manrope,sans-serif;letter-spacing:1.5px}.mobile-brand .brand-mark{width:28px;height:28px;border-radius:8px;font-size:15px}.top-date{font-size:7px;letter-spacing:.7px;gap:6px}.theme-btn{width:32px;height:32px}.welcome{align-items:flex-start;flex-direction:column;padding:26px 0 19px;gap:14px}.welcome h1{font-size:24px;line-height:1.3;margin-top:7px}.welcome p{font-size:11px;line-height:1.6;max-width:300px}.welcome>.primary-btn{align-self:stretch}.overview-grid{grid-template-columns:1fr 1fr;gap:9px}.progress-card{grid-column:span 2;min-height:162px;padding:17px 18px}.progress-ring{width:76px;height:76px;margin-right:0}.progress-copy h2{font-size:32px}.progress-copy>p{margin-bottom:15px}.progress-caption{max-width:220px}.metric-card{min-height:153px;padding:13px}.metric-number{font-size:24px}.content-grid{margin-top:11px;gap:11px}.habits-panel,.analytics-panel{padding:15px 13px}.section-head h2{font-size:15px}.habit-row{gap:8px;min-height:59px}.habit-info h3{font-size:10px}.habit-info>span{font-size:8px}.habit-icon{width:31px;height:31px}.habit-streak{min-width:34px;gap:2px}.habit-streak small{display:none}.row-actions{width:21px}.delete-btn{opacity:1;width:24px;height:24px}.text-btn{font-size:9px}.footer-note{font-size:8px;padding-top:12px}.footer-note button{font-size:8px}.history-view .welcome{padding-top:25px}.history-view .welcome>.secondary-btn{align-self:stretch}.history-grid{grid-template-columns:1fr;gap:10px}.history-card,.history-list{padding:16px}.calendar-day{height:37px}.mobile-nav{position:fixed;z-index:5;bottom:0;left:0;right:0;display:flex;justify-content:space-around;align-items:center;height:61px;padding-bottom:env(safe-area-inset-bottom);background:var(--card);border-top:1px solid var(--line);box-shadow:0 -4px 15px #30282a09}.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;background:none;color:#a19591;font-size:8px;min-width:65px;min-height:52px}.mobile-nav button.active{color:var(--burgundy);font-weight:700}.modal{padding:20px}.toast{bottom:72px;white-space:nowrap}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}:root{--bg: #F7F5F3;--card: #FFFFFF;--text: #30282A;--secondary: #62585A;--muted: #62585A;--line: #E7E0DD;--burgundy: #642638;--burgundy2: #51202E;--champagne: #B49A78;--soft: #F7F5F3;--shadow: 0 8px 24px rgba(48, 40, 42, .055)}body{background:var(--bg);color:var(--text)}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid var(--burgundy);outline-offset:3px}.theme-btn,.icon-btn{color:var(--secondary)}.sidebar{background:var(--card);border-color:var(--line)}.brand small,.nav-label,.eyebrow,.top-date{color:var(--secondary)}.brand small{font-size:11px}.nav-label,.eyebrow{font-size:12px;letter-spacing:1px}.nav-item{color:var(--secondary);font-size:14px}.nav-item.active{color:var(--burgundy);background:#f3ecee}.nav-count{color:var(--secondary);font-size:12px}.sidebar-quote{background:#f7f5f3}.sidebar-quote p{color:var(--text);font-size:14px;line-height:1.65}.sidebar-quote small{color:var(--secondary);font-size:12px}.profile strong{color:var(--text);font-size:13px}.profile small{color:var(--secondary);font-size:12px}.top-date{font-size:12px;letter-spacing:.8px}.welcome h1{color:var(--text);font-size:32px;font-weight:800;letter-spacing:-.8px}.welcome p{color:var(--secondary);font-size:15px;line-height:1.5}.primary-btn,.secondary-btn{min-height:44px;font-size:14px}.secondary-btn{color:var(--text);border-color:var(--line);background:#fff}.secondary-btn:hover{background:#f3f0ee}.progress-card{background:var(--burgundy)}.progress-copy h2{font-size:40px}.progress-copy h2 span{color:#f5edef}.progress-copy>p{color:#fff;font-size:14px}.progress-caption{color:#fff;font-size:12px}.progress-caption strong{font-size:16px}.progress-ring span{font-size:25px}.progress-ring small{color:#fff;font-size:11px}.progress-track>div,.progress-ring{background-color:var(--champagne)}.metric-card,.analytics-panel,.habits-panel,.history-card,.history-list{background:var(--card);border-color:var(--line)}.metric-tag{color:var(--secondary);font-size:12px;letter-spacing:.8px}.metric-icon.gold,.summary-icon.gold{color:#755d3f;background:#f1eeea}.metric-number{color:var(--text);font-size:32px}.metric-number small{color:var(--secondary);font-size:13px}.metric-label{color:var(--text);font-size:15px}.metric-note{color:var(--secondary);font-size:13px}.metric-line{background:#e7e0dd}.streak-icons span{color:var(--secondary);background:#f1eeec}.streak-icons span.hot{color:#754b21;background:#f3ede5}.section-head h2{color:var(--text);font-size:19px}.count-pill{color:var(--burgundy);background:#f3ecee;font-size:12px}.text-btn{min-height:40px;font-size:14px}.habit-icon{background:#f1eeef}.habit-info h3{color:var(--text);font-size:16px}.habit-info>span{color:var(--secondary);font-size:13px}.icon-health{color:#52684f}.icon-learning{color:#715b7c}.icon-career{color:#805b3b}.icon-fitness{color:#80534e}.icon-personal{color:#786443}.icon-productivity{color:#49666a}.habit-row.completed .habit-info h3,.check-control{color:var(--secondary)}.check-control.checked{color:#fff}.habit-streak{color:#754b21;min-width:54px}.habit-streak strong{color:inherit;font-size:14px}.habit-streak small{color:var(--secondary);font-size:12px}.delete-btn{opacity:.8;color:var(--secondary);width:34px;height:34px}.delete-btn:hover,.delete-btn:focus-visible{color:var(--burgundy);opacity:1}.empty-state h3{color:var(--text);font-size:16px}.empty-state p{color:var(--secondary);font-size:14px}.empty-state .primary-btn{min-height:42px;font-size:13px}.week-badge{color:var(--text);background:#f3f0ee;font-size:13px}.chart-y{color:var(--secondary);font-size:12px}.bar-column>span{color:var(--secondary);font-size:12px}.bar-column>span.today-label{color:var(--burgundy)}.bar-track{position:relative}.chart-wrap{height:164px}.chart-y{padding-bottom:33px}.chart-lines{bottom:34px}.bar-column{gap:3px}.bar-track{height:calc(100% - 34px)}.bar-value{color:var(--secondary);font-size:12px;line-height:14px;font-weight:700}.bar-fill{background:#d8cdd0}.bar-fill.today-bar{background:var(--burgundy)}.analytics-foot span,.foot-right span:last-child{color:var(--secondary);font-size:12px}.analytics-foot strong{color:var(--text);font-size:22px}.insight{background:#f7f5f3}.insight-icon{color:#754b21}.insight p{color:var(--text);font-size:13px;line-height:1.55}.footer-note{color:var(--secondary);font-size:12px}.footer-note button{color:var(--burgundy);font-size:12px}.history-card,.history-list{border-color:var(--line)}.weekday{color:var(--secondary);font-size:12px}.calendar-day{color:var(--text);font-size:13px}.calendar-day.has-completion{color:var(--burgundy);background:#f1e7e9}.calendar-legend{color:var(--secondary);font-size:12px}.calendar-legend i{background:#e5dadd}.calendar-note{border-color:var(--line);color:var(--secondary);font-size:13px;line-height:1.5}.summary-card h2{color:var(--text);font-size:18px}.summary-stat{border-color:var(--line)}.summary-stat strong{color:var(--text);font-size:20px}.summary-stat small{color:var(--secondary);font-size:12px}.summary-callout{color:var(--text);background:#f7f5f3;font-size:13px}.activity-row{border-color:var(--line)}.activity-row strong{color:var(--text);font-size:14px}.activity-row small{color:var(--secondary);font-size:12px}.history-empty{color:var(--secondary)}.history-empty strong{color:var(--text);font-size:14px}.history-empty span{color:var(--secondary);font-size:13px}.modal-intro{color:var(--secondary);font-size:14px}.modal label{color:var(--text);font-size:14px}.modal input,.modal select{border-color:var(--line);color:var(--text);font-size:14px}.modal input::placeholder{color:#62585a}.field-hint{color:var(--secondary);font-size:12px}.select-wrap svg{color:var(--secondary)}.form-error{color:#8c2638;font-size:13px}.modal-actions .primary-btn,.modal-actions .secondary-btn{min-height:42px;font-size:14px}.toast{font-size:13px}.mobile-nav{border-color:var(--line);background:#fff}.mobile-nav button{color:var(--secondary);font-size:12px}html[data-theme=dark]{--bg: #211B1D;--card: #2B2325;--text: #F7F2EF;--secondary: #D4C9C5;--muted: #D4C9C5;--line: #514346;--soft: #362D2F;--shadow: 0 8px 24px rgba(0, 0, 0, .18)}html[data-theme=dark] body{background:var(--bg);color:var(--text)}html[data-theme=dark] .sidebar,html[data-theme=dark] .metric-card,html[data-theme=dark] .analytics-panel,html[data-theme=dark] .habits-panel,html[data-theme=dark] .history-card,html[data-theme=dark] .history-list{background:var(--card);border-color:var(--line)}html[data-theme=dark] .topbar,html[data-theme=dark] .habit-row,html[data-theme=dark] .activity-row,html[data-theme=dark] .summary-stat,html[data-theme=dark] .analytics-foot,html[data-theme=dark] .calendar-note,html[data-theme=dark] .modal-actions{border-color:var(--line)}html[data-theme=dark] .brand,html[data-theme=dark] .nav-item,html[data-theme=dark] .profile strong,html[data-theme=dark] .sidebar-quote p,html[data-theme=dark] .welcome h1,html[data-theme=dark] .section-head h2,html[data-theme=dark] .metric-number,html[data-theme=dark] .metric-label,html[data-theme=dark] .habit-info h3,html[data-theme=dark] .analytics-foot strong,html[data-theme=dark] .summary-card h2,html[data-theme=dark] .summary-stat strong,html[data-theme=dark] .activity-row strong{color:var(--text)}html[data-theme=dark] .theme-btn,html[data-theme=dark] .icon-btn{color:var(--secondary)}html[data-theme=dark] .theme-btn:hover,html[data-theme=dark] .icon-btn:hover{color:#f7f2ef;background:#49383d}html[data-theme=dark] .brand small,html[data-theme=dark] .nav-label,html[data-theme=dark] .eyebrow,html[data-theme=dark] .top-date,html[data-theme=dark] .nav-count,html[data-theme=dark] .profile small,html[data-theme=dark] .welcome p,html[data-theme=dark] .metric-tag,html[data-theme=dark] .metric-note,html[data-theme=dark] .metric-number small,html[data-theme=dark] .habit-info>span,html[data-theme=dark] .habit-streak small,html[data-theme=dark] .chart-y,html[data-theme=dark] .bar-column>span,html[data-theme=dark] .analytics-foot span,html[data-theme=dark] .calendar-note,html[data-theme=dark] .weekday,html[data-theme=dark] .calendar-legend,html[data-theme=dark] .summary-stat small,html[data-theme=dark] .activity-row small,html[data-theme=dark] .footer-note,html[data-theme=dark] .history-empty,html[data-theme=dark] .history-empty span,html[data-theme=dark] .field-hint{color:var(--secondary)}html[data-theme=dark] .sidebar-quote,html[data-theme=dark] .insight,html[data-theme=dark] .summary-callout,html[data-theme=dark] .week-badge,html[data-theme=dark] .secondary-btn{color:var(--text);background:#362d2f;border-color:var(--line)}html[data-theme=dark] .nav-item.active,html[data-theme=dark] .count-pill{color:#fff;background:#55313c}html[data-theme=dark] .text-btn,html[data-theme=dark] .footer-note button,html[data-theme=dark] .bar-column>span.today-label{color:#e9c9d0}html[data-theme=dark] .check-control{color:#d4c9c5}html[data-theme=dark] .check-control.checked{color:#fff}html[data-theme=dark] .habit-row.completed .habit-info h3{color:#d4c9c5}html[data-theme=dark] .habit-streak,html[data-theme=dark] .streak-icons span.hot{color:#e5c28f}html[data-theme=dark] .metric-line{background:#514346}html[data-theme=dark] .streak-icons span,html[data-theme=dark] .calendar-day.has-completion{background:#4a393d}html[data-theme=dark] .calendar-day,html[data-theme=dark] .calendar-day.has-completion{color:#f1e9e6}.sidebar{background:#49202d;border-color:#5e3540;color:#fff}.brand,.nav-item{color:#fff}.brand small,.nav-label{color:#e5cfd3}.nav-item{min-height:46px;font-size:14px}.nav-item:hover{background:#5a2a38;color:#fff}.nav-item.active{background:#6a3847;color:#fff}.nav-count{color:#e5cfd3;font-size:12px}.sidebar-quote{background:#5a2a38}.sidebar-quote p,.profile strong{color:#fff}.sidebar-quote small,.profile small{color:#e5cfd3}.profile>svg{color:#e5cfd3}.feature-page{padding:28px 0 24px}.feature-page .welcome{padding-top:16px}.feature-page .welcome h1{max-width:780px}.feature-summary{display:flex;align-items:center;gap:10px;padding:14px 17px;margin:4px 0 15px;color:var(--secondary);background:#fff;border:1px solid var(--line);border-radius:11px;font-size:14px}.feature-summary svg{color:var(--burgundy);flex-shrink:0}.feature-summary strong{color:var(--text)}.habit-page-list,.goal-list{display:grid;gap:11px}.habit-manage-card,.goal-card,.focus-card,.focus-info{background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.habit-manage-card{min-height:91px;display:flex;align-items:center;gap:14px;padding:16px}.habit-manage-card .habit-icon{width:40px;height:40px;flex-shrink:0}.habit-manage-card .habit-info{flex:1;min-width:150px}.habit-manage-card .habit-info h2{margin:0 0 4px;font:700 16px Manrope,sans-serif;color:var(--text)}.habit-manage-card .habit-info>span{display:block;color:var(--secondary);font-size:13px}.habit-manage-card .habit-info small{display:block;margin-top:5px;color:var(--secondary);font-size:12px;line-height:1.45}.habit-manage-meta{min-width:155px;display:grid;justify-items:end;gap:4px;color:var(--secondary);font-size:12px}.schedule-status{color:var(--secondary)}.schedule-status.due{color:var(--burgundy);font-weight:700}.feature-empty{display:grid;justify-items:center;text-align:center;padding:42px 20px;margin-top:14px;background:var(--card);border:1px solid var(--line);border-radius:12px}.feature-empty h2{margin:11px 0 4px;font:700 20px Manrope,sans-serif;color:var(--text)}.feature-empty p{max-width:450px;margin:0 0 16px;color:var(--secondary);font-size:14px;line-height:1.55}.feature-empty .empty-icon{color:var(--burgundy);background:#f3ecee}.goal-card{padding:20px}.goal-card-head{display:flex;align-items:flex-start;gap:13px}.goal-icon,.session-tool-icon{width:38px;height:38px;display:grid;place-items:center;flex-shrink:0;color:var(--burgundy);background:#f3ecee;border-radius:10px}.goal-title-wrap{flex:1;min-width:0}.goal-status-row{display:flex;flex-wrap:wrap;align-items:center;gap:9px;color:var(--secondary);font-size:12px}.goal-status{padding:4px 8px;color:#543e23;background:#f3eee6;border-radius:99px;font-weight:700;text-transform:capitalize}.goal-status.active{color:#fff;background:var(--burgundy)}.goal-status.completed{color:#fff;background:#506b56}.goal-status.overdue{color:#fff;background:#8c2638}.goal-card h2{margin:9px 0 5px;color:var(--text);font:700 18px Manrope,sans-serif}.goal-card p{margin:0;color:var(--secondary);font-size:14px;line-height:1.5}.goal-progress{margin:17px 0 4px}.goal-progress>div:first-child{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px;color:var(--secondary);font-size:12px}.goal-progress strong{color:var(--text);font-size:14px}.goal-progress-track{height:8px;background:#eee8e5;border-radius:99px;overflow:hidden}.goal-progress-track span{display:block;height:100%;background:var(--burgundy);border-radius:inherit;transition:width .25s ease}.milestone-list{display:grid;border-top:1px solid var(--line);margin-top:13px}.milestone-row{min-height:43px;display:flex;align-items:center;gap:9px;border-bottom:1px solid var(--line);color:var(--text);font-size:14px}.milestone-row .check-control{width:28px;height:28px}.milestone-row .check-control:disabled{opacity:1;cursor:default}.milestone-row.done>span{color:var(--secondary);text-decoration:line-through}.milestone-row small{margin-left:auto;color:var(--secondary);font-size:12px;text-align:right}.goal-finish-btn{margin-top:13px;padding:8px 12px;color:var(--burgundy);background:transparent;border:1px solid var(--line);border-radius:7px;font-size:13px;font-weight:700}.goal-finish-btn:hover{background:#f3ecee}.goal-finish-btn:disabled{opacity:1;color:var(--secondary);background:#f7f5f3;border-color:var(--line)}.goal-modal,.habit-modal{max-height:min(90vh,850px);overflow-y:auto}.goal-modal textarea{width:100%;resize:vertical;padding:10px 11px;border:1px solid var(--line);border-radius:7px;color:var(--text);background:var(--card);font:inherit;font-size:14px}.date-fields,.target-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.date-fields>div{min-width:0}.date-fields input{width:100%}.milestone-editor{margin-top:4px}.milestone-editor>label{display:block}.milestone-add-fields{display:grid;grid-template-columns:minmax(0,1fr) 100px auto;gap:7px}.milestone-add-fields .secondary-btn{min-height:42px;padding:0 10px}.milestone-add-fields .secondary-btn:disabled{opacity:.55}.milestone-edit-row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:4px 0 0;color:var(--secondary);font-size:13px}.template-list{display:grid;gap:8px;margin-bottom:12px}.template-option,.habit-template-option{display:grid;gap:4px;text-align:left;padding:12px;color:var(--text);background:var(--card);border:1px solid var(--line);border-radius:8px}.template-option:hover,.habit-template-option:hover{border-color:var(--burgundy);background:#fbf8f7}.template-option strong,.habit-template-option strong{font-size:14px}.template-option span,.habit-template-option span{color:var(--secondary);font-size:12px;line-height:1.45}.goal-custom-start{width:100%;justify-content:center}.habit-template-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.habit-template-option{min-height:66px}.weekday-picker{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 15px}.weekday-picker button{width:39px;height:35px;border:1px solid var(--line);border-radius:7px;color:var(--secondary);background:var(--card);font-size:12px;font-weight:700}.weekday-picker button.selected{color:#fff;background:var(--burgundy);border-color:var(--burgundy)}.reminder-hint{text-align:left;margin:1px 0 12px}.target-fields{margin-bottom:3px}.target-fields .select-wrap{margin:0}.target-fields .select-wrap svg{top:13px}.focus-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:14px;align-items:start}.focus-card,.focus-info{padding:20px}.focus-tabs{display:flex;gap:6px;padding:4px;background:var(--soft);border-radius:9px}.focus-tabs button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;min-height:39px;color:var(--secondary);background:transparent;border:0;border-radius:7px;font-size:14px;font-weight:600}.focus-tabs button.active{color:#fff;background:var(--burgundy)}.timer-display{margin:22px 0 0;text-align:center;color:var(--text);font:700 clamp(46px,8vw,72px)/1 Manrope,sans-serif;font-variant-numeric:tabular-nums;letter-spacing:-2px}.timer-status{margin:7px 0 19px;text-align:center;color:var(--secondary);font-size:13px}.timer-duration{display:grid;gap:7px;width:min(100%,260px);margin:0 auto 18px;text-align:center;color:var(--secondary);font-size:13px;font-weight:600}.timer-duration input{height:42px;border:1px solid var(--line);border-radius:7px;color:var(--text);background:var(--card);padding:0 11px;text-align:center;font:700 17px Manrope,sans-serif}.association-fields{display:grid;gap:6px;margin:0 auto 16px;max-width:410px;color:var(--secondary);font-size:13px;font-weight:600}.association-fields .select-wrap{margin:0}.association-fields select{height:42px;border:1px solid var(--line);border-radius:7px;padding:0 35px 0 10px;color:var(--text);background:var(--card);font-size:14px}.focus-select-chevron{position:absolute;right:11px;top:5px;color:var(--secondary);font-size:20px;pointer-events:none}.active-association{display:flex;align-items:center;justify-content:center;gap:7px;color:var(--secondary);font-size:13px;margin-bottom:17px}.timer-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.timer-actions .primary-btn,.timer-actions .secondary-btn{min-height:42px}.reset-btn{width:42px;height:42px;border:1px solid var(--line)}.focus-accuracy{margin:16px 0 0;color:var(--secondary);text-align:center;font-size:12px}.focus-info .section-head{margin-bottom:9px}.session-list{display:grid}.session-row{display:flex;align-items:center;gap:9px;min-height:60px;border-top:1px solid var(--line)}.session-tool-icon{width:32px;height:32px;border-radius:8px}.session-main{display:grid;gap:3px;flex:1;min-width:0}.session-main strong{color:var(--text);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.session-main span{color:var(--secondary);font-size:11px}.session-row>b{color:var(--text);font-variant-numeric:tabular-nums;font-size:12px}.storage-warning{position:fixed;top:12px;left:50%;z-index:25;width:min(680px,calc(100vw - 28px));transform:translate(-50%);padding:11px 14px;border:1px solid #8C2638;border-radius:8px;color:#fff;background:#642638;box-shadow:var(--shadow);font-size:13px;text-align:center}html[data-theme=dark] .sidebar{background:#49202d;border-color:#5e3540}html[data-theme=dark] .brand,html[data-theme=dark] .nav-item,html[data-theme=dark] .sidebar-quote p,html[data-theme=dark] .profile strong{color:#fff}html[data-theme=dark] .brand small,html[data-theme=dark] .nav-label,html[data-theme=dark] .sidebar-quote small,html[data-theme=dark] .profile small,html[data-theme=dark] .nav-count{color:#e5cfd3}html[data-theme=dark] .nav-item.active{background:#6a3847;color:#fff}html[data-theme=dark] .sidebar-quote{background:#5a2a38}html[data-theme=dark] .feature-summary,html[data-theme=dark] .habit-manage-card,html[data-theme=dark] .goal-card,html[data-theme=dark] .focus-card,html[data-theme=dark] .focus-info{background:var(--card);border-color:var(--line)}html[data-theme=dark] .habit-manage-card .habit-info h2,html[data-theme=dark] .goal-card h2,html[data-theme=dark] .timer-display,html[data-theme=dark] .session-main strong,html[data-theme=dark] .session-row>b{color:var(--text)}html[data-theme=dark] .goal-progress-track{background:#514346}html[data-theme=dark] .goal-finish-btn:disabled{color:var(--secondary);background:#362d2f;border-color:var(--line)}html[data-theme=dark] .template-option,html[data-theme=dark] .habit-template-option{color:var(--text);background:#332a2c;border-color:var(--line)}html[data-theme=dark] .template-option:hover,html[data-theme=dark] .habit-template-option:hover{background:#403236}html[data-theme=dark] .weekday-picker button{color:var(--secondary);background:var(--card);border-color:var(--line)}html[data-theme=dark] .weekday-picker button.selected,html[data-theme=dark] .focus-tabs button.active{color:#fff;background:var(--burgundy)}html[data-theme=dark] .focus-tabs{background:#362d2f}html[data-theme=dark] .goal-modal textarea,html[data-theme=dark] .timer-duration input,html[data-theme=dark] .association-fields select{color:var(--text);background:var(--card);border-color:var(--line)}@media(max-width:780px){.sidebar{background:#49202d}}@media(max-width:700px){.focus-grid{grid-template-columns:1fr}.habit-manage-card{align-items:flex-start;flex-wrap:wrap}.habit-manage-meta{min-width:100%;justify-items:start;padding-left:54px;order:3}.habit-manage-card>.check-control{margin-left:auto}}@media(max-width:560px){.feature-page{padding-top:13px}.feature-page .welcome{padding-top:16px}.feature-page .welcome h1{font-size:24px}.feature-summary{align-items:flex-start;font-size:12px}.habit-manage-card{gap:10px;padding:12px}.habit-manage-card .habit-info{flex-basis:calc(100% - 100px)}.habit-manage-meta{padding-left:0}.habit-manage-card .delete-btn{margin-left:auto}.goal-card{padding:15px}.goal-card h2{font-size:16px}.milestone-row{flex-wrap:wrap;padding:6px 0}.milestone-row small{width:100%;margin-left:37px;text-align:left}.goal-modal,.habit-modal{max-height:calc(100dvh - 24px);overflow-y:auto;padding:18px}.habit-template-grid{grid-template-columns:1fr;max-height:38vh;overflow-y:auto}.date-fields{grid-template-columns:1fr 1fr;gap:7px}.date-fields label{font-size:12px}.milestone-add-fields{grid-template-columns:minmax(0,1fr) 76px}.milestone-add-fields .secondary-btn{grid-column:1 / -1}.focus-card,.focus-info{padding:15px}.timer-display{margin-top:28px}.mobile-nav{gap:0}.mobile-nav button{flex:1;min-width:0;font-size:10px}}html[data-theme=dark] .chart-lines i{border-color:#514346}html[data-theme=dark] .bar-fill{background:#70505a}html[data-theme=dark] .bar-fill.today-bar{background:#e9c9d0}html[data-theme=dark] .bar-value{color:#f7f2ef}html[data-theme=dark] .modal h2,html[data-theme=dark] .modal label{color:var(--text)}html[data-theme=dark] .modal-intro,html[data-theme=dark] .modal input,html[data-theme=dark] .modal select{color:var(--secondary)}html[data-theme=dark] .modal input,html[data-theme=dark] .modal select{background:#211b1d;border-color:var(--line)}html[data-theme=dark] .modal input::placeholder{color:#bfb3b0}html[data-theme=dark] .mobile-nav{background:#2b2325;border-color:var(--line)}.notes-main-tabs,.notes-subtabs{display:flex;gap:8px;border-bottom:1px solid var(--line)}.notes-main-tabs{margin:2px 0 18px}.notes-main-tabs button,.notes-subtabs button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 14px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--secondary);font-size:14px;font-weight:700}.notes-main-tabs button.active,.notes-subtabs button.active{color:var(--burgundy);border-bottom-color:var(--champagne)}.notes-main-tabs button span{min-width:21px;padding:2px 6px;border-radius:20px;background:var(--soft);color:var(--secondary);font-size:12px;text-align:center}.notes-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.notes-search{display:flex;align-items:center;gap:9px;width:min(100%,420px);min-height:42px;padding:0 12px;color:var(--secondary);background:var(--card);border:1px solid var(--line);border-radius:8px}.notes-search input{width:100%;border:0;outline:0;color:var(--text);background:transparent;font-size:14px}.notes-search input:focus-visible{outline:0}.notes-filter-tabs{display:flex;gap:6px}.notes-filter-tabs button{display:flex;align-items:center;gap:6px;min-height:36px;padding:0 11px;border:1px solid var(--line);border-radius:7px;color:var(--secondary);background:var(--card);font-size:13px;font-weight:600}.notes-filter-tabs button.active{color:#fff;background:var(--burgundy);border-color:var(--burgundy)}.notes-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}.note-card,.project-card{min-width:0;padding:16px;color:var(--text);background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.note-card.pinned{border-top:3px solid var(--champagne);padding-top:14px}.note-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.note-icon,.project-icon{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border-radius:9px;color:var(--burgundy);background:#f4ecee}.note-card-actions,.project-actions{display:flex;align-items:center;gap:2px}.note-title-input{width:100%;padding:4px 0 8px;border:0;color:var(--text);background:transparent;font:700 17px Manrope,sans-serif}.note-title-input::placeholder{color:var(--secondary);opacity:1}.note-content-input{display:block;width:100%;min-height:150px;padding:7px 0;resize:vertical;border:0;color:var(--text);background:transparent;font:14px/1.6 DM Sans,sans-serif}.note-content-input::placeholder{color:var(--secondary);opacity:1}.note-meta-fields{display:grid;gap:7px;margin-top:4px}.note-meta-fields input,.note-links select{width:100%;min-height:35px;padding:5px 8px;border:1px solid var(--line);border-radius:6px;color:var(--text);background:var(--card);font-size:13px}.note-meta-fields input::placeholder{color:var(--secondary);opacity:1}.note-links{display:grid;gap:7px;margin-top:9px}.note-links label{display:flex;align-items:center;gap:7px;color:var(--secondary)}.note-links label svg{flex:0 0 auto}.note-links select{min-width:0}.note-dates{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px 10px;margin-top:11px;padding-top:10px;border-top:1px solid var(--line);color:var(--secondary);font-size:12px}.notes-subtabs{margin:0 0 15px}.daily-progress-card{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:126px;padding:18px 22px;color:#fff;background:#49202d;border-radius:12px}.daily-progress-card>div:first-child{min-width:0}.daily-progress-card .eyebrow.light{color:#e5cfd3}.daily-progress-card strong{display:block;margin-top:5px;font:700 28px Manrope,sans-serif}.daily-progress-card strong small{font:600 14px DM Sans,sans-serif;color:#f2e5e8}.daily-progress-card p{margin:5px 0 0;color:#f2e5e8;font-size:13px}.daily-progress-ring{--progress: 0deg;display:grid;place-items:center;width:76px;height:76px;flex:0 0 auto;border-radius:50%;background:conic-gradient(var(--champagne) var(--progress),#ffffff35 0)}.daily-progress-ring span{display:grid;place-items:center;width:62px;height:62px;border-radius:50%;color:#fff;background:#49202d;font:700 16px Manrope,sans-serif}.todo-filters{display:flex;gap:5px;overflow-x:auto;margin:14px 0 11px;border-bottom:1px solid var(--line)}.todo-filters button{display:flex;align-items:center;gap:7px;flex:0 0 auto;min-height:41px;padding:0 11px;border:0;border-bottom:2px solid transparent;color:var(--secondary);background:transparent;font-size:14px;font-weight:600}.todo-filters button.active{color:var(--burgundy);border-bottom-color:var(--champagne)}.todo-filters button span{display:grid;place-items:center;min-width:20px;height:20px;border-radius:20px;color:var(--burgundy);background:#f4ecee;font-size:12px}.todo-task-list{display:grid;gap:8px}.todo-task-row{position:relative;display:flex;align-items:flex-start;gap:11px;min-width:0;padding:13px;color:var(--text);background:var(--card);border:1px solid var(--line);border-radius:9px}.task-check{width:23px;height:23px;display:grid;place-items:center;flex:0 0 auto;margin-top:1px;padding:0;border:1.5px solid #9A858B;border-radius:50%;color:#fff;background:transparent}.task-check:hover{border-color:var(--burgundy)}.task-check.checked{border-color:var(--burgundy);background:var(--burgundy)}.task-row-content{flex:1;min-width:0}.task-row-title-line{display:flex;align-items:center;gap:8px}.task-row-title-line h3{overflow:hidden;margin:0;color:var(--text);font:700 15px/1.35 Manrope,sans-serif;text-overflow:ellipsis}.todo-task-row.completed .task-row-title-line h3{color:var(--secondary);text-decoration:line-through}.task-row-content>p{margin:5px 0;color:var(--secondary);font-size:13px;line-height:1.45}.priority-pill{flex:0 0 auto;padding:3px 7px;border-radius:99px;font-size:11px;font-weight:700}.priority-low{color:#355d42;background:#e7f0e8}.priority-medium{color:#70552e;background:#f3ede2}.priority-high{color:#642638;background:#f4e7ea}.task-row-meta{display:flex;flex-wrap:wrap;gap:5px 12px;margin-top:7px;color:var(--secondary);font-size:12px}.task-row-actions{position:relative;display:flex;align-items:center;gap:1px;flex:0 0 auto}.task-action-btn{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:6px;color:var(--secondary);background:transparent}.task-action-btn:hover{color:var(--burgundy);background:var(--soft)}.task-convert-menu{position:absolute;z-index:3;top:34px;right:22px;display:grid;gap:4px;width:190px;padding:10px;color:var(--text);background:var(--card);border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow)}.task-convert-menu strong{padding:3px 6px 5px;color:var(--secondary);font-size:12px}.task-convert-menu button{display:flex;align-items:center;gap:7px;min-height:34px;padding:0 7px;border:0;border-radius:5px;text-align:left;color:var(--text);background:transparent;font-size:13px}.task-convert-menu button:hover{color:var(--burgundy);background:var(--soft)}.convert-check{width:14px;text-align:center;font-weight:800}.project-filter-bar{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:9px;margin-bottom:14px}.project-filter-bar label{display:grid;gap:5px;color:var(--secondary);font-size:12px;font-weight:700}.project-filter-bar select,.todo-modal input,.todo-modal select,.todo-modal textarea{width:100%;min-height:40px;padding:8px 10px;border:1px solid var(--line);border-radius:7px;color:var(--text);background:var(--card);font:14px DM Sans,sans-serif}.todo-modal textarea{min-height:90px;resize:vertical}.project-list{display:grid;gap:13px}.project-card{padding:17px}.project-card-head{display:flex;align-items:flex-start;gap:10px}.project-icon{color:var(--burgundy);background:#f4ecee}.project-heading{flex:1;min-width:0}.project-deadline{color:var(--secondary);font-size:11px;font-weight:700;letter-spacing:.6px}.project-heading h2{margin:4px 0;color:var(--text);font:700 17px Manrope,sans-serif}.project-heading p{margin:0;color:var(--secondary);font-size:13px;line-height:1.45}.project-progress{margin:15px 0 13px}.project-progress>div:first-child{display:flex;justify-content:space-between;gap:10px;margin-bottom:6px;color:var(--secondary);font-size:12px}.project-progress strong{color:var(--text);font-size:12px}.project-progress-track{height:6px;overflow:hidden;border-radius:9px;background:var(--soft)}.project-progress-track span{display:block;height:100%;border-radius:inherit;background:var(--burgundy)}.project-task-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:10px;border-top:1px solid var(--line)}.project-task-head>strong{color:var(--text);font-size:13px}.project-task-head .text-btn{font-size:13px}.project-task-list{margin-top:9px}.project-no-tasks{margin:12px 0 2px;color:var(--secondary);font-size:13px}.notes-empty,.todo-empty{margin-top:10px}.notes-head-actions{display:flex}.todo-modal{max-height:min(90vh,800px);overflow-y:auto}.todo-modal form{display:grid;gap:9px}.todo-modal label{color:var(--secondary);font-size:13px;font-weight:700}.todo-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.todo-form-grid>div{display:grid;gap:5px}.todo-modal .modal-actions{margin-top:8px}.notes-todo-page .feature-empty h2{color:var(--text)}html[data-theme=dark] .notes-main-tabs,html[data-theme=dark] .notes-subtabs,html[data-theme=dark] .todo-filters{border-color:var(--line)}html[data-theme=dark] .notes-main-tabs button.active,html[data-theme=dark] .notes-subtabs button.active,html[data-theme=dark] .todo-filters button.active{color:#f0d9de}html[data-theme=dark] .notes-main-tabs button span,html[data-theme=dark] .todo-filters button span,html[data-theme=dark] .note-icon,html[data-theme=dark] .project-icon{color:#f0d9de;background:#55313c}html[data-theme=dark] .note-meta-fields input,html[data-theme=dark] .note-links select,html[data-theme=dark] .notes-search,html[data-theme=dark] .notes-filter-tabs button,html[data-theme=dark] .project-filter-bar select,html[data-theme=dark] .todo-modal input,html[data-theme=dark] .todo-modal select,html[data-theme=dark] .todo-modal textarea{color:var(--text);background:#211b1d;border-color:var(--line)}html[data-theme=dark] .note-title-input,html[data-theme=dark] .note-content-input{color:var(--text)}html[data-theme=dark] .note-title-input::placeholder,html[data-theme=dark] .note-content-input::placeholder,html[data-theme=dark] .note-meta-fields input::placeholder{color:var(--secondary)}html[data-theme=dark] .notes-filter-tabs button.active{color:#fff;background:var(--burgundy)}html[data-theme=dark] .daily-progress-ring span{background:#49202d}html[data-theme=dark] .task-action-btn:hover,html[data-theme=dark] .task-convert-menu button:hover{background:#403236}html[data-theme=dark] .task-convert-menu{background:var(--card);border-color:var(--line)}html[data-theme=dark] .priority-low{color:#c5e0c9;background:#304637}html[data-theme=dark] .priority-medium{color:#e8d4ad;background:#4a4030}html[data-theme=dark] .priority-high{color:#f0d9de;background:#55313c}html[data-theme=dark] .project-progress-track{background:#514346}@media(max-width:980px){.notes-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.task-row-actions{flex-wrap:wrap;justify-content:flex-end;max-width:66px}.task-action-btn{width:29px}}@media(max-width:560px){.notes-todo-page .welcome{align-items:flex-start;flex-direction:row}.notes-todo-page .welcome h1{font-size:22px}.notes-todo-page .welcome>.notes-head-actions .primary-btn{min-height:38px;padding:0 10px;font-size:12px}.notes-grid{grid-template-columns:1fr;gap:10px}.notes-toolbar{align-items:stretch;flex-direction:column;gap:9px}.notes-search{width:100%}.notes-filter-tabs{align-self:flex-start}.note-content-input{min-height:120px}.daily-progress-card{min-height:112px;padding:15px}.daily-progress-card strong{font-size:24px}.daily-progress-ring{width:65px;height:65px}.daily-progress-ring span{width:53px;height:53px}.todo-filters{gap:0}.todo-filters button{padding:0 9px;font-size:13px}.todo-task-row{flex-wrap:wrap;gap:8px;padding:11px}.task-row-content{flex-basis:calc(100% - 34px)}.task-row-actions{max-width:none;margin-left:30px}.project-filter-bar{grid-template-columns:1fr 1fr}.project-filter-bar label:first-child{grid-column:1 / -1}.todo-form-grid{grid-template-columns:1fr 1fr}.mobile-nav button{min-width:0;flex:1 1 0;gap:2px;padding:0 1px;font-size:8px}.mobile-nav button svg{width:16px;height:16px}}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible,[role=tab]:focus-visible{outline:3px solid var(--burgundy);outline-offset:3px}.main .eyebrow:not(.light),.top-date,.field-hint,.welcome p,.metric-tag{color:var(--secondary)}.main .eyebrow:not(.light),.nav-label{font-size:12px}.mobile-nav button{color:#62585a;font-size:11px}textarea::placeholder{color:var(--secondary);opacity:1}html[data-theme=dark] button:focus-visible,html[data-theme=dark] input:focus-visible,html[data-theme=dark] select:focus-visible,html[data-theme=dark] textarea:focus-visible,html[data-theme=dark] a:focus-visible,html[data-theme=dark] [role=tab]:focus-visible{outline-color:#f0d9de}html[data-theme=dark] .main .eyebrow:not(.light),html[data-theme=dark] .top-date,html[data-theme=dark] .field-hint,html[data-theme=dark] .welcome p,html[data-theme=dark] .metric-tag,html[data-theme=dark] .mobile-nav button{color:#d4c9c5}.brand{display:block;width:100%;color:#fff}.brand-logo{display:block;width:100%;max-width:205px;height:auto}.brand-symbol{display:none;width:40px;height:40px}.mobile-brand{align-items:center}.mobile-brand img{display:none;width:142px;height:auto}html:not([data-theme=dark]) .mobile-logo-light{display:block}html[data-theme=dark] .mobile-logo-dark{display:block}@media(max-width:780px){.sidebar .brand{width:40px}.sidebar .brand-logo{display:none}.sidebar .brand-symbol{display:block}}html[data-theme=dark] button:focus-visible,html[data-theme=dark] input:focus-visible,html[data-theme=dark] select:focus-visible,html[data-theme=dark] a:focus-visible{outline-color:#e9c9d0}@media(max-width:780px){.nav-item{min-height:44px}.sidebar .brand small{display:none}}@media(max-width:560px){.topbar{gap:8px}.mobile-brand{font-size:14px}.top-date{font-size:12px;letter-spacing:.45px;white-space:nowrap;justify-content:flex-end;flex:1}.welcome h1{font-size:26px}.welcome p{font-size:14px}.progress-caption{font-size:12px}.progress-caption strong{font-size:14px}.metric-card{min-height:160px}.section-head h2{font-size:17px}.habit-row{gap:7px}.habit-info h3{font-size:14px}.habit-info>span{font-size:12px}.habit-streak{min-width:34px}.habit-streak small{display:none}.text-btn{font-size:13px}.mobile-nav button{font-size:12px;min-height:52px}.footer-note,.footer-note button{font-size:11px}}:root{--bg: #F7F5F3;--card: #FFFFFF;--text: #30282A;--secondary: #62585A;--muted: #62585A;--line: #E7E0DD;--burgundy: #642638;--burgundy2: #49202D;--deep-burgundy: #49202D;--champagne: #B49A78;--blush: #D9C5B8;--soft: #F7F5F3;--shadow: 0 8px 24px rgba(48, 40, 42, .055)}html,body{background:var(--bg);color:var(--text)}.app-shell,.main{background:var(--bg)}.sidebar{background:var(--deep-burgundy);color:#fff;border-right:1px solid #68414D;padding:28px 17px 18px}.brand{color:#fff}.brand-mark{background:#f7f5f3;color:var(--burgundy);box-shadow:none}.brand small{color:#e8dadd}.nav-label{color:#d9c5b8;margin-top:49px}.sidebar nav{gap:7px}.nav-item{min-height:46px;height:auto;width:100%;padding:0 10px;color:#f7f2ef;background:transparent;border-left:3px solid transparent;border-radius:8px;font-size:14px;transition:background .16s ease,border-color .16s ease,color .16s ease}.nav-item:hover{color:#fff;background:#5b2b3a}.nav-item.active{color:#fff;background:#642638;border-left-color:var(--champagne);font-weight:700}.nav-item svg{color:inherit}.nav-count{color:#f1dde1;font-size:12px}.sidebar .sidebar-quote{background:#572a38;border:1px solid #76505A;border-radius:10px}.sidebar .quote-mark{color:#d9c5b8}.sidebar .sidebar-quote p{color:#fff;font-size:14px;line-height:1.65}.sidebar .sidebar-quote small{color:#e8dadd;font-size:11px}.sidebar .profile{border-top:1px solid #68414D;margin-top:15px}.sidebar .avatar{background:#d9c5b8;color:#49202d}.sidebar .profile strong{color:#fff;font-size:13px}.sidebar .profile small{color:#e8dadd;font-size:12px}.sidebar .profile>svg{color:#d9c5b8}.sidebar button:focus-visible,.sidebar a:focus-visible{outline-color:#fff}.topbar{border-color:var(--line)}.top-date{color:var(--secondary)}.welcome h1{color:var(--text);font-weight:800}.welcome p{color:var(--secondary)}.primary-btn{background:var(--burgundy);color:#fff}.primary-btn:hover{background:var(--deep-burgundy)}.secondary-btn{color:var(--text);background:#fff;border-color:var(--line)}.progress-card{background:var(--deep-burgundy);box-shadow:0 10px 24px #49202d21}.progress-card .eyebrow.light{color:#fff}.progress-copy h2 span{color:#f7f2ef}.progress-copy>p,.progress-caption{color:#fff}.progress-caption strong{color:#fff}.progress-ring{background:conic-gradient(var(--champagne) var(--progress),#FFFFFF55 0)}.progress-ring:before{background:var(--deep-burgundy)}.progress-ring small{color:#fff}.progress-track{background:#fff5}.progress-track>div{background:var(--champagne)}.card-decoration{display:none}.metric-card,.analytics-panel,.habits-panel,.history-card,.history-list{background:#fff;border-color:var(--line);box-shadow:var(--shadow)}.metric-number{color:var(--burgundy)}.metric-label{color:var(--text)}.metric-note,.metric-tag{color:var(--secondary)}.metric-icon.blush,.summary-icon.blush{color:var(--burgundy);background:#f1eaec}.metric-icon.gold,.summary-icon.gold{color:#705a40;background:#f1eeea}.metric-line{background:var(--line)}.metric-line span{background:var(--champagne)}.section-head h2,.habit-info h3{color:var(--text)}.habit-row{border-color:var(--line)}.habit-row.completed .habit-info h3{color:var(--text);text-decoration:none}.habit-info>span{color:var(--secondary)}.check-control{color:var(--burgundy)}.check-control.checked{color:#fff;background:var(--burgundy)}.habit-streak{color:var(--burgundy)}.habit-streak strong{color:inherit}.habit-streak small,.delete-btn{color:var(--secondary)}.delete-btn:hover,.delete-btn:focus-visible{color:var(--burgundy)}.week-badge{color:var(--text);background:#f1eeea}.chart-y,.bar-column>span{color:var(--secondary)}.bar-fill{background:#642638}.bar-fill.today-bar{background:var(--champagne)}.bar-value,.bar-column>span.today-label{color:var(--burgundy)}.chart-lines i,.analytics-foot{border-color:var(--line)}.analytics-foot strong{color:var(--burgundy)}.analytics-foot span,.foot-right span:last-child{color:var(--secondary)}.insight{color:var(--text);background:#f7f5f3}.insight p{color:var(--text)}.insight-icon{color:var(--burgundy)}.footer-note{color:var(--secondary)}.calendar-day{color:var(--text)}.calendar-day.has-completion{color:var(--burgundy);background:#f4ecee}.calendar-day.has-completion i{background:var(--burgundy)}.weekday,.calendar-legend,.calendar-note{color:var(--secondary)}.calendar-legend i{background:#e7dde0}.calendar-legend i:nth-of-type(2){background:#c9aeb5}.calendar-legend i:nth-of-type(3){background:#a77d88}.calendar-legend i:nth-of-type(4){background:var(--burgundy)}.calendar-note,.summary-stat,.activity-row{border-color:var(--line)}.summary-stat small,.activity-row small,.history-empty,.history-empty span{color:var(--secondary)}.summary-callout{color:var(--text);background:#f7f5f3}.activity-row strong,.history-empty strong{color:var(--text)}.modal-intro,.modal label,.field-hint{color:var(--secondary)}.modal input,.modal select{border-color:var(--line);color:var(--text)}.modal input::placeholder{color:var(--secondary)}.modal-actions{border-color:var(--line)}.mobile-nav{background:#fff;border-color:var(--line)}.mobile-nav button{color:var(--secondary)}.mobile-nav button.active{color:var(--burgundy)}html[data-theme=dark]{--bg: #201A1C;--card: #2B2325;--text: #F7F2EF;--secondary: #D4C9C5;--muted: #D4C9C5;--line: #514346;--soft: #362D2F;--deep-burgundy: #49202D;--shadow: 0 8px 24px rgba(0, 0, 0, .18)}html[data-theme=dark] .app-shell,html[data-theme=dark] .main{background:var(--bg)}html[data-theme=dark] .sidebar{background:var(--deep-burgundy);border-color:#68414d}html[data-theme=dark] .brand-mark{color:#49202d;background:#f7f5f3}html[data-theme=dark] .nav-item{color:#f7f2ef}html[data-theme=dark] .nav-item:hover{color:#fff;background:#5b2b3a}html[data-theme=dark] .nav-item.active{color:#fff;background:#642638;border-left-color:var(--champagne)}html[data-theme=dark] .sidebar .sidebar-quote{color:#fff;background:#572a38;border-color:#76505a}html[data-theme=dark] .sidebar .sidebar-quote p,html[data-theme=dark] .sidebar .profile strong{color:#fff}html[data-theme=dark] .sidebar .sidebar-quote small,html[data-theme=dark] .sidebar .profile small{color:#e8dadd}html[data-theme=dark] .sidebar .profile{border-color:#68414d}html[data-theme=dark] .sidebar .profile>svg{color:#d9c5b8}html[data-theme=dark] .welcome h1,html[data-theme=dark] .section-head h2,html[data-theme=dark] .metric-label,html[data-theme=dark] .habit-info h3,html[data-theme=dark] .activity-row strong,html[data-theme=dark] .summary-stat strong,html[data-theme=dark] .summary-card h2{color:var(--text)}html[data-theme=dark] .welcome h1 em{color:#e9c9d0}html[data-theme=dark] .metric-card,html[data-theme=dark] .analytics-panel,html[data-theme=dark] .habits-panel,html[data-theme=dark] .history-card,html[data-theme=dark] .history-list{background:var(--card);border-color:var(--line)}html[data-theme=dark] .progress-card{background:var(--deep-burgundy)}html[data-theme=dark] .progress-ring:before{background:var(--deep-burgundy)}html[data-theme=dark] .metric-number,html[data-theme=dark] .analytics-foot strong{color:#e9c9d0}html[data-theme=dark] .metric-icon.blush,html[data-theme=dark] .summary-icon.blush{color:#e9c9d0;background:#49353b}html[data-theme=dark] .metric-icon.gold,html[data-theme=dark] .summary-icon.gold{color:#e5c28f;background:#403832}html[data-theme=dark] .habit-row,html[data-theme=dark] .calendar-note,html[data-theme=dark] .summary-stat,html[data-theme=dark] .activity-row,html[data-theme=dark] .analytics-foot{border-color:var(--line)}html[data-theme=dark] .habit-row.completed .habit-info h3{color:var(--text)}html[data-theme=dark] .check-control{color:#e9c9d0}html[data-theme=dark] .check-control.checked{color:#fff;background:var(--burgundy)}html[data-theme=dark] .habit-streak,html[data-theme=dark] .delete-btn{color:#e9c9d0}html[data-theme=dark] .bar-fill{background:#e9c9d0}html[data-theme=dark] .bar-fill.today-bar{background:var(--champagne)}html[data-theme=dark] .calendar-day.has-completion{color:#f7f2ef;background:#55313c}html[data-theme=dark] .calendar-day.has-completion i{background:#e9c9d0}html[data-theme=dark] .calendar-day.is-today{outline-color:#e9c9d0}html[data-theme=dark] .calendar-legend i{background:#59454a}html[data-theme=dark] .calendar-legend i:nth-of-type(2){background:#78535d}html[data-theme=dark] .calendar-legend i:nth-of-type(3){background:#a16d7a}html[data-theme=dark] .calendar-legend i:nth-of-type(4){background:#d09aa6}html[data-theme=dark] .chart-lines i{border-color:var(--line)}html[data-theme=dark] .insight,html[data-theme=dark] .summary-callout{background:#362d2f;color:var(--text)}html[data-theme=dark] .insight p,html[data-theme=dark] .summary-callout span{color:var(--text)}html[data-theme=dark] .modal{background:var(--card)}html[data-theme=dark] .modal input,html[data-theme=dark] .modal select{background:#201a1c;color:var(--text);border-color:var(--line)}html[data-theme=dark] .modal input::placeholder{color:var(--secondary)}html[data-theme=dark] .mobile-nav{background:var(--card);border-color:var(--line)}html[data-theme=dark] .mobile-nav button{color:var(--secondary)}html[data-theme=dark] .mobile-nav button.active{color:#e9c9d0}html[data-theme=dark] .sidebar button:focus-visible,html[data-theme=dark] .sidebar a:focus-visible{outline-color:#fff}@media(max-width:780px){.sidebar{background:var(--deep-burgundy)}.sidebar .nav-label{display:none}.sidebar .nav-item{font-size:0;justify-content:center;padding:0}.sidebar .nav-item svg{flex-shrink:0}.nav-item.active{border-left-color:var(--champagne)}.sidebar .brand small{display:none}}.progress-card{background:#49202d}.progress-ring:before{background:#49202d}.metric-card{min-height:184px;padding:18px}.metric-number{color:#642638;font-size:36px;line-height:1.05}.metric-number small{margin-left:4px}.metric-number small{color:#62585a;font-size:14px}.metric-label{font-size:16px}.metric-tag{font-size:13px;letter-spacing:.7px}.metric-note{color:#62585a;font-size:14px}.habit-info>span{color:#62585a;font-size:14px}.habit-streak{color:#642638}.habit-streak strong{font-size:15px}.habit-streak small{color:#62585a;font-size:13px}.chart-wrap{height:140px}.chart-y{color:#62585a;font-size:13px;padding-bottom:31px}.chart-lines{bottom:32px}.bar-column{gap:2px}.bar-track{height:calc(100% - 32px)}.bar-column>span{color:#62585a;font-size:13px;line-height:14px}.bar-column>span.today-label{color:#642638;font-weight:800}.bar-value{color:#642638;font-size:14px;line-height:14px;font-weight:800}.bar-fill{position:relative;background:#642638}.bar-fill.today-bar{background:#49202d}.bar-fill.today-bar:after{position:absolute;content:"";inset:0 0 auto;height:4px;background:#b49a78;border-radius:5px 5px 0 0}.week-badge{color:#30282a;font-size:14px}.analytics-foot strong{color:#642638;font-size:24px}.analytics-foot span,.foot-right span:last-child{color:#62585a;font-size:14px}.weekday{color:#62585a;font-size:13px}.calendar-day{color:#30282a;font-size:14px}.calendar-day.has-completion{color:#642638;background:#f4ecee}.calendar-day.has-completion i{width:6px;height:6px;bottom:4px;background:#642638}.calendar-day.is-today{color:#fff;background:#642638;outline:2px solid #642638;outline-offset:1px;font-weight:800}.calendar-day.is-today i{background:#b49a78}.calendar-legend{color:#62585a;font-size:13px}.calendar-note{color:#62585a;font-size:14px;line-height:1.55}.summary-stat small,.activity-row small{color:#62585a;font-size:14px}.footer-note,.footer-note button{font-size:13px}.history-empty span{color:#62585a;font-size:14px}html[data-theme=dark] .metric-number,html[data-theme=dark] .analytics-foot strong{color:#f0d9de}html[data-theme=dark] .metric-number small,html[data-theme=dark] .metric-note{color:#d4c9c5}html[data-theme=dark] .habit-streak{color:#f0d9de}html[data-theme=dark] .habit-streak small{color:#d4c9c5}html[data-theme=dark] .bar-fill,html[data-theme=dark] .bar-fill.today-bar{background:#e9c9d0}html[data-theme=dark] .bar-value,html[data-theme=dark] .bar-column>span.today-label{color:#f7f2ef}html[data-theme=dark] .calendar-day.is-today{color:#fff;background:#642638;outline-color:#e9c9d0}html[data-theme=dark] .calendar-day.is-today i{background:#b49a78}html[data-theme=dark] .summary-stat small,html[data-theme=dark] .activity-row small,html[data-theme=dark] .history-empty span{color:#d4c9c5}@media(max-width:560px){.metric-card{min-height:160px;padding:13px}.metric-number{font-size:32px}.metric-note{font-size:13px}.habit-info>span{font-size:12px}.habit-streak strong{font-size:13px}.chart-wrap{height:140px}.chart-y,.bar-column>span{font-size:12px}.bar-value{font-size:13px}.weekday,.calendar-legend{font-size:12px}.calendar-note,.summary-stat small,.activity-row small{font-size:13px}.analytics-foot span,.foot-right span:last-child{font-size:12px}.footer-note,.footer-note button{font-size:11px}}.sidebar{background:#49202d;border-right-color:#49202d}.sidebar .nav-label{color:#e5d4d4}.sidebar .nav-item{color:#f7f5f3}.sidebar .nav-item:hover{background:#5a2a39}.sidebar .nav-item.active{background:#b49a78;color:#30282a}.sidebar .nav-count{color:#e7d4bb}.sidebar .nav-item.active .nav-count{color:#30282a}.sidebar .sidebar-quote{background:#5a2a39}.sidebar .sidebar-quote p,.sidebar .profile strong{color:#f7f5f3}.sidebar .sidebar-quote small,.sidebar .profile small{color:#e2d0d1}.sidebar .profile>svg{color:#e7d4bb}.sidebar a:focus-visible,.sidebar button:focus-visible{outline-color:#fff}@media(max-width:380px){.mobile-brand img{width:112px}.top-date{font-size:10px}}.dashboard-greeting{max-width:860px;font-size:clamp(27px,3vw,36px)!important;line-height:1.2!important;letter-spacing:-.7px!important}.settings-card{max-width:720px;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:26px 28px;box-shadow:var(--shadow)}.settings-card-copy{display:flex;align-items:center;gap:14px;margin-bottom:26px}.settings-icon{width:42px;height:42px;border-radius:12px;background:#f3ecee;color:var(--burgundy);display:grid;place-items:center}.settings-card h2{margin:0 0 5px;font-size:18px;color:var(--text)}.settings-card p{margin:0;color:var(--secondary);font-size:14px;line-height:1.55}.settings-language-label{display:block;margin:0 0 8px;font-size:14px;font-weight:700;color:var(--text)}.settings-language-select{width:min(100%,360px);height:46px;padding:0 13px;border:1px solid var(--line);border-radius:9px;background:var(--card);color:var(--text);font:600 14px Manrope,sans-serif}.settings-language-select:focus-visible{outline:3px solid #B49A78;outline-offset:2px}.settings-language-note{margin-top:12px!important;font-size:13px!important}html[data-theme=dark] .settings-icon{background:#483238;color:#e9c9d0}@media(max-width:560px){.settings-card{padding:19px 17px}.settings-card-copy{margin-bottom:21px}.mobile-nav button{font-size:8px;padding:0 1px;min-width:0;flex:1 1 0}.mobile-nav button svg{width:15px;height:15px}.dashboard-greeting{font-size:26px!important}}
