:root{--paper:#f7f8f4;--ink:#283a33;--muted:#859087;--green:#416656;--line:#e4e8de;--white:#fff;--light:#ecf1e7;--peach:#f7eee1;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);font-size:14px}*{box-sizing:border-box}body{margin:0;background:var(--paper)}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button{border:0;background:none}button:focus-visible,a:focus-visible{outline:2px solid #7f9b80;outline-offset:4px}input:focus,textarea:focus,select:focus{outline:2px solid #8da88b;outline-offset:2px}button:disabled{opacity:.5;cursor:wait}button,input{min-height:40px}a{text-decoration:none;color:inherit}.sidebar{position:fixed;inset:0 auto 0 0;width:224px;padding:38px 24px 20px;background:#f0f2eb;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:2}.brand{display:flex;gap:12px;align-items:center;font-size:25px;font-weight:650;letter-spacing:2px}.brand-mark{width:43px;height:46px;border-radius:13px 13px 13px 3px;color:#f4f5ee;background:var(--green);display:grid;place-items:center;font-family:serif;font-weight:400;font-size:28px}.brand small{font-size:7px;display:block;letter-spacing:1.1px;color:var(--muted);margin-top:5px}.workspace-label{font-size:10px;letter-spacing:2px;color:#929a8c;margin:53px 0 16px 12px}nav button{display:flex;align-items:center;gap:13px;color:#7f897f;width:100%;text-align:left;min-height:47px;padding:0 13px;margin-bottom:8px;border-radius:9px}nav button.active{color:var(--green);background:#e0e8d9;font-weight:650}.nav-icon{font-size:20px;width:22px;text-align:center;font-weight:400}.nav-count{margin-left:auto;font-size:11px;background:#d1ddca;border-radius:5px;padding:3px 6px}.sidebar-bottom{margin-top:auto}.private-card{padding:23px 13px 18px;border:1px solid #e0e4d9;border-radius:12px;background:linear-gradient(130deg,#f4f5ed,#e8edde);margin-bottom:22px}.private-icon{display:block;color:#a6b19a;font-size:35px;line-height:35px}.private-card strong{font-size:12px;font-weight:500;display:block;margin-top:13px}.private-card p{font-size:11px;color:#8c9688;line-height:1.9;margin-bottom:0}.settings-link{display:flex;gap:10px;align-items:center;width:100%;color:#7b8579;font-size:12px}.settings-link span:last-child{margin-left:auto}.version-label{font-size:8px;color:#a0a79a;letter-spacing:1.3px;margin:17px 8px 0}.shell{margin-left:224px}.topbar{height:87px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;margin:0 48px}.breadcrumb{font-size:11px;color:#99a092}.breadcrumb span{padding:0 15px;color:#c0c6b9}.breadcrumb b{font-weight:450;color:#667663}.top-actions{display:flex;align-items:center;gap:21px}.sync-status{font-size:10px;color:#7d8c79;display:flex;align-items:center;gap:7px}.sync-status i{width:5px;height:5px;border-radius:100%;background:#83a077}.sync-status.wait i{background:#cb9c61}.avatar{height:33px;min-height:33px;width:33px;background:#e8ded1;color:#907b61;border:3px solid #fff;border-radius:100%;font-family:serif}.mobile-brand{display:none}main{max-width:1260px;margin:0 auto;padding:41px 48px 22px}.page-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:29px}.eyebrow{font-size:9px;letter-spacing:1.8px;color:#929d8c;margin:0 0 13px;text-transform:uppercase}h1{font-size:27px;letter-spacing:1px;font-weight:600;margin:0 0 12px;line-height:1.5}h1 span{color:#9dae8b}.subtitle{font-size:12px;color:#909a8b;margin:0}.primary{padding:10px 20px;background:var(--green);color:#fff;border-radius:8px;font-size:12px;white-space:nowrap;box-shadow:0 3px 9px #41665612}.primary:hover{background:#345443}.primary span{font-size:19px;margin-right:5px}.today-hero{background:#edf1e4;border:1px solid #e4e9d9;border-radius:14px;display:flex;justify-content:space-between;align-items:center;padding:26px 34px;margin-bottom:25px;min-height:204px;position:relative;overflow:hidden}.tiny-label{font-size:8px;color:#98a388;letter-spacing:2px}.hero-copy{z-index:1}.hero-copy h2{font-family:"Songti SC","STSong",serif;font-size:25px;font-weight:500;line-height:1.55;letter-spacing:2px;margin:10px 0}.hero-copy p{color:#8e9b7f;font-size:10px;margin:0 0 12px}.progress-track{height:3px;width:200px;background:#dce4d0;border-radius:2px;overflow:hidden}.progress-track i{display:block;height:100%;width:0;background:#94a97d;transition:width .3s}.hero-art{width:258px;margin-right:18px;margin-top:5px}.hero-art svg{display:block;width:100%}.quick-section{background:white;border:1px solid var(--line);border-radius:11px;padding:9px 15px 10px;margin-bottom:33px;box-shadow:0 4px 15px #283a3302}.quick-input{display:flex;align-items:center;gap:11px}.quick-plus{font-size:21px;color:#99a48e;font-weight:300}.quick-input input{border:0;min-width:0;flex:1;background:transparent;font-size:12px;color:var(--ink)}input::placeholder,textarea::placeholder{color:#a4ad9d}.key-hint{font-size:9px;color:#b0b7a9;border:1px solid #e8ece1;border-radius:4px;padding:4px}.quick-options{display:flex;justify-content:space-between;align-items:center;padding-left:29px;margin-top:3px}.segmented{display:flex;gap:5px}.segmented button{min-height:25px;font-size:10px;color:#a3ad99;padding:3px 10px;border-radius:5px}.segmented button.active{background:#eef2e8;color:#6e8665}.quick-save{min-height:28px;font-size:10px;color:#6d8564}.quick-save span{margin-left:8px}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 268px;gap:32px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:17px}.section-heading h2{font-size:15px;font-weight:600;margin:0}.section-heading h2 span{font-size:10px;font-weight:400;vertical-align:middle;color:#98a18f;background:#e9ede2;border-radius:5px;padding:2px 6px;margin-left:7px}.section-heading p{font-size:10px;color:#9ba491;margin:7px 0 0}.quiet{font-size:9px;color:#8c9782;white-space:nowrap}.filter-line{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px;border-bottom:1px solid var(--line);padding-bottom:10px}.filter-pills{display:flex;gap:4px}.filter-pills button{font-size:10px;min-height:27px;padding:5px 10px;border-radius:5px;color:#99a28e}.filter-pills button.active{background:#e7edde;color:#6b805f}.search-box{display:flex;align-items:center;color:#a6af9d;gap:4px;width:115px}.search-box input{font-size:10px;min-width:0;width:100%;background:transparent;border:0;min-height:30px}.task-item{display:flex;gap:13px;align-items:flex-start;min-height:82px;padding:18px 0;border-bottom:1px solid var(--line);position:relative}.task-check{border:1.5px solid #c5ceba;width:19px;height:19px;min-height:19px;flex:none;border-radius:6px;margin-top:2px;padding:0;color:#fff;font-size:12px;display:grid;place-items:center}.task-check:hover{border-color:var(--green)}.task-item.done .task-check{background:#a7b69b;border-color:#a7b69b}.task-body{min-width:0;flex:1;text-align:left;padding:0;min-height:44px}.task-text{display:block;font-size:12px;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap}.task-item.done .task-text{text-decoration:line-through;color:#9aa38f}.task-meta{display:flex;gap:10px;align-items:center;margin-top:8px;color:#9ba58e;font-size:9px}.tag{display:inline-flex;align-items:center;gap:4px}.priority-high{color:#bd8b6d}.priority-normal{color:#92a780}.priority-low{color:#a0a59c}.priority-dot{width:4px;height:4px;border-radius:100%;background:currentColor}.overdue{color:#bc806d}.edit-icon{color:#b3bbaa;font-size:16px;opacity:0;position:absolute;right:0;top:18px}.task-item:hover .edit-icon{opacity:1}.task-item:hover .task-text{color:var(--green)}.add-row{margin-top:12px;color:#98a68c;font-size:11px;padding:10px 0;text-align:left}.notes-panel{border-left:1px solid var(--line);padding-left:26px}.round-add{border:1px solid #e1e7d7;border-radius:100%;height:25px;min-height:25px;width:25px;color:#97a588;font-size:18px;line-height:1}.note-card{padding:16px;border-radius:9px;background:#f1eee3;border:1px solid #ece7d6;margin-bottom:13px;position:relative}.note-card:nth-child(3n+2){background:#edf0e5;border-color:#e2e8d6}.note-card:nth-child(3n){background:#f0ece6;border-color:#e7e1d8}.note-card button.note-body{padding:0;width:100%;text-align:left;min-height:44px}.note-title{display:block;font-size:12px;line-height:1.7;margin:3px 0 8px;padding-right:12px;white-space:pre-wrap;overflow-wrap:anywhere}.note-preview{font-size:10px;color:#9c9e8c;line-height:1.9;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere}.note-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:14px;font-size:8px;color:#a9ab99}.note-pin{min-height:24px;font-size:10px;color:#a1a78f;padding:0 4px}.note-pin.pinned{color:#7b9367}.convert-note{font-size:9px;min-height:24px;padding:0 3px;color:#7b8c6d}.view-notes{display:flex;justify-content:space-between;width:100%;font-size:10px;color:#8e9b7f;padding:10px 1px}.page-footer{margin-top:47px;display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:20px;font-size:9px;color:#afb6a6;gap:10px}.empty{padding:36px 12px;text-align:center;color:#99a68c;font-size:12px;line-height:2}.empty span{font-size:28px;display:block;margin-bottom:7px;color:#bdc7b1}.empty button{font-size:11px;text-decoration:underline;color:#7d956c}.notes-page .content-grid{grid-template-columns:1fr}.notes-page .task-panel{display:none}.notes-page .notes-panel{padding:0;border:0}.notes-page #note-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.notes-page .note-card{margin:0}.notes-page .view-notes{display:none}.notes-page .note-preview{-webkit-line-clamp:10}.all-page .today-hero,.notes-page .today-hero,.completed-page .today-hero{display:none}.mobile-nav,.fab{display:none}dialog{border:1px solid #e0e5d7;border-radius:18px;padding:29px;width:min(530px,calc(100% - 28px));max-height:90dvh;overflow:auto;background:#fafbf7;color:var(--ink);box-shadow:0 24px 100px #263d3233}dialog::backdrop{background:#273a334d;backdrop-filter:blur(4px)}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:25px}.dialog-head h2,dialog h2{font-size:21px;font-weight:550;margin:0}.close{font-size:25px;color:#8e9a86;width:32px;min-height:32px;margin:-8px -8px 0 0}dialog label{display:block;font-size:11px;color:#85917b;margin:0 0 8px}textarea,dialog input,select{background:#fff;border:1px solid #dfe5d6;border-radius:8px;padding:12px;color:var(--ink);width:100%;resize:vertical;line-height:1.7}textarea{margin-bottom:20px}.editor-meta{display:grid;grid-template-columns:1fr 1.3fr;gap:15px}.editor-meta input,.editor-meta select{margin-top:8px;font-size:11px;min-height:44px}.dialog-actions{display:flex;gap:10px;margin-top:24px;align-items:center}.dialog-actions>span{flex:1}.secondary{display:inline-flex;align-items:center;justify-content:center;padding:9px 12px;min-height:40px;border:1px solid #dfe5d7;border-radius:7px;font-size:11px;background:#f6f8f0;margin:0 5px 5px 0}.danger{color:#b58470;font-size:11px}.setting-block{border-top:1px solid var(--line);padding:13px 0}.setting-block h3{font-size:13px;font-weight:550}.setting-block p,dialog>p,dialog form>p{font-size:12px;color:#8c9785;line-height:1.9}.setting-block .small,.privacy-note{font-size:10px;color:#a1aa95;line-height:1.9}.file-button input{display:none}.conflict-banner{padding:12px;background:#fbebd9;border:1px solid #ead2af;border-radius:8px;font-size:12px;margin-bottom:20px}.conflict-banner button{text-decoration:underline;min-height:30px}.conflict-pair{padding:16px 0;border-bottom:1px solid var(--line)}.conflict-pair pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:12px;max-height:180px;overflow:auto;background:#eef1e7;padding:12px;border-radius:8px}.conflict-pair small{display:block;color:#8a967f}.conflict-pair p{font-size:11px}#login-error{color:#b67d67}#toast{position:fixed;bottom:30px;left:calc(50% + 112px);transform:translateX(-50%) translateY(15px);background:#354d40;color:#fafaf5;padding:13px 21px;border-radius:10px;box-shadow:0 8px 35px #283a3322;font-size:12px;z-index:10;opacity:0;pointer-events:none;transition:.2s;max-width:90vw}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}[hidden]{display:none!important}@media(min-width:1450px){main{padding-top:48px}.today-hero{min-height:224px}.content-grid{grid-template-columns:minmax(0,1fr) 300px;gap:40px}.hero-art{width:290px;margin-right:50px}}@media(max-width:1100px){.sidebar{width:190px;padding:30px 18px}.shell{margin-left:190px}.topbar{margin:0 30px}main{padding:32px 30px}.content-grid{grid-template-columns:minmax(0,1fr) 225px;gap:22px}.notes-panel{padding-left:20px}h1{font-size:23px}.hero-art{width:215px;margin-right:0}.today-hero{padding:23px 26px}.brand{font-size:22px}.brand small{font-size:6px}#toast{left:calc(50% + 95px)}}@media(max-width:850px){.sidebar{width:174px;padding:25px 13px}.shell{margin-left:174px}.topbar{margin:0 24px;height:72px}main{padding:28px 24px}.content-grid{grid-template-columns:1fr}.notes-panel{border:0;padding:8px 0 0}.notes-panel #note-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.notes-panel .note-card{margin:0}.notes-panel .note-card:nth-child(n+3){display:none}.notes-page .notes-panel .note-card{display:block}.notes-page #note-list{grid-template-columns:repeat(2,minmax(0,1fr))}.view-notes{margin-top:10px}.desktop-add{font-size:0;padding:6px 12px}.desktop-add span{font-size:23px;margin:0}.hero-art{width:180px;position:absolute;right:9px;bottom:13px;opacity:.9}.hero-copy h2{font-size:23px}.hero-copy{max-width:70%}h1{font-size:22px}.page-footer{margin-top:30px}#footer-mode{display:none}}@media(max-width:600px){:root{font-size:14px}.sidebar{display:none}.shell{margin:0}.topbar{height:69px;margin:0 22px;border-bottom:0}.breadcrumb{display:none}.mobile-brand{display:block;font-size:23px;letter-spacing:2px;font-weight:600}.mobile-brand span{color:#90a07e}.top-actions{gap:13px}.sync-status{font-size:9px}.avatar{width:30px;height:30px;min-height:30px}main{padding:17px 22px 120px}.page-heading{margin-bottom:22px}.page-heading .eyebrow{font-size:9px;letter-spacing:1.3px;margin-bottom:10px}h1{font-size:22px;letter-spacing:0;line-height:1.5}.subtitle{font-size:11px}.desktop-add{display:none}.today-hero{min-height:183px;padding:22px 22px;margin-bottom:20px;border-radius:12px}.hero-copy{max-width:77%}.hero-copy h2{font-size:22px;margin:10px 0;letter-spacing:1px}.tiny-label{font-size:6px;letter-spacing:1.4px}.hero-copy p{font-size:8px;max-width:190px;line-height:1.8}.progress-track{width:130px}.hero-art{width:160px;right:-13px;bottom:11px;opacity:.82}.quick-section{padding:9px 13px;margin-bottom:29px}.quick-input input{font-size:12px}.key-hint{display:none}.quick-options{padding-left:27px}.quick-save{font-size:11px}.section-heading h2{font-size:15px}.section-heading p{font-size:10px}.quiet{font-size:10px}.task-item{padding:17px 0;gap:12px;min-height:84px}.task-text{font-size:13px}.task-meta{font-size:10px;margin-top:7px}.task-check{width:21px;height:21px;min-height:21px;margin-top:2px}.edit-icon{display:none}.task-body{min-height:46px}.filter-pills button{font-size:11px;min-height:32px}.add-row{font-size:12px;min-height:44px}.notes-panel{margin-top:7px}.notes-panel #note-list{gap:11px}.note-card{padding:14px}.note-title{font-size:12px}.note-preview{font-size:10px}.note-bottom{font-size:8px}.note-pin,.convert-note{min-height:36px}.notes-page #note-list{grid-template-columns:1fr}.notes-page .note-preview{-webkit-line-clamp:12}.mobile-nav{position:fixed;display:flex;bottom:0;left:0;right:0;z-index:3;justify-content:space-around;background:#f9fbf5ed;backdrop-filter:blur(15px);border-top:1px solid var(--line);padding:8px 5px calc(8px + env(safe-area-inset-bottom))}.mobile-nav button{width:auto;flex:1;display:flex;flex-direction:column;gap:4px;margin:0;font-size:9px;padding:3px 5px;min-height:49px;text-align:center;background:none}.mobile-nav button.active{color:#466a50;background:none}.mobile-nav .nav-icon{font-size:21px}.mobile-nav .nav-count{display:none}.fab{display:block;position:fixed;bottom:calc(85px + env(safe-area-inset-bottom));right:23px;width:50px;height:50px;min-height:50px;border-radius:17px;background:var(--green);color:white;font-size:30px;box-shadow:0 6px 20px #41665638;z-index:2}.page-footer{font-size:9px;justify-content:center}dialog{padding:23px;border-radius:15px;max-height:88dvh}dialog input,dialog select,dialog textarea{font-size:16px}.editor-meta{grid-template-columns:1fr 1.2fr;gap:10px}.editor-meta select,.editor-meta input{font-size:12px}.dialog-actions{gap:6px}.dialog-actions .primary,.dialog-actions .secondary{padding:10px 14px}#toast{left:50%;bottom:160px;white-space:normal;min-width:190px;text-align:center}.search-box{width:105px}.conflict-banner{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Input sizes stay readable and avoid automatic zoom on iOS. */
.note-search{display:none}.notes-page .note-search{display:flex;width:100%;margin:0 0 18px;padding:0 12px;background:#fff;border:1px solid var(--line);border-radius:8px}.notes-page .note-search input{min-height:44px;font-size:13px}.task-text{font-size:14px}.note-title{font-size:13px}.note-preview{font-size:12px;line-height:1.85}.task-meta{font-size:10px}.quick-input input{font-size:14px}
@media(max-width:600px){h1{font-size:23px}.task-text{font-size:15px}.task-meta{font-size:11px}.quick-input input,.search-box input,.notes-page .note-search input{font-size:16px}.search-box{width:140px}.search-box input{font-size:16px}.search-box input::placeholder{font-size:11px}.quick-input input::placeholder{font-size:13px}.section-heading h2{font-size:16px}.note-title{font-size:14px}.note-preview{font-size:12px}.note-bottom{font-size:10px}.note-pin,.convert-note{font-size:11px}.mobile-nav button{font-size:10px}.task-check{position:relative}.task-check::after{content:'';position:absolute;inset:-10px}.quick-save{min-height:36px}.segmented button{min-height:36px}.quick-section{padding-bottom:8px}.notes-panel .note-card{min-width:0}}

/* yo见：沿用纸感与草木色，让记录入口更轻。 */
.brand-mark{font-size:28px;font-style:italic;letter-spacing:-2px;font-weight:500;padding-right:3px}.brand small{letter-spacing:1px;font-size:7px}.mobile-brand{font-family:Georgia,"Songti SC",serif;font-weight:600}.tiny-label{letter-spacing:1.7px}.today-hero{min-height:190px}.quick-input{align-items:flex-start}.quick-input .quick-plus{line-height:42px}.quick-input textarea{border:0;min-width:0;flex:1;background:transparent;font-size:14px;color:var(--ink);padding:9px 0;line-height:1.7;resize:none;margin:0;min-height:40px;max-height:160px;border-radius:4px;overflow-y:auto}.quick-input .key-hint{margin-top:10px;white-space:nowrap}.quick-task-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 0 0 29px;margin-top:8px;border-top:1px dashed #e9ede2}.date-shortcuts{display:flex;gap:4px}.date-shortcuts button{min-height:30px;padding:3px 11px;border-radius:6px;font-size:11px;color:#7e8c73}.date-shortcuts button.active{color:#456b50;background:#eaf0e1}.quick-task-meta select{padding:4px 8px;min-height:32px;width:84px;font-size:12px;background:#f5f7ef;color:#7c8c6e;border-color:#e7ecde;resize:none}.draft-line{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 0 0 29px;min-height:27px;color:#a2ac96;font-size:9px}.draft-line button{font-size:10px;color:#8d9e7e;min-height:27px;padding:2px 0}.draft-notice{font-size:10px!important;line-height:1.7!important;margin:-5px 0 12px!important;color:#93a082!important}.trash-item{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding:17px 0}.trash-item>div{min-width:0;flex:1}.trash-item strong{display:block;overflow-wrap:anywhere;font-size:13px;font-weight:500;line-height:1.7}.trash-item p{font-size:10px;color:#96a18c;margin:7px 0 0}.trash-item .secondary{flex:none;margin:0}#toast{display:flex;align-items:center;gap:18px;z-index:100}#toast.show{pointer-events:auto}#toast button{padding:0 3px;color:#e1d9aa;font-size:12px;min-height:28px;white-space:nowrap}#trash{max-width:590px}.brand:hover,.mobile-brand{color:#304f3c}.version-label{letter-spacing:.4px;font-size:9px}
@media(max-width:600px){.today-hero{min-height:157px;padding:18px 21px}.hero-copy h2{font-size:23px}.hero-art{width:150px;bottom:4px}.hero-copy p{font-size:9px}.quick-input textarea{font-size:16px}.quick-input textarea::placeholder{font-size:13px}.quick-options{margin-top:0}.quick-task-meta{padding-left:0;margin-top:5px;padding-top:8px;gap:6px}.quick-task-meta select{font-size:16px;width:86px;min-height:36px;padding:3px 7px}.date-shortcuts button{min-height:36px;font-size:11px;padding:4px 11px}.draft-line{padding-left:0;padding-top:6px;font-size:9px}.quick-section{margin-bottom:26px}.page-heading{margin-bottom:20px}.quick-input .quick-plus{font-size:20px}.trash-item strong{font-size:14px}.draft-line button{min-height:32px}.task-meta{flex-wrap:wrap;row-gap:5px}#toast{gap:14px}}

/* 待办分类：沿用轻量色块，手机上独立成行。 */
.quick-category-row{display:flex;align-items:center;gap:12px;padding:8px 0 0 29px;color:#85937a;font-size:11px}.category-choices,.category-filter{display:flex;gap:5px}.category-choices button,.category-filter button{min-height:34px;padding:5px 17px;border-radius:7px;font-size:12px;color:#7f8c77}.category-choices button.active,.category-filter button.active{background:#e8eee1;color:#416656}.category-choices button.active[data-quick-category="work"],.category-filter button.active[data-category-filter="work"]{background:#e7edf0;color:#536e7f}.category-filter{margin:18px 0 13px;padding:4px;background:#f0f3eb;border-radius:9px;width:fit-content}.category-filter button{min-width:66px}.category-filter button.active{background:#fff;box-shadow:0 1px 4px #3c53300c}.category-field{grid-column:1/-1}.tag.category-personal{background:#edf2e7;color:#64805b}.tag.category-work{background:#eaf0f3;color:#587487}
@media(max-width:600px){.quick-category-row{padding-left:0;padding-top:7px}.category-choices button,.category-filter button{min-height:38px}.category-filter{margin-top:16px;margin-bottom:10px}.category-field select{font-size:16px}}

/* v0.4：成长手记与账号面板，保持纸张与草木色。 */
.growth-page .quick-section,.growth-page .content-grid,.growth-page #today-hero{display:none}.growth-section{max-width:850px}.growth-intro{display:flex;justify-content:space-between;align-items:center;padding:29px 34px;border-radius:14px;border:1px solid #e9dfd0;background:linear-gradient(120deg,#f4eddf,#f1f2e7);margin-bottom:29px;overflow:hidden}.growth-intro h2{font:500 27px/1.6 "Songti SC",serif;letter-spacing:2px;margin:12px 0;color:#5c6754}.growth-intro p{color:#9a9e88;font-size:11px;margin:0}.growth-intro b{font-weight:500;color:#7a8c6d}.growth-intro-art{position:relative;width:160px;height:150px;margin-right:10px;transform:rotate(-7deg);border:1px solid #dcd5bc;border-radius:75px 75px 9px 9px;background:#f8f3e5;box-shadow:8px 8px 0 #e4e5d3;display:flex;flex-direction:column;align-items:center;justify-content:center}.growth-intro-art img{width:110px;height:110px;object-fit:contain}.growth-intro-art small{font:italic 10px Georgia,serif;color:#b4a88a;margin-top:10px}.growth-intro-art i{position:absolute;right:-18px;top:14px;font-style:normal;font-size:35px;color:#bead7a}.growth-toolbar{display:flex;align-items:center;justify-content:space-between;margin:12px 0 24px}.growth-toolbar>span{font-size:13px;letter-spacing:2px;color:#6d7b63}.growth-toolbar .search-box{width:185px}.growth-month{font:500 24px Georgia,serif;color:#6f8064;margin:32px 0 20px}.growth-month span{font:400 12px -apple-system,sans-serif;color:#9ba68e;letter-spacing:1px}.growth-entry{display:flex;align-items:flex-start;gap:23px;margin-bottom:22px}.growth-date{width:44px;flex:none;text-align:center;padding-top:15px}.growth-date strong{display:block;font:500 28px Georgia,serif;color:#8e9d82}.growth-date small{display:block;color:#a8b09b;font-size:10px;margin-top:5px}.growth-card{min-width:0;flex:1;background:#fffefa;border:1px solid #e8e8dc;border-radius:12px;padding:19px 22px;box-shadow:0 4px 17px #53644003}.growth-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.growth-card-top>span{display:flex;flex-wrap:wrap;gap:6px}.growth-tag{display:inline-block;background:#edf1e6;color:#869477;border-radius:4px;padding:4px 8px;font-size:10px}.growth-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.95;font-size:14px;color:#54614c;margin:15px 0}.growth-card-bottom{display:flex;justify-content:space-between;gap:8px;font-size:9px;color:#a5ac99;margin-top:16px}.growth-media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:14px}.growth-attachment{position:relative;min-width:0;overflow:hidden;border-radius:8px;background:#f1f2ea}.growth-attachment:only-child{grid-column:1/-1}.growth-photo{display:block;padding:0;width:100%;min-height:0}.growth-photo img,.growth-attachment video{display:block;width:100%;max-height:330px;object-fit:contain;background:#ecede5}.growth-photo img{aspect-ratio:4/3;object-fit:cover}.remove-media{position:absolute;right:6px;top:6px;border-radius:5px;padding:3px 9px;min-height:30px;background:#fffefaed;font-size:11px;color:#8f785b}.media-hint{font-size:11px;line-height:1.8;color:#99a28e}.media-picker{display:inline-flex;margin:10px 0 0}.media-missing{font-size:11px;color:#a89d87;padding:20px;display:block}.growth-empty{text-align:center;padding:50px 12px 65px;color:#9ca78f}.growth-empty>img{width:100px;height:100px;object-fit:contain}.growth-empty h3{font-size:15px;color:#7b8a70;font-weight:400;margin:20px 0 12px}.growth-empty p{font-size:12px;margin-bottom:22px}#media-viewer{max-width:950px}#media-viewer-body img{display:block;max-width:100%;max-height:70dvh;object-fit:contain;margin:auto}#media-viewer-title{font-size:15px;overflow-wrap:anywhere}.setting-block form label{margin-top:12px}.setting-block form input{width:100%;margin-top:7px}#create-user-result{font-size:12px;color:#7b8f6e}
@media(max-width:600px){.growth-intro{padding:22px;margin-bottom:21px}.growth-intro h2{font-size:23px;letter-spacing:1px}.growth-intro .tiny-label{font-size:6px;letter-spacing:1px}.growth-intro p{font-size:9px}.growth-intro-art{width:91px;height:115px;margin:0 0 0 10px;flex:none}.growth-intro-art img{width:75px;height:75px}.growth-intro-art small{font-size:7px}.growth-intro-art i{font-size:27px;right:-10px;top:5px}.growth-toolbar .search-box{width:157px}.growth-entry{gap:10px;margin-bottom:16px}.growth-date{width:29px}.growth-date strong{font-size:24px}.growth-date small{font-size:8px}.growth-card{padding:14px;border-radius:10px}.growth-text{font-size:14px;line-height:1.85;margin:12px 0}.growth-card-bottom{font-size:8px;flex-wrap:wrap}.growth-month{margin-top:27px}.growth-tag{font-size:9px;padding:4px 6px}.growth-media{gap:6px}.growth-attachment video,.growth-photo img{max-height:260px}.media-hint{font-size:11px}.mobile-nav button{font-size:9px;padding-left:1px;padding-right:1px;min-width:0}.mobile-nav .nav-icon{font-size:20px}.growth-page .page-heading h1{font-size:22px}}

/* 图片生成的小芽亲子标识；母版透明度保留，PWA 另加奶油色底。 */
.brand-mark{background:transparent;width:48px;height:48px;padding:0;border-radius:0;flex:none}.brand-mark img{display:block;width:100%;height:100%;object-fit:contain}.mobile-brand img{width:33px;height:33px;object-fit:contain}@media(max-width:600px){.mobile-brand{display:flex;align-items:center;gap:7px}.mobile-brand span{margin-left:-5px}.brand-mark{width:42px;height:42px}#growth-editor-meta .editor-meta input{font-size:16px}}

/* 家庭空间：邀请、成员与个人历史的可见范围明确展示。 */
.family-panel{padding:18px 20px;background:#f2f5ec;border:1px solid #e2e8d8;border-radius:11px;margin:0 0 24px}.family-panel h3{font-size:13px;font-weight:500;margin:0 0 9px;color:#5f7557}.family-panel p{font-size:11px;color:#8e9b81;line-height:1.85;margin:7px 0}.family-members{display:flex;gap:7px;flex-wrap:wrap;margin:11px 0}.family-member{font-size:10px;color:#73866a;padding:5px 9px;background:#fffdf6;border-radius:6px}.family-member small{font-size:9px;color:#a0aa94;margin-left:5px}.family-invite-form{display:flex;gap:9px;margin-top:11px;align-items:center}.family-invite-form input{flex:1;min-width:0;padding:9px 11px;border:1px solid #dce4d3;border-radius:7px;background:#fffdf9;font-size:12px;color:#52674b}.family-invite-form button{flex:none;min-height:38px}.family-panel .secondary{font-size:11px}.growth-view-toggle{border:1px solid #dfe6d6;padding:5px 10px;border-radius:7px;min-height:32px;color:#809271;font-size:10px}.growth-toolbar{flex-wrap:wrap;gap:8px}.growth-card-bottom .growth-authors{color:#8b9d7f}.family-invitation-actions{display:flex;gap:8px;margin-top:12px}.family-invitation-actions button{min-height:38px}#share-growth{font-size:11px;padding:8px 12px}.dialog-actions{flex-wrap:wrap}
@media(max-width:600px){.family-panel{padding:15px;margin-bottom:20px}.family-panel h3{font-size:13px}.family-invite-form input{font-size:16px;min-height:42px}.family-invite-form button{padding:8px 12px}.family-member{font-size:10px}.growth-view-toggle{font-size:10px}.growth-toolbar .search-box{flex:1;max-width:170px;min-width:105px}#share-growth{width:100%;order:3;margin:4px 0 0}}

/* 南京天气：先展示事实，再给出有条件的外出和穿衣参考。 */
.weather-section{margin:0 0 25px;padding:21px 24px 17px;background:#fffefa;border:1px solid #e5e8dc;border-radius:13px;box-shadow:0 3px 14px #435a3803}.weather-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.weather-eyebrow{font-size:7px;letter-spacing:1.7px;color:#a4ae96}.weather-heading h2{font-size:15px;font-weight:500;letter-spacing:1px;margin:8px 0 0;color:#5e7455}.weather-heading .quiet{font-size:10px;min-height:34px}.weather-current{display:flex;align-items:center;gap:12px;margin:15px 0}.weather-current>svg{width:53px;height:53px;flex:none}.weather-current>strong{font:500 35px Georgia,serif;color:#647b59;white-space:nowrap}.weather-current>strong small{font:400 14px -apple-system,sans-serif;vertical-align:top;margin:7px 0 0 3px;display:inline-block}.weather-current>div{display:flex;flex-direction:column;gap:6px}.weather-current b{font-size:12px;font-weight:400;color:#718566}.weather-current>div>span{font-size:10px;color:#9da58e}.weather-badge{font-size:9px;color:#7b9070;background:#eef3e7;padding:5px 8px;border-radius:5px;margin-left:auto;white-space:nowrap}.weather-badge.unknown{background:#f1eee6;color:#a19680}.weather-badge.indoor{background:#f5ebdf;color:#ad8c64}.weather-facts{display:flex;gap:8px 19px;flex-wrap:wrap;font-size:10px;color:#a0a68f;padding-bottom:15px}.weather-facts b{font-weight:400;color:#7a8d6f;margin-left:4px}.weather-tips{display:grid;grid-template-columns:1fr 1fr;gap:12px}.outing-tip,.clothing-tip{min-width:0;padding:14px 16px;border-radius:9px;background:#f1f5eb;border:1px solid #e6ecdd}.outing-tip.indoor{background:#f7f0e4;border-color:#eee3d0}.outing-tip.caution{background:#f5f3e8;border-color:#eae8d7}.outing-tip.unknown{background:#f3f2eb;border-color:#e9e7de}.clothing-tip{background:#f4f2e9;border-color:#eae6d8}.weather-tip-label{font-size:9px;color:#98a18b;letter-spacing:.4px}.weather-tips h3{font-size:12px;font-weight:500;line-height:1.7;margin:8px 0;color:#6c7e60}.weather-tips ul{list-style:none;margin:0;padding:0}.weather-tips li,.clothing-tip p{font-size:11px;color:#879579;line-height:1.85;margin:5px 0 0}.weather-tips li+li{margin-top:5px}.clothing-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.clothing-heading select{font-size:10px;min-height:28px;padding:3px 5px;background:#fffdf7;border:1px solid #e4e2d5;border-radius:5px;color:#879477;max-width:100px}.clothing-tip p{margin-top:11px}.clothing-tip small{display:block;font-size:10px;line-height:1.8;color:#a0a88e;margin-top:8px}.weather-footnote{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;font-size:8px;color:#a6ad99;line-height:1.8;margin-top:14px}.weather-footnote a{color:#94a287;text-decoration:underline;text-underline-offset:2px}.weather-disclaimer{font-size:9px;line-height:1.8;color:#a7ad9c;margin:6px 0 0}.weather-empty{font-size:12px;color:#a0aa92;line-height:1.8;padding:17px 0}
@media(max-width:600px){.weather-section{padding:17px 16px 14px;margin-bottom:20px}.weather-heading h2{font-size:14px}.weather-eyebrow{font-size:6px;letter-spacing:1.2px}.weather-current{gap:9px;margin:13px 0}.weather-current>svg{width:45px;height:45px}.weather-current>strong{font-size:31px}.weather-current>strong small{font-size:11px}.weather-current>div>span{font-size:9px}.weather-current b{font-size:11px}.weather-badge{font-size:8px;padding:4px 6px}.weather-facts{font-size:10px;gap:7px 14px}.weather-tips{grid-template-columns:1fr;gap:9px}.outing-tip,.clothing-tip{padding:13px 14px}.weather-tips h3{font-size:13px}.weather-tips li,.clothing-tip p{font-size:12px}.clothing-tip small{font-size:11px}.clothing-heading select{font-size:16px;min-height:36px}.weather-tip-label{font-size:10px}.weather-footnote{font-size:9px;gap:5px 10px}.weather-disclaimer{font-size:9px}}

/* Record first, then a small weather note. */
main{padding-top:26px}.page-heading{margin-bottom:22px}.page-heading h1{font-size:29px}.page-heading .subtitle{margin-top:8px;font-size:13px}.page-heading .eyebrow{margin-bottom:8px}.today-page .quick-section{margin:0 0 18px;padding:19px 22px}.today-page .quick-input textarea{font-size:18px}.today-page .today-hero{min-height:105px;margin:30px 0 20px;padding:22px 28px;background:#edf1e7}.today-page .hero-copy h2{font-size:22px;line-height:1.5;margin:8px 0}.today-page .hero-copy h2 br{display:none}.today-page .hero-copy p,.today-page .progress-track,.today-page .tiny-label{display:none}.today-page .hero-art{width:130px;height:100px;right:20px;bottom:0}.weather-compact{padding:16px 20px!important;margin:0 0 26px!important;border-radius:16px}.weather-mini-head{display:flex;align-items:center;justify-content:space-between;color:#71806e;font-size:12px}.weather-mini-head button{padding:2px 8px;min-height:28px}.weather-mini-line{display:flex;align-items:center;gap:12px;margin-top:5px}.weather-mini-line svg{width:44px;height:44px;flex-shrink:0}.weather-mini-line strong{font-size:23px;white-space:nowrap}.weather-mini-line strong small{font-size:13px;font-weight:400}.weather-mini-line p{font-size:13px;line-height:1.65;margin:0}.weather-mini-clothes{color:#687662;font-size:12px;line-height:1.7;margin:7px 0}.weather-details{border-top:1px solid #e2e7dc;margin-top:10px;padding-top:9px;font-size:12px;color:#69776d}.weather-details summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px;font-size:11px}.weather-detail-body{padding-top:12px;line-height:1.7}.weather-detail-body .weather-facts{margin:0 0 12px}.weather-detail-body ul{padding-left:18px}.weather-detail-body select{padding:5px;border:1px solid #dce3d6;border-radius:7px}.weather-detail-body a{color:#416656;text-decoration:underline}.weather-compact .weather-footnote{margin-top:10px}.weather-compact .weather-disclaimer{font-size:10px}.weather-mini-line .indoor{color:#8e593e}.weather-mini-line .unknown{color:#8b7b5b}
.habit-section{margin:22px 0 30px}.habit-section .section-heading{margin-bottom:15px}.habit-section h2{font-size:19px}.habit-section .section-heading p{font-size:12px}.habit-actions{display:flex;align-items:center;gap:12px}.habit-actions button{font-size:12px;white-space:nowrap}.habit-card{border:1px solid #e1e7db;border-radius:15px;padding:17px 19px;margin-bottom:12px;background:#fff}.habit-main{display:flex;align-items:center;justify-content:space-between;gap:12px}.habit-name{text-align:left;min-width:0;padding:0;background:none}.habit-name strong{display:block;font-size:15px;line-height:1.7;overflow-wrap:anywhere;font-weight:550}.habit-name>span{display:block;font-size:11px;color:#879082;margin-top:5px}.habit-check{padding:9px 13px;border:1px solid #dce5d5;border-radius:22px;background:#f1f5eb;font-size:12px;flex-shrink:0;white-space:nowrap;color:#57734c}.habit-check.checked{background:#e4eedb;color:#456b38;border-color:#d2e0c7}.habit-done{background:#fafcf7}.habit-total{font-size:11px;color:#8a9484;margin-top:8px}.habit-week{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin-top:20px}.habit-day{border:1px solid #e4e9de;border-radius:12px;background:#f8faf5;padding:8px 2px;color:#91a083}.habit-day small{display:block;font-size:10px}.habit-day>span{display:block;font-size:21px;margin-top:5px}.habit-day.checked{background:#e6efdf;color:#567a42}.habit-day:disabled{background:#f5f5f2;opacity:.45}.habit-history{display:flex;align-items:center;justify-content:space-between;margin-top:15px;gap:10px}.habit-history label{font-size:11px;color:#83907a;display:flex;align-items:center;gap:10px}.habit-history input{padding:6px 8px;border:1px solid #e0e7d9;border-radius:7px;font-size:12px;width:145px;background:#fff}.habit-history .quiet{font-size:11px}.habit-empty{padding:16px;border:1px dashed #dce4d5;border-radius:12px;color:#8a9580;font-size:12px}.habits-page .quick-section,.habits-page .content-grid,.habits-page #today-hero{display:none}.habits-page .habit-section{margin-top:0}.habits-page #habit-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.habits-page .habit-card{margin:0}.habit-dates{display:grid;grid-template-columns:1fr 1fr;gap:15px}.habit-dates label{min-width:0}.habit-dates input{min-width:0;max-width:100%}.habit-hint{font-size:11px;color:#89917f;line-height:1.7}.habit-weekdays{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 18px}.habit-weekdays label{margin:0;position:relative}.habit-weekdays input{width:15px;min-height:0;margin-right:3px}.habit-weekdays span{font-size:12px}.habit-error{font-size:12px;color:#aa5c45}.more-nav-grid{display:grid;gap:12px;margin-top:20px}.more-nav-grid button{text-align:left;padding:17px;background:#f0f4e9;border-radius:12px;font-size:15px}#more-nav{width:360px}
@media(max-width:600px){main{padding-top:14px}.page-heading{margin-bottom:16px}.page-heading h1{font-size:23px}.page-heading .subtitle{font-size:11px}.page-heading .eyebrow{font-size:10px}.today-page .quick-section{padding:15px 16px;margin-bottom:14px}.today-page .quick-input textarea{font-size:17px}.quick-category-row{padding-left:0}.weather-compact{padding:11px 14px!important;margin-bottom:22px!important}.weather-mini-head{font-size:10px}.weather-mini-line{gap:9px}.weather-mini-line svg{width:35px;height:35px}.weather-mini-line strong{font-size:21px}.weather-mini-line p{font-size:12px}.weather-mini-clothes{font-size:11px}.weather-details summary{font-size:10px}.habit-section{margin-top:15px}.habit-section h2{font-size:17px}.habit-section .section-heading p{font-size:10px;line-height:1.6}.habit-actions{gap:8px}.habit-actions button{font-size:10px;padding:7px}.habit-card{padding:14px}.habit-name strong{font-size:14px}.habit-name>span{font-size:10px}.habit-check{font-size:11px;padding:8px 10px}.habits-page #habit-list{grid-template-columns:1fr}.habit-week{gap:5px}.habit-history input{width:135px;font-size:14px}.habit-dates{gap:10px}.habit-dates input{font-size:16px}.today-page .today-hero{margin-top:22px;padding:18px;min-height:100px}.today-page .hero-copy h2{font-size:18px;max-width:68%}.mobile-nav button{flex:1;min-width:0}.mobile-nav .nav-icon{font-size:21px}}
.today-page .fab,.habits-page .page-heading .desktop-add{display:none}
.habits-page .fab{display:none}

/* Sidebar groups keep daily work and family pages visually distinct. */
.sidebar{overflow-y:auto}
#desktop-nav{margin-bottom:14px}
#desktop-nav .nav-group+.nav-group{border-top:1px solid var(--line);margin-top:14px;padding-top:13px}
#desktop-nav .nav-group-label{margin:0 13px 6px;font-size:10px;font-weight:650;letter-spacing:2px;color:#7f897f}
#desktop-nav button{min-height:41px;margin-bottom:4px}

.today-page .page-heading > .desktop-add { display: none; }

.today-page .page-heading .today-hero {
    flex: 0 1 280px;
    min-height: 70px;
    margin: 0;
    padding: 12px 86px 12px 16px;
    background: #edf1e7;
}
.today-page .page-heading .hero-copy h2 {
    font-size: 14px;
    line-height: 1.55;
    max-width: none;
    margin: 0;
}
.today-page .page-heading .hero-copy { max-width: none; }
.today-page .page-heading .hero-art {
    position: absolute;
    width: 75px;
    height: 65px;
    margin: 0;
    right: 8px;
}
@media (max-width: 600px) {
    .today-page .page-heading { flex-wrap: wrap; gap: 8px; }
    .today-page .page-heading .today-hero {
        flex-basis: 100%;
        min-height: 0;
        padding: 7px 12px;
    }
    .today-page .page-heading .hero-copy h2 { font-size: 12px; }
    .today-page .page-heading .hero-art { display: none; }
}

.weather-compact .weather-cooling {
    color: #77533b;
    background: #f8efe3;
    border-radius: 6px;
    padding: 6px 9px;
    font-weight: 600;
}
