/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.start{inset-inline-start:var(--spacing)}}:root{--ink:#132f46;--muted:#667b8d;--blue:#075b8d;--blue-soft:#eaf3f8;--line:#dbe4eb;--paper:#fff;--canvas:#f3f6f8;--green:#13825e;--yellow:#d89c23;--red:#c94f4f}*{box-sizing:border-box}html{background:var(--canvas)}body{color:var(--ink);background:var(--canvas);margin:0;font-family:PingFang SC,Microsoft YaHei,Noto Sans CJK SC,Arial,sans-serif}button{font:inherit}.site-shell{min-height:100vh;padding:28px clamp(22px,4vw,64px) 64px}.topbar{justify-content:space-between;align-items:flex-end;gap:28px;max-width:1580px;margin:0 auto 18px;display:flex}.topbar h1{letter-spacing:-.035em;margin:5px 0 7px;font-size:clamp(26px,2.4vw,38px)}.eyebrow,.section-kicker,.stage-number{color:var(--blue);letter-spacing:.13em;text-transform:uppercase;margin:0;font-size:11px;font-weight:800}.subtitle{color:var(--muted);margin:0;font-size:14px}.top-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:9px;display:flex}.sync-state{color:#9a6e12;background:#fff8e6;border:1px solid #f0ddb0;border-radius:999px;align-items:center;gap:7px;padding:9px 12px;font-size:12px;display:inline-flex}.sync-state i{background:var(--yellow);border-radius:50%;width:7px;height:7px}.button{border:1px solid var(--line);color:var(--ink);cursor:pointer;background:#fff;border-radius:9px;padding:9px 13px;font-size:12px;font-weight:700;transition:all .18s}.button:hover{border-color:#b8c9d6;transform:translateY(-1px)}.button-primary{color:#fff;border-color:var(--blue);background:var(--blue)}.button-soft{color:var(--blue);background:var(--blue-soft);border-color:#cbdde8}.button-ghost{background:#ffffffa6}.timeline-panel{background:var(--paper);border:1px solid var(--line);border-radius:16px;max-width:1580px;margin:0 auto 18px;padding:20px 22px 17px;overflow-x:auto;box-shadow:0 8px 30px #1637500d}.timeline{align-items:flex-start;min-width:1050px;margin-top:14px;display:flex}.timeline-item{flex:1;grid-template-rows:44px auto;justify-items:center;display:grid;position:relative}.stage-node{z-index:2;color:#6e8292;cursor:pointer;background:#eef3f6;border:2px solid #ced9e2;border-radius:50%;place-items:center;width:42px;height:42px;display:grid;position:relative}.stage-node.active{color:#fff;border-color:var(--blue);background:var(--blue);box-shadow:0 0 0 6px #deedf5}.stage-node .health-dot{border:2px solid #fff;position:absolute;top:-2px;right:-2px}.timeline-line{z-index:1;background:#d9e2e9;width:calc(100% - 44px);height:3px;position:absolute;top:20px;left:calc(50% + 22px)}.stage-copy{text-align:center;cursor:pointer;color:var(--ink);background:0 0;border:0;margin-top:9px;padding:0 9px}.stage-copy b{font-size:12px;display:block}.stage-copy span{color:var(--muted);margin-top:3px;font-size:10px;display:block}.workspace-grid{grid-template-columns:minmax(0,1fr) 318px;align-items:start;gap:18px;max-width:1580px;margin:0 auto;display:grid}.workspace-main,.workspace-side{flex-direction:column;gap:14px;display:flex}.card,.summary-card{background:var(--paper);border:1px solid var(--line);border-radius:15px;box-shadow:0 8px 26px #1637500a}.stage-hero{background:linear-gradient(115deg,#fff 0% 62%,#edf5f9 100%);justify-content:space-between;align-items:flex-start;gap:20px;min-height:142px;padding:24px;display:flex}.stage-hero h2{letter-spacing:-.02em;margin:9px 0 8px;font-size:26px}.stage-hero p{max-width:760px;color:var(--muted);margin:0;font-size:13px;line-height:1.7}.health-label{white-space:nowrap;border-radius:999px;align-items:center;gap:7px;padding:8px 11px;font-size:11px;font-weight:800;display:inline-flex}.health-label.yellow{color:#88610d;background:#fff3d4}.health-label i{background:var(--yellow);border-radius:50%;width:8px;height:8px}.stage-summary{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.summary-card{padding:16px 17px}.summary-card span{color:var(--muted);margin-bottom:7px;font-size:10px;display:block}.summary-card b{font-size:12px;line-height:1.55;display:block}.tasks-card{padding:20px}.card-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.card-heading.compact{margin-bottom:7px}.card-heading h3{margin:4px 0 0;font-size:18px}.card-heading.compact h3{margin:0;font-size:14px}.card-heading.compact b{color:var(--blue);font-size:20px}.task-module{border:1px solid var(--line);border-radius:12px;margin-top:15px;overflow:hidden}.module-heading{background:#f2f6f8;justify-content:space-between;align-items:center;padding:11px 13px;display:flex}.module-heading>div{align-items:center;gap:8px;display:flex}.module-mark{background:var(--blue);border-radius:2px;width:4px;height:18px}.module-heading h4{margin:0;font-size:13px}.module-heading>span{color:var(--muted);font-size:10px}.task-row{color:#536b7d;border-top:1px solid #edf1f4;grid-template-columns:minmax(280px,1.6fr) .65fr .62fr .62fr .65fr;align-items:center;gap:12px;min-height:45px;padding:8px 13px;font-size:11px;display:grid}.task-header{color:#8393a0;background:#fbfcfd;min-height:34px;font-size:9px;font-weight:800}.task-name{color:var(--ink);font-weight:700}.status-tag{border-radius:999px;padding:4px 8px;font-size:9px;font-style:normal;font-weight:750;display:inline-block}.status-tag.doing{color:#0d6b4d;background:#e4f5ed}.status-tag.waiting{color:#8a6110;background:#fff2d0}.status-tag.idle{color:#647788;background:#edf1f4}.health-dot{border-radius:50%;flex:none;width:9px;height:9px;display:inline-block}.health-dot.green{background:var(--green);box-shadow:0 0 0 3px #def2eb}.health-dot.yellow{background:var(--yellow);box-shadow:0 0 0 3px #fff1cd}.health-dot.red{background:var(--red);box-shadow:0 0 0 3px #f9dddd}.health-dot.gray{background:#9eacb7;box-shadow:0 0 0 3px #e8edf0}.health-cell{align-items:center;gap:7px;display:flex}.add-task{width:100%;color:var(--blue);cursor:pointer;background:#fff;border:0;border-top:1px solid #edf1f4;padding:10px;font-size:10px;font-weight:700}.side-card{padding:17px}.side-card h3{margin:6px 0 12px;font-size:14px}.side-card>p{color:var(--muted);margin:8px 0 0;font-size:10px}.progress-track{background:#e7edf1;border-radius:9px;height:7px;overflow:hidden}.progress-track span{background:var(--blue);border-radius:9px;height:100%;display:block}.gate-card{border-top:4px solid var(--blue)}.check-list{gap:11px;margin:0;padding:0;list-style:none;display:grid}.check-list li{color:#536b7d;align-items:center;gap:9px;font-size:11px;display:flex}.check-list i{color:#7c8d9a;background:#edf1f4;border-radius:50%;place-items:center;width:21px;height:21px;font-size:9px;font-style:normal;font-weight:800;display:grid}.check-list i.checked{color:#fff;background:var(--green)}.risk-card{border-top:4px solid var(--yellow)}.risk-item{border-top:1px solid #edf1f4;align-items:flex-start;gap:10px;padding:10px 0;display:flex}.risk-item:first-of-type{border-top:0}.risk-item .health-dot{margin-top:4px}.risk-item p{margin:0}.risk-item b{font-size:11px;display:block}.risk-item span{color:var(--muted);margin-top:4px;font-size:10px;line-height:1.5;display:block}.loading-screen{text-align:center;place-content:center;justify-items:center;gap:8px;min-height:100vh;display:grid}.loading-screen h1{margin:8px 0 0;font-size:24px}.loading-screen p{color:var(--muted);margin:0}.loading-mark{border:3px solid #dce8ef;border-top-color:var(--blue);border-radius:50%;width:30px;height:30px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.error-banner{color:#8b3434;background:#fff0f0;border:1px solid #efcaca;border-radius:10px;justify-content:space-between;gap:16px;max-width:1580px;margin:0 auto 14px;padding:11px 14px;font-size:12px;display:flex}.error-banner button,.text-danger,.danger-link{color:#a83d3d;cursor:pointer;background:0 0;border:0;font-size:11px}.sync-state.synced{color:#0d6b4d;background:#e7f6ef;border-color:#c8e9dc}.sync-state.synced i{background:var(--green)}.editor-chip{color:#405b6f;background:#eef3f6;border-radius:999px;padding:8px 10px;font-size:11px}.timeline-title{justify-content:space-between;align-items:center;gap:18px;min-width:820px;display:flex}.timeline-title>div:first-child{align-items:center;gap:14px;display:flex}.timeline-title b{font-size:13px}.timeline-controls{align-items:center;gap:8px;display:flex}.collapse-button{color:var(--blue);cursor:pointer;background:0 0;border:0;padding:7px 9px;font-size:11px;font-weight:700}.timeline-panel.collapsed{padding-top:13px;padding-bottom:13px;overflow:hidden}.stage-order{z-index:3;gap:3px;display:flex;position:absolute;top:3px;right:4px}.stage-order button,.module-actions button,.row-actions button{color:#5e7485;cursor:pointer;background:#fff;border:1px solid #d6e0e7;border-radius:6px;min-width:25px;height:24px;padding:0 6px;font-size:9px}.stage-order button:disabled,.module-actions button:disabled,.row-actions button:disabled{opacity:.35;cursor:default}.stage-meta{color:#607688;gap:14px;margin-top:12px;font-size:10px;display:flex}.hero-actions{align-items:center;gap:8px;display:flex}.health-label.green{color:#0d6b4d;background:#e4f5ed}.health-label.green i{background:var(--green)}.health-label.red{color:#9e3939;background:#fae3e3}.health-label.red i{background:var(--red)}.health-label.gray{color:#647788;background:#edf1f4}.health-label.gray i{background:#9eacb7}.module-heading small{color:var(--muted);font-size:9px}.module-actions{color:var(--muted);align-items:center;font-size:10px;gap:5px!important;display:flex!important}.task-stack{border-top:1px solid #edf1f4}.task-stack>.task-row{border-top:0}.task-row.open{background:#f9fbfc}.task-toggle{text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0;display:flex}.task-toggle>span{width:17px;height:17px;color:var(--blue);background:#e7f1f6;border-radius:50%;flex:none;place-items:center;font-size:12px;display:inline-grid}.blocker-badge{color:#9f3737;background:#fbe5e5;border-radius:999px;margin-left:4px;padding:3px 6px;font-size:8px;font-style:normal}.row-actions{justify-content:flex-end;gap:4px;display:flex}.status-tag.complete{color:#0d6b4d;background:#e4f5ed}.status-tag.risk{color:#9e3939;background:#fae3e3}.task-detail{background:#f8fafb;border-top:1px dashed #d8e2e8;padding:16px}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.info-block{background:#fff;border:1px solid #e1e8ed;border-radius:9px;min-height:74px;padding:11px 12px}.info-block span{color:#7b8d9b;font-size:9px;font-weight:700}.info-block p{color:#334f64;white-space:pre-wrap;margin:6px 0 0;font-size:11px;line-height:1.65}.blocker-box{background:#fff;border:1px solid #e1e8ed;border-radius:9px;margin-top:10px;padding:12px}.blocker-box.active{background:#fff4f4;border-color:#efc6c6}.blocker-box>div{align-items:center;gap:8px;display:flex}.blocker-box p{color:#7d3030;margin:8px 0 4px;font-size:11px;line-height:1.6}.blocker-box small{color:#9a5555}.detail-footer{color:#7a8c9a;justify-content:space-between;align-items:center;gap:14px;margin-top:12px;font-size:9px;display:flex}.detail-footer>div{align-items:center;gap:8px;display:flex}.long-copy{white-space:pre-wrap;line-height:1.7!important}.risk-button{text-align:left;cursor:pointer;background:0 0;border-bottom:0;border-left:0;border-right:0;width:100%}.history-line{border-top:1px solid #edf1f4;gap:2px;padding:8px 0;font-size:10px;display:grid}.history-line b{color:var(--ink)}.history-line span{color:var(--muted)}.empty-state{text-align:center;color:var(--muted);padding:36px 16px}.empty-state b{color:var(--ink);font-size:13px}.empty-state p{margin:6px 0 0;font-size:11px}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0d233373;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.modal-card{background:#fff;border:1px solid #d9e3ea;border-radius:16px;width:min(820px,100%);max-height:calc(100vh - 48px);overflow:auto;box-shadow:0 28px 80px #0b223238}.modal-heading{z-index:2;background:#fff;border-bottom:1px solid #e5ebef;justify-content:space-between;align-items:center;padding:18px 20px;display:flex;position:sticky;top:0}.modal-heading h2{margin:0;font-size:18px}.modal-heading button{color:#667d8e;cursor:pointer;background:#eef3f6;border:0;border-radius:50%;width:30px;height:30px;font-size:19px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:20px;display:grid}.field{flex-direction:column;gap:7px;min-width:0;display:flex}.field.wide,.wide{grid-column:1/-1}.field>span,.blocker-check>span>b{color:#456074;font-size:10px;font-weight:800}.field input,.field textarea,.field select{width:100%;color:var(--ink);font:inherit;background:#fff;border:1px solid #cfdae2;border-radius:8px;outline:none;padding:10px 11px;font-size:12px}.field textarea{resize:vertical;min-height:88px;line-height:1.6}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #e5f0f6}.form-actions{grid-column:1/-1;justify-content:flex-end;align-items:center;gap:12px;padding-top:5px;display:flex}.form-note{color:var(--muted);grid-column:1/-1;margin:0;font-size:10px}.auth-form{grid-template-columns:1fr}.blocker-check{background:#fff6f6;border:1px solid #efcaca;border-radius:9px;align-items:flex-start;gap:10px;padding:13px;display:flex}.blocker-check input{margin-top:3px}.blocker-check>span{gap:4px;display:grid}.blocker-check small{color:#8d5c5c;font-size:9px}.module-name-guide{background:#f5f8fa;border:1px solid #e0e7ec;border-radius:8px;justify-content:center;padding:10px 12px}.module-name-guide b{font-size:11px}.history-list{padding:10px 20px 20px}.history-list article{border-bottom:1px solid #edf1f4;grid-template-columns:1fr auto;align-items:center;gap:6px 16px;padding:12px 0;display:grid}.history-list article>div{gap:10px;display:flex}.history-list article b{font-size:11px}.history-list article span,.history-list article p{color:var(--muted);font-size:10px}.history-list article p{margin:0}@media (max-width:1080px){.workspace-grid{grid-template-columns:1fr}.workspace-side{grid-template-columns:repeat(3,1fr);display:grid}}@media (max-width:760px){.site-shell{padding:20px 14px 40px}.topbar{flex-direction:column;align-items:flex-start}.top-actions{justify-content:flex-start}.stage-summary,.workspace-side,.detail-grid,.form-grid{grid-template-columns:1fr}.stage-hero,.detail-footer{flex-direction:column;align-items:flex-start}.task-row{grid-template-columns:minmax(180px,1fr) .7fr .55fr}.task-row>:nth-child(2),.task-row>:nth-child(5){display:none}.timeline-title{min-width:680px}}
