:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;color:#25322e;background:#f6f8f7;font-size:14px;font-synthesis:none;--green:#368474;--muted:#83918b;--line:#e5ebe7;--soft:#edf4f0}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #98c8b9;outline-offset:3px}button{border:0;background:none;color:inherit}input,textarea,select{width:100%;border:1px solid var(--line);border-radius:12px;padding:12px;background:#fff;color:#25322e;font-size:16px;min-height:44px}textarea{resize:vertical;min-height:118px;line-height:1.65}input:focus,textarea:focus,select:focus{outline:2px solid #a6cebf;border-color:var(--green)}a{color:var(--green)}h1,h2,h3,p{margin:0}h1{font-size:27px;font-weight:600;letter-spacing:-.7px}h2{font-size:17px;font-weight:600;letter-spacing:-.3px}h3{font-size:15px;font-weight:600}svg{width:20px;height:20px;flex-shrink:0}strong{font-weight:600}.shell{max-width:820px;margin:auto;padding:0 32px 140px}.topbar{display:flex;align-items:center;justify-content:space-between;height:84px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;padding:8px 0;font-size:20px;font-weight:600;letter-spacing:1px}.brand img{height:31px;width:31px}.top-actions{display:flex;gap:6px}.icon-button{height:44px;width:44px;border-radius:50%;display:grid;place-items:center;color:#60736a}.icon-button:hover{background:var(--soft)}.intro{padding:30px 0 27px}.eyebrow{font-size:12px;letter-spacing:1.4px;color:var(--muted);margin-bottom:10px}.intro-sub{color:#75867d;font-size:13px;margin-top:9px}.intro-line{display:flex;justify-content:space-between;align-items:center;gap:10px}.pill{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:100px;background:var(--soft);color:var(--green);font-size:11px;white-space:nowrap}.pill.gray{background:#f0f2f1;color:#76847c}.section{margin:27px 0}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.text-button{display:inline-flex;align-items:center;gap:4px;min-height:36px;color:#6f8278;font-size:12px}.text-button svg{width:14px;height:14px}.brief{background:linear-gradient(120deg,#e6f0e9,#f0f5ec);border:1px solid #e1eae0;border-radius:20px;padding:24px}.brief-top{display:flex;align-items:center;gap:7px;font-size:12px;color:#5b7869}.brief-top svg{width:16px;height:16px}.stats{display:grid;grid-template-columns:repeat(3,1fr);margin:20px 0}.stat+.stat{border-left:1px solid #d4e2d8;padding-left:27px}.stat strong{display:block;font-size:31px;line-height:1.2;letter-spacing:-1px;font-weight:500}.stat span{display:block;color:#6e8276;font-size:12px;margin-top:8px}.advice{display:flex;align-items:flex-start;gap:9px;border-top:1px solid #d6e4d9;padding-top:15px;color:#546f5e;font-size:13px;line-height:1.6}.advice svg{width:16px;margin-top:1px}.source-label{display:block;font-size:10px;color:#829389;margin-top:6px}.ace-card{display:flex;align-items:center;gap:14px;padding:20px;border:1px solid var(--line);border-radius:18px;background:#fff}.ace-avatar{display:grid;place-items:center;width:45px;height:45px;background:#f0f5f2;border-radius:15px;color:var(--green);flex-shrink:0}.ace-avatar svg{width:26px;height:26px}.ace-card p{font-size:12px;color:var(--muted);margin-top:6px}.ace-card .spacer{flex:1}.circle-arrow{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;color:var(--green);background:#f1f6f3}.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:19px}.groups{display:grid;grid-template-columns:1fr 1fr;gap:14px}.group-title{display:flex;align-items:center;gap:7px;color:#6d8075;font-size:12px;margin-bottom:11px}.group-title svg{width:15px;height:15px}.task{display:flex;align-items:flex-start;gap:11px;padding:12px 0}.task+.task{border-top:1px solid #eef1ef}.check{width:23px;height:23px;min-width:23px;border:1.5px solid #c9d7ce;border-radius:50%;display:grid;place-items:center;margin-top:0;padding:0;color:white}.check.done{background:var(--green);border-color:var(--green)}.check svg{width:14px;height:14px}.task-main{flex:1;min-width:0;text-align:left;padding:0;line-height:1.5}.task-title{display:block;font-size:14px;overflow-wrap:anywhere}.task-title.completed{color:#8a978f;text-decoration:line-through}.task-meta{display:block;font-size:11px;color:#91a096;margin-top:5px}.task-meta.overdue{color:#aa6b58}.dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#d5a562;margin-right:6px;vertical-align:middle}.empty{padding:25px 8px;text-align:center;color:#91a097;font-size:13px;line-height:1.8}.empty-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#f0f5f1;color:#9eb3a5;margin:0 auto 9px}.empty.large{padding:45px 20px}.empty p{margin-bottom:12px}.empty-note{font-size:11px;margin-top:4px}.inspiration-card{padding:23px;border-radius:18px;background:#fff;border:1px solid var(--line);position:relative}.quote{font-family:Georgia,serif;font-size:40px;line-height:.7;color:#c8d9cb;margin-bottom:12px}.inspiration-content{line-height:1.8;color:#4b6154;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}.card-foot{margin-top:15px;display:flex;align-items:center;justify-content:space-between;color:#92a196;font-size:11px}.bottom-nav{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);display:flex;width:min(620px,calc(100% - 40px));padding:7px 12px;background:rgba(255,255,255,.96);backdrop-filter:blur(16px);border:1px solid #e6ece6;border-radius:23px;box-shadow:0 7px 30px #334d3c08;z-index:20}.nav-item{flex:1;min-height:57px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;font-size:10px;color:#8c9991;border-radius:16px}.nav-item.active{color:var(--green);background:#edf4ef}.nav-item svg{height:21px;width:21px}.fab{position:fixed;right:max(24px,calc((100vw - 820px)/2 + 20px));bottom:116px;width:52px;height:52px;border-radius:18px;background:var(--green);color:#fff;box-shadow:0 8px 20px #36847430;display:grid;place-items:center;z-index:22}.fab svg{width:25px;height:25px}.fab-menu{position:fixed;right:max(24px,calc((100vw - 820px)/2 + 20px));bottom:178px;width:190px;background:#fff;border:1px solid var(--line);box-shadow:0 10px 35px #2d473719;border-radius:17px;padding:7px;z-index:23}.fab-menu button{display:flex;align-items:center;gap:11px;width:100%;text-align:left;border-radius:11px;padding:13px;font-size:13px}.fab-menu button:hover{background:var(--soft)}.filters{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 18px}.filter{padding:9px 14px;border-radius:11px;background:#fff;border:1px solid var(--line);font-size:12px;color:#75867d}.filter.active{color:var(--green);background:#eaf2ed;border-color:#d8e7dc}.primary{min-height:44px;padding:11px 20px;border-radius:12px;background:var(--green);color:white;font-size:13px;font-weight:500;display:inline-flex;justify-content:center;align-items:center;gap:7px;text-decoration:none}.secondary{min-height:44px;border:1px solid var(--line);border-radius:12px;padding:11px 17px;background:white;font-size:13px;color:#6d7c74}.full{width:100%}.schedule-item{display:flex;gap:18px;align-items:center;padding:12px 0}.schedule-item+.schedule-item{border-top:1px solid var(--line)}.time{font-size:15px;color:var(--green);min-width:45px}.schedule-item p{font-size:11px;color:var(--muted);margin-top:5px}.function-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.function-tile{display:flex;gap:12px;text-align:left;padding:19px;border:1px solid var(--line);border-radius:17px;background:white;align-items:center;min-height:95px}.function-tile .tile-icon{width:38px;height:38px;background:#f0f5f1;color:var(--green);border-radius:12px;display:grid;place-items:center;flex-shrink:0}.function-tile h3{font-size:14px}.function-tile p{font-size:11px;color:var(--muted);margin-top:7px;line-height:1.5}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:60px;border-bottom:1px solid var(--line);font-size:13px}.settings-row:last-child{border:0}.settings-row span{color:#7b8d81;font-size:12px}.status-list{display:grid;gap:12px;margin-top:20px}.status-row{display:flex;align-items:center;gap:10px;font-size:12px;color:#6c7f73}.status-row svg{height:17px;width:17px}.notice{font-size:12px;color:#73847a;line-height:1.85;background:#f0f4f1;border-radius:12px;padding:13px 15px;margin-top:14px}.modal-backdrop{position:fixed;inset:0;background:#23382b55;backdrop-filter:blur(5px);display:grid;place-items:center;padding:20px;z-index:50}.modal{background:#fff;border-radius:24px;width:100%;max-width:470px;padding:26px;max-height:90dvh;overflow:auto;box-shadow:0 20px 80px #21382b30}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.modal-header h2{font-size:19px}.modal label{font-size:12px;color:#75867b;display:block;margin-bottom:7px}.field{margin-bottom:17px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-actions{display:flex;gap:10px;margin-top:24px}.form-actions .primary{flex:1}.form-error{color:#a25c4b;font-size:12px;line-height:1.8;margin-top:12px;min-height:0}.check-label{display:flex!important;align-items:center;gap:9px;font-size:13px!important}.check-label input{width:17px;min-height:17px;height:17px;accent-color:var(--green)}.auth-wrap{min-height:100dvh;display:grid;place-items:center;padding:30px 20px;background:radial-gradient(ellipse at 50% 5%,#e3eee5 0,transparent 65%),#f6f8f7}.auth-card{width:100%;max-width:380px}.auth-logo{width:49px;height:49px;margin-bottom:30px}.auth-card h1{font-size:30px}.auth-card .subtitle{font-size:13px;color:#839488;line-height:1.8;margin:13px 0 30px}.auth-card .field{margin-bottom:17px}.auth-card label{font-size:12px;color:#7f9083;display:block;margin-bottom:7px}.auth-card .primary{margin-top:9px}.auth-foot{margin-top:24px;text-align:center;color:#8b9b8f;font-size:11px;line-height:1.9}.auth-or{margin:17px;text-align:center;color:#a0aaa2;font-size:11px}.demo-banner{display:flex;align-items:center;justify-content:space-between;padding:11px 17px;background:#e7f0ea;border-radius:12px;font-size:11px;color:#698071;margin-top:16px}.demo-banner button{color:var(--green);padding:5px}.setting-layout{display:grid;gap:8px}.layout-row{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#f5f7f5;border-radius:11px}.layout-row label{flex:1;margin:0}.layout-row input{height:16px;width:16px;min-height:16px}.layout-row button{min-width:34px;min-height:34px;font-size:18px;color:#718578}.search-results{display:grid;gap:10px;margin-top:16px}.search-result{text-align:left;border:1px solid var(--line);padding:13px;border-radius:12px;line-height:1.6;width:100%}.search-result span{font-size:10px;color:var(--muted);display:block}.starting{text-align:center;color:var(--muted);padding-top:30vh}#toast{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);padding:11px 18px;border-radius:13px;color:#fff;background:#2b4939;box-shadow:0 8px 24px #24402e20;z-index:80;font-size:12px;max-width:90vw;display:none}.subpage-back{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);padding:20px 0 4px}.subpage-back svg{width:16px;height:16px}.quiet-times{display:flex;gap:12px}.quiet-times input{width:50%}.record-preview{padding:20px;border:1px dashed #c8d9cd;border-radius:16px;text-align:center}.record-preview audio{max-width:100%;margin-top:15px}.attachment-preview{max-width:100%;max-height:250px;border-radius:12px;margin-top:12px}.file-input{font-size:12px}.discreet{color:#92a196;font-size:11px;line-height:1.8;margin-top:16px}.overflow-wrap{overflow-wrap:anywhere}
:root{--muted:#62756b}.eyebrow,.intro-sub,.source-label,.task-meta,.task-title.completed,.empty,.card-foot,.function-tile p,.settings-row span,.notice,.discreet,.auth-foot,.auth-card .subtitle,.nav-item,.auth-or{color:#62756b}.stat span{color:#586e60}
.content-list{display:grid;gap:14px}.content-card{text-align:left;background:#fff;border:1px solid var(--line);border-radius:18px;padding:21px;min-width:0}.content-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.content-heading h3{overflow-wrap:anywhere;line-height:1.6;min-width:0}.content-heading h3 svg{width:15px;height:15px;vertical-align:middle;color:var(--green)}.content-excerpt{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;color:#62756b;font-size:13px;margin-top:12px}.content-meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px;color:#62756b;font-size:11px;overflow-wrap:anywhere;margin-top:13px}.content-tag{padding:4px 9px;border-radius:8px;background:var(--soft);color:#4b6b5a}.content-card:hover{border-color:#bad3c8}
.content-toolbar{gap:12px;align-items:flex-start}.content-toolbar .filters{margin:0;min-width:0}.content-toolbar .primary{flex-shrink:0;white-space:nowrap;padding:11px 14px}
.finance-summary{display:grid;gap:14px}.finance-summary-values{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:20px}.finance-summary-values>div{min-width:0}.finance-summary-values span,.finance-summary-values small{display:block;font-size:11px;color:#586e60}.finance-summary-values strong{display:block;font-size:22px;letter-spacing:-.6px;margin:9px 0;overflow-wrap:anywhere;line-height:1.4}.finance-amount{text-align:right;min-width:0;max-width:48%}.finance-amount strong{font-size:19px;letter-spacing:-.3px;overflow-wrap:anywhere;display:block}.finance-amount span{font-size:10px;color:#62756b;display:block;line-height:1.6;margin-top:7px}.finance-alert{display:flex;align-items:center;gap:12px;text-align:left;padding:12px 0}.finance-alert+.finance-alert{border-top:1px solid var(--line)}.finance-gate .discreet{margin-top:8px}
@media(max-width:600px){.shell{padding:0 22px 133px}.topbar{height:73px}.brand{font-size:18px}.intro{padding:27px 0 23px}h1{font-size:25px}.intro-sub{font-size:12px}.brief{padding:21px;border-radius:18px}.stat strong{font-size:29px}.stat+.stat{padding-left:19px}.groups{gap:12px}.groups .card{padding:15px 14px}.task{gap:8px}.task-title{font-size:13px}.section{margin:24px 0}.bottom-nav{bottom:0;width:100%;border-radius:20px 20px 0 0;border-bottom:0;padding:8px 14px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -5px 22px #334d3c06}.nav-item{min-height:55px}.fab{right:22px;bottom:calc(91px + env(safe-area-inset-bottom));width:50px;height:50px}.fab-menu{right:22px;bottom:calc(153px + env(safe-area-inset-bottom))}.modal-backdrop{align-items:end;padding:0}.modal{border-radius:25px 25px 0 0;padding:26px 23px calc(28px + env(safe-area-inset-bottom));max-height:92dvh}.function-tile{padding:16px 13px;gap:10px}.function-tile .tile-icon{width:33px;height:33px}.ace-card{padding:18px}.auth-wrap{align-items:center}#toast{bottom:calc(86px + env(safe-area-inset-bottom))}}@media(max-width:350px){.shell{padding-left:17px;padding-right:17px}.groups{grid-template-columns:1fr}.stat+.stat{padding-left:13px}.function-grid{gap:9px}.function-tile{flex-direction:column;align-items:flex-start}.pill{font-size:10px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}} 

.top-actions [data-action="notifications"]{position:relative}.notification-badge{position:absolute;top:0;right:0;min-width:16px;height:16px;padding:0 4px;border-radius:9px;background:var(--green);color:white;font-size:9px;display:grid;place-items:center;border:2px solid var(--bg)}.notification-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.notification-toolbar .filters{margin-bottom:10px}.notification-list{display:grid;gap:10px;margin-top:13px}.notification-item{border:1px solid var(--line);border-radius:14px;padding:15px;min-width:0}.notification-item.unread{background:#f4f8f5;border-color:#cfe0d6}.notification-main{text-align:left;min-width:0}.notification-main strong{display:block;font-size:14px;line-height:1.6;overflow-wrap:anywhere;margin:8px 0}.notification-main p{font-size:12px;color:var(--muted);line-height:1.7;overflow-wrap:anywhere}.notification-kind,.notification-time{font-size:10px;color:var(--muted)}.notification-time{display:block;margin-top:10px}.notification-item>.text-button{margin-top:12px}

.isolation-banner{padding:10px 12px;margin:0 0 20px;border:1px solid #c9dfd9;border-radius:12px;background:#e7f1ed;color:#245b4f;font-size:12px;line-height:1.6;text-align:center}
.recovery-secret{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere;word-break:break-all;user-select:all;background:#eff5f2;border:1px solid #c9dfd9;border-radius:12px;padding:16px;margin:20px 0;line-height:1.8;font-size:15px}
/* Keep native date/time controls within their grid cells, including iPhone. */
.form-row{grid-template-columns:repeat(2,minmax(0,1fr))}
.form-row>.field{min-width:0}
.modal input,.modal select,.modal textarea{min-width:0;max-width:100%;box-sizing:border-box}
.modal input:is([type="date"],[type="datetime-local"],[type="time"]){display:block;min-height:46px;text-align:left;-webkit-appearance:none;appearance:none}
.modal input::-webkit-date-and-time-value{min-width:0;text-align:left}
@media(max-width:600px){.form-row:has(input:is([type="date"],[type="datetime-local"])){grid-template-columns:minmax(0,1fr)}}

/* Direct user-tapped links preserve iOS Universal Link handling. */
.ace-open-link{text-decoration:none}
.ace-card.ace-open-link{color:inherit;justify-content:initial}
.primary.ace-open-link{display:flex;align-items:center;justify-content:center}

/* Passkey-first welcome page. Device authentication stays in the system sheet. */
.auth-welcome{padding:32px 22px;background:radial-gradient(ellipse at 15% 0,#e4f0e9 0,transparent 55%),radial-gradient(ellipse at 100% 100%,#edf3eb 0,transparent 55%),#f6f8f7}
.auth-welcome-card{max-width:400px;background:#ffffffde;border:1px solid #e1ebe5;border-radius:30px;padding:30px 28px 19px;box-shadow:0 14px 55px #294e3a08}
.auth-brand{display:flex;align-items:center;gap:9px;color:#2d5143;font-size:18px;font-weight:600;letter-spacing:1px}
.auth-brand img{width:34px;height:34px}.auth-brand-note{margin-left:auto;color:#81958b;font-size:11px;font-weight:400;letter-spacing:0}
.auth-welcome-intro{text-align:center;padding:39px 0 27px}.auth-emblem{width:76px;height:76px;display:grid;place-items:center;margin:0 auto 23px;border:1px solid #deebe3;border-radius:26px;color:var(--green);background:linear-gradient(145deg,#edf5ef,#f7faf5);box-shadow:0 5px 18px #315a4010}
.auth-emblem svg{width:34px;height:34px;stroke-width:1.3}.auth-welcome-intro h1{font-size:30px;letter-spacing:1px;font-weight:600}.auth-welcome-intro .subtitle{margin:11px 0 0;font-size:13px;color:#84938b;line-height:1.8}
.auth-welcome .auth-passkey{margin-top:0;min-height:52px;border-radius:15px;font-size:14px;gap:9px;box-shadow:0 5px 14px #36847412}.auth-passkey svg{width:18px;height:18px}.auth-passkey svg:last-child{margin-left:auto;width:17px}.auth-passkey svg:first-child{margin-right:auto}
.auth-device-note{text-align:center;margin-top:13px;font-size:11px;color:#899a91;line-height:1.8}.auth-password{margin-top:26px;border-top:1px solid #e8eeea;padding-top:8px}.auth-password summary{min-height:48px;display:flex;align-items:center;justify-content:center;gap:7px;list-style:none;cursor:pointer;font-size:12px;color:#6c8175;border-radius:10px}.auth-password summary::-webkit-details-marker{display:none}.auth-password summary::marker{content:''}.auth-password summary:focus-visible{outline:3px solid #98c8b9;outline-offset:1px}.auth-password summary svg{width:13px;height:13px;transition:transform .15s}.auth-password[open] summary svg{transform:rotate(90deg)}.auth-password form{padding-top:14px}.auth-password .field{margin-bottom:9px}.auth-password .auth-forgot{display:flex;width:max-content;margin:10px auto 0;font-size:12px;min-height:40px}
.auth-welcome-foot{border-top:1px solid #edf1ee;padding-top:19px;margin-top:8px;text-align:center;color:#8a9c91;font-size:10px}.auth-welcome-foot p{display:flex;align-items:center;justify-content:center;gap:5px;line-height:1.8}.auth-welcome-foot p svg{width:12px;height:12px;stroke-width:1.4}.auth-welcome-foot>.text-button{font-size:11px;min-height:40px;color:#8b9d91;margin:5px 0 0}
@media(max-width:600px){.auth-welcome-card{padding:28px 24px 15px;border-radius:27px}.auth-welcome-intro{padding-top:35px;padding-bottom:25px}.auth-welcome-intro h1{font-size:29px}}
@media(prefers-reduced-motion:reduce){.auth-password summary svg{transition:none}}

/* Homepage empty-state add icons are real, accessible touch controls. */
.empty-icon.empty-add{width:48px;height:48px;padding:0;border:0;color:var(--green);cursor:pointer}
.empty-add:hover,.empty-add:active{background:#e2eee7;color:#286b5c}
.empty-add:focus-visible{outline:3px solid #98c8b9;outline-offset:3px}
