:root{font-family:Segoe UI,Microsoft YaHei,PingFang SC,sans-serif;color:#494d43;background:#faf8f3;font-synthesis:none;--cream: #faf8f3;--paper: #fffefa;--ink: #494d43;--muted: #96958d;--teal: #48695b;--sage: #dce8de;--peach: #f6d9cc;--pink: #da9c93;--line: #e8e9e0;--sidebar: 218px}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button{border:0}button:disabled{cursor:default;opacity:.5}button,a,input,select,textarea{outline-offset:4px}:focus-visible{outline:2px solid #88a995}a{color:var(--teal);text-decoration:none}a:hover{text-decoration:underline}svg{display:block;max-width:100%}button svg{flex-shrink:0}[hidden]{display:none!important}::selection{color:#2c4e3e;background:#dce8de}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.app-shell{display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);min-height:100vh}.sidebar{position:fixed;z-index:20;inset:0 auto 0 0;width:var(--sidebar);padding:31px 20px 24px;background:#fcfbf7;border-right:1px solid var(--line);display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;padding:0 3px}.brand-cat{width:42px;height:44px;flex-shrink:0;display:grid;place-items:center}.brand-cat svg{width:100%;height:100%}.brand-copy{min-width:0}.brand-copy strong,.brand-copy b{display:block;font-size:19px;letter-spacing:2px;font-weight:650;color:#4c6657}.brand-copy span,.brand-copy small{display:block;font-size:9px;color:#9c9d8e;letter-spacing:.6px;margin-top:7px;white-space:nowrap}.nav-list{display:grid;gap:9px;margin-top:45px}.nav-item{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:46px;padding:11px 18px;border-radius:13px;text-align:left;font-size:13px;color:#8a8f80;background:transparent;transition:color .16s,background .16s}.nav-item:hover{color:var(--teal);background:#f0f2e9}.nav-item.active{color:var(--teal);background:#e7eee3;font-weight:600}.nav-item.active:before{position:absolute;content:"";width:3px;height:16px;border-radius:3px;left:0;background:#7c9b7d}.icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;line-height:1}.icon svg{width:21px;height:21px;stroke-width:1.7}.sidebar-bottom{margin-top:auto;padding:30px 9px 0}.sidebar-note{padding:17px 13px;border-radius:19px;background:#f4efe4;color:#929780;margin-bottom:20px;text-align:center}.sidebar-note>:is(svg,.cat-illustration){width:88px;height:70px;margin:0 auto 8px}.sidebar-note p{font-size:11px;line-height:1.9;margin:0}.demo-pill{display:inline-flex;align-items:center;gap:7px;background:#f0eee5;color:#8d8f7a;padding:6px 9px;border-radius:7px;font-size:10px;line-height:1.3}.demo-pill:before{content:"";width:5px;height:5px;background:#b2b99b;border-radius:50%}.sidebar-bottom .button{width:100%;margin-top:11px;padding:0 10px;font-size:11px}.sidebar-caption{font-size:9px;color:#b1b2a6;line-height:1.8;margin:11px 0 0}.workspace{grid-column:2;min-width:0}.topbar{height:72px;padding:0 36px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #eeeee5}.breadcrumb{display:flex;align-items:center;gap:10px;color:#9c9d91;font-size:11px}.breadcrumb strong{color:#757e6b;font-weight:500}.breadcrumb .icon svg{width:15px;height:15px}.topbar-right{display:flex;align-items:center;gap:15px;font-size:11px;color:#979b8b}.topbar-right time{white-space:nowrap}.mode-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid #e5e8dd;border-radius:8px;font-size:10px;color:#87957d;background:#fffdf8;white-space:nowrap}.mode-chip:before{content:"";width:5px;height:5px;border-radius:50%;background:#9ab58e}.page{width:100%;max-width:1192px;margin:0 auto;padding:27px 36px 38px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:21px}.heading-copy{min-width:0}.eyebrow{color:#9a9f8e;font-size:10px;letter-spacing:1.1px;line-height:1.7}.page-heading h1{font-size:27px;line-height:1.35;letter-spacing:1px;font-weight:600;margin:4px 0 0;color:#475445}.page-heading p{color:#979d8d;font-size:12px;line-height:1.8;margin:7px 0 0}.heading-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.button{min-height:39px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 16px;border:1px solid transparent;border-radius:12px;background:#edf0e6;color:var(--teal);font-size:12px;font-weight:500;line-height:1.5;white-space:nowrap;transition:transform .15s,background .15s,border-color .15s}.button:hover{transform:translateY(-1px)}.button:active{transform:translateY(0)}.button svg{width:16px;height:16px}.btn-primary{background:var(--teal);color:#fffdf7;border-color:var(--teal);box-shadow:0 4px 10px #48695b0d}.btn-primary:hover{background:#3e5f50;border-color:#3e5f50}.btn-secondary{background:#fffef9;color:#72816a;border-color:#dfe5d7}.btn-secondary:hover{background:#f1f4e9;border-color:#c3d1ba}.btn-ghost{background:transparent;color:#929d83;padding:5px 7px;min-height:30px}.btn-small{font-size:10px;min-height:29px;padding:6px 10px;border-radius:9px}.button[aria-pressed=true],.chip[aria-pressed=true]{background:#e6eee2;color:var(--teal);border-color:#b8cbae}.text-link{display:inline-flex;align-items:center;gap:6px;border:0;padding:0;background:none;font-size:11px;color:#879a7b;line-height:1.8}.text-link:hover{color:var(--teal)}.welcome-card{display:grid;grid-template-columns:minmax(0,1fr) 290px;align-items:center;gap:16px;min-height:179px;margin-bottom:21px;padding:22px 28px;border:1px solid #d9e4d5;border-radius:26px;background:#e2ecdf;overflow:hidden;position:relative}.welcome-copy{position:relative;z-index:1}.welcome-copy .eyebrow{color:#8a9a7d;font-size:9px;letter-spacing:1.4px}.welcome-copy h2{font-size:25px;line-height:1.5;letter-spacing:1px;font-weight:600;color:#4e6c54;margin:8px 0}.welcome-copy p{font-size:12px;line-height:1.9;color:#84967a;margin:0;max-width:390px}.welcome-art{height:145px;margin:-8px -10px -10px 0;min-width:0}.welcome-art svg{width:100%;height:100%}.streak-pill{display:inline-flex;align-items:center;gap:6px;color:#849779;font-size:10px;margin-top:13px}.streak-pill svg{width:15px;height:15px;color:#b69c77}.streak-pill strong{font-weight:600;color:#657f5f}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr) minmax(0,.92fr);gap:18px;margin-bottom:21px}.card{min-width:0;background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:21px;box-shadow:0 4px 16px #52644102}.card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.card-head h2,.card-head h3,.section-title{display:flex;align-items:center;gap:8px;font-size:13px;line-height:1.5;font-weight:600;color:#66735b;margin:0}.card-head h2 .icon svg,.card-head h3 .icon svg,.section-title .icon svg{width:17px;height:17px;color:#96aa87}.card-head>span,.card-head>small{font-size:10px;color:#a0a393;white-space:nowrap}.weight-card,.trend-card,.companion-card{min-height:172px}.stat-value{display:inline-block;font-size:38px;line-height:1.15;font-weight:600;color:#4c604b;letter-spacing:-1.5px;font-variant-numeric:tabular-nums}.stat-unit{margin-left:6px;font-size:13px;font-weight:400;color:#a0a592;letter-spacing:0}.stat-meta{font-size:10px;line-height:1.8;color:#a0a391;margin:10px 0 0}.stat-meta strong{color:#839775;font-weight:500}.stat-change,.weight-change{display:inline-flex;align-items:center;gap:3px;margin-left:8px;padding:4px 6px;border-radius:6px;font-size:9px;background:#eef3e6;color:#8b9e77;white-space:nowrap;letter-spacing:0}.stat-change svg,.weight-change svg{width:10px;height:10px}.goal-row{display:flex;align-items:center;justify-content:space-between;gap:9px;color:#9ca28d;font-size:9px;margin-top:15px}.goal-row button{background:none;padding:0;color:#99a98b;font-size:9px}.progress-track,.affection-bar{background:#f0f1e7;border-radius:6px;overflow:hidden;height:6px;margin-top:7px}.progress-track>i,.progress-track>span,.affection-bar>i,.affection-bar>span{display:block;height:100%;background:#bccdac;border-radius:inherit;transition:width .35s}.affection-bar{background:#f7eae2}.affection-bar>i,.affection-bar>span{background:#e3b3a3}.chart{width:100%;height:78px;min-width:0;margin-top:7px}.chart svg{width:100%;height:100%;overflow:visible}.chart-caption,.chart-legend{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;color:#b3b4a5;font-size:8px;font-variant-numeric:tabular-nums}.chart-legend{justify-content:flex-start;font-size:10px}.chart-legend i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#b0c5a6;margin-right:5px}.companion-body{display:flex;align-items:center;justify-content:space-between;gap:8px}.companion-art{width:91px;height:78px;flex-shrink:0}.companion-art>:is(svg,.cat-illustration){width:100%;height:100%}.companion-copy h3{font-size:15px;margin:0 0 7px;color:#7f8069;font-weight:600}.companion-copy p{font-size:10px;line-height:1.8;margin:0;color:#a6a18e}.companion-level{display:inline-flex;align-items:center;gap:5px;font-size:9px;color:#b89e7e;background:#fbf3e6;padding:4px 6px;border-radius:5px}.companion-footer{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#b4a68e;margin-top:9px}.section-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:18px}.habit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.habit-item{display:flex;align-items:center;gap:10px;min-height:65px;padding:11px 12px;text-align:left;border:1px solid #ebece3;border-radius:15px;background:#fffefa;transition:border-color .16s,background .16s}.habit-item:hover{background:#f9fbf2;border-color:#cddac2}.habit-item.done,.habit-item[aria-pressed=true]{background:#f0f5e9;border-color:#cddfc2}.habit-icon{width:32px;height:34px;display:grid;place-items:center;border-radius:10px;background:#edf1e4;color:#9cab80;flex-shrink:0}.habit-icon svg{width:21px;height:21px}.habit-item:nth-child(2) .habit-icon{background:#f8efe4;color:#c4ac87}.habit-item:nth-child(3) .habit-icon{background:#f9eae4;color:#cea799}.habit-item:nth-child(4) .habit-icon{background:#efebf5;color:#b2a2be}.habit-copy{display:block;flex:1;min-width:0}.habit-copy strong,.habit-copy b{display:block;font-size:12px;font-weight:500;color:#7a826d;line-height:1.5}.habit-copy small,.habit-copy span{display:block;font-size:9px;color:#b3b5a7;line-height:1.6;margin-top:3px}.habit-check{width:19px;height:19px;display:grid;place-items:center;border:1px solid #e0e5d6;border-radius:50%;color:transparent;font-size:11px;flex-shrink:0}.habit-item.done .habit-check,.habit-item[aria-pressed=true] .habit-check{color:#fffdf8;border-color:#a4bc91;background:#a4bc91}.habit-check svg{width:12px;height:12px}.habits-footer{margin-top:13px;display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#b0b19f}.room-preview{width:100%;height:135px;min-width:0;margin:-4px 0 0;border-radius:13px;overflow:hidden;background:#f7f3e9}.room-preview svg{width:100%;height:100%}.room-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:11px;font-size:9px;color:#a9aa95}.room-footer .text-link{font-size:9px}.page-footnote{display:flex;align-items:center;justify-content:center;gap:7px;font-size:9px;color:#b6b8a8;line-height:1.8;margin:21px 0 0}.page-footnote .icon svg{width:12px;height:12px}.segmented{display:inline-flex;align-items:center;gap:3px;background:#f0f1e9;padding:4px;border-radius:10px}.segmented button{padding:6px 12px;font-size:10px;border-radius:7px;color:#929b83;background:transparent;min-height:28px}.segmented button.active,.segmented button[aria-selected=true],.segmented button[aria-pressed=true]{background:#fffef9;color:#607a54;box-shadow:0 1px 4px #5d724310}.chip{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;border:1px solid #e5e8db;background:#fffdf8;color:#909a80;font-size:10px;padding:6px 10px}.chip.active,.chip.selected{background:#e8efdf;color:#6a835b;border-color:#c5d3b8}.muted{color:var(--muted)}.fine-print{font-size:10px;color:#a5a996;line-height:1.9}.records-layout{display:grid;grid-template-columns:285px minmax(0,1fr);gap:20px;align-items:start}.entries-list{display:grid}.entry-row{display:grid;grid-template-columns:93px 92px minmax(0,1fr) 28px;gap:13px;align-items:center;padding:17px 0;border-bottom:1px solid #eeeee5;min-width:0}.entry-row:last-child{border-bottom:0}.entry-date{font-size:11px;line-height:1.7;color:#9da38e;font-variant-numeric:tabular-nums}.entry-date strong{display:block;font-size:12px;color:#78856a;font-weight:500}.entry-weight{font-size:19px;color:#6d805f;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}.entry-weight small{margin-left:3px;font-size:10px;color:#a6ae98}.entry-note{color:#a2a68f;font-size:11px;line-height:1.8;overflow-wrap:anywhere;min-width:0}.entry-mood{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:#aaa48f}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;background:transparent;color:#b0b6a1;border-radius:8px}.icon-button:hover{color:#a6786c;background:#faeee6}.icon-button svg{width:15px;height:15px}.list-toolbar,.trend-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:19px;flex-wrap:wrap}.chart-large{width:100%;height:280px;margin:22px 0 8px}.chart-large svg{width:100%;height:100%;overflow:visible}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:20px}.metric-card{padding:22px}.metric-card .stat-value{font-size:30px}.metric-card h3{color:#a0a58f;font-size:11px;font-weight:400;margin:0 0 13px}.insight{padding:17px 20px;display:flex;align-items:flex-start;gap:10px;border-radius:16px;color:#8c9d7c;background:#eff3e7;font-size:11px;line-height:1.9;margin-top:19px}.insight .icon svg{width:18px;height:18px;margin-top:2px}.insight p{margin:0}.room-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:20px;align-items:start}.room-scene{position:relative;min-width:0;border-radius:24px;overflow:hidden;background:#f2eddf;border:1px solid #ebe4d5;padding:12px}.room-scene>svg{width:100%;height:auto;max-height:410px}.room-caption{font-size:11px;line-height:1.9;color:#a8a186;margin:15px 4px 0}.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:19px}.shop-item{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:9px;padding:15px 11px 13px;border:1px solid #e9e8dc;border-radius:17px;background:#fffdf7;color:#8d947c;font-size:11px;text-align:center;position:relative;transition:background .15s,border-color .15s}.shop-item:hover:enabled{background:#f7f9ee;border-color:#bdcda8}.shop-item.selected,.shop-item.owned,.shop-item[aria-pressed=true]{border-color:#c3d2ae;background:#f2f6e9}.shop-item.owned:after{content:"✓";position:absolute;top:8px;right:10px;font-size:11px;color:#91a77a}.shop-thumb{width:100%;height:73px;display:grid;place-items:center}.shop-thumb svg{width:100%;height:100%}.shop-item>svg{width:75px;height:65px}.shop-item strong{color:#858d72;font-weight:500;font-size:11px}.shop-item small{font-size:10px;color:#b8ab8a}.coin-balance{display:inline-flex;align-items:center;gap:6px;font-variant-numeric:tabular-nums;color:#bba26a;font-size:12px}.coin-balance .icon svg{width:17px;height:17px}.weekly-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.weekly-card{min-width:0;border:1px solid var(--line);border-radius:22px;background:var(--paper);padding:24px}.weekly-card h3{margin:0 0 16px;font-size:12px;color:#8c997f;font-weight:500}.weekly-card .stat-value{font-size:32px}.weekly-note{margin-top:21px;padding:25px 28px;border-radius:23px;background:#e8efdf;color:#819375}.weekly-note h2{margin:0 0 10px;font-size:18px;color:#6b825b;font-weight:500}.weekly-note p{font-size:12px;line-height:2;margin:0}.week-bars{display:grid;grid-template-columns:repeat(7,1fr);gap:13px;align-items:end;height:160px;margin-top:28px}.week-day{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:10px;height:100%;font-size:10px;color:#a0ab91}.week-day i,.week-day .bar{display:block;width:min(32px,75%);border-radius:7px 7px 4px 4px;background:#cbd9b7;min-height:4px}.week-day.today i,.week-day.today .bar{background:#8daa76}.empty-state{padding:42px 20px;text-align:center;border:1px dashed #e3e6d5;border-radius:18px;color:#a4ab93;background:#fbfcf5}.empty-state>:is(svg,.cat-illustration){width:110px;height:92px;margin:0 auto 17px}.empty-state h2,.empty-state h3{margin:0 0 10px;font-size:17px;color:#879974;font-weight:500}.empty-state p{margin:0;font-size:12px;line-height:1.9}.empty-state .button{margin-top:18px}dialog{border:0;padding:0;background:transparent;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);color:var(--ink);overflow-y:auto}dialog::backdrop{background:#3d4a3b45;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.dialog-card{width:min(480px,calc(100vw - 32px));padding:29px;border-radius:25px;background:#fffdf8;border:1px solid #e8eadb;box-shadow:0 20px 85px #3e52392e}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:23px}.dialog-head h2{margin:0;font-size:23px;letter-spacing:.5px;color:#58714f;font-weight:600;line-height:1.4}.dialog-head p{margin:7px 0 0;font-size:11px;line-height:1.8;color:#9aa58b}.dialog-head .icon-button{flex-shrink:0}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:18px;min-width:0}.field>label,.field>span:first-child,.field>legend{font-size:11px;color:#8b997b;line-height:1.6}.field input,.field select,.field textarea{width:100%;min-width:0;background:#fbfcf5;border:1px solid #e1e6d5;padding:11px 12px;border-radius:11px;color:#5e7553;font-size:13px;line-height:1.6}.field input::placeholder,.field textarea::placeholder{color:#b6bea6}.field textarea{min-height:82px;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{border-color:#a2bc8e}.field small{color:#a8b098;font-size:10px;line-height:1.7}.field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.field-error{color:#ba8b7a;font-size:11px;line-height:1.7;margin:0 0 12px}.input-unit{position:relative}.input-unit input{padding-right:40px}.input-unit>span{position:absolute;top:50%;right:13px;transform:translateY(-50%);color:#a9b296;font-size:11px}.mood-picker{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.mood-picker button{display:flex;flex-direction:column;align-items:center;gap:7px;padding:10px 5px;min-height:62px;background:#fbfaf2;border:1px solid #ecebde;border-radius:12px;color:#b3ac8f;font-size:21px}.mood-picker button small{font-size:9px;color:#aaa78e}.mood-picker button.selected,.mood-picker button[aria-pressed=true]{background:#faeee2;border-color:#dfbea6}.dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:26px}.dialog-actions .button{min-width:88px}.settings-section{margin:22px 0;border-top:1px solid var(--line);padding-top:20px}.settings-section h3{font-size:12px;color:#859776;font-weight:500;margin:0 0 13px}.settings-options{display:flex;flex-wrap:wrap;gap:8px}.toast{position:fixed;z-index:60;bottom:28px;left:calc(50% + var(--sidebar) / 2);transform:translate(-50%,10px);max-width:calc(100vw - 35px);padding:13px 20px;background:#587258;color:#fffdf4;font-size:12px;line-height:1.7;border-radius:14px;box-shadow:0 8px 25px #4b634026;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.toast.show{opacity:1;transform:translate(-50%);pointer-events:auto}.cat-illustration.photo-cat{display:block;min-width:0;line-height:0;isolation:isolate;animation:photo-cat-appear .2s ease-out both}.photo-cat-image{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center bottom;-webkit-user-select:none;user-select:none;pointer-events:none;transform-origin:center bottom;animation:photo-cat-breathe 5.2s ease-in-out infinite}.photo-room-cat{animation:photo-cat-appear .2s ease-out both}.photo-room-cat .cat-breathe{transform-box:fill-box;transform-origin:center bottom;animation:photo-cat-breathe 5.2s ease-in-out infinite}.room-cat-image{pointer-events:none}.cat-state-sleepy .photo-cat-image,.photo-room-cat.cat-state-sleepy .cat-breathe{animation-duration:6.8s}.cat-state-wave .photo-cat-image,.photo-room-cat.cat-state-wave .cat-breathe{animation-duration:4.8s}@keyframes photo-cat-breathe{0%,to{transform:scale(1)}50%{transform:scale(1.008,1.012)}}@keyframes photo-cat-appear{0%{opacity:.6}to{opacity:1}}@media (min-width: 1550px){.page{padding-top:34px}.welcome-card{min-height:197px}.welcome-art{height:162px}.dashboard-grid,.section-grid{gap:21px}}@media (max-width: 1100px) and (min-width: 761px){:root{--sidebar: 192px}.sidebar{padding-left:14px;padding-right:14px}.brand-copy strong,.brand-copy b{font-size:17px}.brand-copy small,.brand-copy span{font-size:8px;letter-spacing:0}.topbar,.page{padding-left:27px;padding-right:27px}.welcome-card{grid-template-columns:minmax(0,1fr) 235px;padding-left:23px;padding-right:23px}.welcome-copy h2{font-size:22px}.welcome-copy p{font-size:11px}.dashboard-grid{gap:13px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.companion-card{grid-column:1 / -1;min-height:0;display:grid;grid-template-columns:1fr 1.2fr 1fr;align-items:center;gap:20px;padding-top:16px;padding-bottom:16px}.companion-card .card-head{margin:0}.companion-body{justify-content:flex-start}.companion-art{height:58px;width:70px}.section-grid{grid-template-columns:1fr}.room-card .room-preview{height:175px}.room-layout,.records-layout{grid-template-columns:1fr}.shop-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.weekly-grid{gap:13px}.weekly-card{padding:20px}}@media (max-width: 760px){:root{--sidebar: 0px}.app-shell{display:block}.sidebar{position:sticky;top:0;width:100%;height:70px;padding:13px 20px;display:flex;flex-direction:row;align-items:center;background:#fcfbf7f5;border-right:0;border-bottom:1px solid #eeeee3}.brand{gap:9px;padding:0}.brand-cat{width:35px;height:37px}.brand-copy strong,.brand-copy b{font-size:17px;letter-spacing:2px}.brand-copy small,.brand-copy span{font-size:8px;margin-top:5px}.sidebar-bottom{display:none}.nav-list{position:fixed;z-index:30;left:0;right:0;bottom:0;margin:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;background:#fffef9f5;border-top:1px solid #e8ebdc;padding:9px 10px calc(9px + env(safe-area-inset-bottom))}.nav-item{flex-direction:column;justify-content:center;gap:5px;min-width:0;min-height:48px;padding:6px 2px;border-radius:11px;font-size:9px;text-align:center}.nav-item.active:before{display:none}.nav-item .icon svg{width:21px;height:21px}.workspace{width:100%}.topbar{height:48px;padding:0 20px;gap:10px;border-bottom:0}.breadcrumb{font-size:10px;gap:6px}.breadcrumb .icon svg{width:13px;height:13px}.topbar-right{gap:8px;font-size:9px}.mode-chip{font-size:8px;padding:5px 7px;gap:4px}.page{max-width:590px;padding:8px 18px calc(100px + env(safe-area-inset-bottom))}.page-heading{margin-bottom:18px;gap:11px}.page-heading h1{font-size:24px;letter-spacing:.5px}.page-heading p{font-size:10px}.eyebrow{font-size:9px;letter-spacing:.5px}.page-heading .button{min-height:35px;font-size:10px;padding:8px 12px;border-radius:10px}.welcome-card{grid-template-columns:1fr;gap:5px;padding:22px 23px 12px;border-radius:23px;margin-bottom:17px}.welcome-copy h2{font-size:24px;letter-spacing:.5px;margin:8px 0}.welcome-copy p{font-size:11px;max-width:none}.welcome-art{height:155px;margin:-2px -8px -4px}.streak-pill{margin-top:11px;font-size:9px}.dashboard-grid{grid-template-columns:1fr;gap:15px;margin-bottom:17px}.card{padding:20px;border-radius:20px}.weight-card,.trend-card,.companion-card{min-height:0}.card-head{margin-bottom:16px}.card-head h2,.card-head h3,.section-title{font-size:13px}.stat-value{font-size:39px}.stat-meta{font-size:11px}.goal-row{font-size:10px}.chart{height:103px}.chart-caption{font-size:9px}.companion-body{justify-content:flex-start;gap:20px}.companion-art{height:88px;width:102px}.companion-copy h3{font-size:17px}.companion-copy p{font-size:11px}.companion-footer{font-size:10px}.section-grid{grid-template-columns:1fr;gap:17px}.habit-grid{gap:9px}.habit-item{gap:8px;min-height:64px;padding:11px 9px;border-radius:13px}.habit-icon{width:29px;height:32px;border-radius:9px}.habit-icon svg{width:20px;height:20px}.habit-copy strong,.habit-copy b{font-size:11px}.habit-copy small,.habit-copy span{font-size:8px;margin-top:3px}.habit-check{width:17px;height:17px;font-size:10px}.habits-footer{font-size:9px}.room-preview{height:170px}.room-footer{font-size:10px}.page-footnote{font-size:9px;margin-top:22px}.records-layout,.room-layout{grid-template-columns:1fr;gap:17px}.entry-row{grid-template-columns:65px 73px minmax(0,1fr) 24px;gap:8px;padding:17px 0}.entry-date{font-size:9px}.entry-date strong{font-size:10px}.entry-weight{font-size:17px}.entry-weight small{font-size:9px}.entry-note{font-size:10px;line-height:1.7}.entry-mood{font-size:9px}.metric-grid{gap:9px;margin-bottom:17px}.metric-card{padding:16px 12px}.metric-card h3{font-size:10px;line-height:1.7}.metric-card .stat-value{font-size:25px;letter-spacing:-1px}.metric-card .stat-unit{font-size:10px;margin-left:2px}.metric-card .stat-meta{font-size:9px}.chart-large{height:225px}.trend-toolbar,.list-toolbar{gap:12px;margin-bottom:17px}.segmented button{font-size:9px;padding:5px 10px}.insight{font-size:10px;padding:16px}.room-scene{border-radius:20px;padding:8px}.room-scene>svg{max-height:none}.shop-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.shop-item{padding:12px 7px;border-radius:14px;font-size:10px;gap:8px}.shop-thumb{height:64px}.shop-item>svg{width:64px;height:58px}.shop-item strong{font-size:10px}.shop-item small{font-size:9px}.room-caption{font-size:10px}.weekly-grid{gap:10px}.weekly-card{padding:17px 12px;border-radius:18px}.weekly-card h3{font-size:10px;line-height:1.8}.weekly-card .stat-value{font-size:27px}.weekly-card .stat-unit{font-size:10px;margin-left:3px}.weekly-note{padding:22px;border-radius:20px}.weekly-note h2{font-size:16px}.weekly-note p{font-size:11px}.week-bars{gap:8px;height:140px}.week-day{font-size:9px}dialog{max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px)}.dialog-card{width:min(480px,calc(100vw - 28px));padding:25px 22px;border-radius:23px}.dialog-head{margin-bottom:21px}.dialog-head h2{font-size:22px}.dialog-head p{font-size:10px}.field-row{gap:12px}.field input,.field select,.field textarea{font-size:14px}.field>label,.field>span:first-child{font-size:11px}.dialog-actions{margin-top:23px}.mood-picker{gap:6px}.mood-picker button{padding:10px 3px;font-size:20px}.mood-picker button small{font-size:8px}.toast{left:50%;bottom:calc(88px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 30px);font-size:11px;padding:12px 16px;border-radius:12px}}@media (max-width: 370px){.page{padding-left:14px;padding-right:14px}.topbar{padding-left:16px;padding-right:16px}.topbar-right time{display:none}.card{padding:17px}.welcome-card{padding-left:20px;padding-right:20px}.welcome-copy h2{font-size:21px}.habit-grid{grid-template-columns:1fr}.habit-copy strong,.habit-copy b{font-size:12px}.habit-copy small,.habit-copy span{font-size:9px}.entry-row{grid-template-columns:57px 68px minmax(0,1fr) 21px;gap:6px}.metric-grid,.weekly-grid{gap:7px}.weekly-card,.metric-card{padding:16px 9px}.weekly-card .stat-value{font-size:24px}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}svg.icon{display:inline-block;width:20px;height:20px;max-width:20px;flex-shrink:0;vertical-align:middle}.brand:hover{text-decoration:none}.brand-copy>b{font-size:18px;line-height:1.25;letter-spacing:2px}.brand-copy>b>span{font-size:6px;line-height:1.5;letter-spacing:1.9px;color:#aeb5a1;margin-top:4px}.brand-copy>small{color:#a3aa95;font-size:9px;letter-spacing:0;line-height:1.6;margin-top:6px}.nav-item>svg.icon{width:20px;height:20px}.nav-item>i{margin-left:auto;width:5px;height:5px;border-radius:50%;background:transparent}.nav-item.active>i{background:#9ab587}.sidebar-note{margin-top:auto;margin-bottom:0;padding:14px 12px;background:#f5f1e6}.sidebar-note>.sidebar-kitty{width:83px;height:70px;margin:-3px auto 4px}.sidebar-note>span:not(.cat-illustration){display:block;font-size:6px;letter-spacing:1.4px;color:#b9b49a;margin-top:10px}.sidebar-bottom{margin-top:0;padding-top:20px}.sidebar-bottom>p{font-size:9px;line-height:1.8;color:#abb19e;margin:9px 0 10px}.demo-pill:before{display:none}.demo-pill>span{width:5px;height:5px;border-radius:50%;background:#aebb98}.demo-pill>b{font-weight:500;font-size:9px}.mode-switch{width:100%;display:flex;align-items:center;justify-content:space-between;gap:7px;padding:10px 11px;color:#7c9270;background:#e9efdf;border-radius:10px;font-size:10px;line-height:1.6}.mode-switch svg.icon{width:13px;height:13px}.mode-switch:hover{background:#dfe9d4}.settings-link{display:flex;justify-content:center;align-items:center;width:100%;gap:6px;padding:12px 0 0;background:none;color:#a2ae94;font-size:9px}.settings-link svg.icon{width:13px;height:13px}.settings-link:hover{color:#69895a}.topbar-date{color:#9da58f;font-size:10px}.topbar-settings{width:29px;height:29px;display:grid;place-items:center;background:#f0f1e7;border-radius:9px;color:#a0ac8e}.topbar-settings svg.icon{width:16px;height:16px}.topbar-settings:hover{background:#e4ecda;color:#6e8b5f}.storage-alert{margin:18px 36px 0;padding:12px 15px;border:1px solid #e8d8b9;border-radius:12px;background:#fbf3e3;color:#a18b65;font-size:11px;line-height:1.8}.breadcrumb b{font-weight:500;color:#809273}.breadcrumb>span{color:#c9cabb;margin:0 4px}.page{padding-top:24px;padding-bottom:26px}.page-heading{margin-bottom:18px}.page-heading h1{font-size:26px}.page-heading p{font-size:11px;line-height:1.8;margin-top:6px}.welcome-card{grid-template-columns:minmax(0,1fr) 330px;padding:20px 29px;min-height:181px;margin-bottom:18px;background:#e1ecdf}.welcome-tag{display:inline-flex;align-items:center;gap:6px;color:#8aa37d;font-size:9px;line-height:1.7}.welcome-tag svg.icon{width:13px;height:13px}.welcome-copy h2{font-size:28px;font-weight:500;line-height:1.4;margin:8px 0;letter-spacing:1px}.welcome-copy h2 br{display:none}.welcome-copy h2>span{color:#9aaf84}.welcome-copy p{font-size:11px;line-height:1.8}.welcome-footnote{display:flex;align-items:center;gap:6px;color:#9bae8b;font-size:8px;line-height:1.7;margin-top:13px}.soft-dot{width:4px;height:4px;background:#9cb28c;border-radius:50%}.welcome-art{height:157px;margin:-9px -7px -9px 0}.dashboard-grid{margin-bottom:18px}.dashboard-grid>.card{padding:18px 19px}.dashboard-grid .card-head{margin-bottom:12px}.card-head>span:first-child{display:flex;align-items:center;gap:6px;font-size:11px;line-height:1.7;font-weight:500;color:#849375}.card-head>span:first-child>svg.icon{width:15px;height:15px;color:#a5b592}.tiny-label{font-size:8px!important;color:#b0b6a0!important;font-weight:400!important}.stat-meta{font-size:9px;color:#a7b099;line-height:1.8;margin-top:8px}.goal-line{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #eef0e5;padding-top:11px;margin-top:13px;font-size:8px;color:#b2baa5;line-height:1.7}.goal-line b{display:block;font-size:10px;font-weight:400;color:#94a381;margin-top:2px}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0;border:0;background:none;font-size:10px;line-height:1.8;color:#99ab87}.text-button svg.icon{width:12px;height:12px}.text-button:hover{color:#5f8350}.goal-line .text-button{font-size:8px;gap:3px}.goal-line .text-button svg.icon{width:10px;height:10px}.subtle-arrow{display:grid;place-items:center;width:24px;height:24px;padding:0;color:#b4bda5;background:none;border-radius:7px}.subtle-arrow svg.icon{width:14px;height:14px}.subtle-arrow:hover{color:#648550;background:#f0f5e6}.chart-compact{height:58px;margin-top:5px}.trend-card .stat-value{font-size:34px}.trend-card .stat-meta{margin-top:3px}.companion-main{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;margin:-4px -4px 0}.companion-main>:is(svg,.cat-illustration){width:88px;height:78px;flex-shrink:0}.companion-main>div{min-width:0}.companion-main b{font-size:12px;font-weight:500;color:#a1a17d}.companion-main p{font-size:9px;color:#b6b298;line-height:1.8;margin:7px 0 0}.reward-pill{font-size:7px!important;color:#bbaa80!important;background:#fbf6e9;border-radius:6px;padding:4px 6px}.companion-progress{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;color:#b6b89f;font-size:8px;line-height:1.6;margin-top:13px}.companion-progress>b{font-size:8px;font-weight:400;color:#a6b18f}.companion-progress>i{grid-column:1 / -1;display:block;height:5px;background:#f1f0e2;border-radius:4px;overflow:hidden}.companion-progress em{display:block;height:100%;border-radius:4px;background:#d1b994;transition:width .2s}.section-title{display:flex;align-items:center;justify-content:space-between;gap:13px;margin-bottom:14px}.section-title h2{margin:0;font-size:15px;line-height:1.6;color:#738465;font-weight:500}.section-title>div>.eyebrow{display:block;font-size:7px;letter-spacing:1.25px;line-height:1.5;margin-bottom:5px;color:#b1b79f}.section-title>svg.icon{color:#b3baa2;width:19px;height:19px}.section-description{font-size:10px;line-height:1.8;color:#aab39b;font-weight:400;margin:6px 0 0}.handwritten{font-size:9px;font-weight:400;color:#c2b59c;transform:rotate(-4deg);white-space:nowrap}.section-grid>.card{padding:18px 20px}.habit-item{min-height:59px;padding:10px 11px;gap:9px}.habit-grid{gap:10px}.habit-check svg.icon{width:12px;height:12px}.habit-icon svg.icon{width:20px;height:20px}.habit-check>i{width:4px;height:4px;border-radius:50%;background:#e2e7d8}.card-footnote{display:flex;align-items:center;gap:5px;font-size:8px;line-height:1.8;color:#b7bba6;font-weight:400;margin:12px 0 0}.card-footnote svg.icon{width:10px;height:10px;color:#c6b99f}.room-preview{height:127px;padding:0;border:0;display:block;background:#f8f4e9}.room-preview:hover{background:#f4efdf}.room-link{font-size:8px;width:100%;justify-content:space-between;margin-top:10px}.room-link svg.icon{width:11px;height:11px}.recent-card{margin-top:21px}.recent-card .section-title{margin-bottom:1px}.count-label{display:inline-block;font-size:9px;margin-left:6px;padding:3px 6px;line-height:1.6;border-radius:6px;background:#f0f4e6;color:#a1b08c;font-weight:400;vertical-align:middle}.entry-row{grid-template-columns:39px minmax(0,1fr) 103px 60px;gap:16px;padding:15px 0}.entry-date{display:flex;flex-direction:column;align-items:center;justify-content:center;width:37px;height:43px;border-radius:10px;background:#f4f4e9;line-height:1.4}.entry-date>b{font-size:15px;color:#9aab86;font-weight:500}.entry-date>small{font-size:8px;color:#b7c1a5;margin-top:2px}.entry-detail{min-width:0}.entry-detail>b{display:flex;align-items:center;gap:8px;color:#899a79;font-size:10px;font-weight:500;line-height:1.8;flex-wrap:wrap}.entry-detail>p{color:#b0b69e;font-size:9px;line-height:1.8;margin:4px 0 0;overflow-wrap:anywhere}.mood-tag{color:#c0b59a;font-size:8px;font-weight:400;background:#faf5e9;border-radius:5px;padding:1px 6px}.entry-row>strong{font-size:19px;color:#82966f;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}.entry-row>strong>small{color:#b3bea1;font-size:9px;font-weight:400}.entry-actions{display:flex;align-items:center;justify-content:flex-end;gap:3px}.entry-actions .icon-button{width:27px;height:28px}.entry-actions svg.icon{width:13px;height:13px}.privacy-note,.gentle-note,.room-footnote{display:flex;align-items:flex-start;justify-content:center;gap:7px;color:#a8b195;font-size:10px;line-height:1.9;margin:21px 0 0}.privacy-note svg.icon,.gentle-note svg.icon,.room-footnote svg.icon{width:13px;height:13px;margin-top:3px;color:#b1bd9d}.app-footer{max-width:1192px;margin:0 auto;padding:0 36px 23px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:8px;color:#bdc2ae}.app-footer>span{display:flex;align-items:center;gap:5px}.app-footer svg.icon{width:10px;height:10px}.empty-chart{min-height:163px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #e5ebd9;background:#fafcf4;border-radius:16px;color:#bec7ad;padding:20px}.empty-chart>svg.icon{width:30px;height:30px;margin-bottom:5px;color:#bccca9}.empty-chart>p{font-size:10px;line-height:1.8;text-align:center}.empty-chart .text-button{font-size:9px}.trend-card .empty-chart{min-height:91px;padding:10px;margin-top:5px}.trend-card .empty-chart>svg.icon{width:21px;height:21px;margin-bottom:0}.trend-card .empty-chart p{font-size:8px;margin:7px 0}.trend-card .empty-chart .text-button{font-size:8px}.full-trend-card .chart{height:287px;margin:26px 0 0}.full-trend-card .chart text{fill:#a8b49a;font-size:10px;font-family:inherit}.full-trend-card .empty-chart{min-height:272px;margin-top:22px}.chart-point{cursor:pointer}.chart-point:focus-visible{outline:none}.chart-point:hover circle:first-child,.chart-point:focus-visible circle:first-child{stroke:#d9aaa0;stroke-width:4px;fill:#fff4e6}.chart-legend{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-start;gap:18px;font-size:9px;color:#a5b197;margin-top:10px}.chart-legend>span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.chart-legend i{display:inline-block;width:19px;height:0;margin:0;border-radius:0;background:none;border-top:2px solid #829c73}.chart-legend i.legend-dashed{border-color:#d6aa9e;border-top-style:dashed}.chart-legend>p{font-size:9px;color:#b5bea6;margin:0 0 0 auto;line-height:1.8}.trend-stat-grid{margin-top:21px}.weekly-grid>.card h3{color:#9aa98a;font-size:11px;font-weight:400;margin:10px 0 14px}.weekly-grid>.card .stat-value{font-size:33px}.gentle-note{justify-content:flex-start;background:#f0f4e7;border-radius:15px;padding:16px 19px}.room-stage{padding:22px}.room-stage-top,.room-stage-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px}.room-stage-top{margin-bottom:15px;flex-wrap:wrap}.room-status{display:flex;align-items:center;gap:6px;color:#98ac88;font-size:10px}.room-status i{width:5px;height:5px;border-radius:50%;background:#a5bd94}.room-stage-top .button{min-height:32px;font-size:10px;padding:7px 12px;border-radius:10px}.room-cat-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;min-width:0;max-width:100%;margin-left:auto}.cat-state-controls.segmented{flex-wrap:wrap;max-width:100%;gap:3px}.cat-state-controls.segmented .chip{min-width:44px;min-height:34px;padding:7px 9px;font-size:10px;line-height:1.5;white-space:nowrap}.room-cat-actions>.button{min-height:36px;margin-left:auto}.room-scene{border:0;border-radius:18px;padding:0;background:#f7f2e4}.room-scene>svg{width:100%;max-height:352px}.room-stage-bottom{font-size:9px;color:#b3b99f;margin-top:15px}.room-stage-bottom>span{display:inline-flex;align-items:center;gap:5px}.room-stage-bottom svg.icon{width:12px;height:12px;color:#c3bd98}.shop-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:29px}.shop-heading h2{margin:6px 0;color:#7c906c;font-size:20px;font-weight:500}.shop-heading p{color:#abb69a;font-size:10px;line-height:1.8;margin:0}.soft-badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:#b4a178;border:1px solid #e8e3d0;border-radius:9px;padding:8px 11px;background:#fcf8ed;white-space:nowrap}.soft-badge svg.icon{width:15px;height:15px}.shop-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}.shop-item{padding:10px 10px 12px;align-items:stretch;gap:8px;border-radius:18px}.shop-art{position:relative;width:100%;height:112px;background:#eff2e5;border-radius:12px;display:grid;place-items:center}.shop-art>svg{width:84px;height:88px}.shop-art.tone-1{background:linen}.shop-art.tone-2{background:#f6f0dc}.shop-art.tone-3{background:#f3ede6}.equipped-badge{position:absolute;display:inline-flex;align-items:center;gap:3px;bottom:6px;right:5px;padding:3px 5px;border-radius:6px;background:#fffdf6df;color:#a8b890;font-size:7px}.equipped-badge svg.icon{width:10px;height:10px}.shop-item.equipped{border-color:#c8d7b5;background:#f8fbef}.shop-item h3{margin:3px 0 0;color:#889c75;font-size:11px;font-weight:500}.shop-item p{margin:0;min-height:30px;font-size:8px;color:#b2baa2;line-height:1.8}.shop-item .button{width:100%;font-size:8px;padding:7px 4px;min-height:31px;border-radius:9px}.shop-item .button svg.icon{width:12px;height:12px}.room-footnote{font-size:9px}.weekly-letter{display:grid;grid-template-columns:210px minmax(0,1fr);gap:27px;align-items:center;padding:24px 34px;border:1px solid #e1e8d3;border-radius:25px;background:#edf1e2;margin-bottom:21px}.weekly-letter>div>:is(svg,.cat-illustration){width:170px;height:170px;margin:0 auto}.weekly-letter h2{color:#70875e;font-size:25px;line-height:1.5;font-weight:500;margin:8px 0 12px}.weekly-letter p{color:#a1ae8d;font-size:11px;line-height:1.9;margin:0}.weekly-letter b{color:#8ca075;font-weight:600}.weekly-letter .eyebrow{font-size:8px;letter-spacing:1.3px;color:#b1bc9a}.stat-icon{display:inline-grid;place-items:center;width:32px;height:32px;color:#a8bb90;background:#f1f5e7;border-radius:10px}.stat-icon svg.icon{width:17px;height:17px}.weekly-grid>.card:nth-child(2) .stat-icon{color:#c8ad8a;background:#fcf4e8}.weekly-grid>.card:nth-child(3) .stat-icon{color:#c7ab95;background:#faf0e5}.weekly-habits{margin-top:21px}.weekly-habits .week-bars{height:155px;max-width:600px;margin:22px auto 0;gap:22px}.week-bar{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:9px;height:100%;font-variant-numeric:tabular-nums}.week-bar>b{color:#aebc98;font-size:10px;font-weight:400}.week-bar>div{width:30px;flex:1;min-height:0;max-height:112px;display:flex;align-items:flex-end;background:#f0f3e5;border-radius:6px;overflow:hidden}.week-bar>div>i{width:100%;display:block;min-height:2px;border-radius:6px;background:#c7d6ae}.week-bar.current>div{background:#eaf0db}.week-bar.current>div>i{background:#9fb883}.week-bar>span{color:#b1bea0;font-size:9px;line-height:1.7}.week-bar.current>span{color:#88a470}.week-bar.future{opacity:.5}.weekly-habits .card-footnote{justify-content:center;margin-top:19px}.small-dialog{width:min(420px,calc(100vw - 32px))}.dialog-intro{font-size:11px;line-height:1.9;color:#a0ad8d;margin:-6px 0 24px}label.field{display:block;font-size:11px;line-height:1.8;color:#92a27f}label.field>input,label.field>select,label.field>textarea,label.field>.input-unit{display:block;margin-top:8px}label.field>span,label.field>small{display:inline;font-size:inherit;color:inherit}label.field>small{font-size:9px;color:#bdc4ad;margin-left:5px}.weight-field input{font-size:25px;line-height:1.5;padding:12px 15px;color:#829b6c}.weight-field .input-unit>span{color:#aebc9a;font-size:13px;right:16px}fieldset.mood-picker{border:0;padding:0;margin:0 0 20px;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.mood-picker legend{font-size:11px;line-height:1.8;color:#92a27f;padding:0;margin-bottom:10px}.mood-picker>label{position:relative;cursor:pointer;min-width:0}.mood-picker input{position:absolute;width:1px;height:1px;margin:0;opacity:0}.mood-picker label>span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:66px;padding:10px 4px;border:1px solid #e9eddc;border-radius:12px;background:#fafbf3;color:#acb59b;font-size:9px}.mood-picker label>span>i{font-style:normal;font-size:23px;line-height:1.2;color:#b6c49e}.mood-picker input:checked+span{background:#fbefe4;border-color:#e0c8b0;color:#baa187}.mood-picker input:checked+span>i{color:#c6ac8b}.mood-picker input:focus-visible+span{outline:2px solid #9aaf83;outline-offset:3px}.form-note{font-size:9px;color:#b6c0a4;line-height:1.9;margin:-2px 0 15px}.form-error{font-size:11px;color:#c09582;line-height:1.8;margin:0 0 15px}.submit-entry{width:100%;margin-top:2px}.small-dialog form>.button{width:100%;margin-top:5px}.settings-note{display:flex;align-items:flex-start;gap:10px;padding:14px;border-radius:12px;background:#f4f6ec;color:#a7b693}.settings-note>svg.icon{width:16px;height:16px;margin-top:3px}.settings-note p{font-size:10px;line-height:1.9;margin:0}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid #edf0e4;color:#95a683;font-size:11px}.settings-row b{color:#95a683;font-size:11px;font-weight:500}.settings-row p{color:#b4c0a1;font-size:9px;line-height:1.8;margin:7px 0 0}#settings-content>.button{width:100%;margin-top:11px}#settings-content>.fine-print{color:#b6c0a4;font-size:9px;margin:17px 0 0}.toast{display:flex;align-items:center;gap:8px}.toast>svg.icon{width:15px;height:15px}.toast>button{border:1px solid #ffffff40;background:#ffffff12;color:#fffdf4;padding:3px 7px;border-radius:6px;font-size:10px;margin-left:5px}@media (max-height: 740px) and (min-width: 761px){.sidebar-note{display:none}.sidebar-bottom{margin-top:auto}}@media (max-width: 1100px) and (min-width: 761px){.brand-copy>b{font-size:16px}.brand-copy>b>span{font-size:5px;letter-spacing:1.5px}.brand-copy>small{font-size:8px}.welcome-card{grid-template-columns:minmax(0,1fr) 235px;padding-left:23px;padding-right:23px}.welcome-copy h2{font-size:24px}.welcome-art{height:148px}.companion-card{display:block}.companion-main{justify-content:flex-start;gap:18px}.companion-progress{margin-top:8px}.shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.weekly-letter{grid-template-columns:150px minmax(0,1fr);gap:16px;padding:23px}.weekly-letter>div>:is(svg,.cat-illustration){width:140px;height:140px}.weekly-letter h2{font-size:23px}}@media (max-width: 760px){.brand-copy>b>span{display:none}.brand-copy>b{font-size:17px}.brand-copy>small{font-size:8px;margin-top:5px}.sidebar-note{display:none}.nav-item>i{display:none}.nav-item>svg.icon{width:20px;height:20px}.topbar-date{font-size:8px}.topbar-settings{width:25px;height:25px;border-radius:7px}.topbar-settings svg.icon{width:14px;height:14px}.topbar-right{gap:7px}.storage-alert{margin:10px 18px 6px;padding:11px 13px;border-radius:10px;font-size:10px}.breadcrumb{gap:5px;font-size:9px}.breadcrumb>span{margin:0 1px}.mode-chip{font-size:7px;padding:4px 6px}.page{padding-top:8px;padding-bottom:25px}.page-heading{margin-bottom:17px}.page-heading h1{font-size:23px;line-height:1.5}.page-heading p{font-size:10px;line-height:1.8;max-width:230px;margin-top:5px}.welcome-card{grid-template-columns:1fr;padding:22px 23px 13px;gap:6px}.welcome-copy h2{font-size:27px;line-height:1.45}.welcome-copy h2 br{display:initial}.welcome-copy p{font-size:11px}.welcome-tag{font-size:9px}.welcome-art{height:162px;margin:-8px -5px -2px}.welcome-footnote{font-size:8px;margin-top:12px}.dashboard-grid>.card{padding:20px}.card-head>span:first-child{font-size:12px;gap:8px}.card-head>span:first-child>svg.icon{width:16px;height:16px}.tiny-label{font-size:9px!important}.stat-meta{font-size:10px}.goal-line{padding-top:12px;margin-top:14px;font-size:10px}.goal-line b{font-size:11px}.goal-line .text-button{font-size:9px}.chart-compact{height:84px}.trend-card .stat-value{font-size:37px}.trend-card .stat-meta{margin-top:5px}.reward-pill{font-size:9px!important;padding:5px 8px}.companion-main{justify-content:flex-start;gap:18px;margin-top:3px}.companion-main>:is(svg,.cat-illustration){width:100px;height:90px}.companion-main b{font-size:14px}.companion-main p{font-size:10px}.companion-progress{font-size:10px;margin-top:14px}.companion-progress>b{font-size:10px}.section-grid>.card{padding:20px}.section-title h2{font-size:14px}.section-title>div>.eyebrow{font-size:6px;letter-spacing:1px}.handwritten{font-size:8px}.habit-item{padding:10px 8px;gap:8px}.card-footnote{font-size:8px;align-items:flex-start;line-height:1.9}.card-footnote svg.icon{margin-top:3px}.room-preview{height:168px}.room-link{font-size:9px;line-height:1.8;margin-top:13px}.entry-row{grid-template-columns:32px minmax(0,1fr) 68px 25px;gap:10px;padding:15px 0}.entry-date{width:31px;height:38px;border-radius:9px}.entry-date>b{font-size:14px}.entry-date>small{font-size:7px}.entry-detail>b{font-size:9px;gap:5px}.entry-detail>p{font-size:8px;line-height:1.9;margin-top:4px}.mood-tag{font-size:7px;padding:1px 4px}.entry-row>strong{font-size:17px}.entry-row>strong>small{font-size:8px}.entry-actions{flex-direction:column;gap:0}.entry-actions .icon-button{width:24px;height:24px}.entry-actions svg.icon{width:12px;height:12px}.records-card .section-title{align-items:flex-start}.records-card .section-title>.button{padding:7px 9px;min-height:32px;font-size:9px}.records-card .section-description{font-size:9px}.count-label{font-size:8px;margin-left:3px}.full-trend-card{padding:18px}.full-trend-card .section-title{align-items:flex-start;flex-wrap:wrap;gap:13px}.full-trend-card .chart{height:224px;margin-top:20px}.full-trend-card .chart text{font-size:13px}.chart-legend{font-size:8px;gap:11px}.chart-legend>p{width:100%;font-size:9px;margin:3px 0 0}.trend-stat-grid{margin-top:17px}.weekly-grid>.card{padding:16px 12px}.weekly-grid>.card h3{font-size:10px;line-height:1.8;margin:9px 0 11px}.weekly-grid>.card .stat-value{font-size:26px;letter-spacing:-1px}.weekly-grid>.card .stat-unit{font-size:9px;margin-left:3px}.weekly-grid .stat-meta{font-size:8px;line-height:1.9}.gentle-note{padding:15px;font-size:9px;line-height:1.9}.room-stage{padding:16px}.room-stage-top{gap:9px;margin-bottom:13px}.room-status{font-size:8px;gap:4px;line-height:1.8}.room-stage-top .button{font-size:9px;min-height:30px;padding:6px 9px;gap:5px}.room-stage-top .button svg.icon{width:13px;height:13px}.room-scene{border-radius:13px}.room-scene>svg{max-height:none}.room-stage-bottom{font-size:7px;gap:8px;margin-top:12px}.room-stage-bottom svg.icon{width:10px;height:10px}.shop-heading{margin-top:25px;gap:12px;align-items:flex-start}.shop-heading h2{font-size:18px}.shop-heading p{font-size:9px;max-width:230px}.soft-badge{font-size:8px;padding:7px;gap:4px}.soft-badge svg.icon{width:12px;height:12px}.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:17px}.shop-item{padding:10px;gap:8px}.shop-art{height:110px}.shop-art>svg{width:80px;height:84px}.shop-item h3{font-size:11px;margin-top:3px}.shop-item p{font-size:9px;min-height:32px}.shop-item .button{font-size:9px;min-height:32px;padding:7px 5px}.equipped-badge{font-size:7px}.room-footnote{font-size:8px;line-height:1.9}.weekly-letter{grid-template-columns:85px minmax(0,1fr);gap:15px;padding:21px 18px;border-radius:21px;margin-bottom:17px}.weekly-letter>div>:is(svg,.cat-illustration){width:87px;height:112px}.weekly-letter h2{font-size:20px;line-height:1.5;margin:8px 0 10px}.weekly-letter p{font-size:9px;line-height:1.9}.weekly-letter p br{display:none}.weekly-letter .eyebrow{font-size:6px;letter-spacing:.4px}.stat-icon{width:27px;height:27px;border-radius:9px}.stat-icon svg.icon{width:15px;height:15px}.weekly-habits{padding:19px;margin-top:17px}.weekly-habits .section-title h2{font-size:12px}.weekly-habits .tiny-label{font-size:7px!important}.weekly-habits .week-bars{height:141px;gap:10px;margin-top:20px}.week-bar>div{width:22px;max-height:100px}.week-bar>b{font-size:9px}.week-bar>span{font-size:8px}.small-dialog{width:min(420px,calc(100vw - 28px))}.dialog-intro{font-size:10px;line-height:1.9;margin-bottom:21px}.dialog-head .eyebrow{font-size:7px;letter-spacing:.5px}.dialog-head h2{font-size:21px;margin-top:5px}.weight-field input{font-size:25px;padding:12px 14px}.mood-picker label>span{min-height:64px;font-size:9px;padding:9px 2px}.mood-picker label>span>i{font-size:22px}.form-note{font-size:8px}.form-error{font-size:10px}.submit-entry{min-height:42px}.app-footer{padding:0 18px calc(94px + env(safe-area-inset-bottom));font-size:7px;gap:10px}.app-footer svg.icon{width:9px;height:9px}.privacy-note{font-size:9px;line-height:1.8}.toast{font-size:10px}.toast>svg.icon{width:13px;height:13px}.toast>button{font-size:9px}}@media (max-width: 370px){.topbar-date{display:none}.page-heading h1{font-size:21px}.welcome-copy h2{font-size:25px}.section-title h2{font-size:13px}.handwritten{display:none}.shop-heading{flex-direction:column;gap:10px}.weekly-letter{grid-template-columns:65px minmax(0,1fr);gap:12px}.weekly-letter>div>:is(svg,.cat-illustration){width:70px;height:95px}.weekly-letter h2{font-size:18px}.entry-row{gap:7px;grid-template-columns:29px minmax(0,1fr) 62px 23px}.entry-detail>p{font-size:8px}}@media (max-width: 760px){.room-cat-actions{width:100%;gap:8px;justify-content:space-between}.cat-state-controls.segmented{flex:1 1 200px;display:grid;grid-template-columns:repeat(4,minmax(44px,1fr));padding:3px}.cat-state-controls.segmented .chip{min-height:44px;padding:8px 6px;font-size:10px}.room-cat-actions>.button{min-height:44px;padding:9px 12px;font-size:10px}}.app-footer{flex-wrap:wrap}.app-footer>a{color:#a5b397;font-size:inherit;white-space:nowrap}.settings-import{border-top:1px solid #edf0e4;margin-top:19px;padding-top:17px}.settings-import h3{font-size:12px;font-weight:500;color:#91a47e;margin:0 0 9px}.settings-import>p{font-size:9px;line-height:1.9;color:#b0bda0;margin:0 0 11px}.settings-import>.button{width:100%;min-height:38px}.settings-import>.form-error{color:#bb937c;margin:12px 0 0}.settings-import>.form-note{margin:10px 0 0}.import-summary{margin:0 0 18px;padding:7px 15px;border:1px solid #e5ecd9;border-radius:14px;background:#f8fbf1}.import-summary>div{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:11px 0;border-bottom:1px solid #e8eeda;font-size:11px;line-height:1.7}.import-summary>div:last-child{border-bottom:0}.import-summary dt{color:#9dae8a}.import-summary dd{color:#7f986b;font-size:12px;margin:0;font-variant-numeric:tabular-nums}.import-warning{padding:13px 14px;border:1px solid #ebdec4;border-radius:12px;background:#fcf6e9;font-size:10px;line-height:1.9;color:#ad9977;margin:0 0 17px}.import-confirm{display:flex;align-items:flex-start;gap:9px;font-size:11px;line-height:1.9;color:#92a67f;cursor:pointer}.import-confirm input{accent-color:#8ba67a;width:16px;height:16px;margin:3px 0 0;flex-shrink:0}#import-error{margin:14px 0 0}#import-dialog .fine-print{font-size:9px;color:#b3c0a0;margin:16px 0 0}#import-dialog .dialog-actions{margin-top:22px}@media (max-width:760px){.settings-import h3{font-size:12px}.settings-import>p{font-size:10px}.settings-import>.button{min-height:42px}.import-summary{padding:6px 13px}.import-summary>div{font-size:10px;padding:10px 0}.import-summary dd{font-size:11px}.import-warning{font-size:10px;padding:12px}.import-confirm{font-size:10px;gap:8px}.import-confirm input{width:17px;height:17px}#import-dialog .dialog-actions>.button{min-height:42px}}
