:root{color:#132d3b;font-synthesis:none;--muted:#526775;--border:#dfe7eb;--surface:#fff;--teal:#09695d;--teal-soft:#e7f4ef;--nav:#102c3a;background:#f3f6f8;font-family:Segoe UI,Microsoft YaHei UI,PingFang SC,system-ui,sans-serif}*,:before,:after{box-sizing:border-box}body{min-width:300px;margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,input:focus-visible{outline-offset:3px;outline:2px solid #178575}h1,h2,h3,p,ul,ol,dl,dd{margin:0}strong{font-weight:680}.muted{color:var(--muted)}.error{color:#9b2631}.workspace{grid-template-columns:256px minmax(0,1fr);min-height:100svh;display:grid}.sidebar{background:var(--nav);color:#f5fbfd;grid-template-rows:auto minmax(0,1fr) auto;gap:19px;height:100svh;padding:25px 15px 16px;display:grid;position:sticky;top:0}.brand{align-items:center;gap:11px;display:flex}.sidebar .brand{padding:0 8px}.brand-mark{color:#eafff7;background:#137869;border-radius:10px;flex:none;place-items:center;width:39px;height:39px;display:grid}.brand strong{letter-spacing:.01em;font-size:1.17rem;line-height:1.13;display:block}.brand div>span{color:var(--muted);margin-top:4px;font-size:.82rem;display:block}.sidebar .brand div>span{color:#b4c7cf}.sidebar-footer{border-top:1px solid #2b4755;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;padding:16px 1px 0;display:grid}.sidebar-footer>p{color:#ffd0d1;grid-column:1/-1;font-size:.85rem}.account{align-items:center;gap:9px;min-width:0;display:flex}.avatar{color:#d4fff4;background:#255565;border-radius:50%;flex:none;place-items:center;width:31px;height:31px;display:grid}.account div{min-width:0}.account strong{white-space:nowrap;text-overflow:ellipsis;font-size:.84rem;display:block;overflow:hidden}.account div span{color:#b4c7cf;margin-top:2px;font-size:.79rem;display:block}.logout{color:#c1d4dc;background:0 0;border:0;border-radius:6px;place-items:center;padding:6px;display:grid}.logout:hover{color:#fff;background:#244858}.dashboard{width:100%;min-width:0;max-width:1680px;margin:0 auto;padding:26px clamp(18px,2.6vw,42px) 42px}.pager button,.history-notice button{border:1px solid var(--border);background:var(--surface);color:#254656;border-radius:7px;justify-content:center;align-items:center;gap:7px;padding:8px 13px;font-size:.9rem;font-weight:620;display:inline-flex}.pager button:not(:disabled):hover,.history-notice button:hover{background:#eaf5f1;border-color:#c9e2d9}.panel{background:var(--surface);border:1px solid var(--border);border-radius:11px;min-width:0;box-shadow:0 2px 5px #17394906}.project-list{flex-direction:column;min-width:0;min-height:0;display:flex}.list-heading{justify-content:space-between;align-items:center;padding:0 2px 8px;display:flex}.list-heading h2,.panel-title h2{align-items:center;gap:8px;font-size:1.03rem;display:flex}.list-heading h2 svg{color:#93d9cb;flex:none}.panel-title svg{color:#29776f;flex:none}.refresh{color:#c1d4dc;background:0 0;border:1px solid #375764;border-radius:7px;place-items:center;width:33px;height:33px;padding:0;display:grid}.refresh:hover{color:#fff;background:#244858}.list-tools{gap:8px;padding:0 0 12px;display:grid}.list-tabs{background:#173747;border-radius:7px;gap:5px;padding:3px;display:flex}.list-tabs button{color:#bfd3db;background:0 0;border:0;border-radius:5px;flex:1;justify-content:center;align-items:center;gap:4px;padding:6px 4px;font-size:.87rem;display:flex}.list-tabs button[aria-pressed=true]{color:#f3fbfc;background:#2a5260;font-weight:680}.search{color:#d4e3e9;background:#173747;border:1px solid #375764;border-radius:7px;align-items:center;gap:7px;padding:0 9px;display:flex}.search:focus-within{outline-offset:2px;outline:2px solid #178575}.search svg{flex:none}.search input{width:100%;min-width:0;color:inherit;background:0 0;border:none;outline:none;padding:7px 0;font-size:.88rem}.search input::placeholder{color:#aac0ca}.search input:focus-visible{outline:none}.type-filter{position:relative}.type-filter:after{content:"";pointer-events:none;border:1px solid #b7ccd5;border-width:0 1px 1px 0;width:7px;height:7px;position:absolute;top:11px;right:11px;transform:rotate(45deg)}.type-filter select{appearance:none;color:#d4e3e9;width:100%;font:inherit;background:#173747;border:1px solid #375764;border-radius:7px;padding:7px 24px 7px 9px;font-size:.88rem}.type-filter select:focus-visible{outline-offset:2px;outline:2px solid #178575}.project-rows{scrollbar-color:#45616e transparent;min-height:0;padding:2px 2px 4px;list-style:none;overflow:auto}.project-row{text-align:left;color:#eaf3f6;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:9px;width:100%;padding:10px 7px;display:flex}.project-row:hover{background:#1d4051}.project-row[aria-current=true]{color:#e5fff6;background:#214c52;border-color:#3f746f}.folder-icon{color:#b9d7e0;background:#244655;border-radius:7px;flex:none;place-items:center;width:33px;height:33px;display:grid}.project-row[aria-current=true] .folder-icon{color:#b5f0dc;background:#2d6465}.project-row-text{flex:1;min-width:0}.project-row-text strong,.project-row-text small{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.project-row-text small{color:#b4c7cf;margin-top:2px;font-size:.79rem}.row-version{font:.82rem ui-monospace,Consolas,monospace}.panel-message{color:var(--muted);padding:14px 15px;font-size:.9rem}.panel-message.error{color:#9b2631}.list-message{color:#b4c7cf;padding:8px 2px;font-size:.9rem}.list-message.error{color:#ffd0d1}.pager{justify-content:flex-end;gap:6px;padding:8px 12px 13px;display:flex}.pager button{padding:5px 9px;font-size:.82rem}.project-list .pager{padding:7px 0 0}.project-list .pager button{color:#d4e3e9;background:#173747;border-color:#375764}.project-list .pager button:not(:disabled):hover{background:#244858;border-color:#517a84}.detail{gap:17px;min-width:0;display:grid}.project-intro{padding:20px 22px 0}.project-title{align-items:center;gap:12px;min-width:0;display:flex}.project-title>div{overflow-wrap:anywhere;min-width:0}.project-title h1{letter-spacing:-.025em;font-size:1.48rem;line-height:1.25}.slug{color:var(--muted);margin-top:3px;font:.84rem ui-monospace,Consolas,monospace;display:block}.project-title-details{flex-wrap:wrap;align-items:center;gap:5px 8px;margin-top:3px;display:flex}.project-title-details .slug{margin-top:0}.detail-icon{color:var(--teal);background:#e9f3f1;border-radius:10px;flex:none;place-items:center;width:47px;height:47px;display:grid}.status{white-space:nowrap;color:#34505d;background:#e9eff2;border-radius:999px;align-items:center;gap:6px;margin-left:auto;padding:5px 9px;font-size:.84rem;font-weight:640;display:inline-flex}.status i{background:currentColor;border-radius:50%;width:6px;height:6px}.status-planning,.status-designing{color:#2a5a9a;background:#eaf1fb}.status-implementing,.status-operating,.status-completed{background:var(--teal-soft);color:var(--teal)}.status-paused,.status-validating{color:#79510c;background:#fbf0df}.project-metadata{border-top:1px solid var(--border);grid-template-columns:.85fr .85fr 1.3fr;margin-top:18px;display:grid}.project-metadata>div{min-width:0;padding:14px 9px 16px 0}.project-metadata>div+div{border-left:1px solid var(--border);padding-left:13px}.project-metadata>div>span{color:var(--muted);align-items:center;gap:6px;font-size:.85rem;display:flex}.project-metadata svg{color:#4b747b;flex:none}.project-metadata strong{margin-top:5px;font-size:1.2rem;display:block}.project-metadata strong.date{margin-top:7px;font-size:.97rem}.project-views{border-top:1px solid var(--border);flex-wrap:wrap;gap:5px 18px;margin-top:1px;display:flex}.project-views button{min-width:0;color:var(--muted);text-align:left;background:0 0;border:0;border-bottom:3px solid #0000;justify-content:center;align-items:center;gap:7px;padding:12px 3px 10px;font-size:.93rem;font-weight:620;display:inline-flex}.project-views svg{flex:none}.project-views button[aria-pressed=true]{color:var(--teal);border-bottom-color:#147a69}.project-views button:hover{color:var(--teal)}.detail-grid{grid-template-columns:minmax(0,1fr) minmax(185px,33%);align-items:start;gap:16px;display:grid}.snapshot-stack{gap:12px;min-width:0;display:grid}.panel-title{border-bottom:1px solid var(--border);padding:14px 15px}.snapshot-body{padding:15px}.snapshot-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.snapshot-fields dt{margin-bottom:4px;font-size:.9rem;font-weight:650}.snapshot-fields dd{color:#2c4755;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.62}.snapshot-summary{grid-column:1/-1}.summary-action{border:1px solid var(--border);background:#f5f8fa;border-radius:7px;padding:9px 10px}.change-note,.history-notice{color:#13594d;background:#edf7f3;border:1px solid #cfe6dd;border-radius:7px;flex-wrap:wrap;align-items:baseline;gap:10px;padding:9px 10px;font-size:.87rem;display:flex}.change-note{margin-bottom:13px}.history-notice{justify-content:space-between}.history-notice button{padding:3px 7px}.revision-list{padding:7px 7px 10px;list-style:none}.revision-button{text-align:left;color:#23404e;overflow-wrap:anywhere;background:0 0;border:1px solid #0000;border-radius:7px;gap:9px;width:100%;padding:9px 7px;display:flex}.revision-button:hover{background:#f0f5f7}.revision-button[aria-current=true]{background:#edf6f3;border-color:#d8ebe5}.timeline-dot{background:#7d9ba4;border-radius:50%;flex:none;width:8px;height:8px;margin-top:6px}.revision-button[aria-current=true] .timeline-dot{background:#12816e}.revision-text{flex:1;gap:4px;min-width:0;display:grid}.revision-line{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.revision-chip{color:#355461;background:#e6edf0;border-radius:4px;padding:2px 5px;font-size:.79rem;display:inline-flex}.revision-button[aria-current=true] .revision-chip{color:var(--teal);background:#dceee7}.revision-summary{font-size:.91rem;line-height:1.45}.revision-text small{color:var(--muted);font-size:.78rem}.empty-panel{text-align:center;min-height:132px;color:var(--muted);place-content:center;justify-items:center;gap:8px;padding:16px;display:grid}.empty-panel.error{color:#9b2631}.human-section{overflow-wrap:anywhere;padding:15px;line-height:1.55}.human-section>h2{margin-bottom:9px;font-size:1.03rem}.human-section>.muted{margin-bottom:7px}.more-sections>summary{color:#254656;cursor:pointer;padding:12px 15px;font-weight:650}.more-sections>summary>span{color:var(--muted);margin-left:4px;font-size:.86rem}.more-sections-content{overflow-wrap:anywhere;padding:0 15px 15px}.project-section{border-top:1px solid var(--border);margin-top:12px;padding-top:11px;line-height:1.55}.project-section h3{margin-bottom:6px;font-size:.98rem}.project-section p{margin-bottom:6px}.value-text{white-space:pre-wrap}.value-list{padding-left:1.25em}.value-list>li+li{margin-top:5px}.key-values>div+div{margin-top:7px}.key-values dt{color:var(--muted);font-weight:620}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%}th,td{text-align:left;border-bottom:1px solid var(--border);vertical-align:top;padding:6px 9px}.entry-list{gap:8px;padding:0;list-style:none;display:grid}.entry-list>li{border:1px solid var(--border);border-radius:7px;padding:8px 10px}.entry-heading{justify-content:space-between;gap:6px;margin-bottom:4px;display:flex}.entry-heading>.revision-chip{text-align:right;align-self:flex-start}.entry-heading>.activity-blocked{color:#8c3726;background:#fae9e2}.entry-heading>.activity-active{color:#086b5f;background:#e5f2ee}.activity-date{margin-top:4px;font-size:.82rem;display:block}.progress-toggle{color:var(--teal);cursor:pointer;background:0 0;border:0;margin-top:8px;padding:4px 0;font-weight:650;display:block}.progress-toggle:hover{text-decoration:underline}.metric-value{color:var(--teal);font-size:1.55rem;font-weight:670}.markdown pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f0f4f5;border-radius:5px;padding:7px}.knowledge-title>p{color:var(--muted);margin-top:4px;font-size:.9rem}.knowledge-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:7px;padding:11px 12px;display:flex}.knowledge-documents{background:#edf2f4;border-radius:8px;gap:4px;padding:3px;display:flex}.knowledge-documents button,.copy-json{color:#254656;background:0 0;border:1px solid #0000;border-radius:6px;align-items:center;gap:5px;padding:5px 7px;font-size:.87rem;font-weight:610;display:inline-flex}.knowledge-documents button[aria-pressed=true]{color:var(--teal);background:#fff;box-shadow:0 1px 3px #19364316}.knowledge-documents button>span{color:var(--muted);font:.79rem ui-monospace,Consolas,monospace}.copy-json{border-color:var(--border);min-height:34px}.copy-json:hover:not(:disabled){background:#eaf5f1;border-color:#c9e2d9}.knowledge-json{background:var(--nav);color:#ddf4ec;tab-size:2;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:8px;max-height:min(65vh,650px);margin:0 12px 12px;padding:14px;font:.88rem/1.55 ui-monospace,Consolas,Microsoft YaHei UI,monospace;overflow:auto}.knowledge-json>code{font:inherit}.knowledge-note{color:var(--muted);margin:0 12px 10px;font-size:.86rem}.knowledge-json:focus-visible,.more-sections>summary:focus-visible{outline-offset:2px;outline:2px solid #178575}.login-page{place-items:center;min-height:100svh;padding:22px;display:grid}.login-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;width:min(100%,440px);padding:clamp(22px,5vw,38px);box-shadow:0 14px 45px #17394912}.login-card h1{margin:26px 0 7px;font-size:1.6rem}.login-card>p{margin:6px 0 21px}.login-card form{gap:9px;margin-top:20px;display:grid}.login-card label{font-size:.92rem;font-weight:630}.login-card input{width:100%;color:inherit;border:1px solid #c9d8df;border-radius:7px;padding:10px}.primary{color:#fff;background:#087367;border:0;border-radius:7px;margin-top:6px;padding:11px 14px;font-weight:670}.primary:hover{background:#085f53}.auth-links{flex-wrap:wrap;gap:8px 15px;margin-top:12px;display:flex}.auth-links button{color:var(--teal);text-align:left;background:0 0;border:0;padding:3px 0;font-size:.9rem}.auth-links button:not(:disabled):hover{text-decoration:underline}.login-card form .auth-links{margin:0}.login-card form input+label{margin-top:5px}@media (width<=990px){.workspace{grid-template-columns:218px minmax(0,1fr)}.detail-grid{grid-template-columns:minmax(0,1fr)}}@media (width<=800px){.workspace{grid-template-columns:minmax(0,1fr)}.sidebar{grid-template:auto auto/minmax(0,1fr) minmax(0,1fr);align-items:center;gap:12px;height:auto;padding:12px 14px;position:static}.sidebar .brand{padding:0}.project-list{border-top:1px solid #2b4755;grid-area:2/1/auto/-1;padding-top:9px}.project-rows{max-height:148px}.sidebar-footer{border:0;grid-area:1/2;justify-self:end;min-width:0;max-width:100%;padding:0}.account div span{display:none}.dashboard{padding:14px 15px 32px}.list-tools{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.list-tabs{grid-column:1/-1}}@media (width<=580px){.project-intro{padding:14px 12px 0}.project-title h1{font-size:1.2rem}.project-metadata{grid-template-columns:.9fr .9fr 1.2fr}.project-metadata>div+div{padding-left:7px}.project-metadata>div>span{font-size:.81rem}.project-metadata svg{display:none}.project-views{column-gap:11px}.project-views button{gap:4px;padding-inline:1px;font-size:.83rem}.snapshot-fields{grid-template-columns:minmax(0,1fr)}}
