:root{font-family:"Microsoft YaHei UI","PingFang SC",sans-serif;color:#334137;background:#f6f5f1;font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #dce3d6;background:#fffefa;color:#4b604d;border-radius:9px;padding:10px 15px;white-space:nowrap}button:hover{background:#edf2e8}button:disabled{opacity:.55;cursor:default}.primary{background:#43745b;color:white;border-color:#43745b}.primary:hover{background:#365f49}.quiet{background:transparent;border:0;padding:6px 8px}.danger{color:#ad6752}input,textarea,select{width:100%;border:1px solid #dce3d6;border-radius:8px;padding:10px 12px;background:#fffefa;color:#334137;outline:none}input:focus,textarea:focus,select:focus{border-color:#689371;box-shadow:0 0 0 2px #e4ecdf}input[type=checkbox]{width:17px;height:17px;vertical-align:middle;accent-color:#43745b}textarea{resize:vertical;min-height:84px}label{display:block;font-size:13px;line-height:1.6}label input,label textarea,label select{margin-top:6px}h1,h2,h3,p{margin-top:0}h1{font-size:30px;margin:8px 0 10px}h2{font-size:22px;margin:18px 0 8px}h3{font-size:18px;margin-bottom:15px}.muted,small{color:#858c80}.error{color:#af6750}.brand-mark{width:48px;height:48px;display:grid;place-items:center;color:white;background:#43745b;border-radius:15px;font-size:27px;font-weight:bold}#app{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100vh}#app[hidden],#login[hidden]{display:none}aside{background:#eeeee7;border-right:1px solid #e0e5db;padding:26px 18px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}aside .slogan{font-size:12px;margin-bottom:26px}nav{display:grid;gap:7px;margin-bottom:24px}nav button{text-align:left;border:0;background:transparent;padding:14px 16px}nav .selected,#projectList .selected{background:#dce7d6;color:#375e45;font-weight:bold}.sidebar-heading{display:flex;align-items:center;justify-content:space-between;color:#899080;margin-bottom:10px}#projectList{overflow:auto;min-height:90px;flex:1;margin:10px -6px}#projectList button{display:flex;width:100%;justify-content:space-between;align-items:center;border:0;background:transparent;border-radius:7px;text-align:left;padding:10px 12px;font-size:13px;white-space:normal}#projectList button span:last-child{font-size:11px;margin-left:8px;color:#7f8c77}footer{font-size:12px;color:#819077;padding-top:15px}footer strong{color:#526f4b}footer p{line-height:1.7;margin:6px 0}main{padding:32px 34px;min-width:0}header{display:flex;justify-content:space-between;align-items:start;margin-bottom:26px}header small{font-size:12px}#today{font-size:12px;padding-top:8px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:18px}.card,.panel{background:#fffefa;border:1px solid #e3e6dd;border-radius:14px;padding:20px}.card span{display:block;color:#86907f;font-size:12px}.card b{display:block;font-size:34px;margin:9px 0;color:#3d6f53}.card.ready b{color:#b47a44}.card p{color:#969b91;margin:0;font-size:12px}.sync{background:#eaf0e5;color:#5b7055;border:1px solid #dde5d6;border-radius:9px;padding:11px 14px;font-size:12px;line-height:1.6;margin-bottom:18px}.sync.warning{background:#faf1df;color:#99723b;border-color:#ebdfc4}.toolbar,.filters,.actions,.row{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.toolbar{margin:18px 0}.toolbar input[type=search]{width:220px}.toolbar select{width:108px}.toolbar input[type=date]{width:146px}.toolbar .spacer,.actions .spacer{flex:1}.filters{margin:12px 0 18px}.filters button{border:0;background:transparent;font-size:12px;padding:9px 13px}.filters .active{background:#e4eedf;color:#3c684b;font-weight:bold}.table-wrap{overflow:auto;border:1px solid #e2e6dc;background:#fffefa;border-radius:13px}table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}th{font-weight:normal;font-size:12px;color:#84917b;background:#f0f4eb;padding:17px 14px;white-space:nowrap}td{padding:16px 14px;border-bottom:1px solid #eff1e9;line-height:1.6}tbody tr:hover{background:#f5f8f0}tbody tr:last-child td{border-bottom:0}td.nowrap{white-space:nowrap}.record-link{padding:0;background:transparent;border:0;text-align:left;white-space:normal;color:inherit}.record-link:hover{color:#43745b;background:transparent}.status{display:inline-block;border-radius:7px;padding:4px 9px;font-size:12px;background:#e8efe2;color:#456b4b;white-space:nowrap}.status.ready{background:#f6eadb;color:#a8733b}.status.missing{background:#fbefd9;color:#a27b37}.status.done,.status.cancelled{background:#eff0eb;color:#93978d}.empty{padding:70px 24px;text-align:center;color:#949c8d}.rule{font-size:12px;color:#959b8e;line-height:1.8;margin-top:16px}progress{accent-color:#89a780;width:75px;height:7px;border:0;background:#e7edde}dialog{border:1px solid #e1e6db;border-radius:16px;padding:0;max-width:1050px;width:calc(100vw - 60px);max-height:90vh;background:#f8f7f2;color:#334137;box-shadow:0 15px 75px #20332622}dialog::backdrop{background:#25342b55}#modalContent{padding:27px;overflow:auto;max-height:89vh}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.modal-head h2{margin:0}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.form-grid .wide{grid-column:1/-1}.actions{justify-content:flex-end;margin-top:22px;position:sticky;bottom:-27px;background:#f8f7f2;padding:12px 0}.code-area{font-size:12px;min-height:100px;min-width:145px}.preview td{padding:7px}.preview input{min-width:80px}.preview textarea{min-width:130px}.preview .part{min-width:165px}.section{margin-bottom:20px}.panel p{line-height:1.8}.info{background:#f2f4ed;padding:13px 16px;border-radius:8px;font-size:12px;color:#7b8972;line-height:1.8}.detail-stats{display:flex;gap:30px;align-items:baseline;margin-bottom:20px}.detail-stats b{font-size:35px;color:#43745b}.login-wrap{min-height:100vh;display:grid;place-items:center}.login-card{width:400px;max-width:90vw;padding:36px;background:#fffefa;border:1px solid #e2e6dc;border-radius:20px}.login-card label{margin:20px 0}.login-card button{width:100%;margin:6px 0 12px}.login-card small{font-size:12px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:13px 23px;background:#334c3e;color:white;border-radius:10px;box-shadow:0 4px 25px #22392a22;z-index:9;display:none;max-width:90vw}.notice{margin:10px 0;color:#9c783c;font-size:13px;line-height:1.8}a{color:#43745b;text-decoration:none}a:hover{text-decoration:underline}summary{cursor:pointer;padding:8px 0}.mini{font-size:12px;padding:6px 9px}.muted-block{max-height:130px;overflow:auto;white-space:pre-wrap}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.row>label{flex:1;min-width:180px}.check{display:flex;align-items:center;gap:10px}.check input{margin:0}.badge{font-size:11px;color:#9b844e}.chip-counter{font-size:12px;color:#698164}
@media(max-width:1100px){main{padding:24px 20px}#app{grid-template-columns:185px minmax(0,1fr)}aside{padding:22px 14px}.toolbar .spacer{display:none}.cards{gap:9px}.card{padding:15px}.settings-grid{grid-template-columns:1fr}}
@media(max-width:700px){#app{display:block}aside{position:relative;height:auto;padding:16px;display:block}.brand-mark,aside h2{display:inline-grid;vertical-align:middle;margin:0 10px 0 0}aside .slogan,aside footer{display:none}nav{display:flex;margin:14px 0}nav button{flex:1;padding:11px 7px}#projectList{max-height:145px}#projectSearch{max-width:100%}main{padding:18px 12px}h1{font-size:25px}.cards{grid-template-columns:repeat(2,1fr)}header{margin-bottom:17px}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.toolbar input[type=search]{width:100%}dialog{width:calc(100vw - 16px);max-height:95vh}#modalContent{padding:18px;max-height:93vh}.actions{bottom:-18px}.table-wrap{border-radius:9px}td,th{padding:13px 11px}}

/* Spacing after removing decorative subtitles. */
aside nav{margin-top:24px}header #subtitle:empty{display:none}

.ready-day{background:#edf3e6}.ready-day td{font-weight:600}.ready-day .status{margin-left:5px}.after-ready{margin-top:18px}.after-ready>summary{color:#83907b;font-size:13px}.after-ready .table-wrap{margin-top:10px}
