:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#282d32;background:#f4f5f7;font-synthesis:none;--muted:#707780;--line:#e3e6e9;--green:#387567}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.38}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #77ad9e;outline-offset:3px}button{border:0;background:none}button:hover:not(:disabled){filter:brightness(.96)}svg{width:20px;height:20px;stroke-width:1.7;flex-shrink:0}p{line-height:1.7}h1,h2,h3,p{margin-top:0}h1{font-size:28px;letter-spacing:-.8px;margin-bottom:10px}h2{font-size:20px}h3{font-size:16px}small,.muted{color:var(--muted)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.app{display:flex;height:100dvh;min-height:400px}.sidebar{width:232px;flex-shrink:0;background:#fafbfc;border-right:1px solid var(--line);padding:35px 22px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;font-size:21px}.brand svg{color:var(--green);width:26px;height:26px}.brand-note{font-size:12px;color:var(--muted);margin:12px 0 42px 38px}.sidebar nav{display:grid;gap:8px}.nav-button{display:flex;gap:12px;align-items:center;padding:14px 16px;border-radius:12px;text-align:left;min-height:48px}.nav-button.active{background:#e7efec;color:#285e51;font-weight:600}.nav-button .count{margin-left:auto;color:var(--muted);font-size:12px;font-weight:400}.side-bottom{margin-top:auto;font-size:12px;color:#5f686f;padding:20px 10px 0}.side-bottom p{color:#92999f;margin:10px 0 0 14px}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green);margin-right:8px}.workspace{min-width:0;flex:1;display:flex;flex-direction:column;position:relative}.topbar{height:66px;flex-shrink:0;border-bottom:1px solid var(--line);padding:0 36px;display:flex;align-items:center;justify-content:space-between;font-size:13px;color:var(--muted)}.topbar>span:first-child{visibility:hidden}.prototype-label{font-size:11px;background:#e9ecef;padding:6px 10px;border-radius:6px}.scroll-area{overflow-y:auto;flex:1;overscroll-behavior:contain;scrollbar-gutter:stable}.content{max-width:760px;margin:auto;padding:38px 32px 30px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:30px}.page-heading p{font-size:13px;color:var(--muted);margin:0}.date-mark{font-size:12px;color:var(--green);background:#e7eeeb;padding:8px 12px;border-radius:20px;white-space:nowrap}.day-divider{display:flex;align-items:center;gap:16px;margin:28px 0 18px;color:var(--muted);font-size:12px}.day-divider:before,.day-divider:after{content:"";height:1px;background:var(--line);flex:1}.record{background:#fff;border-radius:18px;padding:20px 22px;margin-bottom:12px;border:1px solid transparent}.record.recent{border-color:#93b8ac}.record-head{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px;margin-bottom:10px}.record-head span{display:flex;align-items:center;gap:7px}.record-head svg{width:16px;height:16px}.record-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85;margin:0 0 16px;font-size:16px}.record-foot{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap}.classify{font-size:12px;display:flex;align-items:center;gap:6px;padding:8px 10px;background:#f4f6f7;border-radius:8px;min-height:36px;max-width:100%;overflow-wrap:anywhere;text-align:left}.classify svg{width:13px;height:13px}.record-actions{display:flex;gap:4px;margin-left:auto}.text-button{font-size:12px;color:#626d74;min-height:36px;padding:6px 8px}.text-button.accent{color:var(--green)}.save-label{font-size:11px;color:var(--green);display:block;margin-top:12px}.bottom-area{flex-shrink:0;background:#f4f5f7;border-top:1px solid #eaedef;padding:12px 32px max(10px,env(safe-area-inset-bottom))}.bottom-inner{max-width:696px;margin:auto;position:relative}.quick-nav{display:flex;gap:8px;margin-bottom:12px;overflow-x:auto;scrollbar-width:none}.quick-nav .nav-button{background:#fff;padding:9px 14px;min-height:42px;white-space:nowrap;font-size:13px;gap:7px;border:1px solid #e5e8ea;border-radius:11px}.quick-nav .nav-button.active{background:#e7efec;border-color:#d0dfd9;color:#285e51}.quick-nav svg{width:17px;height:17px}.composer{background:#fff;border:1px solid #e2e6e9;border-radius:22px;padding:16px 16px 12px}.composer textarea{display:block;width:100%;resize:none;border:0;outline:0;background:transparent;max-height:150px;line-height:1.6;padding:0 3px;color:#282d32;font-size:16px}.composer textarea::placeholder{color:#929aa2}.composer:focus-within{border-color:#83a99c;box-shadow:0 0 0 2px #e0eae6}.composer-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:5px}.composer-bottom span{font-size:11px;color:#8a9299}.send{width:40px;height:40px;background:var(--green);border-radius:50%;display:grid;place-items:center;color:#fff}.composer-caption{text-align:center;font-size:10px;color:#91989e;margin:7px 0 0}.latest{position:absolute;bottom:calc(100% + 24px);right:0;display:flex;gap:8px;align-items:center;background:#fff;box-shadow:0 4px 20px #26352b15;border-radius:30px;padding:12px 16px;font-size:12px}
.section-heading{display:flex;justify-content:space-between;align-items:center;margin:26px 0 14px}.section-heading h2{font-size:17px;margin:0}.section-heading span{font-size:12px;color:var(--muted)}.summary{display:grid;grid-template-columns:repeat(3,1fr);padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:28px}.summary>div+div{border-left:1px solid var(--line);padding-left:24px}.summary strong{font-size:25px;font-weight:500}.summary small{font-size:12px;margin-left:5px}.summary p{margin:6px 0 0;font-size:11px;color:var(--muted)}.timeline-row{display:grid;grid-template-columns:52px 1fr;gap:18px}.timeline-time{font-size:12px;color:var(--muted);padding-top:24px;position:relative}.timeline-time:after{content:"";position:absolute;right:-11px;top:28px;height:calc(100% - 4px);border-right:1px solid #d7dedb}.timeline-row:last-child .timeline-time:after{display:none}.timeline-row .record{position:relative}.timeline-row .record:before{content:"";position:absolute;left:-15px;top:27px;width:6px;height:6px;background:#8bab9e;border-radius:50%}.plan-card{border-left:3px solid #bac3ca}.review{background:#eaf0ed;border-radius:16px;padding:20px;margin-top:20px}.review h3{margin-bottom:10px}.review textarea{width:100%;border:0;background:transparent;resize:vertical;font-size:14px;line-height:1.7;min-height:72px;display:block}.review button{display:block;margin:10px 0 0 auto}.primary,.secondary{padding:12px 20px;border-radius:10px;font-size:14px;min-height:44px}.primary{background:var(--green);color:white}.secondary{background:#edf0f2}.month-control{display:flex;align-items:center;justify-content:space-between;margin:12px 0 30px}.month-control h2{margin:0;font-size:24px;font-weight:600}.month-control>div{display:flex;gap:4px}.icon-button{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:white}.diary-row{display:grid;grid-template-columns:57px 1fr;gap:24px;margin-bottom:22px}.diary-date{position:relative;padding-top:14px}.diary-date strong{font-size:32px;font-weight:500;display:block}.diary-date small{font-size:12px}.diary-date:after{content:"";position:absolute;right:-9px;top:28px;height:calc(100% + 23px);border-right:1px dashed #bac4ca}.diary-row:last-child .diary-date:after{display:none}.diary-card{display:block;position:relative;background:white;text-align:left;padding:22px;border-radius:19px;width:100%;min-width:0}.diary-card:before{content:"";position:absolute;left:-19px;top:23px;width:9px;height:9px;background:#f4f5f7;border:2px solid #93aaa0;border-radius:50%}.diary-row:first-child .diary-card:before{border-color:var(--green)}.diary-card h3{font-size:18px;margin:0 0 13px}.diary-card p{font-size:14px;color:#677078;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:20px}.diary-card footer{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px}.back{display:inline-flex;align-items:center;gap:7px;color:var(--green);font-size:13px;min-height:44px;margin:-16px 0 12px;padding:0}.empty{padding:45px 20px;background:white;border-radius:18px;text-align:center;color:var(--muted);line-height:1.8}.empty h3{color:#444e53}.empty button{margin-top:8px}.topic-note{font-size:12px;color:var(--muted);margin:-8px 0 24px}
dialog{border:0;border-radius:24px;padding:26px;width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 40px);overflow:auto;box-shadow:0 24px 90px #18282030}dialog::backdrop{background:#252e3b52}dialog h2{margin:0}.dialog-head{display:flex;align-items:center;justify-content:space-between}.dialog-head .icon-button{background:#f2f4f5}.dialog-note{color:var(--muted);font-size:12px;margin:12px 0 18px}dialog label{display:block;font-size:13px;margin:16px 0 8px}dialog textarea,dialog input,dialog select{width:100%;min-width:0;border:1px solid #dce1e5;border-radius:9px;background:#fafbfc;padding:11px 12px;line-height:1.5}dialog textarea{resize:vertical}dialog input,dialog select{height:46px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;min-width:0}.field-row>div{min-width:0}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}#edit-error{color:#a03f32;font-size:13px;margin:10px 0 0}.toast{position:fixed;left:50%;top:20px;transform:translateX(-50%);background:#2c443b;color:white;font-size:13px;max-width:calc(100% - 32px);padding:13px 22px;border-radius:12px;box-shadow:0 4px 20px #0002;z-index:5;pointer-events:none}
#editor[open]{overflow:hidden}#editor form{max-height:calc(100dvh - 92px);display:flex;flex-direction:column;min-height:0}.dialog-scroll{overflow:auto;min-height:0;padding:0 3px}.dialog-head{flex:0 0 auto;background:#fff;position:sticky;top:0;z-index:2}.dialog-actions{flex:0 0 auto;background:#fff;position:sticky;bottom:0;z-index:2;padding-top:12px;margin-top:0}.sheet-header{position:sticky;top:0;z-index:3;background:#fff}
.todo-toggle{display:flex;align-items:center;gap:4px;margin-left:auto;color:#387567;font-size:12px;white-space:nowrap}.todo-toggle svg{width:15px;height:15px}.todo-complete .chat-text,.todo-complete .memo-card-open{color:#9aa0a6;text-decoration:line-through}.todo-complete .chat-bubble,.todo-complete.memo-card{background:#fafafa}
.choice-source{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none}.inline-choice{display:flex;flex-wrap:wrap;gap:7px;margin-top:2px}.inline-choice button{min-height:36px;padding:7px 11px;border:1px solid #e1e4e7;border-radius:10px;background:#fafbfc;color:#687078;font-size:13px}.inline-choice button[aria-pressed="true"]{background:#23262a;border-color:#23262a;color:#fff}.edit-type-field{min-width:0}.edit-type-field .inline-choice{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;max-width:100%;padding-bottom:2px}.edit-type-field .inline-choice::-webkit-scrollbar{display:none}.edit-type-field .inline-choice button{flex:0 0 auto}.edit-calories-field{display:flex;align-items:center;border:1px solid #dce1e5;border-radius:9px;background:#fafbfc;overflow:hidden}.edit-calories-field input{border:0;background:transparent;flex:1}.edit-calories-field span{padding:0 12px;color:#8a8f96;font-size:13px}.edit-calories-field:focus-within{outline:3px solid #77ad9e;outline-offset:3px}.edit-calories-field input:focus-visible{outline:0}.edit-calories-field input::-webkit-outer-spin-button,.edit-calories-field input::-webkit-inner-spin-button{appearance:none}
.edit-category-new{margin-top:9px;padding:8px 2px;color:#525b64;font-size:13px}.edit-schedule-choices>div+div{margin-top:4px}#edit-category:not([hidden]){margin-top:8px}

body[data-page="memo-edit"] .workspace,body[data-page="knowledge-compose"] .workspace{background:#fff}.memo-edit-screen,.knowledge-compose-screen{min-height:100%;background:#fff;color:#23262a}.memo-full-form,.knowledge-full-form{min-height:100%;display:flex;flex-direction:column}.memo-edit-header,.knowledge-compose-header{height:52px;padding:8px 16px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:3;background:#fff;border-bottom:1px solid #f2f3f5}.memo-edit-header h1{font-size:17px;line-height:24px;margin:0}.memo-edit-header>button:first-child,.knowledge-compose-header>button:first-child{width:36px;height:36px;border-radius:50%;background:#f5f6f7;display:grid;place-items:center}.memo-edit-header svg,.knowledge-compose-header svg{width:20px}.memo-full-save,.knowledge-full-save{font-size:16px;font-weight:700;padding:8px;color:#23262a}.memo-kind-switch{display:flex;gap:8px;padding:16px 20px 4px}.memo-kind-switch button{height:34px;border-radius:99px;padding:0 18px;background:#f5f4f1;color:#8a8f96;font-size:14px}.memo-kind-switch button[aria-pressed="true"]{background:#23262a;color:#fff}.memo-full-title{height:52px;margin:8px 20px 0;padding:5px 0;border:0;border-bottom:1px solid #ebe9e4;border-radius:0;background:transparent;font-size:20px;font-weight:600;outline:0}.memo-full-form>textarea{width:calc(100% - 40px);min-height:220px;flex:1;margin:0 20px;padding:14px 0;border:0;background:transparent;resize:none;outline:0;font:16px/27px inherit}.memo-editor-section{padding:8px 20px;border-top:1px solid #f0efec}.memo-editor-section h2{font-size:13px;color:#8a8f96;margin:0 0 8px}.memo-editor-section .memo-compose-categories{height:auto;padding:0}.memo-todo-options{display:grid;grid-template-columns:1fr auto;align-items:end;gap:12px}.memo-todo-options label{grid-column:1/-1;font-size:13px;color:#8a8f96}.memo-todo-options input{height:44px;border:1px solid #ebe9e4;border-radius:12px;padding:0 12px;background:#fafafa}.memo-complete-toggle{height:44px;border-radius:12px;padding:0 14px;background:#eaf2ef;color:#387567;font-weight:600}.memo-full-form .memo-compose-toolbar{position:sticky;bottom:0;background:#fff;margin-top:auto}.memo-full-form .sheet-error{margin-bottom:8px}
@media(min-width:1300px){.content{padding-top:48px}.sidebar{width:252px;padding-left:28px;padding-right:28px}}
@media(prefers-reduced-motion:no-preference){button{transition:background .15s ease,border-color .15s ease}}

.plan-reminder{width:100%;display:flex;align-items:center;gap:12px;text-align:left;background:#fff7df;border:1px solid #eadcae;border-radius:16px;padding:15px 16px;margin:0 0 18px;color:#3f3a2d}.plan-reminder>svg:first-child{color:#b98218}.plan-reminder>svg:last-child{margin-left:auto;color:#8c8f92}.plan-reminder span{min-width:0;display:grid;gap:4px}.plan-reminder strong{font-size:14px}.plan-reminder small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;color:#786f5c}
.detection-result{display:grid;gap:5px;margin:14px 0 4px;padding:12px 14px;border-radius:12px;background:#f0f5f3;color:#345e53}.detection-result strong{font-size:13px}.detection-result span{font-size:14px}.detection-result small{font-size:12px;color:#667a73}.check-row{display:flex;align-items:center;gap:8px}.check-row input,.weekday-picker input{width:18px;height:18px}.weekday-picker{border:0;margin:14px 0 0;padding:0}.weekday-picker legend{font-size:13px;margin-bottom:8px}.weekday-picker label{display:inline-flex;align-items:center;gap:3px;margin:0 10px 8px 0}.chat-detection{width:100%;display:flex;align-items:center;gap:6px;margin-top:10px;padding:9px 10px;border-radius:10px;background:#f5f4f1;color:#646a70;text-align:left;font-size:12px}.chat-detection span{flex:1;min-width:0}.chat-detection svg{width:15px;height:15px}.chat-detection svg:last-child{color:#8b5cf6}
/* Batch 1 components. Phone-specific geometry lives in mobile.css. */
body[data-page="diary"] .workspace,body[data-page="review"] .workspace,body[data-page="settings"] .workspace{background:#fff}
.screen-header{height:44px;display:flex;align-items:center;padding:0 4px;background:#fff;flex-shrink:0}.screen-header h1{flex:1;font-size:17px;line-height:24px;margin:0;font-weight:600;white-space:nowrap}.screen-header .icon-button{background:none;flex-shrink:0;color:#8a8f96}.screen-header .icon-button:first-child{color:#23262a}.screen-header .icon-button svg{width:22px;height:22px}
.week-calendar{display:flex;padding:0 10px 8px;background:#f5f4f1;height:65px;align-items:center}.week-month{width:50px;flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#8a8f96;padding:0}.week-month small{font-size:11px;line-height:16.5px}.week-month strong{font-size:18px;line-height:26px;font-weight:600}.week-days{flex:1;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-width:0;border-left:1px solid #ebe9e4}.week-days button{position:relative;padding:4px 0 8px;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:15px;line-height:24px}.week-days small{font-size:11px;line-height:16.5px;font-weight:400;color:#8a8f96}.week-days button>span{width:28px;height:26px;border-radius:8px}.week-days [aria-current]>span{background:#26292e;color:#fff;font-weight:600}.week-days i{position:absolute;bottom:0;width:4px;height:4px;background:#8b5cf6;border-radius:50%}
.overview-scroller{display:flex;gap:12px;padding:20px 16px 16px;overflow-x:auto;scrollbar-width:none;scroll-padding-left:16px}.time-card{background:#f4f3f2;border-radius:24px;width:240px;height:150px;padding:16px;flex-shrink:0;position:relative}.overview-scroller>.time-card:only-child{width:100%}.time-card-heading{display:flex;align-items:center;gap:4px;height:32px}.figma-card-icon{display:block;width:22px;height:22px;flex:0 0 22px}.time-card-heading strong{font-size:14px;line-height:21px;font-weight:600}.time-card-heading small{margin-left:auto;color:#8a8f96;font-size:12px;line-height:18px}.time-card-body{display:flex;align-items:center;justify-content:space-between;height:86px}.time-chart{position:relative;width:84px;height:84px;display:grid;place-items:center}.time-chart canvas{position:absolute;width:84px;height:84px}.time-chart>strong{position:relative;font-size:15px;line-height:18px;font-weight:600}.time-legend{width:90px;display:grid;gap:4px;font-size:12px;line-height:18px}.time-legend>div,.time-legend>div>span{display:flex;align-items:center;gap:6px}.time-legend>div{justify-content:space-between}.time-legend i{width:8px;height:8px;border-radius:50%}.time-legend small{font-size:12px;color:#8a8f96}.stats-warning{font-size:11px;color:#95671b}.time-card>.stats-warning{position:absolute;bottom:1px;left:16px;font-size:9px}
.health-card{width:220px;height:150px;border:0;box-shadow:none;border-radius:24px;background:#f4f3f2;padding:16px;text-align:left;flex-shrink:0}.health-card>strong{display:flex;align-items:center;gap:8px;font-size:14px;line-height:21px;height:32px;font-weight:600}.health-card-value{height:38px;display:flex;align-items:baseline;gap:5px}.health-card b{font-size:28px;line-height:28px}.health-card small{font-size:12px;line-height:19.5px;color:#8a8f96;white-space:nowrap}.health-bar{height:8px;border-radius:10px;margin:8px 0;overflow:hidden}.health-bar i{display:block;height:100%;border-radius:inherit}.health-card.food .health-bar{background:rgba(238,214,208,.8)}.health-card.food .health-bar i{background:#f2734c}.health-card.sport .health-bar{background:rgba(207,223,221,.8)}.health-card.sport .health-bar i{background:#36c8bb}
.diary-schedule{padding:10px 16px 16px}.schedule-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;height:31.5px}.schedule-heading h2{font-size:15px;line-height:22.5px;margin:0;font-weight:600}.review-pill{font-size:13px;line-height:19.5px;display:flex;gap:6px;align-items:center;padding:6px 12px;border-radius:30px;background:#f6f5f3;white-space:nowrap}.review-pill img{display:block;width:13px;height:13px}.diary-timeline{position:relative}.diary-tick{position:absolute;left:0;right:0;display:flex;align-items:center;height:18px;pointer-events:none}.diary-tick time{width:44px;font-size:12px;line-height:18px;color:#8a8f96;flex-shrink:0}.diary-tick i{height:1px;background:#ebe9e4;flex:1}.diary-event{position:absolute;display:flex;flex-direction:column;justify-content:flex-start;text-align:left;border-left:3px solid var(--event-color);border-radius:4px;background:var(--event-fill);padding:6px 11px;overflow:hidden;min-width:0}.diary-event strong{display:block;font-size:14px;line-height:21px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.diary-event>span{display:block;font-size:12px;line-height:25px;color:#8a8f96;white-space:nowrap}.diary-event em{background:#ffffffcc;color:var(--event-label);border-radius:20px;padding:2px 8px;margin-left:6px;font-style:normal;font-size:11px}.diary-event.compact{padding:3px 12px}.diary-event.compact>span{display:none}.diary-event.planned{border-top:1px dashed var(--event-color);border-right:1px dashed var(--event-color);border-bottom:1px dashed var(--event-color)}.diary-event.planned strong:before{content:'计划 · ';font-size:11px;color:#707780}.empty-timeline{position:absolute;top:90px;left:60px;color:#8a8f96;font-size:13px;background:#fff}.week-navigation{display:flex;justify-content:space-between;padding:16px 0}.week-navigation button{padding:10px;background:#f5f4f1;border-radius:12px;font-size:13px}.pending-time,.day-records,.saved-review{padding-top:20px}.saved-review p{white-space:pre-wrap;overflow-wrap:anywhere}
.diary-timeline-scroll{height:min(380px,48dvh);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#dadbd8 transparent}.diary-timeline-scroll:focus-visible{outline:2px solid #77ad9e;outline-offset:2px}.diary-todos{margin:4px 0 22px}.diary-todos h2{font-size:15px;line-height:23px;margin:0 0 9px}.diary-todos>div{display:grid;gap:7px}.diary-todo-row{width:100%;min-width:0;min-height:55px;display:flex;align-items:center;gap:12px;text-align:left;background:#f6f5f3;border-radius:14px;padding:9px 12px}.diary-todo-row span{font-size:14px;line-height:20px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}.diary-todo-row small{font-size:11px;line-height:17px;color:#8a8f96;white-space:nowrap;flex-shrink:0}.diary-todos+.schedule-heading{margin-top:0}
.personal-module-icon{width:20px;height:20px;display:block;flex-shrink:0;background:currentColor;-webkit-mask:center/contain no-repeat;mask:center/contain no-repeat}
.personal-module-icon-food{-webkit-mask-image:url("assets/figma/diary/food.svg");mask-image:url("assets/figma/diary/food.svg")}
.personal-module-icon-sport{-webkit-mask-image:url("assets/figma/diary/sport.svg");mask-image:url("assets/figma/diary/sport.svg")}
.review-form{padding:16px 20px 32px}.review-time-card{width:100%;height:155px;border-radius:16px;padding:12px 16px;background:#f5f4f1;margin-bottom:21px}.review-time-card .time-card-heading{height:21px;gap:8px}.review-time-card .figma-card-icon{width:15px;height:15px;flex-basis:15px}.review-time-card .time-card-body{height:111px;padding-top:8px}.review-chart{width:74px;height:74px}.review-ring{width:52px;height:52px;border:4px solid #64b5f6;border-radius:50%;position:absolute}.review-chart>strong{font-size:12px}.review-time-card .time-legend{width:93px;gap:6px}.review-form>label{display:block;color:#8a8f96;font-size:13px;line-height:19.5px;padding-bottom:6.5px;height:26px}.review-form>textarea{display:block;width:100%;height:97.1px;resize:none;border:0;background:#f5f4f1;border-radius:16px;padding:12px 16px;font-size:15px;line-height:24.375px;color:#23262a}.review-form>textarea::placeholder{color:#8a8f96}.review-form #review-feeling{margin-bottom:22.44px}.review-save{display:block;width:100%;height:46.485px;margin-top:26.438px;border-radius:14px;background:#26292e;color:white;font-size:15px;font-weight:600}.review-form #review-error{font-size:12px;color:#a03f32;margin:12px 0 0}
#personal{position:fixed;inset:0 auto 0 0;margin:0;width:346.164px;max-width:calc(100vw - 56px);height:100dvh;max-height:100dvh;border-radius:0;padding:32px 20px;box-shadow:none;background:#fff;scrollbar-width:none;color:#23262a}#personal::backdrop{background:rgba(35,38,42,.2)}.personal-profile{display:flex;align-items:center;width:100%;padding:12px 0;gap:12px;height:72px;text-align:left}.avatar{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#f5f4f1;color:#8a8f96;flex-shrink:0}.avatar svg{width:23px;height:23px}.personal-profile strong{font-size:19px;font-weight:600;line-height:28.5px;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.personal-profile>svg{width:24px;height:24px}.personal-overview{padding-top:20px;padding-bottom:20px;border-bottom:.585px solid #ebe9e4}.personal-counts{display:flex;justify-content:space-between;height:50px}.personal-counts>div{display:flex;flex-direction:column;gap:4px}.personal-counts strong{font-size:28px;line-height:28px;font-weight:600}.personal-counts small{font-size:12px;line-height:18px;color:#8a8f96}.heatmap{display:grid;grid-template-columns:repeat(14,1fr);grid-template-rows:repeat(4,16.31px);gap:6px;margin-top:20px;height:83.225px}.heatmap span{background:#f5f4f1;border-radius:3px}.heat-months{display:flex;justify-content:space-around;padding-top:8px;font-size:11px;line-height:16.5px;color:#8a8f96}.personal-nav{display:grid;gap:4px;padding-top:16px}.personal-nav button,.personal-modules>div,.personal-tools>button{display:flex;align-items:center;gap:16px;padding:12px 8px;border-radius:16px;width:100%;height:48px;text-align:left}.personal-nav strong,.personal-modules strong{font-size:16px;font-weight:600;line-height:24px;flex:1}.personal-nav small{margin-left:auto;color:#8a8f96;font-size:15px}.personal-modules,.personal-tools{display:grid;gap:4px;border-top:.585px solid #ebe9e4;padding-top:16px;margin-top:16px}.personal-modules>div{height:52px}.personal-tools>button{font-size:14px}.personal-tools>button span{flex:1}.personal-tools>button>svg:last-child{width:16px;height:16px;color:#8a8f96}.switch{width:30px;height:28px;position:relative;padding:0;flex-shrink:0}.switch:before{content:'';position:absolute;left:0;top:6px;width:30px;height:16px;border-radius:9px;background:#d1d1d1}.switch[aria-checked=true]:before{background:#26292e}.switch span{position:absolute;top:8px;left:2px;width:12px;height:12px;background:white;border-radius:50%}.switch[aria-checked=true] span{left:16px}
.settings-content{background:#f5f4f1;padding:16px;min-height:calc(100dvh - 44px)}.settings-row{display:flex;align-items:center;justify-content:space-between;width:100%;padding:16px 0;font-size:15px;line-height:24px;gap:12px;text-align:left}.settings-row strong{font-size:16px;line-height:24px;font-weight:600}.settings-row>span:not(.avatar){display:flex;align-items:center;gap:8px}.settings-row>strong+span:not(.avatar){color:#8a8f96}.settings-row>span:not(.avatar)>svg{width:18px;height:18px}.settings-row.avatar-row{padding:10px 0 0;height:58px}.settings-row .avatar{background:#fff}.settings-group{border-top:1px solid #ebe9e4;padding-top:16px}.cache-section>div{display:flex;align-items:center;justify-content:space-between}.cache-section strong{font-size:16px;font-weight:600;line-height:24px}.cache-clear{background:#26292e;color:#fff;font-size:14px;line-height:21px;border-radius:8px;height:26px;padding:0 16px}.cache-section p{font-size:13px;line-height:24px;color:#8a8f96;max-width:297px;margin:8px 0 0}.cache-link{color:#8b5cf6;font-size:13px;line-height:19.5px;padding:8px 0 0}.avatar-choice{padding:16px}.avatar-choice svg{width:28px;height:28px}.trash-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #eee}.trash-row>span{font-size:14px;overflow-wrap:anywhere}
body[data-theme="sage"]{--surface:#eff5f0;--accent:#356e56}body[data-theme="sand"]{--surface:#faf1e4;--accent:#8b6740}body[data-theme]:not([data-theme="default"]) .workspace,body[data-theme]:not([data-theme="default"]) .topbar,body[data-theme]:not([data-theme="default"]) .bottom-area,body[data-theme]:not([data-theme="default"]) .settings-content,body[data-theme]:not([data-theme="default"]) .week-calendar{background:var(--surface)}body[data-theme]:not([data-theme="default"]) .primary,body[data-theme]:not([data-theme="default"]) .review-save,body[data-theme]:not([data-theme="default"]) .send{background:var(--accent)}

.exclude-time{display:flex;align-items:center;gap:8px}.exclude-time input{width:18px;height:18px;flex-shrink:0}

.settings-group>div.settings-row{padding:14px 0}

.week-calendar,.diary-event strong{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif}

/* P10 memo list replaces the generic topic cards; dimensions from node 210:13226. */
body[data-page="memo"] .workspace{background:#f5f4f1;color:#23262a}
body[data-page="memo"] .content{padding:0;max-width:760px;width:100%}
.memo-toolbar{position:sticky;top:0;background:#f5f4f1;z-index:2}
.memo-header{height:44px;padding:0 4px 0 16px;display:flex;align-items:center}
.memo-header h1{margin:0;flex:1;font-size:17px;line-height:24px;font-weight:600;letter-spacing:0}
.memo-header>button{width:44px;height:44px;padding:0;display:grid;place-items:center;flex-shrink:0}
.memo-header svg{width:20px;height:20px;stroke-width:1.8}
.memo-filters{height:44.657px;display:flex;gap:8px;padding:4px 16px 8px;overflow-x:auto;scrollbar-width:none}
.memo-filter-group{display:flex;align-items:center;gap:2px;flex-shrink:0}
.memo-filter{background:#fff;border:.585px solid #ebe9e4;border-radius:99px;padding:6px 14px;font-size:13px;line-height:19.5px;white-space:nowrap}
.memo-filter[aria-pressed="true"]{color:#fff;background:#26292e;border-color:#26292e}
.memo-category-more{padding:0;width:24px;height:24px;display:grid;place-items:center;color:#c3c5c8}
.memo-category-more svg{width:14px;height:14px}
.memo-list{padding:10px 16px 24px;display:flex;flex-direction:column;gap:12px}
.memo-swipe-shell{position:relative;overflow:hidden;border-radius:24px;min-width:0;touch-action:pan-y}.memo-swipe-actions{position:absolute;left:0;top:0;bottom:0;width:168px;display:grid;grid-template-columns:repeat(3,56px);background:#f0efed;visibility:hidden}.memo-swipe-shell.open .memo-swipe-actions{visibility:visible}.memo-swipe-actions button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:4px;color:#4e555c;font-size:10px;line-height:14px}.memo-swipe-actions button:last-child{color:#ad514a}.memo-swipe-actions svg{width:18px;height:18px}.memo-swipe-shell .memo-card{position:relative;z-index:1;margin:0;transition:transform .18s ease}.memo-swipe-shell.open .memo-card{transform:translateX(168px)}
.memo-card{background:#fff;border-radius:24px;padding:16px;flex-shrink:0;min-width:0;overflow:hidden}
.memo-card-open{display:block;width:100%;padding:0;text-align:left}
.memo-card h2{font-size:16px;font-weight:600;line-height:22px;margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.memo-card p{font-size:14px;line-height:22.75px;color:rgba(35,38,42,.7);margin:6px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;white-space:pre-wrap}
.memo-card footer{display:flex;align-items:center;gap:6px;margin-top:12px;min-height:22px}
.memo-badge{background:#f5f4f1;color:#8a8f96;box-shadow:0 0 0 1px #ebe9e4;padding:2px 10px;border-radius:99px;font-size:12px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:60%}
.memo-badge.warm{color:#c77a00;background:#fff7e6;border-radius:6px;box-shadow:none;padding:2px 8px}
.memo-card time{margin-left:auto;flex-shrink:0;font-size:12px;line-height:18px;color:#8a8f96}
.memo-link{display:flex;align-items:center;gap:6px;margin-top:8px;color:#8b5cf6;font-size:13px;line-height:19.5px;text-decoration:none;min-width:0}
.memo-link svg{width:13px;height:13px}.memo-link span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.memo-search-field{display:flex;align-items:center;gap:8px;flex:1;min-width:0}
.memo-search-field input{border:0;background:transparent;min-width:0;width:100%;height:36px;font-size:14px;outline-offset:-2px}
.memo-header>.memo-search-cancel{width:48px;font-size:13px}
.memo-empty{padding:44px 12px;text-align:center;color:#8a8f96;font-size:14px}
#memo-category-error{font-size:13px;color:#a03f32}

/* Batch 3 bottom sheets: P03, P05 and P06. */
#batch3-sheet{padding:0;border:0;background:#fff;color:#23262a;overflow:hidden}
#batch3-sheet::backdrop{background:rgba(0,0,0,.7)}
#batch3-body,.sheet-form{min-width:0}
.sheet-form{display:flex;flex-direction:column}
.sheet-handle{width:40px;height:4px;border-radius:99px;background:#ebe9e4;margin:12px auto 4px;flex:0 0 auto;touch-action:none}
.sheet-header{height:40px;display:grid;grid-template-columns:72px 1fr 72px;align-items:center;padding:0 20px;flex:0 0 auto}
.sheet-header h2{font-size:17px;line-height:25.5px;text-align:center;margin:0;font-weight:700}
.sheet-header button{height:44px;padding:0;color:#8a8f96;font-size:16px;line-height:24px}
.sheet-header button:first-child{text-align:left}.sheet-header button:last-child{text-align:right;font-weight:600}
.sheet-header button:disabled{opacity:.45}
.sheet-error{min-height:20px;margin:6px 20px 0;color:#a03f32;font-size:13px;line-height:20px}
.memo-compose{height:338px}
.memo-compose-title{height:42px;margin:0 20px 4px;border:0;border-bottom:1px solid #ebe9e4;border-radius:0;padding:6px 0;font-size:16px}
.memo-compose>textarea{width:calc(100% - 40px);height:160px;min-height:160px;margin:0 20px;padding:8px 0 12px;border:0;border-radius:0;background:transparent;resize:none;font:18px/30px "PingFang SC",-apple-system,BlinkMacSystemFont,sans-serif;color:#23262a}
.memo-compose>textarea::placeholder{color:#8a8f96}
.memo-compose-categories{height:43px;display:flex;align-items:center;gap:8px;overflow-x:auto;scrollbar-width:none;padding:0 20px 10px}
.memo-compose-chip{flex:0 0 auto;border-radius:99px;background:#f5f4f1;padding:6px 12px;font-size:13px;line-height:19.5px;white-space:nowrap}
.memo-compose-chip[aria-pressed="true"]{background:#eaf2ef;color:#387567}
.memo-compose-extra{display:flex;align-items:center;gap:12px;padding:0 20px 8px;font-size:13px}.memo-compose-extra[hidden]{display:none}
.memo-pending{display:flex;align-items:center;gap:6px}.memo-pending input{width:18px;height:18px}
.memo-plan{margin-left:auto;color:#387567;font-weight:600}
.memo-compose-toolbar{margin:auto 20px 0;border-top:.585px solid #ebe9e4;padding:10px 0 12px;display:flex;align-items:center;justify-content:space-between}
.memo-compose-toolbar>div{display:flex;gap:4px}.memo-compose-toolbar button{width:36px;height:36px;display:grid;place-items:center;border-radius:99px;color:#8a8f96}
.memo-compose-toolbar button svg{width:20px;height:20px}.memo-compose-toolbar .tool-active{background:#eaf2ef;color:#387567}.memo-compose-toolbar button strong{font-size:21px;font-weight:500}
.memo-compose-toolbar .memo-arrow-save{width:40px;height:40px;background:#26292e;color:#fff}.memo-compose-toolbar .memo-arrow-save:disabled{opacity:.45}
.health-form{padding-bottom:20px;max-height:calc(100dvh - 12px);overflow:auto}
.health-form fieldset{border:0;margin:0;padding:4px 20px 16px;min-width:0}.health-form legend,.health-form>label{display:block;margin:0 20px 8px;color:#8a8f96;font-size:14px;line-height:21px}.health-form fieldset legend{margin:0 0 8px}
.health-choices{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none}.health-choices button{height:34px;min-width:60px;padding:0 16px;border:.585px solid #ebe9e4;border-radius:99px;white-space:nowrap;font-size:14px}.health-choices button[aria-pressed="true"]{background:#26292e;border-color:#26292e;color:#fff}
.sport-choices{gap:8px}.sport-choices button{min-width:58px;padding:0 15px}
.health-form>textarea{margin:0 20px 20px;width:calc(100% - 40px);height:70px;min-height:70px;padding:12px 16px;border:.585px solid #ebe9e4;border-radius:16px;background:#f5f4f1;resize:none;font:16px/24px inherit}
.health-form>textarea::placeholder,.health-input input::placeholder{color:#9da1a7}
.health-input{height:48px;margin:0 20px 18px;padding:0 16px;display:flex;align-items:center;gap:10px;border:.585px solid #ebe9e4;border-radius:16px;background:#f5f4f1;color:#8a8f96}
.health-input svg{width:18px;height:18px;color:#ef5748;flex:0 0 auto}.health-input input{flex:1;min-width:0;border:0;background:transparent;padding:0;font-size:16px;height:48px}.health-input span{font-size:15px}
.batch3-sheet input:focus,.batch3-sheet textarea:focus{outline:0;box-shadow:none}.sheet-error:empty{display:none}
@media(min-width:761px){#batch3-sheet{width:min(620px,calc(100% - 40px));max-width:620px;border-radius:24px;margin:auto}.memo-compose{height:338px}.health-form{padding-bottom:26px}}
.memo-todo-options{grid-template-columns:1fr}.memo-todo-options label{grid-column:auto}.memo-todo-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.memo-todo-actions button{height:44px;border-radius:12px;padding:0 12px;font-weight:600}.memo-todo-actions .memo-plan{margin:0;background:#f5f4f1;color:#5d646b}.memo-todo-actions .memo-complete-toggle{background:#eaf2ef;color:#387567}
.dialog-head,.sheet-header{position:sticky;top:0;z-index:3;background:#fff}
