:root{--bg:#f6f7f3;--paper:#fff;--forest:#203c34;--ink:#263d35;--muted:#869087;--line:#e5e9e1;--accent:#ce7658;--soft:#edf1e9;--radius:16px;font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,textarea,select{font:inherit}button{cursor:pointer;transition:background .15s,transform .15s;color:inherit}button:disabled{opacity:.45;cursor:not-allowed}button:not(:disabled):active{transform:translateY(1px)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #cf9c67;outline-offset:3px}button{border:0;background:none}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.sidebar{width:230px;position:fixed;inset:0 auto 0 0;background:#edf0e8;border-right:1px solid #dfe5d9;padding:36px 22px 20px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:12px;margin-left:10px}.brand>span{font-size:25px;letter-spacing:3px;font-weight:700}.brand small{display:block;font-size:8px;letter-spacing:1px;margin-top:3px;font-weight:500}.side-caption{font-size:11px;letter-spacing:1.1px;margin:23px 10px 38px;color:#85917f}.nav-item{display:flex;align-items:center;gap:12px;border-radius:9px;width:100%;padding:13px 14px;text-align:left;font-size:13px;margin-bottom:7px;color:#687764}.nav-item:hover{background:#e3e9df}.nav-item.active{background:var(--forest);color:#fff}.nav-symbol{font-size:20px;width:20px;line-height:1}.nav-dot{height:5px;width:5px;background:#d7e1b7;border-radius:50%;margin-left:auto}.mini{font-size:9px;border:1px solid #cdd6c5;border-radius:4px;padding:1px 4px;margin-left:auto}.side-section{border-top:1px solid #dce3d5;margin:27px 8px 0;padding-top:22px}.section-label{font-size:11px;letter-spacing:1px;color:#84917c;display:flex;align-items:center;justify-content:space-between}.icon-button{font-size:23px;padding:0 6px;border-radius:5px;color:#8a9683}.icon-button:hover{background:var(--soft);color:var(--forest)}.side-tag{display:flex;gap:10px;align-items:center;padding:11px 2px;color:#65735f;font-size:12px;width:100%;text-align:left;border-radius:5px}.side-tag.selected{font-weight:700;background:#e1e7db}.tag-dot{width:7px;height:7px;border-radius:50%;background:var(--tag);display:inline-block;flex-shrink:0}.side-tag small{margin-left:auto;font-size:10px;opacity:.65}.side-hint{font-size:10px;line-height:1.9;color:#9ba592;margin-top:24px}.sidebar-bottom{margin-top:auto;padding-top:25px}.storage-card{display:flex;gap:9px;align-items:center;background:#e4eadd;border:1px solid #dce3d5;border-radius:10px;padding:13px 12px;margin-bottom:14px}.status-dot{width:6px;height:6px;background:#7b9974;display:inline-block;border-radius:50%;flex-shrink:0}.storage-card strong{display:block;font-weight:500;font-size:11px}.storage-card small{display:block;font-size:9px;color:#8a9583;margin-top:5px}.side-footer{font-size:9px;color:#9aa58e;border-top:1px solid #dce3d5;padding:15px 6px 0;margin-top:6px;display:flex;justify-content:space-between}.workspace{margin-left:230px}.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 48px;font-size:11px;color:#9aa195;background:#f9faf6}.topbar b{color:#60705d;font-weight:500}.slash{margin:0 15px;color:#c6cdbf}.sync-button{display:flex;align-items:center;gap:7px;font-size:10px;color:#86937d}.sync-button:hover{color:var(--forest)}main{max-width:1480px;margin:auto;padding:43px 48px 20px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:40px}.eyebrow{font-size:9px;letter-spacing:2px;color:#95a188;font-weight:600}h1{font-size:30px;letter-spacing:1px;line-height:1.4;margin:12px 0 10px;font-weight:650}h1>span{color:var(--accent)}.page-heading p{font-size:12px;color:#8c9587;margin:0}.primary,.secondary,.small-button{border-radius:8px;padding:11px 18px;white-space:nowrap;font-size:12px;font-weight:500}.primary{background:var(--forest);color:#fff;box-shadow:0 3px 5px #203c3410}.primary:hover{background:#34574b}.primary>span{font-size:18px;margin-right:5px}.secondary{background:#fff;border:1px solid #dfe5d8;color:#67745f}.secondary:hover{background:#f0f3eb}.small-button{font-size:10px;padding:5px 9px;border:1px solid #dfe5d8;color:#829175}.week-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:21px}.week-controls{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.week-controls strong{font-size:15px;font-weight:600;letter-spacing:.2px}.week-number{font-size:9px;background:#e9eee2;border:1px solid #dfe6d6;padding:3px 6px;border-radius:4px;margin-left:9px;color:#7d8d6e}.arrow{border:1px solid #dfe5d8;width:27px;height:27px;border-radius:6px;line-height:20px;font-size:21px;color:#87967d;background:white}.toolbar-actions{display:flex;gap:8px}.toolbar-actions button{font-size:10px;padding:8px 12px}.date-jump{display:flex;gap:5px;align-items:center;color:#8e9b84;font-size:10px}.date-jump input{font-size:10px;width:104px;padding:3px;border:0;background:transparent;color:#7b8c70}.calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:10px;margin-bottom:28px}.day-cell{border:1px solid var(--line);background:#fff;border-radius:11px;padding:14px 6px 11px;position:relative;min-height:105px;display:flex;align-items:center;flex-direction:column}.day-cell:hover{border-color:#a6b59a;background:#fafcf7}.day-cell .day-name{font-size:10px;color:#92a088;letter-spacing:1px}.day-cell .day-num{font-size:24px;margin:9px 0;font-weight:550;color:#627656}.day-cell .day-count{font-size:9px;color:#a9b39e;height:11px}.day-cell.today{border-color:#d2dcc7;background:#eef3e6}.day-cell.today:after{content:'今天';font-size:8px;color:#89a170;position:absolute;top:10px;right:9px}.day-cell.selected{border-color:var(--forest);box-shadow:inset 0 0 0 1px var(--forest)}.day-cell.weekend{background:#f0f2eb}.content-grid,.report-layout{display:grid;grid-template-columns:minmax(0,1fr) 246px;gap:25px;align-items:start}.entries-panel,.report-editor{background:white;border:1px solid var(--line);border-radius:var(--radius);min-height:370px;overflow:hidden}.list-toolbar{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #edf0e8;gap:10px}.list-title{font-size:13px;font-weight:600;display:flex;gap:9px;align-items:center}.list-title>span{font-size:9px;color:#8b9a7d;background:#eff2e9;border-radius:5px;padding:3px 7px}.text-button{font-size:11px;color:#879675;padding:8px 0}.text-button:hover{color:var(--forest);text-decoration:underline}.search{display:flex;align-items:center;gap:5px;color:#9ba58e}.search>span{font-size:23px;line-height:1}.search input{font-size:10px;border:0;background:transparent;width:126px;color:#677960;padding:5px}.search input::placeholder{color:#a5ad9b}.empty-state{padding:66px 24px;text-align:center;color:#8c9a81}.empty-illustration{width:75px;height:75px;background:#f2f5eb;border-radius:24px;margin:0 auto 21px;display:grid;place-items:center;transform:rotate(-5deg)}.empty-illustration img{width:44px;height:44px;transform:rotate(5deg)}.empty-state h3{color:#667c59;font-size:15px;font-weight:500;margin:0 0 11px}.empty-state p{font-size:11px;line-height:1.9;margin:0 0 16px}.empty-state button{font-size:11px;color:#b57658;border-bottom:1px solid #e4c4ae;padding:6px}.day-group{padding:0 24px}.day-group h3{font-size:10px;font-weight:500;color:#9ca58f;padding:20px 0 6px;margin:0;display:flex;align-items:center;gap:8px}.day-group h3:after{content:'';height:1px;background:#eef1e8;flex:1}.entry{display:flex;gap:11px;padding:17px 0;border-bottom:1px solid #f0f2eb;align-items:flex-start}.entry:last-child{border-bottom:0}.check-button{border:1.5px solid #c7d3bc;border-radius:50%;width:17px;height:17px;flex-shrink:0;padding:0;margin-top:2px;font-size:10px;line-height:14px;color:white}.entry.done .check-button{background:#718b61;border-color:#718b61}.entry-body{min-width:0;flex:1}.entry-text{white-space:pre-wrap;line-height:1.8;font-size:12px;color:#56694c;overflow-wrap:anywhere;margin:0 0 10px}.entry.done .entry-text{color:#829078}.tag-pill{display:inline-flex;align-items:center;gap:5px;font-size:9px;border-radius:4px;padding:4px 7px;background:var(--tag-bg);color:var(--tag)}.entry-meta{display:flex;align-items:center;gap:10px}.entry-meta small{font-size:9px;color:#a4ae99}.entry-actions{display:flex;gap:3px;opacity:0}.entry:hover .entry-actions,.entry:focus-within .entry-actions{opacity:1}.entry-actions button{color:#a1ad95;font-size:11px;padding:4px}.entry-actions button:hover{color:var(--forest)}.insight-column{display:flex;flex-direction:column;gap:17px}.weekly-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:23px}.big-count{display:flex;align-items:baseline;gap:9px;margin:19px 0}.big-count strong{font-size:46px;line-height:1;font-weight:500;letter-spacing:-2px}.big-count span{font-size:10px;color:#9aa68e}.progress-track{height:4px;background:#edf0e7;border-radius:4px;overflow:hidden}.progress-track>div{height:100%;background:#8da573;transition:width .3s}.completion{display:flex;justify-content:space-between;margin-top:10px;font-size:9px;color:#a4ad98}.completion b{font-weight:500}.stat-row{display:flex;align-items:center;font-size:10px;color:#87967b;gap:8px;margin-top:16px}.stat-row span:last-child{margin-left:auto;color:#a7b29b;font-size:10px}#tagStats{border-top:1px solid #eef1e9;margin-top:20px;padding-top:2px}.report-card{border:1px solid #e6e4d6;background:#f0eee3;border-radius:var(--radius);padding:23px;position:relative;overflow:hidden}.report-card:after{content:'✧';font-size:160px;position:absolute;right:-22px;top:0;color:#e6e3d4;pointer-events:none}.sparkle{font-size:26px;color:#b39871;margin-bottom:14px}.report-card h3{font-size:17px;font-weight:500;line-height:1.7;margin:0 0 12px;position:relative;z-index:1}.report-card p{font-size:10px;line-height:1.9;color:#9c9c86;margin:0 0 22px}.report-card button{display:flex;justify-content:space-between;align-items:center;width:100%;font-size:11px;color:#927854;padding:11px 12px;background:#faf9f2;border:1px solid #e4e0d1;border-radius:7px}.report-card small{font-size:8px;color:#aaa995;display:block;margin-top:12px;text-align:center}.quiet-note{font-size:10px;color:#a5ae98;line-height:2;text-align:center;padding:8px 4px}.quiet-note>span{font-size:20px;color:#aeb99e}.page-footer{display:flex;justify-content:space-between;border-top:1px solid #e2e7dc;margin-top:36px;padding:19px 0 5px;font-size:9px;color:#a9b19f}.page-footer>span:first-child{font-size:8px;letter-spacing:1px}.report-editor textarea{border:0;resize:vertical;width:100%;min-height:430px;padding:25px;line-height:1.9;font-size:13px;color:#516447;background:#fff}.report-editor textarea::placeholder{color:#adb7a2}.report-footer{border-top:1px solid var(--line);padding:17px 23px;display:flex;gap:8px}.weekly-card h3{font-size:16px;line-height:1.8;font-weight:500}.full{width:100%}.muted{color:#8d9982;line-height:1.9;font-size:12px}dialog{background:#fff;border:1px solid #e2e7db;border-radius:20px;padding:28px;width:480px;max-width:calc(100% - 28px);max-height:90vh;overflow:auto;color:var(--ink);box-shadow:0 30px 100px #172f3226}dialog::backdrop{background:#233c3459;backdrop-filter:blur(4px)}.wide-dialog{width:640px}.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:24px}h2{font-size:22px;letter-spacing:.4px;margin:8px 0}dialog label:not(.checkbox){display:block;font-size:12px;margin:16px 0}dialog input:not([type=checkbox]),dialog textarea{width:100%;padding:11px 12px;border:1px solid #dce3d4;border-radius:8px;background:#fafbf8;color:#53664a;display:block;margin-top:8px;line-height:1.6}dialog textarea{resize:vertical}dialog label small{color:#9ba58f;font-size:10px;line-height:1.8;display:block;margin-top:6px}.field-label{font-size:12px;margin:18px 0 10px}.tag-choices{display:flex;gap:7px;flex-wrap:wrap}.tag-choice{padding:8px 10px;border:1px solid transparent;border-radius:6px;background:var(--tag-bg);color:var(--tag);font-size:10px}.tag-choice.active{border-color:var(--tag);box-shadow:0 0 0 1px var(--tag)}.checkbox{font-size:11px;color:#869678;display:flex;gap:8px;align-items:center;margin:22px 0}.checkbox input{accent-color:var(--forest);width:15px;height:15px}.dialog-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:20px;margin-top:24px;gap:10px}.dialog-footer .muted{font-size:10px}.settings-tabs{display:flex;gap:20px;border-bottom:1px solid var(--line);margin-bottom:21px}.settings-tabs button{font-size:12px;color:#96a087;padding:0 3px 14px;border-bottom:2px solid transparent}.settings-tabs button.active{color:var(--forest);border-color:var(--forest)}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.button-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.right{justify-content:flex-end}.notice{background:#f0f4e9;border:1px solid #e1e9d7;border-radius:9px;padding:14px;font-size:11px;color:#89997a;line-height:1.9;margin-top:20px}.form-note{font-size:10px;color:#96a187;line-height:1.9;margin-top:16px}.backup-divider{height:1px;background:var(--line);margin:25px 0}dialog h3{font-size:14px;font-weight:500}.tag-editor-row{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);padding:12px 0}.tag-editor-row input{margin:0!important;flex:1;min-width:0;font-size:12px}.tag-editor-row button{font-size:10px;white-space:nowrap}.tag-editor-row .default-label{color:#83966e;font-size:10px;white-space:nowrap}.inline-form{display:flex;align-items:center;gap:9px;margin-top:18px}.inline-form input{margin:0!important;flex:1;min-width:0}.tag-rename{color:#7b8e6a}.danger{color:#b8826b}#toast{position:fixed;bottom:27px;left:calc(50% + 115px);transform:translate(-50%,15px);background:var(--forest);color:white;padding:13px 23px;border-radius:10px;font-size:12px;box-shadow:0 4px 24px #203c3420;z-index:100;opacity:0;pointer-events:none;transition:.2s;max-width:80vw;line-height:1.7}#toast.visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:1500px){main{padding-top:52px}.calendar{gap:14px}.day-cell{min-height:120px}.content-grid{grid-template-columns:minmax(0,1fr) 275px}}
@media(max-width:1200px){.sidebar{width:200px;padding-left:16px;padding-right:16px}.workspace{margin-left:200px}main{padding:32px 28px 18px}.topbar{padding:0 28px}.content-grid,.report-layout{grid-template-columns:minmax(0,1fr) 215px;gap:18px}.weekly-card,.report-card{padding:20px}.week-toolbar{align-items:flex-start;flex-wrap:wrap}.date-jump{display:none}#toast{left:calc(50% + 100px)}}
@media(max-width:900px){.sidebar{width:170px;padding:26px 12px 15px}.workspace{margin-left:170px}.brand{gap:7px;margin-left:4px}.brand>span{font-size:21px}.brand img{width:34px;height:34px}.side-caption{font-size:9px;margin:20px 4px 28px}.nav-item{font-size:12px;padding:12px 10px}.content-grid,.report-layout{grid-template-columns:1fr}.insight-column{display:grid;grid-template-columns:1fr 1fr}.quiet-note{grid-column:1 / -1}.page-heading{margin-bottom:27px}h1{font-size:25px}.page-heading>.primary{font-size:11px;padding:10px 12px}.calendar{gap:6px}.day-cell.today:after{font-size:7px;right:4px;top:6px}.day-cell{min-height:95px}.day-cell .day-num{font-size:21px}.entry-actions{opacity:1}.week-controls{gap:7px}.week-controls strong{font-size:13px}.page-footer{gap:15px;line-height:1.8}#toast{left:calc(50% + 85px)}}
@media(max-width:650px){.sidebar{position:static;width:auto;height:auto;padding:16px 18px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;border:0;border-bottom:1px solid #dce3d5;gap:15px}.brand{margin:0;gap:9px}.brand>span{font-size:21px}.brand small{font-size:6px}.brand img{width:34px;height:34px}.side-caption,.side-section,.sidebar-bottom .storage-card,.side-footer,.nav-dot,.mini{display:none}.sidebar nav{display:flex;gap:4px;margin-left:auto}.nav-item{width:auto;margin:0;gap:5px;padding:9px;font-size:11px;white-space:nowrap}.nav-symbol{font-size:17px;width:15px}.sidebar-bottom{margin:0;padding:0}.sidebar-bottom .nav-item{font-size:0;padding:9px}.sidebar-bottom .nav-symbol{font-size:21px}.workspace{margin:0}.topbar{height:48px;padding:0 20px;font-size:10px}.sync-button{font-size:9px}main{padding:30px 18px 16px}.eyebrow{font-size:8px;letter-spacing:1.7px}h1{font-size:23px;letter-spacing:0;margin:10px 0}.page-heading{align-items:center;gap:8px}.page-heading p{font-size:10px}.page-heading>.primary{font-size:10px;padding:9px 11px}.page-heading>.primary>span{margin:0;font-size:15px}.week-toolbar{gap:13px}.week-controls{width:100%;gap:9px}.week-controls strong{font-size:12px}.week-number{font-size:8px;margin-left:5px}.small-button{margin-left:auto;font-size:9px}.toolbar-actions{width:100%;justify-content:flex-end}.calendar{gap:4px;margin-bottom:18px}.day-cell{border-radius:8px;min-height:90px;padding:12px 2px 9px}.day-cell .day-name{font-size:8px;letter-spacing:0}.day-cell .day-num{font-size:20px;margin:10px 0 7px}.day-cell.today:after{content:'';height:3px;width:3px;border-radius:50%;background:#96a97f;top:7px;right:6px}.day-cell .day-count{font-size:8px}.list-toolbar{padding:16px}.list-title{font-size:12px;gap:5px}.search input{width:100px;font-size:9px}.day-group{padding:0 16px}.entry-text{font-size:12px}.insight-column{gap:12px}.weekly-card,.report-card{padding:17px}.report-card h3{font-size:15px}.report-card p{font-size:9px}.report-card small{font-size:7px}.section-label{font-size:9px}.big-count strong{font-size:39px}.big-count span{font-size:9px}.quiet-note{display:none}.page-footer{margin-top:24px;font-size:8px}.page-footer>span:first-child{white-space:nowrap;font-size:7px}.page-footer>span:last-child{text-align:right}.entry-actions{flex-direction:column}.entry-actions button{font-size:10px;padding:2px}.report-footer{padding:12px;flex-wrap:wrap}.report-editor textarea{padding:18px;font-size:12px;min-height:380px}dialog{padding:23px 20px;border-radius:16px}.dialog-footer .muted{font-size:8px}.two-fields{grid-template-columns:1fr;gap:0}.settings-tabs{gap:15px}.settings-tabs button{font-size:11px}.tag-editor-row{gap:6px}.tag-editor-row input{padding:8px!important}.tag-editor-row button{font-size:9px;padding:2px}#toast{left:50%;width:max-content;max-width:92vw;font-size:11px;bottom:20px}.text-button{font-size:10px}.empty-state{padding:50px 20px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Inline work entry */
.quick-entry{padding:22px 24px;border-bottom:1px solid var(--line);background:#fcfdf9}
.quick-label{display:block;font-size:11px;font-weight:500;color:#7f9072;margin-bottom:10px}
.quick-entry textarea{display:block;width:100%;min-height:94px;resize:vertical;border:1px solid #dfe6d7;border-radius:10px;background:#fff;padding:13px 15px;color:#53664a;font-size:13px;line-height:1.8}
.quick-entry textarea::placeholder{color:#a6b09b}.quick-entry-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:12px}.quick-fields{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.quick-fields>label{display:flex;align-items:center;gap:6px;color:#8e9c82;font-size:10px}.quick-fields input[type=date],.quick-fields select{font-size:10px;border:1px solid #dfe6d7;border-radius:6px;padding:7px;color:#6b7d5f;background:white;max-width:143px}.quick-fields input[type=checkbox]{accent-color:var(--forest)}.quick-fields .text-button{font-size:10px}.quick-hint{display:block;color:#a5af99;font-size:9px;margin-top:11px}.empty-hint{font-size:10px;color:#a4ae97}.entries-panel .empty-state{padding:32px 24px}.entries-panel .empty-illustration{height:50px;width:50px;border-radius:16px;margin-bottom:16px}.entries-panel .empty-illustration img{width:32px;height:32px}.entries-panel .empty-state p{margin-bottom:10px}
@media(max-width:650px){.quick-entry{padding:17px 16px}.quick-entry textarea{font-size:12px;min-height:100px}.quick-entry-footer{align-items:flex-end;gap:10px}.quick-fields{gap:7px;flex:1}.quick-fields>label{font-size:9px}.quick-fields input[type=date]{width:112px;font-size:9px}.quick-fields select{max-width:105px;font-size:9px}.quick-fields .text-button{font-size:9px}.quick-entry-footer>.primary{padding:10px 17px}.quick-hint{font-size:8px}}
