:root{color:#20202a;background:#fcf5f8;font:15px/1.55 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;--line:#ebe6eb;--blue:#1459b0;--muted:#646272}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}header{display:flex;align-items:center;gap:18px;padding:14px max(4vw,16px);background:#fff;border-bottom:1px solid var(--line);flex-wrap:wrap}header img{width:210px}header span,small,footer,.muted,p{color:var(--muted)}.actions{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}main{width:min(1440px,94vw);margin:28px auto}.intro{position:relative;border-radius:24px;padding:28px;background:linear-gradient(115deg,#f7e2ed,#fff6fa 56%,#edf4ff);border:1px solid #f1e5ec}h1{font-size:clamp(26px,4vw,48px);font-weight:560;letter-spacing:-.055em;margin:4px 0}h2,h3{font-weight:600;margin:0}small{letter-spacing:.15em}.intro p{margin:0 0 16px}input,button,select,textarea{font:inherit;color:inherit;border:1px solid #dedbe3;border-radius:9px;background:#fff;padding:7px 10px;max-width:100%}button{cursor:pointer}button:hover{border-color:#8aa7d0}.primary,button.active{background:var(--blue);color:white;border-color:var(--blue)}#stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin:16px 0}.metric,section{background:#fff;border:1px solid var(--line);border-radius:18px}.metric{padding:12px 17px}.metric strong{font-size:28px;display:block;font-weight:550}nav,.filters{display:flex;gap:8px;padding:12px 16px;flex-wrap:wrap}.filters{border-top:1px solid var(--line)}.filters input[type=search]{width:min(330px,100%)}.hint{padding:0 16px}.scroll{overflow:auto;max-height:68vh}table{border-collapse:separate;border-spacing:0;width:100%;white-space:nowrap}td,th{padding:9px 12px;text-align:left;border-bottom:1px solid var(--line)}th{position:sticky;top:0;background:#f9f6fa;z-index:2;font-weight:550}tr.focus td{background:#fff0f1}td:first-child button{color:var(--blue);text-align:left}.badge{display:inline-block;padding:1px 8px;border-radius:20px;background:#edf3fd;color:#234e85}.red{background:#ffe0e5;color:#982c46}.amber{background:#fff0d5;color:#794900}.green{background:#e4f5eb;color:#235e40}.flow{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:12px;padding:16px}.stage{border:1px solid var(--line);padding:13px;border-radius:12px}.stage button{display:block;margin-top:6px}.calendar td,.calendar th{text-align:center;padding:4px;min-width:34px;border-right:1px solid var(--line)}.calendar :is(th,td):first-child{position:sticky;left:0;text-align:left;background:#fff;z-index:1}.calendar th:first-child{z-index:3}.calendar td.today,.calendar th.today{background:#fbe5f1}.calendar td button{padding:2px 4px;font-size:12px}.calendar .plan{background:#e8f0ff}.calendar .actual{background:#e4f5eb}.calendar .due{background:#ffe2ea}.calendar .order{background:#f1eaff}footer{padding:15px 4px}dialog{border:0;border-radius:20px;padding:0;width:min(1100px,95vw);max-height:90vh;box-shadow:0 20px 90px #26162840}dialog::backdrop{background:#241a314d}.dialogtop,.dialogbottom{position:sticky;background:white;z-index:4;padding:13px 18px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.dialogtop{top:0}.dialogbottom{bottom:0;justify-content:flex-end;border-top:1px solid var(--line)}#fields{padding:16px}.fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:10px;margin-bottom:12px}label.field{display:flex;flex-direction:column;gap:4px}.step{border:1px solid var(--line);border-radius:12px;padding:12px;margin:8px 0}.step summary{cursor:pointer}.step .fields{margin:10px 0 0}.step h3{display:inline}.empty{padding:20px}
.matrix :is(td,th):first-child{position:sticky;left:0;background:white;z-index:1}.matrix th:first-child{z-index:3}.matrix th{max-width:140px;white-space:normal}.matrix .neutral{background:#f3f2f5;color:#5f5b67}.matrix .blue{background:#dceaff;color:#184a91}.dialogbottom{gap:10px}#remove{margin-right:auto;color:#982c46}#wall{padding:10px 2vw;height:100dvh;overflow:hidden}#wall h1{font-size:clamp(20px,3.4vw,44px);margin:2px 0 8px}.walltop{display:flex;align-items:center;justify-content:space-between;gap:8px}.walltop img{width:clamp(90px,19vw,200px)}.wallstats{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:7px}.wallstats .metric{padding:4px 8px;font-size:clamp(11px,1.6vw,20px)}.wallstats strong{display:inline;font-size:1.4em;margin-left:6px}#wall .scroll{max-height:none;overflow:hidden}#wall table{table-layout:fixed;white-space:normal;font-size:clamp(10px,1.35vw,21px);background:white}#wall :is(th,td){padding:5px 7px;overflow-wrap:anywhere}#wall th:nth-child(1){width:24%}#wall th:nth-child(2){width:22%}#wall th:nth-child(4){width:13%}#wall td{height:52px}#wall td:last-child{color:#982c46}
.review{padding:0 16px 16px}.review-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:12px;margin-bottom:16px}.review-grid article{padding:14px;background:#fcf7fa;border:1px solid var(--line);border-radius:14px}.review-bar{display:grid;grid-template-columns:minmax(75px,1fr) 1fr auto;align-items:center;gap:8px;margin:8px 0}.review-bar div{height:10px;border-radius:8px;background:#eae4ef}.review-bar i{display:block;height:100%;border-radius:8px;background:#426da8}.review>h3{margin-top:18px}
body.locked>header,body.locked>main,body.locked>#wall{display:none!important}.login-gate{min-height:100dvh;display:grid;place-items:center;padding:20px;background:linear-gradient(130deg,#fbe8f1,#edf4ff)}.login-card{width:min(440px,100%);padding:30px;background:white;border:1px solid var(--line);border-radius:22px;box-shadow:0 15px 60px #35334b12}.login-card img{width:240px;max-width:100%}.login-card h1{font-size:28px;margin:18px 0}.login-card .field,.authbody .field{margin:12px 0}.autherror{color:#a22343}.authbody{padding:20px}.account-row{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--line)}.step-choice{display:block;margin:6px 0}input:disabled,select:disabled{background:#f4f2f5;color:#676171}fieldset{border:1px solid var(--line);border-radius:10px;margin:15px 0}
.syncbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0;color:#55556b;font-size:13px}.audit-entry{border-bottom:1px solid var(--line);padding:12px 0}.audit-entry p{margin:3px 0}@media(max-width:650px){header{gap:7px;padding:10px}header img{width:170px}.actions{margin-left:0;width:100%;gap:6px}.actions button{font-size:13px;padding:7px}.actions #accountInfo{width:100%;font-size:13px}.intro{padding:18px}main{width:96vw;margin:12px auto}.fields{grid-template-columns:1fr}.dialogtop{gap:8px}.dialogtop h2{font-size:16px}.dialogbottom{flex-wrap:wrap;padding:9px;gap:6px}.dialogbottom button{font-size:13px}.step summary h3{display:block;font-size:16px}#fields{padding:10px}.step input,.step select{width:100%;font-size:16px}.step input[type=checkbox]{width:auto}.step-choice{font-size:14px}dialog{width:98vw;max-height:94dvh}.review{padding:0 9px 12px}}
.step-actions{display:flex;gap:9px;margin-top:12px}.step-actions [data-finish]{background:#e4f5eb;color:#235e40}.step-actions [data-block]{background:#fff0d5;color:#794900}
.task-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:12px;padding:0 14px 16px}.task-card{border:1px solid var(--line);border-radius:14px;padding:14px;min-width:0;background:#fffbfd}.task-head{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.task-head strong{font-weight:600;overflow-wrap:anywhere}.task-card p{margin:6px 0;overflow-wrap:anywhere}.task-card .primary{margin-top:8px;width:100%}.task-note{color:#982c46}.task-card h3{font-size:17px}

.sop-choice{appearance:none;width:21px!important;height:21px;border:2px solid #a8a1ae;border-radius:50%;vertical-align:middle;margin-right:8px;padding:0;cursor:pointer}.sop-choice:checked{background:#2465b4;border-color:#2465b4;box-shadow:inset 0 0 0 4px white}.sop-skipped{opacity:.55}
