@charset "UTF-8";
:root{font-family:"Segoe UI","Microsoft YaHei","PingFang SC","Noto Sans CJK SC",sans-serif;color:#26352f;background:#f7f8f3;font-size:14px;font-synthesis:none;--ink:#26352f;--sub:#7c8981;--sage:#618c77;--sage-dark:#456f5e;--soft:#eaf2e8;--line:#e9ede6;--coral:#e6a191;--cream:#f7f8f3;--white:#fff;--shadow:0 16px 38px rgba(56,76,62,.035)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #9fc7ad;outline-offset:2px}button:disabled{opacity:.48;cursor:not-allowed}
svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}h1,h2,h3,p{margin:0}h1{letter-spacing:-1.1px}small{font-size:12px}p{line-height:1.7}.muted{font-size:12px;color:var(--sub)}.app-layout{display:grid;grid-template-columns:236px minmax(0,1fr);min-height:100vh;max-width:1750px;margin:auto;background:#fcfcfa}
.sidebar{position:sticky;top:0;height:100vh;border-right:1px solid #eff0eb;padding:30px 18px 26px;display:flex;flex-direction:column;background:#fff}
.brand{display:flex;align-items:center;gap:10px;padding:0 11px 48px}.brand-mark{width:40px;height:40px;border-radius:15px;background:linear-gradient(140deg,#b7d0b0,#e8f1ce);display:grid;place-items:center;color:#51775a;box-shadow:0 5px 12px #bed4b544;font-size:26px}.brand strong{font-size:24px;letter-spacing:3px;color:#385c4a}.brand small{display:block;color:#a1afa3;margin-top:2px;font-size:11px}.mini-leaf{transform:rotate(-25deg)}
.sidebar-label,.kicker,.overline{font-size:10px;letter-spacing:2.1px;color:#a5afa5;font-weight:700}.sidebar-label{padding:0 20px;margin-bottom:16px;letter-spacing:3px}
.side-nav{display:grid;gap:6px}.nav-link{display:flex;align-items:center;width:100%;border:0;background:transparent;color:#7a897f;padding:13px 15px;gap:14px;border-radius:13px;text-align:left;font-weight:600;transition:background .2s,color .2s}.nav-link svg{width:19px;height:19px}.nav-link:hover{background:#f5f8f3;color:#4d765b}.nav-link.is-active{background:#eaf3ea;color:#406b55}.nav-dot{margin-left:auto;width:6px;height:6px;background:#77aa86;border-radius:50%}.nav-link:not(.is-active) .nav-dot{display:none}
.sidebar-bottom{margin-top:auto}.sidebar-quote{color:#8a9a90;line-height:1.85;background:#f7f9f5;padding:18px;border-radius:17px;margin-bottom:22px;font-size:12px}.sidebar-quote span{font:26px Georgia,serif;color:#a7bdab}.end-quote{float:right}.privacy-hint{font-size:10px;color:#a2afa4;display:flex;gap:9px;align-items:center;padding:17px 16px 0}.privacy-dot{width:7px;height:7px;background:#86b995;border-radius:50%}
.center-wrap{min-width:0}.topbar{height:83px;border-bottom:1px solid #f0f1ed;display:flex;align-items:center;justify-content:space-between;padding:0 37px;gap:12px}.breadcrumb{display:flex;align-items:center;gap:8px;color:#a3aba3;font-size:12px}.breadcrumb strong{color:#3c5144;font-weight:600}.breadcrumb svg{width:14px;height:14px}.top-actions{display:flex;gap:13px;align-items:center}.mode-badge,.helper-tag{border-radius:30px;background:#f1f6ef;color:#66846f;font-size:10px;padding:7px 12px;font-weight:700;white-space:nowrap}.mode-badge.demo{background:#fff0df;color:#a86b43}.small-ghost{border:0;background:none;color:#5e876e;font-size:12px;font-weight:700;white-space:nowrap}.icon-button{border:1px solid #eff1eb;background:#fff;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;color:#7a8a7c}.icon-button svg{width:18px;height:18px}
.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 258px;gap:28px;padding:30px 34px 70px;align-items:start}main{min-width:0}.view{display:none;animation:appear .28s ease}.view.active{display:block}@keyframes appear{from{opacity:.3;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.hero{min-height:270px;border-radius:24px;background:linear-gradient(112deg,#e5eee0 0%,#eff4ea 57%,#f5f6e9 100%);display:flex;justify-content:space-between;overflow:hidden;position:relative;padding:34px 32px}.hero-copy{position:relative;z-index:2;max-width:480px}.eyebrow{font-size:10px;font-weight:700;color:#779383;letter-spacing:2.3px}.sun-icon{color:#e9ad81;font-size:16px;margin-right:7px}.hero h1{font-size:clamp(27px,2.5vw,39px);color:#355641;line-height:1.35;margin:17px 0 9px;letter-spacing:-1.6px}.hero-period{color:#edb08b}.hero p{color:#748978;font-size:12px}.hero-actions{margin-top:27px;display:flex;gap:9px;align-items:center;flex-wrap:wrap}.btn{border:0;display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:12px;padding:11px 16px;font-weight:700;font-size:12px;min-height:40px;transition:transform .15s,background .15s}.btn:hover{transform:translateY(-1px)}.btn svg{width:16px;height:16px}.btn-dark{background:#416c56;color:#fff;box-shadow:0 7px 16px #3d75521e}.btn-dark:hover{background:#315a46}.btn-plain{background:transparent;color:#52725e}.btn-soft{background:#edf4ed;color:#4e755b}.btn-danger{background:#fff1ee;color:#b76f63}
.hero-decoration{position:absolute;right:28px;top:24px;bottom:0;width:210px;display:flex;justify-content:center;align-items:center;pointer-events:none}.sun-disc{width:158px;height:158px;border-radius:50%;background:#d4e6c9;display:grid;place-items:center;box-shadow:0 0 0 20px #d7e8d018,0 0 0 46px #dceaca32}.sun-inner{font-size:78px;color:#f7fbef;font-weight:300}.orb{position:absolute;border-radius:50%}.orb-1{width:31px;height:31px;left:8px;top:46px;background:#f3c5a6}.orb-2{width:16px;height:16px;right:13px;bottom:61px;background:#adcbb8}.hero-caption{position:absolute;bottom:20px;right:6px;font:italic 14px Georgia,serif;color:#8ba78e}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:10px;margin:33px 0 17px}.section-heading h2{font-size:20px;color:#314839;margin-top:7px;letter-spacing:-.5px}.heading-spark{font-size:17px;color:#a5c49e}.secondary-section{margin-top:30px}.section-heading .muted{padding-bottom:4px}.overview-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:17px}.panel{background:#fff;border:1px solid #eff1ec;border-radius:19px;padding:21px;box-shadow:var(--shadow);min-width:0}.card-topline{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px}.overline{letter-spacing:1.3px;font-size:10px;color:#647b69}.dot{display:inline-block;width:7px;height:7px;border-radius:100%;margin-right:6px}.dot.green{background:#87b797}.dot.peach{background:#e7af95}.text-link{border:0;background:none;padding:5px 0;display:flex;align-items:center;gap:4px;font-size:11px;color:#8ea293}.text-link svg{width:13px;height:13px}
.task-mini,.agenda-item{display:flex;align-items:center;gap:11px;padding:12px 0;border-top:1px solid #f3f3ef;min-width:0}.task-mini:first-child,.agenda-item:first-child{border-top:0}.task-mini .task-title,.agenda-item strong{font-size:12px;font-weight:700;line-height:1.45}.task-mini .subline,.agenda-item small{font-size:11px;color:#9aa79e;display:block;margin-top:5px}.task-mini .item-main,.agenda-item .item-main{flex:1;min-width:0}.task-mini .item-main button,.agenda-item .item-main button{background:transparent;border:0;text-align:left;padding:0;color:#344d3d}.mini-check{width:21px;height:21px;border:1.5px solid #cddbd0;border-radius:8px;background:#fff;display:grid;place-items:center;color:#fff}.mini-check.done{background:#80a989;border-color:#80a989}.mini-check svg{width:13px;height:13px}.time-pill,.status-pill{font-size:10px;border-radius:8px;padding:6px 8px;background:#eef4ed;color:#65816b;white-space:nowrap}.time-pill.urgent,.status-pill.urgent,.time-pill.overdue{background:#fff0eb;color:#bb7562}.time-pill.done{background:#e9f3e9;color:#659370}.agenda-time{width:53px;font-weight:700;color:#688373;font-size:11px}.agenda-bar{width:3px;align-self:stretch;border-radius:8px;background:#9ec7ad}.agenda-bar.peach{background:#edbaa6}.agenda-bar.lilac{background:#c4bee7}
.empty-state{text-align:center;padding:25px 8px;color:#a2aea3}.empty-state .empty-art{font-size:28px;margin-bottom:13px}.empty-state strong{display:block;color:#748976;font-size:13px}.empty-state p{font-size:11px;margin:8px auto 0;max-width:260px}
.alert-card{display:flex;align-items:center;gap:12px;background:#fff6ef;border:1px solid #f7e7dd;border-radius:16px;padding:17px 19px;margin-top:17px}.alert-card svg{color:#c88b71}.alert-card .grow{flex:1}.alert-card strong{display:block;font-size:12px;color:#805a46}.alert-card p{font-size:11px;color:#b48e79;margin-top:3px}.alert-card button{border:0;border-radius:9px;padding:8px 10px;color:#a86a4f;background:#f8e4d8;font-size:11px}
.advice-card{display:flex;gap:16px;align-items:flex-start;background:linear-gradient(105deg,#f8faf5,#fff);border:1px solid #eaf0e8;border-radius:19px;padding:22px;box-shadow:var(--shadow)}.advice-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:#e3efdd;color:#688b69;font-size:22px}.advice-body{flex:1}.advice-body .overline{display:block;margin-bottom:6px}.advice-body h3{font-size:15px;color:#395443}.advice-body p{font-size:12px;margin-top:6px;color:#778679}.reason{font-size:11px!important;color:#a0ada1!important}.advice-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.advice-actions button,.link-button{border:0;border-radius:10px;background:#edf4ee;color:#52795e;padding:9px 12px;font-size:11px;font-weight:700}.advice-actions button.secondary{background:#f6f6f3;color:#94a099}.bottom-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-top:19px}.stat-tile{background:#fff;border:1px solid #f0f1eb;border-radius:16px;padding:18px;display:flex;align-items:center;gap:11px}.stat-icon{width:33px;height:33px;display:grid;place-items:center;border-radius:11px;background:#f0f5ed;color:#87a48d;font-size:18px}.stat-tile strong{display:block;font-size:18px;color:#46614e}.stat-tile small{display:block;margin-top:3px;color:#a1aca1}
.right-rail{min-width:0}.rail-date{display:flex;align-items:baseline;justify-content:space-between;padding:4px 2px 21px}.rail-date span{font-size:16px;font-weight:700;color:#4b6954}.rail-date small{color:#a0ada1}.pet-panel{text-align:center;background:linear-gradient(180deg,#f7fbf5 0%,#fff 82%);padding:20px 16px 25px;overflow:hidden}.pet-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.pet-top .overline{font-size:9px}.pet-menu{background:transparent;border:0;color:#91a292;padding:4px}.pet-menu svg{width:16px;height:16px}.pet-figure{height:216px;border:0;background:transparent;position:relative;width:100%;display:grid;place-items:center;margin:0;isolation:isolate}.pet-glow{position:absolute;width:156px;height:156px;border-radius:100%;background:#eaf3e4;z-index:-1;top:23px}.sprout-svg{width:214px;height:214px;overflow:visible;animation:float 4.3s ease-in-out infinite;transition:filter .25s}.pet-shadow{fill:#cbdcc5;opacity:.5}.pet-leaf-left{fill:#a2c6a1;stroke:#719f7a;stroke-width:2}.pet-leaf-right{fill:#86b498;stroke:#719f7a;stroke-width:2}.pet-stem{fill:none;stroke:#639775;stroke-width:6;stroke-linecap:round}.pet-body{fill:#fbf7e9;stroke:#e4eadc;stroke-width:2.5}.pet-belly{fill:#fffdf7;opacity:.8}.pet-blush{fill:#f1bab2;opacity:.65}.pet-eye{fill:none;stroke:#556858;stroke-width:5;stroke-linecap:round}.pet-mouth{fill:none;stroke:#8e857c;stroke-width:3;stroke-linecap:round}.pet-arm{fill:none;stroke:#e4d8c6;stroke-width:6;stroke-linecap:round}.pet-sparkle{fill:#f5c58d;opacity:0;transition:opacity .2s}.pet-question{fill:none;stroke:#93b6a0;stroke-width:4;opacity:0;transition:opacity .2s}.pet-figure[data-state=remind] .pet-sparkle,.pet-figure[data-state=celebrate] .pet-sparkle{opacity:1}.pet-figure[data-state=thinking] .pet-question{opacity:1}.pet-figure[data-state=care] .pet-eye{stroke:#93805f}.pet-figure[data-state=celebrate] .sprout-svg{animation:celebrate .5s ease-in-out 3}.pet-figure[data-state=thinking] .sprout-svg{animation:think 1.2s ease-in-out infinite}.pet-figure[data-state=silent] .sprout-svg{animation:none;filter:grayscale(.15)}.pet-ground{position:absolute;bottom:17px;width:95px;height:7px;border-radius:50%;background:#dbe6d5;z-index:-2}.pet-state-label{display:inline-flex;align-items:center;gap:5px;border-radius:10px;background:#eaf4e9;color:#5d8667;padding:7px 12px;font-size:10px;font-weight:700}.pet-panel h3{font-size:17px;margin:14px 0 8px;color:#3f5c49}.pet-panel p{font-size:11px;color:#9ba99b;min-height:33px}.pet-action{border:0;background:#e9f3e6;color:#537a61;width:100%;border-radius:12px;padding:12px 8px;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:17px;font-size:11px;font-weight:700}.pet-action svg{width:14px;height:14px}
.rail-note{margin-top:21px;border-radius:19px;background:#f3f1e9;padding:22px 20px;color:#63725f}.note-flower{color:#c4ac84;font-size:25px;display:block;margin-bottom:10px}.rail-note strong{font-size:13px}.rail-note p{font-size:11px;color:#98a096;margin:9px 0 15px}.progress-rail{height:6px;background:#e2e7dd;border-radius:10px;overflow:hidden}.progress-rail span{height:100%;background:#8aaf91;display:block}.progress-copy{margin-top:8px;font-size:10px;color:#a1aaa0}
.page-head{padding:11px 0 26px}.page-head .kicker{display:block;margin-bottom:15px}.page-head h1{font-size:clamp(24px,2.6vw,35px);color:#385341}.page-head p{color:#98a49b;font-size:12px;margin:10px 0 21px;max-width:530px}.page-head .btn{margin-right:8px}
.schedule-board{padding:20px}.board-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.board-head h3,.settings-data h3,.review-panel h3{color:#405e49;font-size:16px}.day-tabs{display:none}.week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.day-column{min-width:0;background:#fbfcf9;border:1px solid #f3f5ef;border-radius:13px;padding:11px 6px;min-height:225px}.day-column.today{background:#f0f6ef;border-color:#d9eadb}.day-name{font-size:11px;font-weight:700;color:#84988a;text-align:center;margin-bottom:17px}.schedule-entry{display:block;width:100%;text-align:left;border:0;border-left:3px solid #95b6a1;border-radius:5px;background:#e9f2e8;padding:8px 6px;margin-bottom:6px;color:#50765c}.schedule-entry.activity{background:#fff0e8;border-color:#eab6a0;color:#ae806d}.schedule-entry.has-conflict{box-shadow:0 0 0 1px #dd876d}.schedule-entry strong{font-size:11px;display:block;word-break:break-word;line-height:1.45}.schedule-entry small{display:block;font-size:9px;margin-top:4px;line-height:1.4}.day-blank{text-align:center;color:#bec8bb;font-size:10px;padding-top:25px}.day-detail{margin-top:17px}.conflict-list{margin-top:16px}.conflict-row{padding:13px 15px;background:#fff4ec;border-radius:12px;margin-top:9px;border-left:3px solid #eba18d}.conflict-row strong{font-size:12px;color:#9d735b}.conflict-row p{font-size:11px;color:#ae8a78}.conflict-row button{border:0;background:transparent;color:#9a6b55;font-size:11px;text-decoration:underline;margin:9px 7px 0 0}
.filter-row{display:flex;gap:7px;margin:4px 0 15px}.chip{border:1px solid #e6eee4;background:#fff;padding:9px 16px;border-radius:50px;color:#90a090;font-size:12px}.chip.selected{color:#4b7759;background:#eaf4e9;border-color:#eaf4e9;font-weight:700}.list-panel{padding:4px 18px}.list-item{display:flex;align-items:center;gap:13px;padding:17px 6px;border-bottom:1px solid #f1f2ee}.list-item:last-child{border:0}.list-item .details{flex:1;min-width:0}.list-item strong{display:block;font-size:13px;color:#42594b}.list-item.done .details strong{text-decoration:line-through;color:#a4b0a5}.list-item small{display:block;color:#a1aaa2;margin-top:6px}.row-buttons{display:flex;gap:4px}.row-buttons button{background:transparent;border:0;color:#adbbae;padding:6px}.row-buttons button:hover{color:#587960}.row-buttons svg{width:16px;height:16px}
.goal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.goal-card{padding:21px}.goal-top{display:flex;justify-content:space-between}.goal-icon{background:#eaf2e2;width:42px;height:42px;border-radius:14px;display:grid;place-items:center;font-size:23px}.goal-card h3{font-size:16px;margin:18px 0 7px}.goal-card p{font-size:12px;color:#99a79a;min-height:42px}.goal-footer{display:flex;gap:7px;margin-top:21px;flex-wrap:wrap}.goal-footer button{background:#ecf4eb;border:0;color:#598469;padding:10px 12px;border-radius:10px;font-size:11px;font-weight:700}
.review-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:20px}.review-number{background:#fff;border:1px solid #eef1e9;border-radius:20px;padding:25px}.review-number strong{font-size:36px;color:#63886d}.review-number span{display:block;color:#9faa9e;margin-top:5px;font-size:12px}.review-panel{margin-top:16px}.log-item{padding:13px 0;border-bottom:1px solid #f0f2ec;font-size:12px;display:flex;gap:10px;justify-content:space-between}.log-item:last-child{border:0}.log-item span{color:#a1afa4;font-size:10px}
.settings-list{padding:0 20px;margin-bottom:18px}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 5px;border-bottom:1px solid #eff1ed;cursor:pointer}.toggle-row:last-child{border:0}.toggle-row strong{display:block;color:#445d4b}.toggle-row small{display:block;color:#9ba89d;margin-top:7px;line-height:1.5}.toggle-row input{position:absolute;opacity:0;width:1px;height:1px}.switch{width:43px;height:25px;flex:none;background:#dce4dc;border-radius:30px;position:relative;transition:background .2s}.switch:before{content:"";position:absolute;top:4px;left:4px;width:17px;height:17px;background:#fff;border-radius:100%;box-shadow:0 1px 3px #5269582b;transition:transform .2s}.toggle-row input:checked+.switch{background:#80ac8b}.toggle-row input:checked+.switch:before{transform:translateX(18px)}.toggle-row input:focus-visible+.switch{outline:3px solid #9fc7ad}.settings-data{margin-bottom:18px}.settings-data p,.settings-list+p{font-size:12px;color:#96a297;margin-top:10px}.setting-buttons{display:flex;gap:8px;margin:20px 0;flex-wrap:wrap}.small-note{font-size:10px!important;color:#adb6aa!important}
.pet-recheck{background:none;border:0;color:#94aa98;font-size:10px;margin-top:13px;text-decoration:underline}.pet-popover{display:block;position:fixed;right:28px;bottom:28px;width:min(340px,calc(100vw - 28px));z-index:74;background:#fff;border:1px solid #e5efe5;border-radius:19px;box-shadow:0 25px 65px #2b4a3a27;padding:21px}.pet-popover h3{margin:12px 0 8px}.pet-popover p{font-size:12px;color:#819884}.pet-popover button:not(.popover-close){margin:12px 8px 0 0;border:0;background:#e9f3e8;color:#517b5e;border-radius:10px;padding:9px 10px;font-size:11px}.popover-close{position:absolute;top:8px;right:13px;background:none;border:0;color:#96a696;font-size:22px}.mobile-tabs,.mobile-pet{display:none}
.modal-root[hidden],.pet-popover[hidden]{display:none!important}.modal-root{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:16px}.modal-scrim{position:absolute;inset:0;background:#263c31a8;backdrop-filter:blur(3px)}.modal-card{position:relative;max-height:min(90vh,820px);overflow-y:auto;background:white;border-radius:22px;width:min(100%,480px);padding:24px;box-shadow:0 30px 80px #20372d30}.modal-header{display:flex;justify-content:space-between;gap:8px;margin-bottom:22px}.modal-header h2{font-size:22px;color:#395742;margin-top:9px}.form-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.field{min-width:0;display:flex;flex-direction:column;gap:7px}.field.wide{grid-column:1/-1}.field label{font-size:12px;font-weight:700;color:#5c7562}.field input,.field select,.field textarea{border:1px solid #e4ebe2;border-radius:11px;padding:11px 12px;width:100%;min-height:41px;color:#435c48;background:#fcfdf9;outline-color:#aacdb3}.field textarea{min-height:90px;resize:vertical}.form-footer{display:flex;gap:10px;justify-content:flex-end;margin-top:24px}.modal-explanation{background:#f5f8f2;border-radius:13px;padding:14px;margin-bottom:17px;color:#63806a;font-size:12px;line-height:1.8}.modal-explanation strong{color:#405c4a}.modal-explanation .warning{color:#a86659}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,30px);opacity:0;pointer-events:none;background:#365943;color:#fff;padding:13px 19px;border-radius:13px;box-shadow:0 12px 30px #304e3f22;z-index:2000;font-size:12px;max-width:90vw;text-align:center;transition:opacity .22s,transform .22s}.toast.show{opacity:1;transform:translate(-50%,0)}.focused-item{outline:2px solid #e3a58c!important;outline-offset:3px}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}@keyframes celebrate{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-14px) rotate(5deg)}}@keyframes think{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}
.reduce-motion *, .reduce-motion *:before,.reduce-motion *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media (min-width:1450px){.content-grid{grid-template-columns:minmax(0,1fr) 275px;padding-left:45px;padding-right:44px;gap:32px}.hero{min-height:289px;padding:43px 40px}}
@media (max-width:1180px){.app-layout{grid-template-columns:195px minmax(0,1fr)}.sidebar{padding-left:10px;padding-right:10px}.content-grid{grid-template-columns:minmax(0,1fr);padding:25px 25px 70px}.right-rail{display:none}.hero-decoration{right:2px}.topbar{padding:0 25px}}
@media (max-width:860px){.app-layout{display:block}.sidebar{display:none}.content-grid{padding:20px 18px 100px}.topbar{height:68px;padding:0 18px}.mobile-tabs{position:fixed;bottom:0;left:0;right:0;padding:9px 5px max(10px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #eaf0e9;display:grid;grid-template-columns:repeat(5,1fr);z-index:70;box-shadow:0 -6px 20px #314e3a0c}.mobile-tabs button{border:0;background:transparent;color:#9aaa9c;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px}.mobile-tabs button.active{color:#4c7a59;font-weight:700}.mobile-tabs svg{height:20px;width:20px}.mobile-pet{position:fixed;right:15px;bottom:calc(84px + env(safe-area-inset-bottom));display:grid;place-items:center;width:52px;height:52px;border:2px solid white;background:#ecf6e6;border-radius:20px;box-shadow:0 9px 25px #466b4930;font-size:27px;z-index:71}.mobile-pet .sprout-svg{width:54px;height:54px;animation:none;transform:scale(.97)}.mobile-pet[data-state=celebrate] .sprout-svg{animation:celebrate .5s 3}.mobile-pet[data-state=thinking] .sprout-svg{animation:think 1.2s infinite}.mobile-pet i{position:absolute;top:2px;right:2px;width:8px;height:8px;background:#e6a38a;border-radius:50%;border:2px solid white}.pet-popover{display:block;position:fixed;right:13px;left:13px;bottom:calc(150px + env(safe-area-inset-bottom));background:white;border:1px solid #e6eee5;box-shadow:0 20px 60px #2646362a;border-radius:18px;padding:20px;z-index:72}.pet-popover h3{font-size:17px;margin:12px 0 8px}.pet-popover p{font-size:12px;color:#879b88}.pet-popover button:not(.popover-close){border:0;background:#e9f4e7;color:#507a5c;border-radius:9px;padding:9px 12px;font-size:12px;margin:12px 6px 0 0}.popover-close{position:absolute;right:15px;top:12px;border:0;background:transparent;font-size:22px;color:#8a9b8e}.toast{bottom:104px}}
@media (max-width:600px){.content-grid{padding:14px 13px 110px}.top-actions{gap:4px}.mode-badge{font-size:9px;padding:6px 7px}.small-ghost{font-size:10px}.top-actions .icon-button{display:none}.hero{padding:26px 21px;min-height:267px}.hero h1{font-size:28px;margin-top:16px;max-width:290px}.hero p{max-width:270px;font-size:11px}.hero-actions{margin-top:24px}.hero-decoration{width:150px;right:-60px;opacity:.38}.sun-disc{width:129px;height:129px}.sun-inner{font-size:65px}.hero-caption{display:none}.overview-grid{grid-template-columns:1fr}.section-heading{margin-top:26px}.section-heading h2{font-size:19px}.helper-tag{font-size:9px;max-width:140px;white-space:normal;text-align:right}.bottom-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.stat-tile{padding:11px 7px;display:block;text-align:center}.stat-icon{margin:auto auto 7px;width:30px;height:30px}.stat-tile strong{font-size:16px}.stat-tile small{font-size:9px}.week-grid{display:none}.day-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.day-tabs button{font-size:10px;padding:10px 2px;border:0;border-radius:10px;color:#819783;background:#f6f8f4}.day-tabs button.active{background:#7eaa87;color:#fff}.day-detail{margin-top:10px}.day-detail .schedule-entry{padding:13px}.day-detail .schedule-entry strong{font-size:13px}.day-detail .schedule-entry small{font-size:11px}.goal-grid,.review-numbers{grid-template-columns:1fr}.review-numbers{gap:10px}.review-number strong{font-size:28px}.page-head h1{font-size:26px}.page-head{padding-top:14px}.alert-card{flex-wrap:wrap}.settings-list{padding:0 12px}.modal-card{padding:18px;border-radius:18px}.modal-root{padding:10px}.form-fields{gap:9px}.field input,.field select{font-size:14px}.list-panel{padding:5px 13px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* RC extensions retain the original palette, layout and SVG companion. */
:root{--sub:#617369}::selection{background:#d8ead8;color:#26352f}input,textarea{caret-color:#456f5e}.muted,.reason,.subline{color:#617369}.field textarea{width:100%;padding:12px;border:1px solid #d9e2d8;border-radius:10px;background:#fafcf9;resize:vertical;line-height:1.6}.field small{color:#617369;line-height:1.6}.modal-card{max-height:calc(100dvh - 32px);overflow:auto}.modal-root:not([hidden])~.mobile-pet{display:none}.table-scroll{overflow:auto}.rc-table{width:100%;border-collapse:collapse;white-space:nowrap;font-variant-numeric:tabular-nums}.rc-table th,.rc-table td{text-align:left;padding:12px;border-bottom:1px solid var(--line)}.rc-table th{color:#456f5e;font-weight:600}.week-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:18px}.week-toolbar span{font-size:13px;flex:1;min-width:160px}.day-name small{display:block;margin-top:4px;font-size:11px}.rc-settings{margin-bottom:20px}.rc-settings h3{margin:10px 0}.rc-settings .form-fields{margin:16px 0}.onboarding{margin-top:20px}.onboarding p{margin:10px 0}.free-time{margin:18px 0;color:#456f5e;font-size:13px;line-height:1.8}.quick-entry{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:20px}.quick-entry input{padding:12px;min-width:0;flex:1;border:1px solid #d9e2d8;border-radius:10px}.plan-step{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0;padding:16px;background:#f1f6ee;border-radius:12px}.plan-step strong{grid-column:1/-1}.plan-kind{color:#456f5e;margin:16px 0;font-weight:600}#action-error{color:#974a38;line-height:1.6;margin-top:12px}.import-preview{max-height:310px;overflow:auto;margin-top:14px}.log-item{gap:10px;flex-wrap:wrap}.log-item button{border:0;color:#456f5e;background:#edf4eb;padding:8px;border-radius:8px}.details,.item-main{min-width:0}.details strong,.item-main strong,.goal-card h3{overflow-wrap:anywhere}.settings-data,.rc-settings{overflow-wrap:anywhere}.goal-footer{flex-wrap:wrap;gap:6px}.goal-footer button{min-height:40px}.onboarding .setting-buttons{flex-wrap:wrap}.review-panel{margin-top:20px}.schedule-entry small{white-space:normal}.settings-list small{color:#617369}
@media(max-width:600px){.hero p{font-size:14px}.subline,.muted,.reason,.pet-popover p,.settings-data p,.rc-settings p{font-size:14px}.field input,.field select,.field textarea,.quick-entry input{font-size:16px}.btn{min-height:44px}.quick-entry input{flex-basis:100%;width:100%}.quick-entry label{width:100%}.week-toolbar span{flex-basis:100%;order:-1}.plan-step{grid-template-columns:1fr;padding:12px}.plan-step strong{grid-column:auto}.task-mini{flex-wrap:wrap}.time-pill{font-size:11px}.modal-root:not([hidden]){z-index:200}.mobile-tabs button{min-height:44px}.table-scroll{margin-inline:-10px}.hero h1{font-size:28px}.hero{min-height:280px}.goal-grid{display:block}.goal-card{margin-bottom:14px}.rc-table th,.rc-table td{padding:10px}.modal-card{max-height:calc(100dvh - 20px)}.small-note{font-size:13px}}
.toast{pointer-events:none}.brand small,.sidebar-label,.kicker,.overline,.sidebar-quote,.privacy-hint,.progress-copy,.rail-date small,.small-note,.empty-state p,.agenda-item small,.details small,.hero p,.hero-caption,.pet-panel p,.rail-note p,.pet-recheck,.helper-tag{color:#617369}.rc-settings .field input[type=checkbox]{width:24px;height:24px}.plan-step .field{min-width:0}

.growth-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.growth-tabs .btn{min-height:44px}

/* Xiaoya LifeLab official character V1: exact cropped concept artwork (4-pose sprite).
   The previous .sprout-svg remains mounted as fallback and for regression assertions. */
.xiaoya-sprite-v1{position:absolute;display:block;pointer-events:none;background-image:url('./assets/brand/xiaoya_sprite_v1.webp');background-repeat:no-repeat;background-size:200% 200%;background-position:0% 0%;opacity:0;transition:opacity .18s ease,filter .24s ease;z-index:2}
.pet-figure .xiaoya-sprite-v1{width:min(100%,214px);height:214px;top:0;left:0;right:0;margin:0 auto;transform:none}
.mobile-pet .xiaoya-sprite-v1{width:56px;height:56px;left:-4px;top:-4px}
.xiaoya-v1-ready .pet-figure .xiaoya-sprite-v1,.xiaoya-v1-ready .mobile-pet .xiaoya-sprite-v1{opacity:1}
.xiaoya-v1-ready .pet-figure .sprout-svg,.xiaoya-v1-ready .mobile-pet .sprout-svg{opacity:0}
.pet-figure[data-state='celebrate'] .xiaoya-sprite-v1,.mobile-pet[data-state='celebrate'] .xiaoya-sprite-v1{background-position:100% 0%}
.pet-figure[data-state='thinking'] .xiaoya-sprite-v1,.mobile-pet[data-state='thinking'] .xiaoya-sprite-v1{background-position:0% 100%}
.pet-figure[data-state='care'] .xiaoya-sprite-v1,.mobile-pet[data-state='care'] .xiaoya-sprite-v1{background-position:100% 100%}
.pet-figure[data-state='silent'] .xiaoya-sprite-v1,.mobile-pet[data-state='silent'] .xiaoya-sprite-v1{filter:saturate(.72)}
.xiaoya-v1-ready .pet-figure[data-state='celebrate'] .xiaoya-sprite-v1{animation:celebrate .5s ease-in-out 3}
.xiaoya-v1-ready .pet-figure[data-state='thinking'] .xiaoya-sprite-v1{animation:think 1.2s ease-in-out infinite}
.xiaoya-v1-ready .brand-mark{background-image:url('./assets/brand/xiaoya_sprite_v1.webp');background-size:200% 200%;background-repeat:no-repeat;background-position:0 0}
.xiaoya-v1-ready .brand-mark .mini-leaf{opacity:0}
.reduce-motion .xiaoya-sprite-v1,.reduce-motion .sprout-svg{animation:none!important;transition:none!important}
@media (prefers-reduced-motion:reduce){.xiaoya-sprite-v1{animation:none!important;transition:none!important}}
