.habits-overview{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr);gap:22px;margin-bottom:32px}.habit-today{overflow:hidden}.habit-today .card-header{gap:12px;flex-wrap:wrap}.habit-date-label input{font-size:10px;max-width:146px;padding:8px;border:1px solid #e5deeb;border-radius:8px;background:#fcfaf6;color:#8a759d}.habit-row{display:flex;gap:13px;align-items:center;padding:20px 23px;border-top:1px solid #eee8ee}.habit-symbol{width:39px;height:39px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#eee8f7;color:#8c6cb5;flex-shrink:0}.habit-symbol.kind-gym{background:#e5f0e9;color:#5f8c70}.habit-symbol.kind-reading{background:#f8eed7;color:#ac854a}.habit-symbol.kind-tobacco{background:#e6edf5;color:#708aa4}.habit-row-copy{flex:1;min-width:0}.habit-row-copy strong{display:block;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.habit-row-copy small{display:block;font-size:9px;line-height:1.7;color:#9e91aa;margin-top:4px}.habit-status{font-size:8px;display:inline-block;margin-top:7px;padding:4px 6px;border-radius:5px}.status-done{color:#477a60;background:#e6f1e8}.status-missed{color:#ad7284;background:#f8eaf0}.status-pending{color:#a28752;background:#f9f1df}.status-rest{color:#b2a7b8;background:#f5f1f5}.habit-pending-note{padding:15px 23px;font-size:9px;line-height:1.7;color:#a597ae;border-top:1px solid #eee8ee}.habit-day-empty{text-align:center;padding:40px 24px}.habit-day-empty>.icon{color:#af9ac3;width:30px;height:30px;margin-bottom:15px}.habit-day-empty h3{font-size:14px;line-height:1.6}.habit-day-empty p{font-size:10px;line-height:1.8;color:#ab9bb5;max-width:320px;margin:12px auto 19px}.habit-character{padding:24px;text-align:center;align-self:start}.habit-character>.eyebrow{font-size:8px;letter-spacing:1.3px}.habit-avatar-stage{height:210px;margin:16px 0 10px;display:flex;align-items:center;justify-content:center;background:radial-gradient(#dbd1e7 1px,transparent 1px),linear-gradient(#f3edf8,#faf5ee);background-size:14px 14px,auto;border-radius:15px}.habit-avatar-stage>.pixel-avatar{width:108px;height:180px}.habit-effect-summary{display:flex;flex-direction:column;gap:9px;text-align:left}.habit-effect-summary>p{font-size:10px;line-height:1.8;color:#a293ae;text-align:center}.habit-effect-label{display:flex;gap:9px;align-items:center;padding:8px;background:#f5f0f7;border-radius:8px;font-size:9px;color:#9b86aa}.habit-effect-label>.icon{width:15px;height:15px}.habit-effect-label strong{display:block;font-size:10px;margin-bottom:4px;color:#7f6b8e}.habit-visual-note{font-size:8px;line-height:1.7;margin-top:14px;color:#afa2b7}.habit-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.habit-plan{padding:22px;display:flex;flex-direction:column;min-width:0}.habit-plan-title{display:flex;gap:12px;align-items:center}.habit-plan-title>div{min-width:0}.habit-plan-title .eyebrow{font-size:7px;letter-spacing:1.1px}.habit-plan h3{font-size:14px;margin-top:6px;line-height:1.5;overflow-wrap:anywhere}.habit-plan>p{color:#9b8ca6;font-size:10px;margin:17px 0}.habit-week{display:flex;gap:5px}.habit-week span{display:flex;align-items:center;justify-content:center;background:#f4f0f4;color:#c3b8cb;font-size:9px;width:25px;height:26px;border-radius:7px}.habit-week span.planned{background:#eae2f5;color:#9275b1}.habit-plan-reward{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:18px 0;font-size:9px;color:#a58a57}.habit-plan-reward>span:last-child{color:#9276b3}.habit-recovery{border-top:1px solid #eee8ee;padding:13px 0 16px}.habit-recovery>span{font-size:9px;display:flex;justify-content:space-between;margin-bottom:10px;color:#8b9b85}.habit-recovery small{display:block;color:#aba1b2;font-size:8px;line-height:1.7;margin-top:8px}.habit-plan-actions{display:flex;align-items:center;gap:8px;margin-top:auto;padding-top:7px}.habit-plan-actions .button{margin-right:auto}.habit-plan-actions .icon-button{width:28px;height:28px}.habit-plan-actions .icon{width:14px;height:14px}.habits-intro{display:flex;gap:17px;align-items:center;padding:25px}.habits-intro h3{font-size:14px}.habits-intro p{font-size:11px;line-height:1.8;color:#a292ae;margin-top:8px}.habit-day-picker{display:flex;flex-wrap:wrap;gap:7px;border:0;padding:0;margin:18px 0}.habit-day-picker legend{font-size:11px;font-weight:600;margin-bottom:11px}.habit-day-picker label{cursor:pointer}.habit-day-picker input{position:absolute;opacity:0;width:1px;height:1px}.habit-day-picker span{width:36px;height:36px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:#f5f0f7;color:#ab9ab7;border:1px solid #e8dfef;font-size:11px}.habit-day-picker input:checked+span{background:#8f73b8;color:#fff;border-color:#8f73b8}.habit-day-picker input:focus-visible+span{outline:3px solid #ad96fa;outline-offset:3px}.habit-close-day{display:flex;gap:10px;align-items:flex-start;font-size:11px;line-height:1.8;margin:17px 0 10px}.habit-close-day input{margin-top:4px;accent-color:#9174b8}.habit-log-preview{font-size:11px;line-height:1.8;background:#f3edf8;border-radius:9px;padding:13px;margin:18px 0 12px;color:#9274ae}.habit-history-heading{display:flex;align-items:center;justify-content:space-between;margin:20px 0}.habit-history-heading strong{font-size:13px;text-transform:capitalize}.habit-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.habit-calendar-weekday{font-size:10px;color:#aa9ab7;text-align:center;margin-bottom:7px}.habit-calendar-day{position:relative;height:44px;border:0;border-radius:8px;font-size:11px;display:flex;align-items:center;justify-content:center;gap:3px}.habit-calendar-day small{font-size:9px;position:absolute;bottom:3px}.habit-calendar-day:disabled{opacity:.55}.habit-calendar-day.is-muted{opacity:.4}.habit-calendar-legend{display:flex;gap:8px;flex-wrap:wrap;margin:17px 0;font-size:8px}.habit-calendar-legend>span{padding:5px 7px;border-radius:5px}.habits-dashboard{overflow:hidden;margin-bottom:26px}.habits-dashboard-empty{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:0 24px 23px}.habits-dashboard-empty p{font-size:10px;color:#a292ae;line-height:1.7}.task-difficulty{font-size:8px;color:#9c8ba9}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.difficulty-reward{font-size:12px;color:#a27e39;background:#fbf1da;border:1px solid #efe1bf;border-radius:8px;min-height:40px;display:flex;align-items:center;padding:10px 12px;margin-top:9px}
.habit-day-picker[hidden],.habit-weekly-fields[hidden]{display:none}.habit-weekly-fields{padding:15px 16px 0;margin:12px 0 17px;border:1px solid #e6dcef;border-radius:11px;background:#f7f2fb}.habit-flex-heading{padding:17px 23px 15px;border-top:1px solid #eee8ee;background:#f7f3fb}.habit-flex-heading h3{font-size:11px;color:#8d71aa}.habit-flex-heading p{font-size:9px;line-height:1.7;color:#a391b2;margin-top:5px}.habit-weekly-progress{margin-top:12px;min-width:0}.habit-weekly-progress>div:first-child{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:5px;margin-bottom:8px;font-size:9px}.habit-weekly-progress strong,.habit-row-copy .habit-weekly-progress strong{font-size:10px;color:#84659f;line-height:1.6}.habit-weekly-progress>div:first-child>span{font-size:8px;color:#a594b3}.habit-weekly-progress .progress-track{height:5px}.habit-weekly-progress>small,.habit-row-copy .habit-weekly-progress>small{display:block;font-size:8px;color:#aa9bb5;line-height:1.6;margin-top:7px}.habit-row-weekly>.button{align-self:center}.habit-plan>.habit-weekly-progress{margin-top:0;margin-bottom:4px}.habit-weekly-fields .form-hint{font-size:10px;line-height:1.8}@media(max-width:650px){.habit-flex-heading{padding:15px 17px}.habit-row-copy .habit-weekly-progress strong{font-size:9px}.habit-weekly-progress>div:first-child>span{font-size:7px}.habit-row-copy .habit-weekly-progress>small{font-size:7px}.habit-row-weekly>.button{max-width:83px;white-space:normal;line-height:1.5}.habit-row-weekly .button .icon{flex-shrink:0}}
.habit-fx{pointer-events:none;opacity:0;animation:habit-fx-cycle var(--fx-duration,6s) linear infinite;animation-delay:var(--fx-delay,0s)}.habit-fx.is-only{opacity:1;animation:none}.habit-fx.restless .fx-lines{animation:habit-fidget .65s steps(2,end) infinite}.habit-fx.smoke .fx-smoke{animation:habit-smoke 3s steps(8,end) infinite;opacity:var(--smoke-opacity,1)}.habit-fx.smoke .fx-cough{animation:habit-cough 4s steps(2,end) infinite;opacity:var(--smoke-opacity,1)}.habit-fx.distracted .fx-dots,.habit-fx.unfocused .fx-dots{animation:habit-dots 2s steps(2,end) infinite}.habit-fx.vital .fx-stars{animation:habit-dots 2s steps(2,end) infinite;fill:#76a28a}@keyframes habit-fx-cycle{0%,19%{opacity:1}20%,100%{opacity:0}}.habit-fx.fx-count-2{animation-name:habit-fx-2}.habit-fx.fx-count-3{animation-name:habit-fx-3}.habit-fx.fx-count-4{animation-name:habit-fx-4}@keyframes habit-fx-2{0%,48%{opacity:1}50%,100%{opacity:0}}@keyframes habit-fx-3{0%,31%{opacity:1}33%,100%{opacity:0}}@keyframes habit-fx-4{0%,23%{opacity:1}25%,100%{opacity:0}}@keyframes habit-fidget{50%{transform:translateX(1px)}}@keyframes habit-smoke{0%{transform:translateY(0);opacity:0}20%{opacity:var(--smoke-opacity,1)}90%{transform:translateY(-7px);opacity:0}100%{opacity:0}}@keyframes habit-cough{0%,80%,100%{transform:translateX(0)}85%,95%{transform:translateX(2px)}}@keyframes habit-dots{50%{opacity:.4}}
@media(max-width:1100px){.habit-plans{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{padding-top:27px}.sidebar-caption{margin-bottom:23px}.sidebar-bottom{padding-top:22px}.main-nav{gap:4px}.nav-item{padding-top:11px;padding-bottom:11px}}@media(max-width:800px){.habits-overview{grid-template-columns:minmax(0,1.5fr) minmax(190px,1fr);gap:15px}.habit-character{padding:20px 15px}.habit-avatar-stage{height:180px}.habit-row{padding:18px;gap:10px}.habit-row .button{font-size:9px}.habit-character>.eyebrow{font-size:6px}.habit-row-copy strong{font-size:11px}.habit-row-copy small{font-size:8px}.habit-calendar-day{height:40px}}@media(max-width:650px){.habits-overview{grid-template-columns:minmax(0,1fr);gap:18px}.habit-character{display:grid;grid-template-columns:100px minmax(0,1fr);gap:8px 15px;text-align:left;padding:20px}.habit-character>.eyebrow{grid-column:1/-1;font-size:7px}.habit-avatar-stage{height:145px;margin:8px 0;grid-row:2/4}.habit-avatar-stage>.pixel-avatar{width:78px;height:130px}.habit-effect-summary{align-self:center}.habit-visual-note{margin-top:0;align-self:end}.habit-plans{grid-template-columns:minmax(0,1fr);gap:15px}.habit-plan{padding:21px}.habit-plan h3{font-size:15px}.habit-week span{width:29px;height:29px}.habit-today .card-header{padding:20px 18px}.habit-today .card-header h2{font-size:15px}.habit-row{padding:18px 15px}.habit-symbol{width:33px;height:35px;border-radius:10px}.habit-symbol .icon{width:18px;height:18px}.habit-date-label input{max-width:125px;font-size:9px}.habit-row-copy small{font-size:8px}.habit-row .button{padding:8px;font-size:8px;min-height:33px}.habit-row .button .icon{width:12px;height:12px}.habit-pending-note{padding:13px 16px;font-size:8px}.habits-dashboard .card-header{padding:20px 18px}.habits-dashboard .card-header h2{font-size:13px}.habits-dashboard .text-button{font-size:9px}.habits-dashboard-empty{flex-wrap:wrap;padding:0 18px 20px}.habits-intro{padding:20px}.habits-intro p{font-size:10px}.habit-calendar{gap:4px}.habit-calendar-day{height:39px;font-size:10px}.habit-history-heading strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){.habit-fx,.habit-fx *{animation:none!important}.habit-fx{opacity:1}.habit-fx:not(:first-of-type){opacity:.6}}
