:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#242735;background:#f7f8fa;font-synthesis:none;--accent:#7562dc;--muted:#9297a3;--line:#eceef2}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{border:0;background:none;color:inherit;cursor:pointer}button:disabled{opacity:.42;cursor:default}button,input,textarea,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:3px solid #c8bcfa;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid #c8bcfa;border-color:transparent!important}a{color:var(--accent)}[hidden]{display:none!important}.icon{width:19px;height:19px;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.boot{min-height:100vh;display:grid;place-content:center;text-align:center;color:var(--muted)}.brand{display:flex;align-items:center;gap:10px}.brand strong{font-size:19px;font-weight:650;letter-spacing:1px}.brand-mark{width:32px;height:32px;display:inline-grid;place-items:center;background:var(--accent);color:white;border-radius:10px;font-size:22px;flex-shrink:0}.shell{min-height:100vh}.app-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}.header-inner,.top-nav{max-width:900px;padding:0 28px;margin:auto}.header-inner{height:70px;display:flex;align-items:center;justify-content:space-between;gap:16px}.header-account{display:flex;align-items:center;gap:14px}.account-name{font-size:13px;color:#737887}.icon-button{display:grid;place-items:center;width:30px;height:30px;color:#a0a4ae;border-radius:7px}.icon-button:hover{background:#f6f5fb;color:var(--accent)}.icon-button .icon{width:17px;height:17px}.demo-pill{font-size:10px;background:#fbf4e6;color:#b29460;border-radius:5px;padding:4px 7px}.top-nav{display:flex;gap:28px;overflow:auto}.top-nav button{padding:11px 0 15px;border-bottom:2px solid transparent;font-size:13px;white-space:nowrap;color:#8a8f9c}.top-nav button.active{color:var(--accent);border-color:var(--accent);font-weight:600}.top-nav button span{font-size:10px;margin-left:5px;color:#c4877d}.content{max-width:900px;margin:0 auto;padding:31px 28px 55px}.list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.list-heading h1{font-size:23px;margin:0;font-weight:600}.list-heading h1 small{font-size:13px;color:#a4a8b2;margin-left:6px;font-weight:400}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 16px;border-radius:8px;white-space:nowrap;font-size:13px;font-weight:500;min-height:38px}.primary{background:var(--accent);color:#fff}.primary:hover:not(:disabled){background:#6754cd}.primary .icon{width:16px;height:16px}.secondary{background:white;border:1px solid #e2e4eb;color:#818695}.secondary:hover{background:#faf9fe}.text-button{color:var(--accent);font-size:12px;padding:8px}.search{position:relative;display:block;margin-bottom:18px}.search .icon{position:absolute;left:13px;top:12px;color:#a9adba;width:17px;height:17px}.search input{height:41px;width:100%;border:1px solid #e6e8ee;background:#fff;border-radius:8px;padding:0 14px 0 39px;font-size:13px;color:#505768}.search input::placeholder{color:#afb3bd}.task-panel{background:white;border:1px solid #e8eaf0;border-radius:11px;overflow:hidden;min-height:190px}.group-label{display:flex;align-items:center;gap:8px;font-size:11px;color:#9da2af;padding:17px 21px 10px;background:#fefeff}.group-label i{width:4px;height:4px;border-radius:50%;background:currentColor}.group-label.overdue{color:#c58379}.group-label b{margin-left:auto;font-size:10px;font-weight:400;color:#b1b5bf}.task-row{min-height:84px;padding:17px 21px;display:flex;align-items:center;gap:13px;border-bottom:1px solid #f0f1f5}.task-row:last-child{border-bottom:0}.task-row:hover{background:#fcfbfe}.check{border:1.5px solid #d9dde6;border-radius:6px;width:19px;height:19px;padding:0;flex-shrink:0;display:grid;place-items:center;color:white}.check:hover:not(:disabled){border-color:var(--accent)}.check.done{background:#a2bdaf;border-color:#a2bdaf;opacity:1}.check .icon{width:13px;height:13px}.task-info{min-width:0;flex:1}.task-title{padding:0;text-align:left;font-size:14px;line-height:1.7;overflow-wrap:anywhere}.task-title:hover{color:var(--accent)}.finished .task-title{color:#979da9}.meta{display:flex;align-items:center;gap:7px;color:#a9adba;font-size:11px;margin-top:5px}.meta .icon{width:12px;height:12px;color:#b9bdc6}.due-pill{font-size:11px;color:#9b9fa9;white-space:nowrap;padding:5px 8px;border-radius:5px;background:#f6f7f9}.due-pill.late{color:#c18177;background:#fcf0ed}.empty{text-align:center;padding:54px 20px;color:#a0a6b3}.empty>.icon{width:30px;height:30px;color:#c4bbdc}.empty h3{font-size:14px;font-weight:500;color:#828a99;margin-top:15px}.empty p{font-size:12px;line-height:1.8}.empty .secondary{margin-top:7px;font-size:12px}
.veil{position:fixed;inset:0;background:#26304632;backdrop-filter:blur(3px);z-index:30;display:flex;align-items:center;justify-content:center;padding:20px}.modal,.drawer{width:470px;max-width:100%;max-height:92vh;overflow:auto;background:white;border:1px solid #eeeaf8;border-radius:14px;box-shadow:0 15px 70px #25233c20;padding:25px}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.modal h2{font-size:19px;font-weight:600;margin:0}.close{padding:5px;color:#a1a7b4;border-radius:5px;display:grid;place-items:center}.close:hover{background:#f6f5fa}.create-tabs{display:flex;gap:3px;background:#f5f5f9;padding:4px;border-radius:8px;margin-bottom:19px}.create-tabs button{flex:1;padding:8px;font-size:12px;border-radius:5px;color:#969bad}.create-tabs button.active{background:#fff;color:var(--accent);box-shadow:0 1px 5px #29233b09}.field{display:block;margin-top:16px}.field>span{display:block;font-size:12px;color:#747c8c;margin-bottom:8px}.field input,.field textarea{width:100%;padding:10px 12px;border:1px solid #e1e5ec;background:#fff;border-radius:7px;color:#3e4656;font-size:13px;line-height:1.7}.field textarea{resize:vertical;min-height:65px}.field input::placeholder,.field textarea::placeholder{color:#b0b5c0}.field small{font-size:11px;color:#a4a9b5;line-height:1.7;display:block;margin-top:6px}.form-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:17px;margin-top:20px}.form-bottom small{font-size:11px;color:#a2a8b5}.inline-error{font-size:12px;line-height:1.8;color:#ba7971;margin:11px 0 0}.inline-error:empty{display:none}.draft-hint{font-size:11px;line-height:1.8;padding:9px 11px;border-radius:6px;background:#f5f2fc;color:#9885ba;margin:0}.date-picker{border:1px solid #e8e8f0;border-radius:9px;padding:10px 12px 0;background:white}.calendar-heading{display:flex;align-items:center;justify-content:space-between;height:33px;margin-bottom:4px}.calendar-heading strong{font-size:13px;font-weight:500;color:#606879}.calendar-heading button{font-size:23px;color:#999db0;width:30px;height:30px;border-radius:6px}.calendar-heading button:hover:not(:disabled){background:#f3f0fb}.calendar-week,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.calendar-week span{text-align:center;font-size:10px;color:#b1b5c0;padding:8px 0}.calendar-days button{height:30px;max-width:38px;width:100%;justify-self:center;border-radius:7px;font-size:12px;position:relative}.calendar-days button:hover:not(:disabled){background:#f0ebfc;color:var(--accent)}.calendar-days .outside{color:#bfc2cb}.calendar-days button:disabled{color:#bfc2cb;opacity:.45}.calendar-days .is-today{box-shadow:inset 0 0 0 1px #d9cff3}.calendar-days .selected,.calendar-days .selected:hover{background:var(--accent)!important;color:white!important;box-shadow:none}.calendar-selected{border-top:1px solid #f0f0f5;padding:10px 1px;margin-top:10px;font-size:11px;color:#a4a1b3;min-height:34px}.drawer{width:560px}.drawer .modal-head{margin-bottom:22px}.detail-status{font-size:11px;color:#a49ab9}.drawer h2.title{font-size:21px;line-height:1.6;font-weight:600;overflow-wrap:anywhere;margin:0 0 22px}.detail-people{display:grid;grid-template-columns:1fr 1fr;gap:12px}.person-info{display:flex;gap:9px;align-items:center}.avatar{width:31px;height:31px;display:inline-grid;place-items:center;border-radius:9px;background:#eee9fa;color:#9884b7;font-size:11px;flex-shrink:0}.avatar.green{background:#e9f2ed;color:#7da08f}.avatar.orange{background:#faf0e5;color:#b79b75}.person-info small{display:block;font-size:10px;color:#a7adb8;margin-bottom:5px}.person-info strong{font-size:12px;font-weight:500}.deadline-block{background:#faf9fd;border:1px solid #ece8f7;border-radius:9px;margin-top:22px;padding:15px}.deadline-block .heading{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#a094bb}.deadline-block .heading button{font-size:11px;padding:0;color:var(--accent)}.deadline-block .time{display:flex;gap:8px;align-items:center;font-size:14px;color:#7d6b9b;margin-top:12px}.deadline-block .time .icon{width:16px;height:16px}.due-edit{margin-top:14px}.due-edit .actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.due-edit .date-picker{background:white}.notice{background:#fbf5e7;color:#b69b67;padding:10px 12px;border-radius:7px;font-size:11px;line-height:1.8;margin-top:12px}.notice.subtle{background:#f7f7fa;color:#a29daf}.timeline-title{font-size:13px;margin:25px 0 20px;font-weight:500}.timeline{padding-left:6px}.event{position:relative;border-left:1px solid #eae5f3;padding:0 0 22px 19px}.event:last-child{border-color:transparent}.event:before{content:'';position:absolute;top:5px;left:-4px;width:7px;height:7px;background:#b8a9df;border:2px solid white;border-radius:50%;box-sizing:content-box;transform:translateX(-2px)}.event h4{font-size:12px;font-weight:400;margin:0;line-height:1.7}.event h4 strong{font-weight:500;color:#847294}.event time{display:block;font-size:10px;color:#b1b5bf;margin-top:7px}.change-record{background:#f7f7fa;padding:9px 11px;margin-top:8px;border-radius:6px;font-size:11px;color:#a09aa9;line-height:2}.change-record label{display:inline-block;width:49px;color:#aca5b4}.change-record .new{color:#9680b3}.drawer-actions{display:flex;gap:9px;border-top:1px solid var(--line);padding-top:17px}.drawer-actions .primary{flex:1}.subtitle{font-size:12px;color:#a2a6b3;line-height:1.8;margin:7px 0 17px}.admin-modal{width:600px}.admin-grid{display:flex;gap:9px;flex-wrap:wrap;margin:17px 0}.admin-grid button{font-size:11px}.admin-people{border-top:1px solid var(--line)}.admin-person{display:flex;align-items:center;gap:11px;border-bottom:1px solid var(--line);padding:14px 0}.admin-person .identity{flex:1;min-width:0}.admin-person strong{display:block;font-size:12px;font-weight:500}.admin-person small{display:block;font-size:10px;line-height:1.7;color:#a9adba;overflow-wrap:anywhere}.admin-person input{width:150px;font-size:11px;border:1px solid #e5e5ed;border-radius:6px;padding:8px}.admin-person button{font-size:11px;color:var(--accent)}.login-screen{min-height:100vh;display:grid;place-items:center;padding:25px}.login-box{width:340px;max-width:100%;background:white;border:1px solid var(--line);border-radius:14px;padding:32px}.login-box .brand{margin-bottom:33px}.login-box h1{font-size:22px;font-weight:600;margin:0 0 12px}.login-box>p{font-size:12px;line-height:1.8;color:#9ba2af;margin-bottom:24px}.login-box>.primary{width:100%;min-height:43px}.login-box select{width:100%;font-size:12px;padding:10px;border:1px solid #e1e5ed;background:white;border-radius:7px;margin-bottom:10px}.login-box .inline-error{color:#bb847c;font-size:11px;margin:14px 0 0}.login-box .text-button{display:block;margin:12px auto 0}#toast{position:fixed;z-index:60;bottom:25px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;transition:.15s;background:#443e55;color:white;font-size:12px;line-height:1.7;padding:10px 17px;border-radius:8px;box-shadow:0 5px 20px #24203420;max-width:85vw}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:650px){.header-inner,.top-nav{padding-left:18px;padding-right:18px}.header-inner{height:62px}.brand strong{font-size:17px}.brand-mark{width:29px;height:29px;font-size:20px}.header-account{gap:8px}.account-name{font-size:11px}.top-nav{gap:22px}.top-nav button{font-size:12px;padding-bottom:13px}.content{padding:25px 16px 35px}.list-heading h1{font-size:20px}.primary,.secondary{font-size:12px;padding:9px 13px}.task-row{padding:15px 15px;gap:10px}.task-title{font-size:13px}.due-pill{font-size:10px;padding:4px 6px}.meta{font-size:10px}.group-label{padding-left:15px;padding-right:15px}.veil{padding:12px}.modal,.drawer{padding:21px;max-height:94vh;border-radius:12px}.modal h2{font-size:18px}.drawer h2.title{font-size:19px}.admin-person{flex-wrap:wrap}.admin-person input{width:130px}.demo-pill{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.modal{padding:22px;max-height:94vh}.modal .field{margin-top:12px}.create-tabs{margin-bottom:14px}.draft-hint{background:none;padding:0;color:#a19aaa;margin:0 0 8px}.calendar-days button{height:26px}.calendar-selected{padding:8px 1px;margin-top:7px;min-height:30px}.modal .form-bottom{margin-top:15px;padding-top:14px}

.date-history{display:flex;flex-wrap:wrap;gap:4px 14px;padding:0;margin-top:9px;text-align:left;color:#a0a5b1;font-size:11px;line-height:1.8}.latest-date{color:#8a76b1}.comment-preview{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;width:100%;padding:0;text-align:left;margin-top:8px;font-size:12px;line-height:1.8;color:#9096a3;overflow-wrap:anywhere}.comment-preview strong{font-weight:500;color:#7c8290}.comments-section{margin-top:24px;border-top:1px solid var(--line);padding-top:20px}.comments-section h3{font-size:13px;font-weight:500;margin:0 0 12px}.comment-submit{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:9px}.comment-submit small{color:#a2a8b5;font-size:11px}.comment-submit .secondary{font-size:12px;padding:6px 12px;min-height:32px}.comment{padding:15px 0;border-bottom:1px solid #f0f1f5}.comment header{display:flex;justify-content:space-between;gap:12px;align-items:center}.comment strong{font-size:12px;font-weight:500;color:#847294}.comment time{font-size:10px;color:#a4aab6}.comment p{font-size:13px;line-height:1.8;color:#626b7a;margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.settings-heading{font-size:14px;font-weight:500;margin:24px 0 12px}.settings-heading small{font-size:11px;color:#9297a3;font-weight:400;margin-left:9px}.notification-toggle{display:flex;align-items:center;gap:8px;font-size:13px;margin:15px 0}.update-notes{white-space:pre-wrap;font-size:13px;line-height:1.9;color:#7d8594}.calendar-selected button{color:var(--accent);font-size:11px;padding:1px}
