/* Vercel-inspired neutral surfaces and precise controls, adapted for SpeedForce. */
body:not(.auth-active){--w-line:#e5e7eb;--w-ink:#20242c;--w-muted:#697180;--w-soft:#fafafa;--w-blue:#2963d9;color:var(--w-ink)}
.workspace-main{background:#fafbfc;padding:28px 32px}.workspace-heading h1{font-size:26px;font-weight:600}.workspace-heading p{font-size:13px;color:#687181}.workspace-heading{margin-bottom:28px}.workspace-sidebar nav button{font-size:13px}.workspace-main button,.workspace-main input,.workspace-main select{font-size:13px}.workspace-main .workspace-status{font-size:11px}
.workspace-main .w-page,#workspacePanels>.w-page{padding:0;margin:0;background:transparent;min-width:0;overflow-wrap:anywhere}
.w-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 24px}.w-section-heading>div:first-child{flex:1;min-width:0}.w-section-heading h2,#workspacePanels .w-section-heading h2{font-size:17px;line-height:1.5;font-weight:600;margin:0;color:#252b36}.w-section-heading p{font-size:13px;color:#747d8b;line-height:1.65;margin:6px 0 0}.w-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}.w-actions>input[type=search]{width:280px;max-width:100%;margin:0}.w-actions>select{max-width:100%}.w-page button,.w-detail-dialog button,.security-dialog button{min-height:36px;padding:7px 12px;border-radius:7px;line-height:1.5;box-shadow:0 1px 2px #00000004;white-space:nowrap;font-size:13px;background:#fff;border:1px solid #dce0e6;color:#404959;margin:0}.w-page button:hover,.w-detail-dialog button:hover{background:#f5f7fa;border-color:#bcc6d5}.w-page button.primary,.w-detail-dialog button.primary,.security-dialog button.primary{background:#2963d9;border-color:#2963d9;color:white;box-shadow:none}.w-page button:disabled{cursor:default}.w-page .w-danger-text,.w-detail-dialog .w-danger-text{color:#b13738;background:#fff;border-color:#eedcdd}
.w-page .w-tabs{display:flex;gap:24px;border-bottom:1px solid #e0e4ea;margin-bottom:24px;overflow:auto;scrollbar-width:thin}.w-page .w-tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;padding:0 1px 12px;min-height:39px;color:#737c8b;font-size:13px;box-shadow:none}.w-page .w-tabs button[aria-selected=true]{border-color:#2963d9;color:#2358bc;font-weight:600}.w-page .w-tabs button:hover{color:#254b89;background:transparent}.w-page>.w-error:empty,.w-error:empty{display:none}.w-error{padding:12px 16px;background:#fff4f4;color:#a52933;border:1px solid #eed2d5;border-radius:8px;line-height:1.6;margin:0 0 18px;font-size:13px}
.w-table-wrap{border:1px solid #e2e6ed;border-radius:10px;background:white;overflow:auto;margin:16px 0 0;max-width:100%}.workspace-main .w-table,.w-detail-dialog .w-table{border:0!important;border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}.workspace-main .w-table th,.w-detail-dialog .w-table th{font-weight:500;font-size:12px;color:#707987;background:#f8f9fb;padding:12px 16px;border-bottom:1px solid #e7eaf0;white-space:nowrap;text-align:left}.workspace-main .w-table td,.w-detail-dialog .w-table td{font-size:13px;color:#4d586a;padding:17px 16px;vertical-align:middle;border-bottom:1px solid #eef0f3;line-height:1.65;min-width:0}.w-table tr:last-child td{border-bottom:0}.w-table tbody tr:hover{background:#fcfdff}.w-table .w-actions{gap:8px;flex-wrap:nowrap}.workspace-main .w-table td button{margin:0;min-height:32px;font-size:12px;padding:5px 10px}.w-cell-title{min-width:90px;max-width:300px;overflow-wrap:anywhere}.w-cell-title strong{display:block;font-weight:500;font-size:13px;line-height:1.6;color:#303b4c}.w-cell-title small{display:block;font-size:12px;color:#8a93a1;line-height:1.6;margin-top:4px}.w-table .w-cell-title small{max-width:250px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.w-badge{display:inline-flex;align-items:center;flex-shrink:0;font-size:11px;line-height:1.65;font-weight:500;color:#69717e;background:#f0f2f5;border:1px solid #e7eaf0;border-radius:5px;padding:2px 7px;white-space:nowrap}.w-badge[data-state=success]{color:#268266;background:#edf8f2;border-color:#d8ecdf}.w-badge[data-state=warning]{color:#9b6b17;background:#fff8e9;border-color:#f5e8c7}.w-badge[data-state=danger]{color:#b04750;background:#fff0f0;border-color:#f3d9dd}.w-badge[data-state=blue]{color:#386dc4;background:#eef4ff;border-color:#dce8ff}
.w-empty{padding:44px 24px;text-align:center;background:white;color:#7f899a;display:flex;flex-direction:column;align-items:center;gap:10px;line-height:1.7;border-radius:10px}.w-empty-icon{display:grid;place-items:center;width:38px;height:38px;background:#f4f6f9;color:#a3aebf;border:1px solid #ebeff4;border-radius:10px;font-size:20px;margin-bottom:4px}.w-empty strong{font-size:14px;color:#566174;font-weight:500}.w-empty p{font-size:12px;margin:0;max-width:360px}.workspace-main .w-note,#workspacePanels .w-note{font-size:12px;line-height:1.85;color:#858e9c;margin:20px 0 0}.w-disclosure{margin:20px 0;padding:16px 18px;border:1px solid #e4e8ee;border-radius:9px;background:#fff;font-size:13px}.w-disclosure summary{cursor:pointer;color:#596576;font-weight:500;line-height:1.5}.w-disclosure[open] summary{margin-bottom:18px}.w-disclosure .w-note{margin:0}
.w-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.w-product{background:#fff;border:1px solid #e0e5ed;border-radius:12px;padding:24px;display:flex;flex-direction:column;min-width:0}.w-product .w-kicker{font-size:11px;letter-spacing:.03em;color:#8794a8}.w-product h3,#workspacePanels .w-product h3{font-size:17px;font-weight:600;margin:16px 0 22px;line-height:1.55;color:#303a4b}.w-price{font-size:30px;letter-spacing:-1px;line-height:1.3;color:#212b3c;font-weight:600;overflow-wrap:anywhere}.w-product .w-muted{font-size:12px;color:#8a93a3;margin:8px 0}.w-benefits{list-style:none;margin:18px 0 24px;padding:18px 0 0;border-top:1px solid #edf0f4;font-size:12px;color:#6b788b}.w-benefits li{padding:6px 0;line-height:1.6}.w-benefits li:before{content:'✓';color:#6e91c4;padding-right:9px}.w-product>button{width:100%;margin-top:auto;min-height:38px}.w-product label{font-size:12px;color:#707d8f;margin:0 0 18px}.w-product input{margin:8px 0 0;width:100%;height:38px}.w-product-grid:empty{display:none}
.w-stats{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border:1px solid #e2e6ed;border-radius:10px;padding:22px 0;margin-bottom:24px}.w-stats>div{padding:0 24px;border-right:1px solid #e8edf3;min-width:0}.w-stats>div:last-child{border:0}.w-stats span{font-size:12px;color:#7a8496;display:block;margin-bottom:8px}.w-stats strong{font-size:23px;font-weight:600;color:#2b364a}.w-inline-form{display:flex;align-items:end;gap:12px;margin:0;max-width:560px}.w-inline-form label{flex:1;margin:0;font-size:12px;color:#758196}.w-inline-form input{height:39px;margin:8px 0 0}.w-inline-form button{min-height:39px}.w-node-secret:empty{display:none}.w-node-secret{padding:20px;margin:0 0 24px;border:1px solid #cadaf4;background:#f4f8ff;border-radius:10px}
.w-detail-dialog{width:min(700px,calc(100vw - 32px));border:1px solid #dce2ea;border-radius:14px;padding:28px;box-shadow:0 24px 100px #16273c24}.w-detail-dialog .w-section-heading{margin-bottom:18px}.w-detail-dialog .w-section-heading h2{font-size:20px}.w-detail-dialog .w-kv,.w-page .w-kv{margin:0;border:1px solid #e5e9ef;border-radius:9px;overflow:hidden;background:#fff}.w-kv>div{display:grid;grid-template-columns:140px minmax(0,1fr);border-bottom:1px solid #edf0f4;gap:20px;padding:14px 18px;line-height:1.75;font-size:13px}.w-kv>div:last-child{border:0}.w-kv dt{color:#7e8899}.w-kv dd{margin:0;color:#39475d;overflow-wrap:anywhere}.w-detail-dialog>.w-section-heading+.w-table-wrap{margin-top:0}.w-detail-dialog label{font-size:13px;color:#65748b;margin:22px 0 16px}.w-detail-dialog select{width:100%;margin-top:10px}.w-member-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px}.w-member-actions button{white-space:normal;text-align:center}.w-invitation-row{display:flex;align-items:center;gap:16px;padding:18px 20px;background:white;border:1px solid #e5eaf1;border-radius:9px;margin:12px 0}.w-invitation-row .w-cell-title{flex:1;max-width:none}.workspace-main #inviteLink:not(:empty){padding:18px;background:#eff5ff;border:1px solid #d5e3ff;border-radius:9px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}.workspace-main #inviteLink span{font-size:12px;overflow-wrap:anywhere}.workspace-main #members{overflow:visible}.workspace-main #memberSearch{margin:0;height:38px;font-size:13px;max-width:360px;background:white}.workspace-main #modelPolicy{background:transparent;border:0;padding:0;margin:20px 0 0;color:#7c8797;font-size:12px}.workspace-main #teamPanel>.toolbar{margin-bottom:22px}.workspace-main #teamPanel>.toolbar h2{font-size:17px}.workspace-main #teamPanel>.toolbar p{font-size:12px}.workspace-main #members table td:first-child,.workspace-main #members table th:first-child{padding-left:16px}.workspace-main #teamPanel .toolbar>button{font-size:13px}
.w-settings{border:1px solid #e0e6ee;border-radius:12px;background:white;overflow:hidden}.w-setting-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px;border-bottom:1px solid #eaedf2}.w-setting-row:last-child{border:0}.w-setting-row .w-cell-title{max-width:none}.w-setting-row .w-cell-title strong{font-size:14px}.w-danger-zone{margin-top:32px;border:1px solid #eddcdd;background:#fffdfd;padding:24px;border-radius:12px}.w-danger-zone .w-section-heading{margin-bottom:18px}.security-dialog{padding:30px;width:520px}.security-dialog>h2{font-size:21px;margin:0 0 10px}.security-dialog>p{font-size:13px;color:#788397;line-height:1.8}.security-dialog form{margin:24px 0}.security-dialog form label{font-size:13px;margin:20px 0;color:#5b677b}.security-dialog input{height:42px;margin:9px 0 0}.security-dialog .w-code-row label{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}.security-dialog .w-code-row label input{grid-row:2;margin:0}.security-dialog .w-code-row label button{grid-row:2;height:42px}.security-dialog form>button.primary{width:100%;margin-top:8px;height:42px}.security-dialog>.w-dialog-close{display:block;margin:22px 0 0 auto}.security-dialog details{font-size:13px;line-height:1.8}.security-dialog details p{color:#8d7880}.security-dialog details button{margin:16px 0 0}.security-dialog summary{font-size:14px}
#center[data-active=security] #securityPanel{display:block}.workspace-main .workspace-metrics .metric-caption{font-size:12px}.workspace-metrics .muted{font-size:12px!important}.workspace-main .metric-link,.metric-footnote{font-size:11px}.workspace-main .workspace-start{background:white}.workspace-start .section-kicker{font-size:11px}.workspace-start>p:not(.section-kicker){font-size:13px}.space-details dl div{font-size:12px}.space-details .muted{font-size:12px}.workflow-steps{display:none}.workspace-start .start-links{margin-bottom:0}.join-card form{display:flex;flex-direction:column;gap:8px}.join-card input{margin-top:12px}.workspace-main .join-card{margin:0;max-width:680px;border-radius:12px;background:white}
@media(max-width:1280px){.w-product{padding:20px}.w-product-grid{gap:12px}.w-price{font-size:26px}.w-product h3{font-size:16px}}
@media(max-width:1020px){.w-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.w-table{min-width:640px}.workspace-main{padding:24px}.w-table .w-cell-title{max-width:240px}}
@media(max-width:760px){.workspace-main{padding:22px 16px}.workspace-heading p{font-size:12px}.workspace-sidebar nav button{font-size:12px}.w-product-grid{grid-template-columns:1fr}.w-section-heading{gap:14px;flex-wrap:wrap}.w-section-heading>div:first-child{flex-basis:100%}.w-section-heading .w-actions{margin-left:auto}.w-page .w-tabs{gap:20px;white-space:nowrap;margin-bottom:20px}.w-stats{padding:18px 0}.w-stats>div{padding:0 12px}.w-stats strong{font-size:20px}.w-stats span{font-size:11px}.w-inline-form{align-items:stretch;flex-direction:column}.w-kv>div{grid-template-columns:1fr;gap:4px;padding:12px 16px}.w-setting-row{padding:20px;flex-wrap:wrap}.w-setting-row>.w-cell-title{width:100%}.w-danger-zone{padding:20px}.w-detail-dialog{padding:22px 18px}.w-detail-dialog .w-section-heading{flex-wrap:nowrap}.w-detail-dialog .w-section-heading>div:first-child{flex-basis:auto}.w-detail-dialog .w-table{min-width:480px}.w-member-actions{grid-template-columns:1fr}.w-invitation-row{flex-wrap:wrap}.w-invitation-row .w-cell-title{flex-basis:100%}.w-actions>input[type=search]{width:100%}.w-table-wrap{margin-top:14px}.w-table td:last-child{min-width:110px}.security-dialog{padding:24px}.workspace-main .join-card{padding:24px}}
.git-policy{border:1px solid #e0e6ee;border-radius:12px;background:#fff;margin:0 0 22px;overflow:hidden}
.git-policy-head{padding:20px 22px 4px}.git-policy-head h3{margin:0 0 6px;font-size:16px;color:#252b36}.git-policy-head p{margin:0;color:#747d8b;font-size:13px;line-height:1.65}
.git-switch{display:flex;align-items:center;gap:10px;margin:16px 22px 0;font-size:14px;color:#303b4c;font-weight:500}
.git-switch input{width:16px;height:16px;margin:0;accent-color:#2963d9}
.git-address{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;padding:16px 22px 0}
.git-address label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#758196}
.git-address input{height:38px;margin:0;width:100%}
.git-address button.primary{min-height:38px;padding:0 18px}
.git-hint{margin:10px 22px 18px;font-size:12px;line-height:1.7;color:#858e9c}
.git-policy h4{margin:0 22px;font-size:12px;font-weight:600;color:#707987}
.git-rail{list-style:none;margin:8px 22px 18px;padding:0 0 0 16px;border-left:2px solid #d7e3f8}
.git-rail li{position:relative;display:flex;gap:10px;align-items:baseline;padding:7px 0 7px 12px;font-size:13px;color:#4d586a}
.git-rail li:before{content:'';position:absolute;left:-21px;top:12px;width:8px;height:8px;border-radius:50%;background:#fff;border:2px solid #2963d9}
.git-rail b{font-family:Consolas,monospace;font-size:12px;color:#2358bc}
/* 2.16.0：启用客户 Git 管理后，Hub 里遗留的历史资产降级到折叠区（主表改为已登记的链路） */
.legacy-assets{margin:22px 0 0;border:1px solid #e0e6ee;border-radius:12px;background:#fff;padding:0 22px}
.legacy-assets>summary{cursor:pointer;padding:16px 0;font-size:13px;font-weight:600;color:#4d586a}
.legacy-assets>summary:hover{color:#2358bc}
.legacy-assets[open]>summary{border-bottom:1px solid #eef2f7}
.legacy-assets .w-note{margin:14px 0 4px}
.legacy-assets .w-table{margin-bottom:18px}
.legacy-assets code,.w-table code{font-family:Consolas,monospace;font-size:12px;color:#4d586a;background:#f4f7fb;border:1px solid #e6ecf4;border-radius:4px;padding:1px 5px}
.git-rail-empty{color:#8a93a1}.git-rail-empty:before{display:none}
@media(max-width:760px){.git-address{grid-template-columns:1fr}.git-address button.primary{width:100%}}

