:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#25314a;background:#f7f8fc;font-synthesis:none;--blue:#5269dc;--light-blue:#edf0ff;--muted:#81899d;--line:#e8ebf2;--green:#378872;--shadow:0 7px 28px #25314a06}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #a2aff1;outline-offset:3px}button{border:0;background:none;color:inherit}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sprite{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.topbar{height:90px;padding:0 40px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line);gap:20px}.brand{display:flex;gap:13px;align-items:center;color:inherit;text-decoration:none;font-size:23px;font-weight:650;letter-spacing:1px}.brand-icon{width:43px;height:46px;border-radius:13px;background:var(--blue);color:white;display:grid;place-items:center;transform:rotate(-5deg)}.brand-icon svg{width:27px;height:27px}.brand small{display:block;font-size:11px;color:var(--muted);font-weight:400;letter-spacing:2px;margin-top:5px}.file-actions{display:flex;gap:10px}.button{padding:11px 17px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:13px;font-weight:550;white-space:nowrap}.primary{background:var(--blue);color:#fff;box-shadow:0 3px 8px #5269dc18}.primary:hover{background:#4358c6}.secondary{background:#fff;border:1px solid #dfe3ed}.secondary:hover{background:#f5f6fb}.workspace-bar{min-height:44px;display:flex;align-items:center;gap:12px;padding:6px 40px;font-size:11px;color:#6a758e;border-bottom:1px solid var(--line);flex-wrap:wrap}.workspace-bar #document-name{font-weight:600;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.divider{color:#c5cbd8}.muted{color:var(--muted);font-size:12px;line-height:1.8}.file-state{color:#9d7950;margin-left:auto}.text-button{display:inline-flex;gap:5px;align-items:center;color:var(--blue);font-size:12px;padding:7px 2px;white-space:nowrap}.text-button svg{width:16px;height:16px}.icon-button{width:33px;height:33px;display:inline-grid;place-items:center;border-radius:8px;color:#6a7690;flex-shrink:0}.icon-button:hover{background:#edf0f9}.soft{background:var(--light-blue);color:var(--blue)}.layout{max-width:1600px;margin:auto;display:grid;grid-template-columns:265px minmax(0,1fr);gap:32px;padding:30px 40px 40px}.year-panel{padding-right:28px;border-right:1px solid var(--line)}.year-heading{display:flex;align-items:center;justify-content:space-between;margin:9px 0 10px;gap:8px}h1,h2,p{margin:0}h2{font-size:16px;font-weight:620}.eyebrow{font-size:10px;letter-spacing:1.2px;color:var(--muted);margin-bottom:9px}.panel-tip{font-size:11px;line-height:1.8;color:#9299ac;margin-bottom:23px}.year-list{display:grid;gap:10px}.year-task{background:white;border:1px solid var(--line);padding:14px;border-radius:11px;box-shadow:var(--shadow);position:relative}.year-task .task-edit{padding:0;display:block;width:100%;text-align:left;white-space:normal;overflow-wrap:anywhere;line-height:1.6;font-size:13px;color:#3d4661}.year-task .tag{margin-bottom:10px}.month-badges{display:flex;flex-wrap:wrap;gap:4px;margin-top:13px}.month-badges span{font-size:10px;color:#8b94aa;background:#f4f5fa;padding:3px 6px;border-radius:4px}.month-badges .active{color:var(--blue);background:var(--light-blue)}.year-footer{margin-top:30px;font-size:10px;line-height:2;color:#8992a7}.year-footer>span:last-child{padding-left:13px}.little-dot{display:inline-block;background:#92b7a7;width:5px;height:5px;border-radius:50%;margin-right:8px}.month-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 24px}.month-title h1{font-size:30px;line-height:1.2;font-weight:600;letter-spacing:1px}.month-title h1 small{font-size:15px;letter-spacing:0;margin-left:12px;font-weight:400;color:var(--muted)}.month-title .eyebrow{display:block;color:var(--blue);font-size:10px;letter-spacing:2px;font-weight:650;margin-bottom:8px}.month-nav{display:flex;align-items:center;gap:5px}.today-button{padding:8px 13px;background:#fff;border:1px solid var(--line);font-weight:400}.month-picker-label{position:relative;display:flex;width:32px;height:32px;align-items:center;justify-content:center}.month-picker-label input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.month-picker-label input::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:100%;height:100%;cursor:pointer}.month-picker-label svg{pointer-events:none;color:#818ba3}.month-pool{background:#fff;border:1px solid var(--line);border-radius:13px;padding:17px 20px;margin-bottom:20px;box-shadow:var(--shadow)}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.section-heading h2{font-size:14px}.count{font-size:10px;font-weight:400;background:#f1f3f9;color:#8a94aa;padding:3px 7px;border-radius:6px;margin-left:7px}.pool-tip{font-size:11px;color:#929aac;margin:6px 0 13px;line-height:1.7}.month-list{display:flex;flex-wrap:wrap;gap:9px}.month-task{display:flex;gap:9px;align-items:center;border:1px solid #e7eafa;border-radius:8px;background:#f7f8ff;padding:9px 10px;max-width:100%;position:relative;touch-action:pan-y}.month-task::before{content:'⠿';color:#b3bad3;font-size:16px}.month-task[data-kind=year]{background:#f4f7f3;border-color:#e3ecdf}.month-task .task-edit{font-size:12px;max-width:260px;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0}.month-task .schedule-button{font-size:10px;padding:4px 6px;color:var(--blue);border-radius:4px;background:#fff;white-space:nowrap}.month-task small{color:#919ab0;font-size:9px}.month-task.dragging{opacity:.4}.calendar-card{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden;box-shadow:var(--shadow)}.weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.weekdays{height:39px;align-items:center;background:#fafbfe;border-bottom:1px solid var(--line);font-size:10px;color:#8b94aa;text-align:center}.weekdays span:nth-last-child(-n+2){color:#aa96a5}.day-cell{position:relative;height:110px;display:flex;flex-direction:column;overflow:hidden;padding:10px 7px 7px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);cursor:pointer;outline-offset:-3px!important;transition:background .12s}.day-cell:nth-child(7n){border-right:0}.day-cell:nth-last-child(-n+7){border-bottom:0}.day-cell:hover{background:#fafbff}.day-cell.selected{background:#f5f7ff;box-shadow:inset 0 0 0 1.5px #abb7ec}.day-cell.outside{background:#fcfcfe}.day-cell.outside .day-number{color:#cbd0df}.day-number{flex-shrink:0;width:25px;height:25px;font-size:12px;display:grid;place-items:center;margin-bottom:5px;border-radius:50%;font-variant-numeric:tabular-nums}.day-cell.is-today .day-number{background:var(--blue);color:#fff}.day-cell.weekend .day-number{color:#9c8596}.day-cell.is-today.weekend .day-number{color:#fff}.day-task-list{flex:1;min-height:0;overflow:hidden}.day-task{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;flex-shrink:0;width:100%;padding:4px 6px;margin-top:4px;font-size:10px;border-radius:4px;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;background:#edf0fc;color:#566ca7;border-left:2px solid #9caade;line-height:1.5}.day-task.year{background:#eef4eb;color:#6d895c;border-left-color:#a9bf96}.day-task.completed{background:#f3f4f7;color:#a4aab7;text-decoration:line-through;border-left-color:#cbd1dd}.more-tasks{display:block;height:14px;line-height:14px;font-size:9px;color:#8b94aa;margin:3px 0 0 3px;white-space:nowrap}.day-cell.drop-target{background:#e5ebff;box-shadow:inset 0 0 0 2px var(--blue)}.day-panel{background:white;border:1px solid var(--line);border-radius:13px;margin-top:20px;padding:20px;box-shadow:var(--shadow)}.day-panel .eyebrow{font-size:9px;margin-bottom:6px}.day-panel .section-heading{margin-bottom:15px}.day-entry{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #f0f2f6}.day-entry input{appearance:none;width:18px;height:18px;border:1.5px solid #c6cedf;border-radius:5px;cursor:pointer;flex-shrink:0}.day-entry input:checked{background:var(--green);border-color:var(--green);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 10 3 3 7-7' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E")}.day-entry label{display:block;font-size:13px;line-height:1.7;overflow-wrap:anywhere;flex:1;cursor:pointer}.day-entry.done label{text-decoration:line-through;color:#a3abbb}.day-entry .remove-day{color:#a2aabd;font-size:11px;white-space:nowrap;padding:8px}.tag{display:inline-flex;gap:5px;align-items:center;font-size:9px;color:#829174}.tag::before{content:'';background:#a7b795;width:4px;height:4px;border-radius:50%}.empty{padding:20px 5px;color:#a0a8b9;font-size:12px;line-height:1.9;text-align:center}.empty-year{padding:25px 13px;border:1px dashed #d9dfeb;border-radius:12px}.empty-year svg{display:block;margin:0 auto 12px;color:#adb6cf;width:28px;height:28px}.empty .text-button{display:inline-block;margin-top:6px}.month-list .empty{padding:6px 0;text-align:left;font-size:11px}.day-panel .empty{padding:15px 0}.calendar-footer{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#9aa3b5;margin-top:16px}.notice{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);border:1px solid #d9e1f5;background:#fff;box-shadow:0 6px 35px #25314a25;border-radius:10px;padding:14px 22px;font-size:13px;line-height:1.6;max-width:calc(100% - 32px);width:max-content;z-index:50}.notice.error{color:#ac4949;border-color:#efcccc}.warning-banner{padding:12px 40px;background:#fff2dd;color:#92682d;font-size:12px;line-height:1.8}.warning-banner button{color:#5269dc;text-decoration:underline;padding:4px 8px}dialog{border:1px solid #e1e5f0;border-radius:17px;padding:27px;width:min(480px,calc(100% - 28px));max-height:calc(100dvh - 40px);overflow:auto;color:inherit;box-shadow:0 24px 80px #1c264b26}dialog::backdrop{background:#28334f55;backdrop-filter:blur(3px)}dialog p{font-size:13px;line-height:1.9;margin:12px 0}dialog h2{font-size:20px}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:22px}.dialog-heading .eyebrow{margin:0 0 8px;font-size:10px}.field-label{display:block;font-size:12px;margin:16px 0 9px}textarea,input[type=date]{width:100%;border:1px solid #dfe4ef;border-radius:8px;padding:12px;color:inherit;background:#fafbfe}textarea{resize:vertical;min-height:90px;line-height:1.8}.month-options{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:10px 0}.month-options label{position:relative}.month-options input{position:absolute;opacity:0}.month-options span{display:block;padding:9px;background:#f5f6fa;border:1px solid #e9ebf2;border-radius:7px;text-align:center;font-size:12px;cursor:pointer}.month-options input:checked+span{background:var(--light-blue);border-color:#a8b5ef;color:var(--blue)}.month-options input:focus-visible+span{outline:3px solid #a2aff1}fieldset{border:0;margin:20px 0 0;padding:0}legend{font-size:12px}legend small{font-size:10px;color:var(--muted);margin-left:8px}.dialog-actions{display:flex;align-items:center;gap:9px;margin-top:22px}.spacer{flex:1}.danger{color:#b75c62;padding-left:0}.inline-error{font-size:12px!important;color:#b35757}.inline-error:empty{display:none}.task-preview{padding:13px 16px;background:#f5f7ff;border-radius:8px;overflow-wrap:anywhere}.file-summary{padding:16px;background:#f5f7fc;border:1px solid #e7ebf5;border-radius:10px;font-size:13px;line-height:1.9;overflow-wrap:anywhere}.file-summary small{display:block;color:var(--muted);font-size:11px}.file-footnote{font-size:11px!important;color:#949db1;line-height:1.8!important}.save-options{display:grid;gap:10px;margin-top:20px}.save-option{display:flex;align-items:center;gap:12px;text-align:left;padding:15px;border:1px solid #dce2f1;border-radius:10px;color:var(--blue)}.save-option:hover{background:#f6f8ff}.save-option>span:nth-child(2){flex:1}.save-option strong{font-size:13px;display:block;font-weight:550}.save-option small{display:block;color:#939db1;font-size:11px;margin-top:7px;word-break:break-word}.backup-item{display:flex;gap:12px;align-items:center;border-top:1px solid var(--line);padding:15px 0}.backup-item>div{flex:1}.backup-item strong{font-size:12px;font-weight:500}.backup-item p{font-size:11px;margin:4px 0;color:var(--muted)}.wide-dialog{width:min(550px,calc(100% - 28px))}.help-steps{padding-left:25px;font-size:14px}.help-steps li{padding:5px 0 12px 8px}.help-steps li::marker{color:var(--blue)}.help-steps p{color:#7f899f;font-size:12px;margin:5px 0}.drag-ghost{position:fixed;pointer-events:none;z-index:80;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:12px 16px;background:var(--blue);color:#fff;border-radius:8px;font-size:12px;box-shadow:0 8px 25px #25314a40}.dragging-touch{user-select:none;-webkit-user-select:none;touch-action:none}
@media(min-width:1400px){.day-cell{height:126px}}@media(max-width:1100px){.topbar{padding:0 24px}.workspace-bar{padding:6px 24px}.layout{padding:25px 24px;grid-template-columns:220px minmax(0,1fr);gap:22px}.year-panel{padding-right:20px}.day-cell{height:99px}.month-task .task-edit{max-width:190px}}
@media(max-width:760px){.topbar{height:74px;padding:0 18px;gap:10px}.brand{font-size:18px;gap:9px;white-space:nowrap}.brand-icon{width:34px;height:37px;border-radius:10px}.brand-icon svg{width:23px;height:23px}.brand small{font-size:8px;letter-spacing:0}.file-actions{gap:6px}.file-actions .button{padding:9px 10px;font-size:11px;gap:5px}.file-actions svg{width:15px;height:15px}.workspace-bar{padding:9px 18px;gap:6px 10px;font-size:9px}.workspace-bar #document-name{max-width:120px}.workspace-bar .file-state{flex-basis:100%;order:4;margin:0}.workspace-bar #backups{margin-left:auto;font-size:10px}.workspace-bar .icon-button{width:24px;height:24px}.layout{display:flex;flex-direction:column;padding:23px 16px;gap:24px}.year-panel{order:2;border-right:0;padding:22px 0 0;border-top:1px solid var(--line)}.year-heading{margin:0 0 7px}.year-heading h2{font-size:16px}.year-heading .eyebrow{font-size:9px}.year-list{display:flex;gap:10px;overflow-x:auto;padding-bottom:8px;scroll-snap-type:x proximity}.year-task{min-width:200px;max-width:230px;flex:0 0 60%;scroll-snap-align:start}.empty-year{flex:1;padding:15px}.empty-year svg{display:none}.panel-tip{margin-bottom:13px}.year-footer{margin-top:14px}.month-toolbar{margin-bottom:20px}.month-title h1{font-size:27px}.month-title h1 small{font-size:12px;margin-left:8px}.month-title .eyebrow{font-size:9px}.month-nav{gap:0}.month-nav .icon-button{width:29px}.today-button{font-size:11px;padding:7px 10px}.month-pool{padding:14px 15px;margin-bottom:16px}.section-heading h2{font-size:13px}.pool-tip{font-size:10px;margin-bottom:12px}.month-list{gap:7px;max-height:210px;overflow-y:auto}.month-task{padding:7px 8px;gap:6px;width:100%}.month-task .task-edit{max-width:none;flex:1;min-width:0;font-size:12px}.month-task .schedule-button{padding:6px 8px;font-size:11px}.month-task small{font-size:9px}.weekdays{height:33px;font-size:9px}.day-cell{padding:5px 2px;height:86px}.day-number{font-size:11px;width:23px;height:23px;margin-left:3px;margin-bottom:3px}.day-task{font-size:9px;padding:2px 3px;border-left-width:2px;margin-top:3px;line-height:1.5}.more-tasks{font-size:8px;margin-left:3px}.day-panel{padding:16px;margin-top:16px}.day-entry label{font-size:12px}.day-entry{gap:9px}.calendar-footer{font-size:9px;gap:5px;flex-wrap:wrap}.warning-banner{padding:10px 18px;font-size:11px}dialog{padding:22px;max-height:calc(100dvh - 28px)}.dialog-actions .button{padding:10px 13px}.notice{bottom:18px;font-size:12px}.year-footer{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.offline-bar{display:flex;align-items:center;gap:12px;padding:4px 40px;background:#eef4ef;color:#477358;font-size:11px;min-height:34px}.offline-bar #install-app{margin-left:auto}.topbar{padding-top:env(safe-area-inset-top);height:calc(90px + env(safe-area-inset-top))}body{padding-bottom:env(safe-area-inset-bottom)}.notice{bottom:calc(25px + env(safe-area-inset-bottom))}@media(max-width:760px){.offline-bar{padding:4px 18px;font-size:10px}.topbar{height:calc(74px + env(safe-area-inset-top))}textarea,input[type=date],input[type=month]{font-size:16px}.notice{bottom:calc(18px + env(safe-area-inset-bottom))}}@media(max-width:374px){.brand small{display:none}.topbar{padding-left:12px;padding-right:12px}.file-actions .button{padding:9px 7px}}
