:root{font-family:"Segoe UI","Microsoft YaHei",sans-serif;color:#253b34;background:#f5f4ef;font-size:16px;font-synthesis:none;--green:#244c3e;--muted:#747c74;--line:#e4e6de}*{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{border:0;border-radius:7px;transition:background .15s}button:focus-visible,a:focus-visible{outline:3px solid #b4c8ae;outline-offset:3px}button:hover{filter:brightness(.96)}.topbar{height:80px;display:flex;align-items:center;justify-content:space-between;padding:0 5%;border-bottom:1px solid var(--line);background:#fafbf7}.brand{text-decoration:none;color:#233f33;font-size:24px;font-weight:650;display:flex;align-items:center;gap:12px}.brand-icon{display:grid;place-items:center;background:var(--green);color:#f6ebd5;width:38px;height:38px;border-radius:9px}.brand-caption{font-weight:400;font-size:14px;color:var(--muted);border-left:1px solid #cdd2c9;padding-left:16px;margin-left:6px}.local-label{font-size:14px;color:#687568;display:flex;align-items:center;gap:8px}.local-label i{width:7px;height:7px;border-radius:50%;background:#668365}main{max-width:1360px;margin:auto;padding:40px 5% 24px}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.eyebrow{color:#848874;font-size:14px;margin:0 0 10px}h1{font-size:29px;font-weight:600;letter-spacing:1px;margin:0;font-family:Georgia,"Songti SC","SimSun",serif}h2{font-size:18px;font-weight:600;margin:0}.primary,.secondary,.danger{padding:12px 20px}.primary{background:var(--green);color:white}.secondary{background:#edf0e9;color:var(--green)}.danger{background:#923d34;color:white}.metrics{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:10px;background:#fff;margin-bottom:26px;padding:22px 0}.metrics>div{padding:0 28px;border-right:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.metrics>div:last-child{border:0}.metrics span{color:var(--muted);font-size:14px}.metrics strong{font-size:28px;font-weight:500;font-family:Georgia,serif}.metrics>div:nth-child(3) strong{color:#ad6847}.workspace{display:grid;grid-template-columns:300px minmax(0,1fr);gap:22px;align-items:start}.project-panel,.detail{background:#fff;border:1px solid var(--line);border-radius:10px}.project-panel{min-height:530px;overflow:hidden}.panel-heading{display:flex;justify-content:space-between;align-items:center;padding:23px 22px;border-bottom:1px solid var(--line)}.panel-heading>span{font-size:14px;color:var(--muted)}#project-list{padding:10px;max-height:620px;overflow:auto}.project-item{display:block;text-align:left;width:100%;padding:18px 14px;background:transparent;border:1px solid transparent;margin-bottom:4px}.project-item.selected{background:#edf2e9;border-color:#dce5d6}.project-item:hover{background:#f4f6f1}.project-name{display:block;font-weight:600;margin-bottom:12px;overflow-wrap:anywhere;line-height:1.5}.project-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:14px;color:#7b8077}.badge{padding:4px 8px;border-radius:4px;background:#f0f1ec;color:#66765f;font-size:14px;white-space:nowrap}.badge.working{background:#e7efe9;color:#3f6b53}.badge.waiting{background:#fbefdb;color:#937135}.badge.finished{background:#e9ecef;color:#63747e}.overdue{color:#a94d36}.panel-note{color:#92978c;font-size:14px;line-height:1.9;padding:18px 22px;margin:0;border-top:1px solid var(--line)}.detail{padding:28px 30px;min-height:530px}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:470px;text-align:center}.empty-symbol{width:70px;height:80px;border:1px solid #c9d6c7;background:#f0f4ed;border-radius:6px;color:#779372;font-size:42px;display:grid;place-items:center;margin-bottom:24px}.empty h2{font-family:Georgia,"SimSun",serif;font-size:24px}.empty p{color:var(--muted);line-height:1.9;max-width:360px;margin:14px 0 24px}.detail-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:12px}.detail-heading p{font-size:14px;color:var(--muted);margin:0}.text-button{background:transparent;color:#8a7770;padding:6px;font-size:14px}.title-input{font-size:24px;font-weight:600;border:0!important;padding:0 0 12px!important;border-radius:0!important;margin-bottom:14px;color:#253b34!important;background:transparent!important}label{display:block;font-size:14px;font-weight:600;margin:0 0 9px}input,select,textarea{width:100%;padding:12px 13px;border:1px solid #dde2d8;border-radius:6px;color:#35483e;background:#fcfdf9;outline:none}input:focus,select:focus,textarea:focus{border-color:#628265;box-shadow:0 0 0 3px #eaf0e6}textarea{resize:vertical;min-height:72px;line-height:1.65}input::placeholder,textarea::placeholder{color:#9aa092}label+input,label+textarea{margin-bottom:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}.form-grid input{margin-bottom:0}.blocker-field{background:#fbf8f0;border-color:#e8e1d0}.task-section{border-top:1px solid var(--line);padding-top:24px;margin-top:4px}.task-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.task-header span{font-size:14px;color:var(--muted)}.progress{height:4px;background:#edf0e9;border-radius:4px;overflow:hidden;margin-bottom:18px}.progress div{background:#78916d;height:100%;transition:width .2s}.task-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #edf0e8}.task-row input{width:19px;height:19px;margin:0;accent-color:var(--green);flex-shrink:0;box-shadow:none}.task-row label{font-size:16px;line-height:1.6;font-weight:400;margin:0;flex:1;overflow-wrap:anywhere;cursor:pointer}.task-row.done label{text-decoration:line-through;color:#949b90}.task-row button{background:transparent;color:#8b9386;font-size:22px;padding:2px 8px}.task-empty{font-size:14px;color:#8a9184;margin:20px 0}.task-form{display:flex;gap:10px;margin-top:18px}.task-form input{flex:1;min-width:0}.task-form button{white-space:nowrap}.saved{color:#75886a;font-size:14px}footer{display:flex;justify-content:space-between;gap:20px;margin-top:24px;font-size:12px;color:#8b9186;line-height:1.8}dialog{border:1px solid var(--line);border-radius:12px;padding:28px;width:min(540px,calc(100% - 32px));max-height:90vh;color:#253b34;box-shadow:0 24px 80px #14291c26}dialog::backdrop{background:#20332866;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between}.icon-button{background:transparent;font-size:28px;color:#7e8878;padding:0 5px}.muted{color:var(--muted);font-size:14px;margin:8px 0 24px}.required{color:#a25843}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:10px}.notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#244c3e;color:#fff;padding:13px 22px;border-radius:8px;box-shadow:0 8px 30px #0002;max-width:90%;opacity:0;pointer-events:none}.notice.visible{opacity:1}.notice.error{background:#923d34}#delete-dialog p{line-height:1.8;color:var(--muted)}.list-empty{color:#8a9184;font-size:14px;padding:20px 12px;line-height:1.8}@media(min-width:1600px){main{padding-left:30px;padding-right:30px}}@media(max-width:900px){.workspace{grid-template-columns:240px minmax(0,1fr);gap:16px}.detail{padding:24px 20px}.metrics>div{padding:0 18px}h1{font-size:25px}}@media(max-width:700px){.topbar{height:68px;padding:0 20px}.brand-caption{display:none}.brand{font-size:22px}.local-label{font-size:12px}main{padding:28px 18px}.heading{align-items:flex-start}.heading h1{font-size:23px;line-height:1.5;max-width:210px}.heading .primary{padding:12px;white-space:nowrap}.metrics{grid-template-columns:1fr 1fr;padding:8px 0;gap:0}.metrics>div{padding:14px 20px}.metrics>div:nth-child(2){border:0}.workspace{grid-template-columns:1fr}.project-panel{min-height:0}#project-list{max-height:245px}.panel-note{display:none}.project-item{padding:12px}.project-name{margin-bottom:6px}.detail{padding:22px 18px;min-height:430px}.empty{min-height:390px}.form-grid{gap:12px}footer{flex-direction:column;gap:4px}.title-input{font-size:21px}.task-form button{padding:12px}.detail-heading{align-items:flex-start}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
