:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:#24342e;background:#f6f7f4;font-synthesis:none;font-weight:400;--green:#245d4c;--green-dark:#194739;--green-soft:#e5eee8;--ink:#24342e;--muted:#7c8882;--line:#e3e7e1;--paper:#fff;--amber:#a86f20;--amber-soft:#faf0dc;--danger:#b54b43;--shadow:0 12px 40px rgba(35,55,45,.08)}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button,input,textarea,select{-webkit-tap-highlight-color:transparent}button{color:inherit}input,textarea,select{color:var(--ink)}textarea{resize:vertical}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid rgba(36,93,76,.18);outline-offset:2px}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.3}a{color:var(--green)}code{background:#eef1ec;padding:2px 5px;border-radius:4px;font-size:12px}.muted{color:var(--muted)}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.app-shell{min-height:100vh}.main-content{max-width:1120px;margin:0 auto;padding:28px 16px 104px}.page{animation:page-in .25s ease}@keyframes page-in{0%{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:none}}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.page-heading h1{font-size:27px;letter-spacing:-.5px;margin:4px 0 0;font-weight:700}.eyebrow{font-size:12px;letter-spacing:1.2px;color:var(--muted);margin:0}.heading-actions{display:flex;align-items:center;gap:8px}.heading-actions .button{font-size:13px}.heading-icon{color:var(--green);opacity:.65}.heading-count{background:var(--green-soft);color:var(--green);padding:7px 12px;border-radius:20px;font-size:13px;font-weight:600}.button{border:1px solid #dce2dc;background:#fff;border-radius:10px;min-height:40px;padding:8px 14px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:14px;font-weight:500;transition:.18s}.button:hover{border-color:#b9c8bf;background:#fbfcfa}.button.primary{background:var(--green);border-color:var(--green);color:#fff}.button.primary:hover{background:var(--green-dark)}.button.full{width:100%}.button.small{min-height:34px;padding:6px 10px;font-size:12px}.icon-button{border:0;background:transparent;width:34px;height:34px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;flex:none}.icon-button:hover{background:#edf0eb}.icon-button.bordered{border:1px solid var(--line);background:#fff;width:40px;height:40px}.text-button{border:0;background:transparent;color:var(--green);font-weight:500}.text-button.small{font-size:12px;padding:5px;white-space:nowrap}.start-button{background:var(--green-soft);border-radius:6px;padding:5px 8px}.danger-ghost{color:var(--danger);border-color:transparent;background:transparent}.danger-text{color:var(--danger)}.quick-add{position:relative;background:var(--paper);border:1px solid #dfe5df;border-radius:14px;display:flex;align-items:center;padding:9px 12px;box-shadow:0 3px 14px #273d3008;margin-bottom:16px;transition:.2s}.quick-add:focus-within{border-color:#84a897;box-shadow:0 0 0 3px #245d4c12}.quick-plus{width:28px;height:28px;border-radius:8px;background:var(--green-soft);color:var(--green);display:flex;align-items:center;justify-content:center;font-size:22px;line-height:1;flex:none}.quick-add textarea{border:0;outline:0;background:transparent;min-height:36px;max-height:140px;padding:7px 10px;flex:1;resize:none;line-height:22px;min-width:80px}.quick-add textarea::placeholder{color:#9aa49f}.quick-submit{border:0;background:var(--green);color:#fff;padding:6px 12px;border-radius:8px;font-size:12px}.quick-hint{display:none;color:#a1aaa5;font-size:10px;white-space:nowrap;padding-right:4px}.today-pulse{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 2px 26px;font-size:13px;color:var(--muted)}.today-pulse>div{display:flex;align-items:center;gap:7px}.today-pulse svg{color:var(--green)}.today-pulse strong{color:var(--green);font-size:18px}.today-pulse button{display:flex;align-items:center;border:0;background:var(--amber-soft);color:#8a641f;border-radius:16px;padding:5px 9px;font-size:12px}.section-block{margin-top:28px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.section-title h2{font-size:16px;margin:0;display:flex;align-items:center;gap:8px}.section-title h2 svg{color:var(--green)}.section-title>span,.section-title>div+span{font-size:12px;color:var(--muted)}.section-subtitle{font-size:12px;color:var(--muted);margin:5px 0 0}.section-empty{color:var(--muted);font-size:13px;background:#f0f2ee;border-radius:10px;padding:17px;text-align:center;margin:0}.item-list{background:var(--paper);border:1px solid var(--line);border-radius:14px;overflow:hidden}.item-row{display:flex;align-items:center;gap:9px;min-height:65px;padding:11px 12px;background:#fff;border-bottom:1px solid #edf0eb;position:relative}.item-row:last-child{border-bottom:0}.item-row:hover{background:#fcfdfb}.item-row[draggable=true]{cursor:grab}.check-button{border:0;background:transparent;padding:0;width:25px;height:30px;display:flex;align-items:center;justify-content:center;color:#b3bdb7;flex:none}.check-button:hover{color:var(--green)}.check-button.checked{background:var(--green);color:#fff;border-radius:50%;width:21px;height:21px;margin:0 2px}.item-main{border:0;background:transparent;padding:0;text-align:left;flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.item-title{font-size:14px;font-weight:500;line-height:1.45;overflow-wrap:anywhere}.is-done .item-title{text-decoration:line-through;color:#8a958f}.item-meta{display:flex;align-items:center;gap:5px 10px;flex-wrap:wrap;font-size:10px;color:#89948e;font-style:normal}.item-meta em{font-style:normal;display:inline-flex;align-items:center;gap:3px}.item-meta .note-preview{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;flex-basis:100%;color:#79867f}.status{font-size:10px;padding:2px 6px;border-radius:4px;font-weight:500;line-height:1.5}.status-slate{background:#eef1ef;color:#718078}.status-green{background:var(--green-soft);color:var(--green)}.status-amber{background:var(--amber-soft);color:var(--amber)}.status-done{background:#f0f1ef;color:#8b948f}.overdue{color:var(--danger)!important;font-weight:600}.stagnant{color:#9a7a3e}.item-actions{display:flex;align-items:center;gap:2px;flex:none}.is-focus{color:#c39336}.focus-row{position:relative}.focus-row .item-row{padding-right:40px}.sort-buttons{position:absolute;right:7px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column}.sort-buttons button{border:0;background:transparent;color:#8b9890;padding:1px;width:25px;height:19px}.sort-buttons button:disabled{opacity:.2}.empty{padding:38px 16px;text-align:center;color:var(--muted);display:flex;align-items:center;flex-direction:column}.empty-icon{color:#9aaca1;margin-bottom:12px}.empty-icon svg{width:28px;height:28px}.empty>svg{color:#9aaca1;width:28px;height:28px;margin-bottom:12px}.empty strong{font-size:14px;color:#65736b;font-weight:500}.empty p{font-size:12px;margin:7px 0 0;line-height:1.7}.breadcrumbs{display:flex;align-items:center;gap:5px;overflow-x:auto;margin:-8px 0 18px;font-size:12px;color:var(--muted);white-space:nowrap}.breadcrumbs>span{display:flex;align-items:center;gap:5px}.breadcrumbs button{border:0;background:transparent;padding:4px 0;color:var(--muted);max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.breadcrumbs span:last-child button{color:var(--green)}.work-summary{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:#eef2ed;border-radius:10px;padding:10px 13px;margin-bottom:14px;font-size:12px;color:#6f7d75}.gentle-banner{width:100%;border:1px solid #d6e4d9;background:#eaf2e9;color:var(--green);border-radius:11px;padding:11px 13px;display:flex;align-items:center;gap:9px;margin-bottom:14px;text-align:left;font-size:13px}.gentle-banner span{flex:1}.gentle-banner strong{font-size:12px}.segmented{display:flex;background:#e9ede8;border-radius:10px;padding:3px;gap:2px;margin-bottom:18px}.segmented button{flex:1;border:0;background:transparent;border-radius:8px;padding:8px 10px;color:#78857d;font-size:13px;display:flex;align-items:center;justify-content:center;gap:6px}.segmented button.active{background:#fff;color:var(--green);font-weight:600;box-shadow:0 1px 4px #1e322812}.work-list{display:grid;gap:10px}.work-card{border:1px solid var(--line);border-radius:13px;overflow:hidden;box-shadow:0 2px 7px #283c2d06}.work-card .item-row{border:0;min-height:74px}.work-card .item-title{font-size:15px}.filter-bar{display:flex;gap:9px;margin-bottom:26px}.filter-bar select{border:1px solid var(--line);border-radius:10px;background:#fff;padding:0 10px;max-width:140px;font-size:12px}.search-field{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:0 12px;flex:1;color:var(--muted)}.search-field input{border:0;outline:0;background:transparent;min-width:0;width:100%;height:41px;font-size:13px}.timeline section{margin-bottom:26px}.timeline h2{font-size:13px;font-weight:600;color:#6f7d75;margin:0 0 9px 3px;display:flex;gap:8px}.timeline h2 span{font-weight:400;color:#9aa49e;font-size:11px}.timeline-work{font-size:10px;color:#89958e;padding:9px 12px 0;background:#fafbf9;border-bottom:1px solid #f0f2ee}.summary-builder,.summary-editor,.settings-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:18px}.period-tabs{display:flex;gap:5px;overflow-x:auto;padding-bottom:12px}.period-tabs button{border:0;background:transparent;padding:7px 12px;white-space:nowrap;border-radius:8px;color:var(--muted);font-size:13px}.period-tabs button.active{background:var(--green-soft);color:var(--green);font-weight:600}.form-grid{display:grid;grid-template-columns:1fr;gap:12px}.date-range{grid-template-columns:1fr auto 1fr;align-items:end}.date-range>span{padding-bottom:12px;color:var(--muted);font-size:12px}.tone-picker{margin:20px 0;display:grid;grid-template-columns:1fr 1fr;gap:9px}.tone-picker>span{grid-column:1/-1;font-size:12px;color:#65736b;font-weight:500}.tone-picker label{border:1px solid var(--line);border-radius:10px;padding:11px;font-size:13px;display:grid;grid-template-columns:auto 1fr;gap:3px 7px;cursor:pointer}.tone-picker label:has(input:checked){border-color:#81a691;background:#f3f7f3}.tone-picker small{grid-column:2;color:var(--muted);font-size:10px}.summary-actions{display:flex;gap:9px}.summary-actions .button{flex:1}.summary-editor{margin-top:18px}.summary-editor>textarea{width:100%;border:1px solid var(--line);background:#fafbf9;border-radius:10px;padding:15px;line-height:1.8;font-size:13px;margin:5px 0 12px;font-family:inherit}.toolbar{display:flex;align-items:center;gap:8px}.toolbar.wrap{flex-wrap:wrap}.toolbar .button{font-size:12px}.history-section{margin-top:28px}.history-list{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.history-list>button{display:flex;align-items:center;gap:12px;width:100%;border:0;border-bottom:1px solid #edf0eb;background:#fff;text-align:left;padding:14px}.history-list>button:last-child{border:0}.history-list>button>svg{color:var(--green)}.history-list>button>span:nth-child(2){flex:1}.history-list strong{display:block;font-size:13px;font-weight:500}.history-list small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.history-list>button>span:last-child{font-size:11px;color:var(--green)}.markdown-view{white-space:pre-wrap;font-family:inherit;font-size:13px;line-height:1.85;background:#fafbf9;border-radius:10px;padding:18px;max-height:60vh;overflow:auto;margin:0 0 14px}.error-box{background:#f9eae7;border-radius:9px;padding:11px 13px;margin-top:12px;color:#9c4d44;font-size:12px}.error-box p{margin:0}.error-box button{border:0;background:transparent;color:#9c4d44;text-decoration:underline;padding:7px 0 0}.error-text{color:var(--danger);font-size:12px;line-height:1.6;margin:0}.form-help{font-size:12px;color:var(--muted);line-height:1.75;margin:0}.profile-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;background:#e9ede8;border-radius:12px;padding:4px;margin-bottom:22px}.profile-tabs button{border:0;background:transparent;border-radius:9px;padding:9px 4px;display:flex;align-items:center;justify-content:center;gap:5px;font-size:11px;color:#748078;position:relative}.profile-tabs button.active{background:#fff;color:var(--green);box-shadow:0 1px 4px #1e322812;font-weight:600}.profile-tabs button span{position:absolute;right:2px;top:1px;background:#bb704c;color:#fff;border-radius:8px;min-width:15px;font-size:9px}.settings-stack{display:grid;gap:14px}.settings-heading{display:flex;align-items:flex-start;gap:11px;margin-bottom:18px}.settings-heading>svg{color:var(--green);margin-top:2px}.settings-heading>div{flex:1}.settings-heading h2{font-size:15px;margin:0 0 5px}.settings-heading p{font-size:11px;color:var(--muted);margin:0;line-height:1.6}.connection-state{font-size:10px;padding:4px 7px;background:#eef0ed;border-radius:10px;color:#89938d;white-space:nowrap}.connection-state.connected{background:var(--green-soft);color:var(--green)}.shortcut-row{display:flex;align-items:center;gap:7px;overflow-x:auto;margin-bottom:17px;font-size:11px;color:var(--muted)}.shortcut-row>span{white-space:nowrap}.shortcut-row button{border:1px dashed #b9c9bd;background:#f4f7f3;color:var(--green);padding:5px 9px;border-radius:7px;white-space:nowrap;font-size:11px}.template-list,.trash-list{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.template-row,.trash-row{display:flex;align-items:center;gap:7px;padding:13px;border-bottom:1px solid #edf0eb}.template-row:last-child,.trash-row:last-child{border:0}.template-row>div,.trash-row>div{flex:1;min-width:0}.template-row strong,.trash-row strong{font-size:13px;font-weight:500;display:block;overflow-wrap:anywhere}.template-row p,.trash-row p{font-size:10px;color:var(--muted);margin:5px 0 0}.form-stack{display:flex;flex-direction:column;gap:15px}.form-stack label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#5f6e65;font-weight:500}.form-stack input:not([type=checkbox]):not([type=radio]),.form-stack textarea,.form-stack select,.voice-draft input,.voice-draft textarea,.draft-row input{border:1px solid #dce2dc;background:#fff;border-radius:9px;padding:10px 11px;width:100%;font-size:13px;outline:0;font-weight:400}.form-stack input:focus,.form-stack textarea:focus,.form-stack select:focus{border-color:#8aab99}.form-stack input[type=checkbox],.form-stack input[type=radio]{accent-color:var(--green);width:15px;height:15px;margin:0}.form-stack .check-label{display:flex;flex-direction:row;align-items:center;gap:7px;font-weight:400;cursor:pointer}.check-options{display:flex;gap:20px;flex-wrap:wrap}.form-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:3px}.form-footer .button.primary:last-child{margin-left:auto}.ai-notice{display:flex;align-items:flex-start;gap:8px;background:#f0f5ef;color:#61766a;padding:10px 12px;border-radius:9px;font-size:11px;line-height:1.7;margin:0}.ai-notice svg{flex:none;margin-top:2px}.spinner{display:inline-block;width:13px;height:13px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .8s linear infinite;vertical-align:-2px;margin-right:5px}.loading-line{font-size:12px;color:var(--muted);margin:0}.draft-list{display:flex;flex-direction:column;gap:8px}.draft-row{display:flex;align-items:center;gap:9px}.draft-row input[type=checkbox]{width:17px;height:17px;accent-color:var(--green);flex:none}.voice-input{line-height:1.8}.report-tabs{margin-bottom:20px}.report-date{font-size:12px;color:var(--muted);margin-bottom:15px}.report-view section{margin-bottom:20px}.report-view h3{font-size:13px;display:flex;align-items:center;gap:7px;margin:0 0 8px}.report-view h3 span{font-size:10px;background:#edf1ec;border-radius:9px;padding:1px 6px;color:var(--muted)}.report-view ul{list-style:none;padding:0;margin:0;background:#f8faf7;border-radius:9px}.report-view li{padding:10px 12px;border-bottom:1px solid #e9ede7;font-size:12px}.report-view li:last-child{border:0}.report-view li strong{font-weight:500}.report-view li p{font-size:11px;color:var(--muted);margin:4px 0 0}.report-view section>p{font-size:12px}.voice-drafts{display:flex;flex-direction:column;gap:12px}.voice-draft{border:1px solid var(--line);border-radius:11px;padding:12px;display:flex;flex-direction:column;gap:8px}.voice-draft .check-label{flex-wrap:wrap}.voice-draft small{margin-left:auto;color:var(--green);font-size:10px}.draft-kind{font-size:10px;border-radius:5px;padding:3px 6px}.kind-completed{background:var(--green-soft);color:var(--green)}.kind-new{background:#e9eff6;color:#4b6b8c}.kind-waiting{background:var(--amber-soft);color:var(--amber)}.kind-progress{background:#eee9f5;color:#725b8a}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#18251e6e;z-index:100;display:flex;align-items:flex-end;justify-content:center;padding:0;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:fade-in .15s}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.modal{background:#fff;width:100%;max-height:92vh;border-radius:20px 20px 0 0;box-shadow:var(--shadow);display:flex;flex-direction:column;animation:modal-up .22s ease}.modal-wide{max-width:760px}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:17px 18px 13px;border-bottom:1px solid #edf0eb;flex:none}.modal-header h2{font-size:17px;margin:0}.modal-body{padding:18px;overflow-y:auto;overscroll-behavior:contain}@keyframes modal-up{0%{transform:translateY(20px);opacity:.5}to{transform:none;opacity:1}}.toast{position:fixed;z-index:200;bottom:86px;left:50%;transform:translate(-50%);width:max-content;max-width:calc(100vw - 28px);background:#263c32;color:#fff;border-radius:11px;padding:11px 12px 11px 16px;box-shadow:0 8px 30px #14231a40;display:flex;align-items:center;gap:11px;font-size:12px;animation:toast-in .2s}.toast>span{flex:1}.toast button{border:0;background:transparent;color:#bfe2cd;padding:3px;font-size:12px;white-space:nowrap}.toast .toast-close{color:#a2b3a9;padding:2px}.toast-error{background:#8f453e}@keyframes toast-in{0%{transform:translate(-50%,8px);opacity:0}to{transform:translate(-50%);opacity:1}}.bottom-nav{position:fixed;bottom:0;left:0;right:0;height:70px;padding:7px 8px calc(7px + env(safe-area-inset-bottom));background:#fffffff2;border-top:1px solid #e1e6e0;display:flex;z-index:50;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.bottom-nav button{flex:1;border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#89938d;font-size:10px;border-radius:10px}.bottom-nav button.active{color:var(--green);font-weight:600}.bottom-nav button.active svg{stroke-width:2.4}.desktop-sidebar{display:none}.mobile-sync{display:flex;align-items:center;justify-content:center;gap:6px;background:var(--amber-soft);color:#84672e;font-size:11px;padding:6px;margin:-15px 0 16px;border-radius:8px}.mobile-sync.offline{background:#eceeeb;color:#6e7972}.mobile-sync button{border:0;background:transparent;color:inherit;text-decoration:underline;font-size:11px}.auth-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:25px;background:#eef2ed;position:relative;overflow:hidden}.auth-decoration span{position:absolute;border-radius:50%;background:#dce7de;filter:blur(1px)}.auth-decoration span:nth-child(1){width:450px;height:450px;left:-220px;top:-180px}.auth-decoration span:nth-child(2){width:350px;height:350px;right:-150px;bottom:-170px;background:#e6e4d5}.auth-decoration span:nth-child(3){width:130px;height:130px;right:12%;top:8%;background:#e0e9df}.auth-card{position:relative;width:100%;max-width:410px;background:#fffffff2;border:1px solid rgba(255,255,255,.8);border-radius:22px;padding:28px;box-shadow:0 25px 70px #2941311a}.brand{display:flex;align-items:center;gap:10px}.brand-mark{display:flex;align-items:center;justify-content:center;width:39px;height:39px;background:var(--green);color:#f5f3e9;border-radius:11px;font-family:serif;font-size:22px;font-weight:700}.brand strong{display:block;font-size:19px;letter-spacing:3px}.brand small{display:block;font-size:9px;color:var(--muted);letter-spacing:1px;margin-top:2px}.auth-brand{margin-bottom:35px}.auth-intro>svg{color:var(--green);margin-bottom:12px}.auth-intro h1{font-size:21px;margin-bottom:10px}.auth-intro p{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:24px}.auth-footnote{text-align:center;font-size:10px;color:#98a19b;margin:24px 0 0}@media(min-width:560px){.main-content{padding:36px 26px 110px}.quick-hint{display:block}.form-grid{grid-template-columns:1fr 1fr}.date-range{grid-template-columns:1fr auto 1fr}.work-list{grid-template-columns:1fr 1fr}.modal-backdrop{align-items:center;padding:24px}.modal{max-width:560px;border-radius:18px;max-height:88vh}.toast{bottom:28px}.auth-card{padding:36px}.summary-builder,.summary-editor,.settings-card{padding:23px}.page-heading h1{font-size:30px}}@media(min-width:820px){.app-shell{display:grid;grid-template-columns:220px 1fr}.desktop-sidebar{position:fixed;inset:0 auto 0 0;width:220px;background:#f0f3ee;border-right:1px solid #e0e5df;display:flex;flex-direction:column;padding:28px 16px 20px;z-index:60}.desktop-sidebar .brand{padding:0 10px;margin-bottom:38px}.desktop-sidebar nav{display:flex;flex-direction:column;gap:5px}.desktop-sidebar nav button{display:flex;align-items:center;gap:12px;border:0;background:transparent;padding:12px 14px;border-radius:10px;color:#748078;font-size:14px;text-align:left}.desktop-sidebar nav button.active{background:#fff;color:var(--green);font-weight:600;box-shadow:0 2px 8px #1e32280d}.desktop-sidebar nav button:hover:not(.active){background:#e7ece6}.sidebar-bottom{margin-top:auto}.sync-state{display:flex;align-items:center;gap:6px;font-size:10px;color:#859189;padding:10px;flex-wrap:wrap}.sync-state.offline{color:var(--amber)}.sync-state button{border:0;background:transparent;color:var(--green);font-size:10px;text-decoration:underline;padding:0}.logout-button{border:0;background:transparent;color:#8b958f;display:flex;gap:7px;align-items:center;padding:9px 10px;font-size:11px}.main-content{grid-column:2;width:100%;max-width:1180px;padding:45px 42px 70px}.bottom-nav{display:none}.mobile-sync{margin:-25px 0 24px}.page-heading{margin-bottom:30px}.page-heading h1{font-size:32px}.two-column-sections{display:grid;grid-template-columns:1fr 1fr;gap:20px}.two-column-sections .section-block{min-width:0}.quick-add{padding:10px 14px}.quick-add textarea{font-size:14px}.item-row{padding:12px 14px}.item-title{font-size:14px}.section-block{margin-top:32px}.settings-stack{grid-template-columns:1fr 1fr;align-items:start}.settings-stack>.settings-card:first-child{grid-row:span 2}.profile-tabs{max-width:520px}.work-list{grid-template-columns:1fr 1fr}.summaries-page{max-width:900px;margin:0 auto}.summary-actions{max-width:480px}.modal-body{padding:22px}.toast{bottom:30px}.completed-page{max-width:850px;margin:0 auto}}@media(min-width:1180px){.app-shell{grid-template-columns:240px 1fr}.desktop-sidebar{width:240px;padding-left:22px;padding-right:22px}.main-content{padding-left:52px;padding-right:52px}.today-page .focus-section .item-list{columns:2;column-gap:0}.today-page .focus-section .focus-row{break-inside:avoid}.today-page .focus-section .item-row{border-right:1px solid #edf0eb}.work-list{grid-template-columns:repeat(2,1fr)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}body{min-height:100dvh;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}button{touch-action:manipulation}.skip-link{position:fixed;top:-80px;left:12px;z-index:300;background:var(--green);color:#fff;padding:10px 15px;border-radius:9px;text-decoration:none}.skip-link:focus{top:12px}.main-content:focus{outline:none}.button{min-height:44px;border-radius:11px;transition:background .18s,border-color .18s,box-shadow .18s,transform .12s}.button:active:not(:disabled){transform:translateY(1px)}.icon-button{position:relative}.icon-button:after{content:"";position:absolute;top:-3px;right:-3px;bottom:-3px;left:-3px}.item-title{font-size:15px}.item-meta{font-size:11px;line-height:1.45}.status{font-size:11px}.item-row{min-height:70px}.check-button{position:relative;min-width:30px;height:40px}.check-button:after{content:"";position:absolute;top:0;right:-5px;bottom:0;left:-5px}.start-button{min-height:34px;display:inline-flex;align-items:center;justify-content:center}.sort-buttons button{position:relative;width:30px;height:26px}.sort-buttons button:after{content:"";position:absolute;top:-2px;right:-2px;bottom:-2px;left:-2px}.section-title h2{font-size:17px}.section-empty{line-height:1.7}.quick-add{position:sticky;top:8px;z-index:30;background:#fffffff0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 5px 20px #23372d0f}.quick-add textarea{font-size:16px;line-height:22px}.quick-add:focus-within{background:#fff}.quick-submit{min-height:32px;padding:6px 13px}.focus-section .item-list{border-color:#cfdbd2;box-shadow:0 7px 24px #234a340d}.focus-section .item-row{box-shadow:inset 3px 0 #7e9f8b}.focus-section .empty{padding:26px 16px;background:#f0f4ef;border:1px dashed #d8e1d8;border-radius:12px}.focus-section .empty-icon{margin-bottom:8px}.report-button{background:var(--green-soft);border-color:transparent;color:var(--green)}.today-pulse{min-height:28px}.bottom-nav{height:calc(70px + env(safe-area-inset-bottom));padding-bottom:calc(7px + env(safe-area-inset-bottom))}.bottom-nav button{min-height:51px;position:relative}.bottom-nav button.active{background:#edf3ee}.main-content{padding-bottom:calc(104px + env(safe-area-inset-bottom))}.modal{max-height:92dvh;outline:none}.modal-body{padding-bottom:calc(18px + env(safe-area-inset-bottom))}.modal-header h2{font-size:18px}.toast{bottom:calc(84px + env(safe-area-inset-bottom));line-height:1.5}.form-stack label{font-size:13px}.form-help{color:#6f7d75}.form-stack input:not([type=checkbox]):not([type=radio]),.form-stack textarea,.form-stack select,.voice-draft input,.voice-draft textarea,.draft-row input,.summary-editor>textarea,.search-field input,.filter-bar select{font-size:16px}.form-stack input:not([type=checkbox]):not([type=radio]),.form-stack select{min-height:46px}.form-stack textarea{line-height:1.7}.filter-bar select{min-height:44px;max-width:145px}.search-field{min-height:44px}.profile-tabs button{min-height:44px;font-size:12px}.period-tabs{scrollbar-width:none}.period-tabs::-webkit-scrollbar{display:none}.period-tabs button{min-height:40px}.segmented button{min-height:38px}.tone-picker label{min-height:68px;align-content:center}.summary-builder{border-top:3px solid #6e9580}.settings-card{box-shadow:0 3px 14px #23372d06}.history-list>button,.template-row,.trash-row{min-height:66px}.history-list>button{transition:background .15s}.work-card{transition:border-color .18s,box-shadow .18s,transform .18s}.auth-loading{text-align:center}.auth-loading .auth-brand{justify-content:center;margin-bottom:26px}.auth-loading>svg{color:var(--green)}.auth-loading p{font-size:13px;color:var(--muted);margin:13px 0 0}input::placeholder,textarea::placeholder{color:#98a39c;opacity:1}@media(hover:hover){.work-card:hover{border-color:#cbd7ce;box-shadow:0 8px 24px #23372d0f;transform:translateY(-1px)}.history-list>button:hover{background:#f8faf7}.item-row:hover .item-title{color:#193f33}.bottom-nav button:hover{background:#f1f4f0}}@media(max-width:380px){.page-heading{gap:9px}.page-heading h1{font-size:24px}.heading-actions{gap:5px}.heading-actions .button{padding:8px 10px}.summary-actions{flex-direction:column}.item-row{padding-left:10px;padding-right:8px}.item-actions{gap:0}.quick-hint{display:none}.date-range{gap:7px}.date-range input{padding-left:7px;padding-right:7px}}@media(min-width:560px){.form-stack input:not([type=checkbox]):not([type=radio]),.form-stack textarea,.form-stack select,.voice-draft input,.voice-draft textarea,.draft-row input,.summary-editor>textarea,.search-field input,.filter-bar select{font-size:14px}.quick-add{top:12px}.quick-add textarea{font-size:14px}.modal-body{padding-bottom:22px}.toast{bottom:28px}.main-content{padding-bottom:110px}}@media(min-width:820px){.main-content{padding-bottom:70px}.item-row{min-height:68px}.bottom-nav button.active{background:transparent}.toast{bottom:30px}.quick-add{top:16px}}.intelligence-tabs{display:flex;gap:5px;background:#e8ede7;padding:4px;border-radius:13px;margin-bottom:28px}.intelligence-tabs button{flex:1;border:0;background:transparent;border-radius:10px;min-height:44px;display:flex;align-items:center;justify-content:center;gap:7px;color:#6f7d75;font-size:13px}.intelligence-tabs button.active{background:#fff;color:var(--green);font-weight:600;box-shadow:0 2px 7px #1e322812}.ai-scope-notice{display:flex;align-items:flex-start;gap:8px;background:#edf3ee;border:1px solid #dfe9e1;color:#607369;border-radius:10px;padding:10px 12px;font-size:12px;line-height:1.7;margin-bottom:16px}.ai-scope-notice svg{flex:none;margin-top:2px;color:var(--green)}.section-actions{display:flex;align-items:center;gap:10px}.section-actions>span{font-size:12px;color:var(--muted)}.ai-focus-button{border:0;background:var(--green-soft);color:var(--green);border-radius:7px;padding:6px 9px;display:flex;align-items:center;gap:4px;font-size:11px;min-height:32px}.chat-panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;min-height:480px;display:flex;flex-direction:column}.chat-welcome{text-align:center;padding:40px 10px 28px}.chat-welcome-icon{width:50px;height:50px;border-radius:15px;background:var(--green-soft);color:var(--green);display:flex;align-items:center;justify-content:center;margin:0 auto 15px}.chat-welcome h2{font-size:18px;margin-bottom:8px}.chat-welcome p{font-size:12px;color:var(--muted);margin-bottom:22px}.question-suggestions{display:flex;flex-direction:column;gap:8px;max-width:430px;margin:0 auto}.question-suggestions button{border:1px solid var(--line);background:#fafbf9;border-radius:9px;padding:10px 12px;text-align:left;font-size:12px;color:#64736a;line-height:1.6}.question-suggestions button:hover{border-color:#a9beb0;background:#f3f7f3}.chat-messages{display:flex;flex-direction:column;gap:18px;flex:1;margin-bottom:20px}.chat-message{display:flex;align-items:flex-start;gap:9px}.chat-message.user{flex-direction:row-reverse}.chat-avatar{width:30px;height:30px;border-radius:9px;background:#edf1ed;color:var(--green);display:flex;align-items:center;justify-content:center;flex:none}.chat-message.user .chat-avatar{background:var(--green);color:#fff}.chat-content{max-width:85%;min-width:0}.chat-bubble{background:#f3f5f1;border-radius:4px 13px 13px;padding:12px 14px;font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.chat-message.user .chat-bubble{background:var(--green);color:#fff;border-radius:13px 4px 13px 13px}.chat-loading{background:#f3f5f1;border-radius:4px 13px 13px;padding:12px 14px;font-size:12px;color:var(--muted)}.chat-input{display:flex;align-items:flex-end;gap:9px;border-top:1px solid #edf0eb;padding-top:15px;margin-top:auto}.chat-input textarea{flex:1;min-width:0;border:1px solid #dce2dc;border-radius:10px;padding:11px 12px;font-size:16px;line-height:1.6;max-height:130px}.chat-input .button{flex:none}.citations{margin-top:10px;display:grid;gap:7px}.citations h3{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:5px;margin:0 0 2px}.citation-card{display:block;width:100%;border:1px solid #e1e7e1;background:#fafbf9;border-radius:9px;padding:9px 11px;text-align:left}.citation-card>span{font-size:9px;color:#86928b}.citation-card strong{display:block;font-size:12px;font-weight:500;margin-top:3px}.citation-card p{font-size:11px;color:#718077;line-height:1.6;margin:4px 0 0}.archive-results{margin-top:20px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:15px}.archive-results>button,.archive-results>div:not(.section-title){width:100%;display:flex;align-items:flex-start;gap:9px;border:0;border-bottom:1px solid #edf0eb;background:transparent;padding:11px 4px;text-align:left}.archive-results>button>svg,.archive-results>div>svg{color:var(--green);margin-top:2px}.archive-results strong{display:block;font-size:13px;font-weight:500}.archive-results small{display:block;font-size:11px;color:var(--muted);margin-top:4px;line-height:1.6}.insight-controls{background:#fff;border:1px solid var(--line);border-radius:15px;padding:18px}.insight-control-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-top:16px}.insight-control-footer>label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#5f6e65}.insight-control-footer select{border:1px solid #dce2dc;border-radius:9px;background:#fff;min-height:44px;padding:8px 10px}.insight-control-footer .form-help{margin-top:14px}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}.metric-grid article{background:#fff;border:1px solid var(--line);border-radius:13px;padding:16px;position:relative}.metric-grid article>svg{color:var(--green);position:absolute;right:14px;top:14px;opacity:.7}.metric-grid article>span{font-size:11px;color:var(--muted)}.metric-grid strong{display:block;font-size:28px;margin:10px 0 5px;color:var(--green)}.metric-grid strong small{font-size:11px;font-weight:400;margin-left:4px}.metric-grid p{font-size:10px;color:var(--muted);margin:0;line-height:1.5}.insight-charts{display:grid;grid-template-columns:1.5fr 1fr;gap:14px;margin-top:14px}.chart-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:17px;min-width:0}.bar-chart{height:205px;display:flex;align-items:flex-end;gap:7px;overflow-x:auto;padding:12px 3px 0}.bar-column{height:100%;min-width:38px;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:5px}.bar-value{font-size:10px;color:var(--green)}.bar-track{height:145px;width:100%;max-width:35px;background:#f0f3ee;border-radius:6px 6px 3px 3px;display:flex;align-items:flex-end;overflow:hidden}.bar-fill{width:100%;background:linear-gradient(180deg,#6f9b83,#356a54);border-radius:6px 6px 3px 3px;min-height:2px;transition:height .35s}.bar-label{font-size:9px;color:var(--muted);white-space:nowrap;max-width:65px;overflow:hidden;text-overflow:ellipsis}.horizontal-bars{display:flex;flex-direction:column;gap:15px;padding-top:12px}.horizontal-bar>div:first-child{display:flex;justify-content:space-between;gap:8px;font-size:11px;margin-bottom:6px}.horizontal-bar>div:first-child span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.horizontal-bar strong{color:var(--green)}.horizontal-track{height:7px;background:#edf1ec;border-radius:5px;overflow:hidden}.horizontal-track span{display:block;height:100%;background:#78a18a;border-radius:5px}.insight-editor{margin-top:14px}.suggestion-heading{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}.suggestion-heading strong{color:var(--green)}.focus-suggestions{display:flex;flex-direction:column;gap:9px}.focus-suggestion{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--line);border-radius:11px;padding:12px;cursor:pointer;position:relative}.focus-suggestion.selected{border-color:#a6bdae;background:#f4f8f4}.focus-suggestion>input{position:absolute;opacity:0;pointer-events:none}.suggestion-rank{width:25px;height:25px;border-radius:7px;background:#edf1ec;color:#728078;display:flex;align-items:center;justify-content:center;flex:none;font-size:11px}.focus-suggestion.selected .suggestion-rank{background:var(--green);color:#fff}.focus-suggestion>span:last-child{min-width:0}.focus-suggestion strong{display:block;font-size:13px;font-weight:500;line-height:1.5}.focus-suggestion small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.focus-suggestion p{font-size:12px;color:#68776e;line-height:1.65;margin:7px 0 0}.replace-focus{display:flex!important;flex-direction:row!important;align-items:center}.switch-control{display:flex!important;flex-direction:row!important;align-items:center;gap:6px;white-space:nowrap}.switch-control input{accent-color:var(--green);width:18px;height:18px}.switch-control span{font-size:11px;color:var(--green)}.mask-work-list{border:1px solid var(--line);border-radius:10px;padding:11px;max-height:220px;overflow:auto;display:flex;flex-direction:column;gap:11px}.mask-work-list legend{font-size:12px;color:#5f6e65;padding:0 5px}.mask-work-list .check-label{display:flex;flex-direction:row;align-items:center;gap:7px;font-weight:400}@media(max-width:559px){.intelligence-tabs{margin-bottom:22px}.intelligence-tabs button{font-size:12px;gap:5px}.chat-panel{padding:13px;min-height:450px}.chat-content{max-width:88%}.chat-bubble{font-size:13px}.chat-input .button span{display:none}.chat-input .button{width:44px;padding:0}.insight-controls{padding:14px}.insight-control-footer{align-items:stretch;flex-direction:column}.insight-control-footer .summary-actions{width:100%}.metric-grid{gap:7px}.metric-grid article{padding:12px 10px}.metric-grid article>svg{width:15px;right:9px;top:9px}.metric-grid strong{font-size:24px}.metric-grid p{font-size:9px}.insight-charts{grid-template-columns:1fr}.bar-chart{height:190px}.bar-track{height:130px}.citations{grid-template-columns:1fr}}@media(min-width:820px){.intelligence-page{max-width:1050px;margin:0 auto}.intelligence-tabs{max-width:520px;margin-left:auto;margin-right:auto}.archive-page{max-width:850px;margin:0 auto}.chat-panel{min-height:570px}.citations{grid-template-columns:1fr 1fr}.insights-page{max-width:1050px;margin:0 auto}.insight-controls{padding:22px}}.markdown-text p{margin:0 0 7px}.markdown-text p:last-child{margin-bottom:0}.markdown-text h4{font-size:14px;margin:8px 0 6px}.markdown-text h4:first-child{margin-top:0}.markdown-space{height:5px}.markdown-list-line{display:flex;align-items:flex-start;gap:7px}.markdown-list-line>span{line-height:1.8}.markdown-list-line>p{flex:1}
