@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-outline-style:solid}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.hidden{display:none}.capitalize{text-transform:capitalize}.outline{outline-style:var(--tw-outline-style);outline-width:1px}}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2");unicode-range:U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--bg:#f7f7fb;--surface:#fff;--subtle:#f7f7fa;--ink:#242331;--muted:#656574;--quiet:#727181;--line:#e4e3eb;--primary:#704dcc;--primary-hover:#5c3cb6;--accent-ink:#6947bd;--soft:#f0ebfc;--track:#ebe6f7;--shadow:0 2px 6px #28213d05;--rad:17px;--side:226px;color-scheme:light;font-synthesis:none;font-family:Inter,system-ui,sans-serif;font-size:16px}:root[data-theme=dark]{--bg:#191920;--surface:#24232d;--subtle:#2b2a34;--ink:#f2effa;--muted:#c0bbce;--quiet:#b0abbb;--line:#3d3a48;--primary:#a78af4;--primary-hover:#bca2ff;--accent-ink:#c3a9ff;--soft:#393047;--track:#413a52;--shadow:none;color-scheme:dark}*{box-sizing:border-box}body{color:var(--ink);background:var(--bg);margin:0;font-size:1rem;line-height:1.45}button,input,textarea,select{font:inherit}button,a,select,summary{-webkit-tap-highlight-color:transparent}button:not(:disabled),select,summary{cursor:pointer}button:disabled{cursor:default}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}h1,h2,h3,p,dl,dd,fieldset,legend{margin:0}fieldset{border:0;min-width:0;padding:0}svg{stroke-width:1.8px;flex-shrink:0}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible,[tabindex="0"]:focus-visible{outline:3px solid var(--primary);outline-offset:3px}h1:focus,[data-dialog-title]:focus,main:focus{outline:none}.button{border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:9px 16px;font-size:.875rem;font-weight:600;line-height:1.25;transition:background .15s,border-color .15s;display:inline-flex}.button:disabled{opacity:.55}.button-primary{color:#fff;background:var(--primary);border-color:var(--primary);box-shadow:0 2px 4px #37226515}.button-primary:not(:disabled):hover{background:var(--primary-hover)}[data-theme=dark] .button-primary{color:#1e122e}.button-outline{background:var(--surface);color:var(--ink);border-color:var(--line)}.button-outline:not(:disabled):hover,.button-ghost:not(:disabled):hover{background:var(--subtle)}.button-ghost{color:var(--muted);background:0 0}.button-soft{background:var(--soft);color:var(--accent-ink)}.button-danger{color:#fff;background:#96364a}.button-small{gap:6px;min-height:34px;padding:6px 11px;font-size:.8125rem}.button-icon{width:42px;min-width:42px;height:42px;padding:0}.skip-link{z-index:20;background:var(--surface);padding:10px;position:fixed;top:8px;left:8px;transform:translateY(-160%)}.skip-link:focus{transform:none}.app-shell{min-height:100dvh}.sidebar{width:var(--side);border-right:1px solid var(--line);background:var(--surface);z-index:4;flex-direction:column;padding:28px 17px 16px;display:flex;position:fixed;inset:0 auto 0 0}.brand{letter-spacing:-.08em;align-items:center;gap:11px;font-size:1.52rem;font-weight:780;line-height:1;display:inline-flex}.sidebar>.brand{margin:4px 12px 37px}.brand img{border-radius:10px;flex:none}.side-nav{gap:5px;display:grid}.side-nav a,.settings-link{min-height:44px;color:var(--muted);border-radius:9px;align-items:center;gap:13px;padding:12px 14px;font-size:.9rem;font-weight:530;display:flex}.side-nav a:hover,.settings-link:hover,.habit-shortcuts a:hover{background:var(--subtle)}.side-nav a.active,.habit-shortcuts a.active{background:var(--soft);color:var(--accent-ink);font-weight:650}.sidebar-habits{border-top:1px solid var(--line);flex-direction:column;min-height:0;margin-top:26px;padding-top:17px;display:flex}.sidebar-head{justify-content:space-between;align-items:center;padding-left:13px;display:flex}.sidebar-head h2{color:var(--quiet);letter-spacing:.075em;text-transform:uppercase;font-size:.75rem;font-weight:650}.sidebar-head .button-icon{width:36px;min-width:36px;height:36px;min-height:36px}.habit-shortcuts{min-height:0;overflow:auto}.habit-shortcuts a{color:var(--muted);border-radius:8px;align-items:center;gap:12px;min-height:40px;padding:10px 13px;font-size:.87rem;display:flex}.habit-shortcuts a span,.breadcrumbs strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.habit-dot{background:var(--habit);border-radius:3px;flex:none;width:8px;height:8px}.side-footer{margin-top:auto;padding-top:16px}.settings-link{width:100%}.profile{border-top:1px solid var(--line);align-items:center;gap:10px;margin-top:12px;padding:17px 7px 0;display:flex}.avatar,.section-icon{color:var(--accent-ink);background:var(--soft);border-radius:9px;flex:none;place-items:center;display:inline-grid}.avatar{width:38px;height:38px}.profile strong,.profile small{display:block}.profile strong{font-size:.87rem;font-weight:650}.profile small{color:var(--quiet);font-size:.75rem}.workspace{margin-left:var(--side);min-width:0}.topbar{border-bottom:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:center;gap:12px;height:66px;padding:0 clamp(22px,3vw,48px);display:flex}.breadcrumbs,.toolbar-end,.local-status,.mobile-brand,.page-subtitle,.actions,.card-title,.card-head,.hero-xp,.hero-label,.habit-meta,.habit-meta span,.chart-footer,.calendar-footer,.day-summary-line,.day-summary-line span{align-items:center;display:flex}.breadcrumbs{min-width:0;color:var(--quiet);gap:10px;font-size:.82rem}.breadcrumbs strong{color:var(--ink);font-weight:550}.toolbar-end{gap:12px}.local-status{color:var(--muted);gap:7px;font-size:.78rem}.toolbar-rule{border-left:1px solid var(--line);height:18px}.mobile-brand,.bottom-nav{display:none}.main-page{width:100%;max-width:1510px;margin:auto;padding:32px clamp(22px,3vw,48px) 48px}.page-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:25px;display:flex}.page-heading h1{letter-spacing:-.052em;overflow-wrap:anywhere;font-size:clamp(1.75rem,2.4vw,2.35rem);font-weight:720;line-height:1.16}.page-subtitle{color:var(--muted);flex-wrap:wrap;gap:8px;margin-top:8px;font-size:.9rem}.page-subtitle i,.habit-identity i{font-style:normal}.actions{flex-wrap:wrap;gap:8px}.dashboard-grid{grid-template-columns:minmax(0,1.94fr) minmax(265px,1fr);align-items:start;gap:20px;display:grid}.card,.hero{border:1px solid var(--line);border-radius:var(--rad);box-shadow:var(--shadow);background:var(--surface);min-width:0}.hero{isolation:isolate;background:#ddcff3 url(/summit.webp) 100% 0/cover no-repeat;border-color:#d6c9eb;align-items:center;height:100%;min-height:210px;display:flex;position:relative;overflow:hidden}.hero:before{content:"";z-index:-1;background:linear-gradient(90deg,#ece2fa,#ece2faf5 21%,#ece2faa8 39%,#ece2fa06 66%);position:absolute;inset:0}.hero-copy{color:#342647;width:min(64%,380px);padding:23px 26px}.hero-label{color:#604484;letter-spacing:.055em;text-transform:uppercase;gap:7px;font-size:.75rem;font-weight:700}.hero-copy h2{letter-spacing:-.065em;margin:9px 0 4px;font-size:clamp(2rem,2.8vw,2.9rem);font-weight:750;line-height:1.12}.hero-xp{color:#573783;gap:6px;font-size:.81rem}.hero-xp strong{font-weight:720}.hero-xp span{color:#644a7a;border:1px solid #aa91c6;border-radius:5px;margin-left:2px;padding:1px 5px;font-size:.68rem;line-height:1.25}.hero-meter{background:#bca9d7;border-radius:8px;max-width:258px;height:7px;margin:17px 0 7px;overflow:hidden}.hero-meter span{border-radius:inherit;background:#7750c3;height:100%;display:block}.hero-copy p{color:#554266;font-size:.77rem}.hero-copy p b{font-weight:670}.daily-summary,.week-card{padding:21px 22px}.daily-summary{flex-direction:column;justify-content:center;height:100%;min-height:210px;display:flex}.card-title{gap:10px;min-width:0}.card h2{letter-spacing:-.035em;font-size:1.07rem;font-weight:670;line-height:1.3}.section-icon{border-radius:9px;width:32px;height:32px}.daily-body{justify-content:space-between;align-items:center;gap:14px;margin:17px 0 0;display:flex}.progress-ring{--diameter:clamp(84px, 7vw, 107px);width:var(--diameter);height:var(--diameter);border-radius:50%;flex-shrink:0;place-items:center;display:grid}.progress-ring>div{background:var(--surface);border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:calc(100% - 15px);height:calc(100% - 15px);display:flex}.progress-ring strong{letter-spacing:-.055em;font-size:1.47rem;font-weight:730;line-height:1.15}.progress-ring small{color:var(--quiet);margin-top:3px;font-size:.72rem}.daily-body dl{flex:1;gap:8px;font-size:.8rem;display:grid}.daily-body dl>div{justify-content:space-between;gap:8px;display:flex}.daily-body dt{color:var(--muted);align-items:center;gap:7px;display:flex}.daily-body dd{font-variant-numeric:tabular-nums;font-weight:650}.dot{border-radius:50%;flex:none;width:8px;height:8px;display:inline-block}.dot-success{background:var(--primary)}.dot-blank{background:#bdb9ca}.dot-episode{background:#dc7952}.dot-skip{background:#858293}.dot-rest{background:#47a297}.card-head{justify-content:space-between;gap:12px}.habit-card>.card-head{border-bottom:1px solid var(--line);padding:18px 22px}.small-select,select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%23757585' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;padding-right:30px!important}.small-select{border:1px solid var(--line);background-color:var(--surface);max-width:100%;min-height:34px;color:var(--muted);border-radius:8px;padding:5px 10px;font-size:.81rem;font-weight:540}.filter-all{flex-shrink:0;width:68px}.habit-list{padding:0 22px}.habit-row{justify-content:space-between;align-items:center;gap:10px;min-height:70px;padding:13px 0;display:flex}.habit-row+.habit-row{border-top:1px solid var(--line)}.habit-identity{align-items:center;gap:13px;min-width:0;display:flex}.habit-identity>span:last-child{min-width:0}.habit-identity strong{letter-spacing:-.025em;overflow-wrap:anywhere;font-size:.95rem;font-weight:630;display:block}.habit-identity:hover strong,.matrix-habit:hover{color:var(--accent-ink)}.habit-identity small{color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px;margin-top:3px;font-size:.77rem;display:flex}.habit-icon{width:43px;height:43px;color:var(--habit);background:var(--habit-bg);border-radius:12px;flex:none;place-items:center;display:inline-grid}.habit-icon-small{border-radius:8px;width:29px;height:29px}.color-violet{--habit:#8359c7;--habit-bg:#eee7fc}.color-orange{--habit:#ae622c;--habit-bg:#fff0df}.color-blue{--habit:#4d75cb;--habit-bg:#e8effe}.color-rose{--habit:#bd5879;--habit-bg:#fce8ef}.color-green{--habit:#378863;--habit-bg:#e1f3e9}.color-teal{--habit:#267e86;--habit-bg:#dff3f2}[data-theme=dark] .habit-icon{background:var(--habit)}@supports (color:color-mix(in lab,red,red)){[data-theme=dark] .habit-icon{background:color-mix(in srgb,var(--habit) 28%,var(--surface))}}[data-theme=dark] .habit-icon{color:var(--habit)}@supports (color:color-mix(in lab,red,red)){[data-theme=dark] .habit-icon{color:color-mix(in srgb,var(--habit) 36%,white)}}.mark-add{color:var(--muted);white-space:nowrap;border-style:dashed}.status-pill{white-space:nowrap;border-radius:7px;justify-content:center;align-items:center;gap:5px;min-height:30px;padding:5px 9px;font-size:.76rem;font-weight:600;display:inline-flex}.list-footer{border-top:1px solid var(--line);padding:8px 14px}.list-footer a{color:var(--accent-ink)}.muted,.empty-note{color:var(--muted)}.empty-note{padding:23px 6px;font-size:.9rem}.week-card{align-self:start}.chart-period{margin-top:10px;font-size:.8rem}.week-number{align-items:baseline;gap:8px;margin:16px 0 15px;display:flex}.week-number strong{letter-spacing:-.06em;font-size:1.9rem;font-weight:720;line-height:1}.week-number span,.chart-footer{color:var(--muted);font-size:.76rem}.week-chart{isolation:isolate;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;display:grid;position:relative}.chart-lines{z-index:-1;align-content:space-between;display:grid;position:absolute;inset:0 0 24px}.chart-lines i{border-top:1px dashed var(--line)}.week-chart button{flex-direction:column;align-items:center;gap:8px;display:flex}.bar-well{justify-content:center;align-items:flex-end;width:100%;height:90px;display:flex}.bar{background:#c4afea;border-radius:4px 4px 0 0;width:65%;max-width:22px;min-height:0}.week-chart button:hover .bar,.is-today .bar{background:var(--primary)}.week-label{color:var(--muted);font-size:.75rem}.is-today .week-label{color:var(--accent-ink);font-weight:700}.chart-footer{border-top:1px solid var(--line);gap:7px;margin-top:14px;padding-top:13px}.chart-footer .dot{width:7px;height:7px}.tone-gain-1{color:#593c88;background:#eee9fa}.tone-gain-2{color:#493172;background:#ddd0f4}.tone-gain-3{color:#382058;background:#c5adeb}.tone-gain-4{color:#fff;background:#8761c3}.tone-gain-5{color:#fff;background:#604299}.tone-risk-1{color:#8a491a;background:#ffedd2}.tone-risk-2{color:#753610;background:#ffd5ab}.tone-risk-3{color:#632816;background:#f4ae87}.tone-risk-4{color:#250b04;background:#ce6a50}.tone-risk-5{color:#fff;background:#a63840}.tone-abstained{color:#17583b;background:#c7ebd8}.tone-skipped{color:#4b4857;background:#dcdbe3}.tone-empty{background:var(--surface);color:var(--muted);box-shadow:inset 0 0 0 1px var(--line)}.tone-rest{color:#315d61;background:#e2f1f0}.tone-paused{color:#685474;background:#ece7ef}.tone-future{background:var(--subtle);color:var(--quiet)}.tone-off{background:repeating-linear-gradient(135deg,var(--subtle) 0 3px,var(--line) 3px 4px);color:var(--muted)}.tone-before{background:var(--bg);color:var(--quiet)}.month-controls,.month-switch,.tracker-controls,.matrix-habit,.legend-items,.legend-items>span,.cal-mark,.calendar-footer,.habit-meta,.history-row,.mark-intro,.day-summary-line,.settings-body h3,.dialog-head,.dialog-actions{align-items:center;display:flex}.month-controls,.tracker-controls{justify-content:space-between;gap:12px}.month-switch{gap:3px}.month-switch h2{text-align:center;min-width:138px;font-size:1.04rem}.month-switch .button-icon{width:34px;min-width:34px;height:36px;min-height:36px}.tracker-controls,.calendar-card>.month-controls{padding:16px 18px}.tracker-controls .month-controls{gap:12px}.matrix-scroll{border-block:1px solid var(--line);scrollbar-color:var(--line) transparent;max-height:65vh;position:relative;overflow:auto}.matrix{border-collapse:separate;border-spacing:0;table-layout:fixed;font-variant-numeric:tabular-nums;width:100%}.matrix tr>*{text-align:center;width:30px;min-width:30px;padding:4px 1px}.matrix th{background:var(--surface);font-weight:580}.matrix thead th{z-index:1;background:var(--subtle);color:var(--muted);font-size:.77rem;position:sticky;top:0}.matrix thead th[aria-current=date]{color:var(--accent-ink);background:var(--soft)}.matrix th small,.matrix th b{display:block}.matrix th small{font-size:.68rem}.matrix tr>:first-child{z-index:2;text-align:left;border-right:1px solid var(--line);width:160px;min-width:160px;max-width:160px;padding:10px 12px;position:sticky;left:0}.matrix thead tr>:first-child{z-index:3}.matrix tbody tr+tr>*{border-top:1px solid var(--line)}.matrix-habit{gap:8px;min-height:36px;font-size:.81rem;line-height:1.25}.matrix-habit span:last-child{overflow-wrap:anywhere}.matrix-cell,.legend-cell,.option-badge{font-variant-numeric:tabular-nums;place-items:center;font-weight:650;display:inline-grid}.matrix-cell{border-radius:5px;width:100%;max-width:40px;height:34px;font-size:.84rem}.matrix-cell:enabled:hover,.cal-cell:enabled:hover{outline:2px solid var(--primary);outline-offset:-2px}.current-column{background:var(--soft)}.legend{color:var(--muted);padding:15px 20px;font-size:.83rem}.legend summary,.optional-field summary{width:fit-content;font-weight:550}.legend-items{flex-wrap:wrap;gap:10px 18px;margin-top:12px}.legend-items>span{gap:6px}.legend-cell{border-radius:5px;width:24px;height:24px}.calendar-card{overflow:hidden}.calendar-weekdays,.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.calendar-weekdays{background:var(--subtle);border-block:1px solid var(--line);color:var(--muted);font-size:.79rem}.calendar-weekdays span{padding:9px 14px}.cal-cell{border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-align:left;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:8px;min-height:87px;padding:10px 13px;font-size:.86rem;display:flex;overflow:hidden}.cal-cell:nth-child(7n){border-right:0}.cal-cell.outside,.cal-future{color:var(--quiet);background:var(--subtle)}.cal-cell.outside{color:var(--quiet);padding-top:14px}.cal-number{border-radius:50%;place-items:center;width:26px;height:26px;font-weight:550;display:grid}.cal-today{background:var(--soft)}.cal-today .cal-number{color:#fff;background:#7150ba}.cal-aggregate{width:min(100%,75px);color:var(--muted);gap:4px;font-size:.75rem;display:grid}.cal-aggregate i,.cal-aggregate em{background:var(--track);border-radius:4px;height:4px;display:block}.cal-aggregate em{background:var(--primary)}.cal-mark{border-radius:5px;gap:5px;max-width:100%;padding:3px 6px;font-size:.8rem;font-weight:600}.cal-mark small{text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;font-weight:480;overflow:hidden}.calendar-footer{color:var(--muted);gap:7px;padding:15px 20px;font-size:.84rem}.habit-meta{flex-wrap:wrap;gap:9px;margin:-5px 0 15px}.habit-meta>span,.habit-meta>strong{background:var(--surface);border:1px solid var(--line);color:var(--muted);border-radius:8px;align-items:center;gap:6px;padding:5px 9px;font-size:.82rem;display:inline-flex}.habit-description{color:var(--muted);overflow-wrap:anywhere;margin:-5px 0 19px;font-size:.9rem}.history-card{margin-top:20px;padding:19px 22px}.history-card>.card-title{margin-bottom:13px}.history-row{text-align:left;border-top:1px solid var(--line);justify-content:space-between;gap:12px;width:100%;padding:11px 0;font-size:.85rem}.history-row>span:last-child{text-align:right;max-width:65%}.history-row small{color:var(--muted);overflow-wrap:anywhere;display:block}.history-card>.button{margin-top:10px}.dialog-overlay{z-index:10;background:#19132566;position:fixed;inset:0}.dialog-panel{z-index:11;overscroll-behavior:contain;background:var(--surface);border:1px solid var(--line);border-radius:18px;width:min(520px,100% - 28px);max-height:90dvh;position:fixed;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 20px 70px #1711252b}.editor-dialog{width:min(580px,100% - 28px)}.dialog-head{border-bottom:1px solid var(--line);justify-content:space-between;gap:12px;padding:18px 22px}.dialog-head h2{letter-spacing:-.04em;overflow-wrap:anywhere;font-size:1.24rem;font-weight:680;line-height:1.25}.dialog-head p{color:var(--muted);margin-top:5px;font-size:.85rem}.dialog-head .button-icon{flex-shrink:0}.dialog-actions{background:var(--surface);border-top:1px solid var(--line);z-index:1;justify-content:space-between;gap:10px;padding:12px 22px;position:sticky;bottom:0}.form-steps{border-bottom:1px solid var(--line);gap:18px;padding:0 22px;display:flex}.form-steps>*{min-height:42px;color:var(--muted);border-bottom:2px solid #0000;align-items:center;font-size:.83rem;font-weight:600;display:inline-flex}.form-steps .active{color:var(--accent-ink);border-color:var(--primary)}.form-body,.settings-body{gap:17px;padding:20px 22px;display:grid}.field,legend,.settings-body h3{font-size:.86rem;font-weight:600}.field{display:block}.field input,.field select,.field textarea,.level-field input{border:1px solid var(--line);background-color:var(--surface);color:var(--ink);border-radius:8px;width:100%;min-height:41px;margin-top:6px;padding:9px 11px;font-size:.9rem;font-weight:440;display:block}.field textarea{resize:vertical}.field-hint,.field small,.level-field small,.mark-intro span,.option-xp{color:var(--muted);font-size:.77rem;font-weight:450}.field small{margin-left:3px}.field-hint{margin-top:7px}.type-options,.number-choices,.weekday-choices,.icon-choices,.color-choices{flex-wrap:wrap;gap:6px;margin-top:7px;display:flex}.type-options>button,.number-choices button,.weekday-choices button,.icon-choices button{border:1px solid var(--line);min-height:40px;color:var(--muted);background:var(--surface);border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:7px 10px;font-size:.83rem;font-weight:560;display:inline-flex}.type-options>button{flex:1}.type-options>button[aria-pressed=true],.number-choices button[aria-pressed=true],.weekday-choices button[aria-pressed=true],.icon-choices button[aria-pressed=true]{border-color:var(--primary);color:var(--accent-ink);background:var(--soft)}.type-options>button:disabled[aria-pressed=false]{opacity:.55}.number-choices button{flex:1}.weekday-choices button{flex:1;padding-inline:5px}.icon-choices button{width:36px;min-height:36px;padding:5px}.color-choices{gap:8px}.color-choices button{border:2px solid #0000;border-radius:50%;place-items:center;width:35px;height:35px;display:grid}.color-choices button[aria-pressed=true]{border-color:var(--habit)}.color-choices button span{color:#fff;background:var(--habit);border-radius:50%;place-items:center;width:25px;height:25px;display:grid}.optional-field{color:var(--muted);font-size:.83rem}.level-fields{gap:9px;display:grid}.level-field{background:var(--subtle);border:1px solid var(--line);border-radius:10px;padding:11px 12px}.level-field-head{justify-content:space-between;font-size:.8rem;display:flex}.level-field input{min-height:36px;padding:7px 9px;font-size:.84rem}.mark-body,.day-list{padding:17px 22px}.mark-intro{gap:8px;margin-bottom:13px}.mark-intro strong{font-size:.87rem;font-weight:600}.mark-intro span:last-child{margin-left:auto}.mark-options{gap:6px;margin-top:15px;display:grid}.mark-options button{border:1px solid var(--line);text-align:left;border-radius:9px;align-items:center;gap:10px;min-height:48px;padding:10px;display:flex}.mark-options button:hover,.mark-options button[aria-pressed=true]{background:var(--soft);border-color:var(--primary)}.mark-options button:disabled{opacity:.65}.option-badge{border-radius:7px;flex:none;width:31px;height:31px}.mark-options strong{overflow-wrap:anywhere;font-size:.88rem;font-weight:590;display:block}.mark-options small:not(.option-xp){color:var(--muted);overflow-wrap:anywhere;font-size:.77rem;display:block}.option-xp{white-space:nowrap;margin-left:auto}.error{color:#af354b;font-size:.85rem}[data-theme=dark] .error{color:#ff9fab}.dialog-error{margin:15px 20px}.settings-body h3{gap:6px;margin-bottom:8px}.settings-body p{color:var(--muted);font-size:.88rem;line-height:1.6}.reset-button{margin-top:13px}.day-summary-line{border-bottom:1px solid var(--line);color:var(--muted);flex-wrap:wrap;gap:8px 13px;padding:13px 22px;font-size:.79rem}.day-summary-line span{gap:5px}.day-list{padding-block:0}.toast{pointer-events:none;z-index:15;white-space:normal;text-align:center;align-items:center;gap:8px;max-width:90vw;font-size:.86rem;font-weight:550;display:flex;position:fixed;bottom:20px;left:50%;transform:translate(-50%)}.toast.visible{background:var(--ink);color:var(--surface);box-shadow:var(--shadow);border-radius:10px;padding:11px 17px}.loading{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:100dvh;padding:24px;display:flex}@media(min-width:1650px){.matrix tr>*{width:auto}.matrix tr>:first-child{width:180px}}@media(max-width:1180px)and (min-width:901px){:root{--side:194px}.sidebar{padding-inline:11px}.dashboard-grid{grid-template-columns:minmax(0,1.7fr) minmax(245px,1fr);gap:15px}.daily-summary,.week-card{padding:17px}.hero-copy{padding:21px}}@media(max-width:900px)and (min-width:701px){:root{--side:70px}.sidebar{align-items:center;padding:20px 9px 13px}.sidebar>.brand{margin:0 0 26px}.sidebar .brand span,.side-nav a span,.settings-link span,.profile>div,.sidebar-habits{display:none}.side-nav a,.settings-link{justify-content:center;width:48px;height:46px;padding:0}.side-footer{width:100%}.profile{justify-content:center;padding:14px 0 0}.dashboard-grid{grid-template-columns:minmax(0,1.65fr) minmax(215px,1fr);gap:14px}.daily-summary,.week-card{padding:14px}.daily-body{gap:8px}.daily-body dl{font-size:.75rem}.progress-ring{--diameter:76px}.progress-ring strong{font-size:1.25rem}.hero-copy{width:70%;padding:18px}.habit-card>.card-head,.habit-list{padding-inline:15px}.card-head{gap:5px}.card-title{gap:7px}.card h2{font-size:1rem}}@media(min-width:701px)and (max-width:1100px){.matrix tr>*{width:42px}.matrix-cell{height:40px}.cal-mark small{display:none}}@media(max-width:700px){:root{--side:0px;--rad:14px}.sidebar,.breadcrumbs{display:none}.mobile-brand{display:flex}.topbar{height:56px;padding:0 17px}.mobile-brand .brand{gap:8px;font-size:1.28rem}.mobile-brand img{width:30px;height:30px}.toolbar-end{gap:5px}.main-page{padding:22px 15px calc(88px + env(safe-area-inset-bottom))}.page-heading{flex-wrap:wrap;align-items:flex-start;gap:10px;margin-bottom:17px}.page-heading h1{font-size:1.7rem}.page-subtitle{gap:5px;margin-top:5px;font-size:.79rem}.page-heading>.button{min-height:40px;padding:8px 10px;font-size:.8rem}.page-heading>.button svg{width:16px}.dashboard-grid{grid-template-columns:1fr;gap:13px}.hero{min-height:183px}.hero-copy{width:66%;padding:19px}.hero-copy h2{font-size:2rem}.hero-label{font-size:.71rem}.hero-meter{margin-top:13px}.daily-summary{grid-row:3;min-height:auto}.daily-summary,.week-card{padding:17px 18px}.daily-body{justify-content:flex-start}.daily-body dl{max-width:210px}.progress-ring{--diameter:84px}.habit-card>.card-head{padding:13px 14px}.card h2{font-size:1rem}.card-title{gap:7px}.section-icon{width:29px;height:29px}.habit-list{padding:0 14px}.habit-row{gap:7px;min-height:68px;padding:11px 0}.habit-identity{gap:9px}.habit-identity strong{font-size:.86rem}.habit-identity small{gap:4px;font-size:.75rem}.habit-icon{border-radius:9px;width:36px;height:36px}.habit-icon-small{width:26px;height:26px}.status-pill{font-size:.75rem}.week-card{grid-row:4}.bottom-nav{padding:5px 5px calc(5px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line);z-index:5;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:0;right:0}.bottom-nav>*{min-height:46px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:.72rem;display:flex}.bottom-nav .active{color:var(--accent-ink);font-weight:680}.tracker-controls,.calendar-card>.month-controls{padding:9px 10px}.tracker-controls{flex-direction:column;align-items:flex-start;gap:4px}.tracker-controls .month-controls{width:100%}.tracker-controls>.small-select{margin:0 0 4px 5px}.month-switch h2{min-width:121px;font-size:.92rem}.matrix tr>*{width:44px;min-width:44px}.matrix tr>:first-child{width:119px;min-width:119px;max-width:119px;padding:7px}.matrix-habit{gap:5px;font-size:.76rem}.matrix-habit .habit-icon{display:none}.matrix-cell{max-width:none;height:44px}.legend,.calendar-footer{padding:13px;font-size:.77rem}.cal-cell{gap:4px;min-height:64px;padding:4px 5px}.cal-number{width:23px;height:23px}.calendar-weekdays span{padding:8px 5px;font-size:.75rem}.cal-mark{min-height:19px;padding:2px 6px}.cal-mark small{display:none}.cal-aggregate b{font-size:.72rem}.cal-cell.outside{padding:8px}.dialog-panel,.editor-dialog{border-radius:14px;width:calc(100% - 16px);max-height:94dvh}.dialog-head{padding:12px 14px}.dialog-head h2{font-size:1.08rem}.dialog-actions{padding:10px 14px}.form-body,.settings-body,.mark-body{padding:15px}.form-steps{padding:0 15px}.field input,.field select,.field textarea,.level-field input{font-size:1rem}.form-body{gap:14px}.color-choices button,.icon-choices button{min-width:42px;min-height:42px}.day-list{padding-inline:14px}.history-card{padding:14px}.toast{bottom:calc(72px + env(safe-area-inset-bottom))}.button-small,.status-pill,.page-heading .actions .button{min-height:40px}}@media(pointer:coarse){.button,.button-small,.status-pill,.type-options>button,.number-choices button,.weekday-choices button,.month-switch .button-icon,.color-choices button,.icon-choices button{min-height:44px}.button-icon,.color-choices button,.icon-choices button,.month-switch .button-icon{min-width:44px}.matrix tr>*{width:44px}.matrix-cell{max-width:none;height:44px}}@media(max-width:365px){.main-page{padding-inline:11px}.card-head .section-icon{display:none}.page-heading>.button{min-height:36px}.hero-copy{width:73%}.habit-identity small i,.habit-identity small i~*{display:none}.card-head{gap:4px}.type-options>button{font-size:.78rem}}@media(prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.account-page{place-items:center;min-height:100dvh;padding:24px 12px;display:grid}.account-card{gap:18px;width:min(100%,440px);padding:28px;display:grid}.account-card .brand{width:fit-content}.account-card h1{letter-spacing:-.04em;font-size:1.75rem;font-weight:700;line-height:1.2}.account-card form{gap:14px;display:grid}.account-card nav{flex-wrap:wrap;gap:10px 18px;display:flex}.account-card nav a,.account-card footer a{color:var(--accent-ink);font-size:.88rem;text-decoration:underline}.account-card footer{border-top:1px solid var(--line);padding-top:14px}.settings-list{padding:0;list-style:none}.settings-list li{flex-wrap:wrap;align-items:center;gap:.3rem;display:flex}.settings-list li>span{overflow-wrap:anywhere;flex:1}.settings-body .actions{flex-wrap:wrap;align-items:end}.settings-body .field{min-width:0}.sync-warning{text-align:center;background:var(--surface);color:var(--ink);padding:.6rem 1rem}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}
