:root{--brand:#3157d5;--brand-soft:#e9eefc;--bg:#f4f5f8;--panel:#fff;--text:#151a26;--muted:#6b7385;--line:#e6e8ee;--green:#178a52;--green-soft:#e5f5ec;--amber:#b26a00;--amber-soft:#fdf1df;--red:#c4321f;--red-soft:#fde8e5;--violet:#6941c6;--violet-soft:#f0eafc;--blue:#3157d5;--blue-soft:#e9eefc;--gray-soft:#eef0f4;--radius:16px;--shadow:0 1px 2px #141a260d,0 4px 16px #141a260a;--tabbar:calc(58px + env(safe-area-inset-bottom));--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{background:var(--bg);color:var(--text);-webkit-text-size-adjust:100%;margin:0;font:16px/1.5 -apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,Microsoft YaHei,sans-serif}a{color:var(--brand);text-decoration:none}h1{margin:0;font-size:22px;line-height:1.3}h2{margin:0;font-size:17px}h3{margin:0 0 8px;font-size:18px}h4{color:var(--muted);margin:12px 0 4px;font-size:14px}p{margin:0}ul{margin:4px 0 0;padding-left:20px}.muted{color:var(--muted)}.small{font-size:14px}.pre{white-space:pre-wrap;overflow-wrap:anywhere}.ok{color:var(--green)}.error{color:var(--red);background:var(--red-soft);border-radius:12px;margin:8px 0;padding:10px 12px;font-size:15px}.note{background:var(--brand-soft);color:var(--text);border-radius:12px;margin:10px 0;padding:10px 12px;font-size:14px}.shell{min-height:100vh;padding-bottom:var(--tabbar)}.topbar{z-index:10;padding:calc(10px + env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 10px max(16px,env(safe-area-inset-left));background:color-mix(in srgb,var(--bg) 85%,transparent);-webkit-backdrop-filter:saturate(180%)blur(16px);justify-content:space-between;align-items:center;gap:12px;display:flex;position:sticky;top:0}.icon-btn{width:44px;height:44px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:12px;place-items:center;display:grid}.icon-btn:active{background:var(--gray-soft)}.content-area{max-width:760px;padding:4px max(16px,env(safe-area-inset-right)) 24px max(16px,env(safe-area-inset-left));margin:0 auto}.tabbar{z-index:20;height:var(--tabbar);padding-bottom:env(safe-area-inset-bottom);background:color-mix(in srgb,var(--panel) 92%,transparent);-webkit-backdrop-filter:saturate(180%)blur(16px);border-top:1px solid var(--line);display:flex;position:fixed;bottom:0;left:0;right:0}.tabbar a{color:var(--muted);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;min-height:44px;font-size:11px;display:flex;position:relative}.tabbar a.on{color:var(--brand)}.tabbar em{background:var(--red);color:#fff;text-align:center;border-radius:9px;min-width:18px;height:18px;padding:0 5px;font:600 11px/18px sans-serif;position:absolute;top:4px;left:calc(50% + 6px)}@media (width>=900px){.shell{padding:0 0 0 220px}.tabbar{border-top:0;border-right:1px solid var(--line);flex-direction:column;justify-content:flex-start;gap:4px;width:220px;height:auto;padding:76px 12px 12px;top:0;right:auto}.tabbar a{border-radius:12px;flex-direction:row;flex:0;justify-content:flex-start;gap:12px;padding:10px 14px;font-size:15px}.tabbar a.on{background:var(--brand-soft)}.tabbar em{margin-left:auto;position:static}.topbar{padding-left:24px}}section{margin-top:22px}.section-head{justify-content:space-between;align-items:center;margin:0 4px 10px;display:flex}.card{text-align:left;width:100%;font:inherit;color:inherit;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);margin:0 0 10px;padding:14px 16px;display:block}.card.tap{cursor:pointer;transition:transform 80ms}.card.tap:active{transform:scale(.985)}.card.warn{border-color:color-mix(in srgb,var(--amber) 45%,var(--line));background:linear-gradient(0deg,var(--amber-soft),var(--amber-soft)) padding-box}.card.calm{color:var(--green);align-items:center;gap:10px;display:flex}.row{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.row.top{margin-top:4px}.row.plain{width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.title{overflow-wrap:anywhere;font-weight:600}.meta{color:var(--muted);margin-top:4px;font-size:14px}.empty{color:var(--muted);text-align:center;padding:22px 0;font-size:15px}.link{color:var(--brand);font:inherit;cursor:pointer;background:0 0;border:0;min-height:32px;padding:6px 0;font-size:15px}.chip{white-space:nowrap;border-radius:999px;flex:none;padding:2px 10px;font-size:13px;font-weight:500;display:inline-block}.chip.gray{background:var(--gray-soft);color:var(--muted)}.chip.blue{background:var(--blue-soft);color:var(--blue)}.chip.green{background:var(--green-soft);color:var(--green)}.chip.amber{background:var(--amber-soft);color:var(--amber)}.chip.red{background:var(--red-soft);color:var(--red)}.chip.violet{background:var(--violet-soft);color:var(--violet)}.status-line{color:var(--muted);align-items:center;gap:8px;margin:6px 4px 0;font-size:14px;display:flex}.status-line .dot{background:var(--green);border-radius:50%;width:8px;height:8px}.status-line.bad .dot{background:var(--red)}.status-line.bad{color:var(--red)}.todo{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.todo .card{text-align:center;margin:0;padding:14px 8px}.todo b{font-size:28px;line-height:1.2;display:block}.todo span{color:var(--muted);font-size:14px}.todo .warn b{color:var(--amber)}.team-strip{scrollbar-width:none;gap:14px;padding:2px 4px 6px;display:flex;overflow-x:auto}.team-strip::-webkit-scrollbar{display:none}.member{text-align:center;flex-direction:column;flex:none;align-items:center;gap:4px;width:72px;font-size:13px;display:flex}.member small{font-size:12px}.member .busy{color:var(--blue)}.member .idle{color:var(--green)}.member .off{color:var(--muted)}.avatar{background:var(--brand-soft);width:44px;height:44px;color:var(--brand);border-radius:50%;flex:none;place-items:center;font-size:17px;font-weight:600;display:grid}.who{align-items:center;gap:12px;display:flex}.progress{background:var(--gray-soft);border-radius:3px;height:6px;margin-top:10px;overflow:hidden}.progress div{background:var(--brand);border-radius:3px;height:100%}.progress div.bad{background:var(--red)}.stepper{scrollbar-width:none;margin:16px 0 4px;display:flex;overflow-x:auto}.stepper::-webkit-scrollbar{display:none}.step{min-width:46px;color:var(--muted);flex-direction:column;flex:1;align-items:center;gap:6px;font-size:12px;display:flex;position:relative}.step i{background:var(--line);z-index:1;border-radius:50%;width:12px;height:12px;position:relative}.step:not(:last-child):after{content:"";background:var(--line);width:100%;height:2px;position:absolute;top:5px;left:50%}.step.done i,.step.done:after{background:var(--brand)}.step.done{color:var(--text)}.step.now i{background:var(--panel);border:3px solid var(--brand);width:14px;height:14px;margin-top:-1px}.step.now{color:var(--brand);font-weight:600}.step.bad i{border-color:var(--red)}.step.bad{color:var(--red)}.timeline{margin:0;padding:0;list-style:none}.timeline li{padding:0 0 14px 20px;font-size:15px;position:relative}.timeline li:before{content:"";background:var(--brand);border-radius:50%;width:8px;height:8px;position:absolute;top:8px;left:4px}.timeline li:after{content:"";background:var(--line);width:2px;position:absolute;top:18px;bottom:0;left:7px}.timeline li:last-child:after{display:none}.timeline li.bad:before{background:var(--red)}.timeline li.good:before{background:var(--green)}.timeline span{color:var(--muted);font-size:13px;display:block}.tags{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.tags span{background:var(--gray-soft);border-radius:8px;padding:2px 8px;font-size:13px}.recent{border-top:1px solid var(--line);margin:10px 0 0;padding:0;list-style:none}.recent li{justify-content:space-between;gap:10px;padding:8px 0 0;font-size:14px;display:flex}.recent span{color:var(--muted);flex:none}.content{background:var(--bg);border-radius:12px;max-height:50vh;margin:10px 0;padding:12px;font-size:15px;overflow:auto}.back{align-items:center;gap:2px;min-height:36px;font-size:15px;display:inline-flex}.segmented{background:var(--gray-soft);border-radius:12px;margin:6px 0 14px;padding:3px;display:flex}.segmented button{font:inherit;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;min-height:36px;padding:8px 0;font-size:14px}.segmented button.on{background:var(--panel);color:var(--text);font-weight:600;box-shadow:0 1px 3px #00000014}.btn{min-height:46px;font:inherit;cursor:pointer;border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;gap:6px;padding:0 18px;font-size:16px;font-weight:600;display:inline-flex}.btn:disabled{opacity:.5}.btn.block{width:100%;margin-top:10px}.btn.primary{background:var(--brand);color:#fff}.btn.secondary{background:var(--brand-soft);color:var(--brand)}.btn.danger{background:var(--red);color:#fff}.btn.danger-ghost{background:var(--red-soft);color:var(--red)}.btn.ghost{color:var(--muted);border-color:var(--line);background:0 0}.actions{flex-wrap:wrap;gap:10px;margin:16px 0 4px;display:flex}.actions .btn{flex:1;min-width:120px}.stack{margin-top:22px}.form label{margin:14px 0 0;display:block}.form label span{color:var(--muted);margin-bottom:6px;font-size:14px;display:block}input[type=password],input[type=text]{border:1px solid var(--line);background:var(--bg);width:100%;color:var(--text);border-radius:12px;min-height:48px;padding:12px 14px;font-size:16px}input:focus{outline:2px solid var(--brand);outline-offset:0;border-color:#0000}.form label.check{align-items:center;gap:10px;display:flex}.form label.check span{color:var(--text);margin:0;font-size:15px}.check input{width:22px;height:22px;accent-color:var(--brand)}.login{min-height:100vh;padding:calc(24px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom));flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex}.login .form{max-width:400px;padding:24px 20px}.brand{text-align:center;margin-bottom:8px}.brand h1{margin-top:12px}.logo{color:#fff;letter-spacing:1px;background:linear-gradient(135deg,#3157d5,#6a8bff);border-radius:18px;place-items:center;width:64px;height:64px;font-size:26px;font-weight:700;display:inline-grid}.sheet-backdrop{z-index:50;background:#0a0e1673;justify-content:center;align-items:flex-end;animation:.15s fade;display:flex;position:fixed;inset:0}.sheet{background:var(--panel);width:100%;max-width:520px;padding:20px 16px calc(16px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;animation:.2s ease-out up}@media (width>=900px){.sheet-backdrop{align-items:center}.sheet{border-radius:20px}}@keyframes up{0%{opacity:.5;transform:translateY(40px)}}@keyframes fade{0%{opacity:0}}.toast{left:50%;bottom:calc(var(--tabbar) + 16px);z-index:40;background:var(--text);color:var(--bg);border-radius:12px;max-width:90vw;padding:10px 16px;font-size:15px;animation:2.6s forwards toast;position:fixed;transform:translate(-50%)}@keyframes toast{0%{opacity:0;transform:translate(-50%,8px)}10%,80%{opacity:1;transform:translate(-50%)}to{opacity:0}}.skeleton div{border-radius:var(--radius);background:linear-gradient(90deg,var(--gray-soft),var(--panel),var(--gray-soft));background-size:200% 100%;height:76px;margin-bottom:10px;animation:1.2s infinite shimmer}@keyframes shimmer{to{background-position:-200% 0}}.graph{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);height:360px;margin-bottom:10px;overflow:hidden}.graph .node{border:1px solid var(--line);background:var(--panel);color:var(--text);border-radius:10px;width:180px;padding:6px;font-size:12px}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
