.workflow-center-legacy[hidden],.workflow-center-page [hidden]{display:none!important}
.workflow-center-page{color:var(--workbench-text-primary);min-width:0;padding:20px 28px 28px}
.workflow-center-heading,.workflow-editor-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
.workflow-center-heading h1,.workflow-editor-heading h1{font-size:24px;line-height:1.4;margin:0 0 7px}
.workflow-center-page p{font-size:13px;line-height:1.7;color:var(--workbench-text-secondary);margin:5px 0 12px;overflow-wrap:anywhere}
.workflow-center-navigation,.workflow-editor-tabs{position:static;padding:0;margin-bottom:24px}
.workflow-center-toolbar{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap;margin-bottom:16px}
.workflow-center-toolbar>label{max-width:230px;margin-left:auto}
.workflow-center-filters{display:flex;gap:6px;flex-wrap:wrap}
.workflow-center-filters button{font:inherit;font-size:13px;border:0;background:transparent;padding:7px 12px;border-radius:var(--feishu-border-radius-small);cursor:pointer}
.workflow-center-filters button{border-radius:0;border-bottom:2px solid transparent}.workflow-center-filters [aria-pressed=true]{background:transparent;color:var(--navigation-state-text);border-bottom-color:currentColor;font-weight:500}
.workflow-center-table{width:100%;border-collapse:collapse;font-size:13px;text-align:left;table-layout:fixed}
.workflow-center-table th{font-size:12px;font-weight:500;color:var(--workbench-text-secondary);background:var(--workbench-surface-canvas);padding:12px}
.workflow-center-table td{padding:18px 12px;border-bottom:1px solid var(--workbench-border-subtle);vertical-align:middle;overflow-wrap:anywhere}
.workflow-center-table th:first-child{width:42%}.workflow-center-table th:nth-child(2){width:16%}.workflow-center-table th:nth-child(3){width:17%}
.workflow-center-table strong{font-size:14px;display:block;margin-bottom:3px}.workflow-center-table p{font-size:12px;margin:0}
.workflow-center-actions{display:flex;gap:7px;flex-wrap:wrap}.workflow-center-actions .workflow-list-action{min-height:32px}
.workflow-center-notice{display:flex;align-items:center;gap:10px;padding:12px 16px;background:var(--workbench-surface-canvas);margin-bottom:16px;line-height:1.6;font-size:13px}
.workflow-center-notice button{flex-shrink:0}
.workflow-center-skill-list>section{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 0;border-bottom:1px solid var(--workbench-border-subtle)}
.workflow-center-skill-list h2{font-size:15px;margin:0 0 6px}.workflow-center-skill-list p{margin:0}.workflow-center-skill-list>section>span{font-size:12px;white-space:nowrap;color:var(--workbench-text-secondary)}
.workflow-center-advanced{margin-top:26px}.workflow-center-page summary{cursor:pointer;color:var(--feishu-color-primary);font-size:13px;padding:8px 0}
.workflow-center-page .workflow-warning{color:var(--feishu-color-warning)}
.workflow-editor-layout{display:grid;grid-template-columns:155px minmax(0,1fr);gap:34px;margin-top:24px}
.workflow-editor-layout>nav{display:flex;flex-direction:column;gap:8px;align-self:start}
.workflow-editor-content{min-width:0;max-width:850px;min-height:320px}.workflow-editor-content h2{font-size:18px;margin:0 0 7px}
.workflow-editor-content label{display:grid;gap:8px;margin-bottom:18px;font-size:13px}.workflow-editor-content input,.workflow-editor-content textarea,.workflow-editor-content select,.workflow-center-toolbar input{width:100%;min-width:0;padding:10px 12px;font:inherit;font-size:13px;border:1px solid var(--workbench-border-subtle);background:var(--workbench-surface-panel);border-radius:var(--feishu-border-radius-small);color:var(--workbench-text-primary)}
.workflow-editor-content input,.workflow-editor-content select{height:40px}.workflow-editor-content textarea{resize:vertical}.workflow-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.workflow-builder-step{background:var(--workbench-surface-canvas);border-radius:var(--feishu-border-radius-medium);padding:20px;margin:0 0 18px}
.workflow-builder-step>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.workflow-builder-step>header>div{display:flex;gap:6px}.workflow-builder-step>header button{font-size:12px;min-height:30px;padding:5px 9px}.workflow-builder-step strong{font-size:14px}.workflow-builder-step label{margin-bottom:12px}
.workflow-add-step{display:flex;gap:12px;align-items:end}.workflow-add-step label{flex:1;margin:0}.workflow-add-step button{flex:none;margin-bottom:1px}
.workflow-editor-footer{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 0 12px;border-top:1px solid var(--workbench-border-subtle);background:var(--workbench-surface-panel);z-index:2;margin-top:26px}
.workflow-editor-footer>div{display:flex;align-items:center;gap:10px}.workflow-editor-footer>div:first-child{flex-wrap:wrap}.workflow-editor-footer p{font-size:12px;margin:0;max-width:420px}
.workflow-enterprise-inputs{margin:20px 0}.workflow-enterprise-inputs>div{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--workbench-border-subtle);font-size:13px}.workflow-enterprise-inputs span{color:var(--workbench-text-secondary)}
.workflow-publish-checks{margin:20px 0}.workflow-publish-checks>div{display:grid;grid-template-columns:120px 1fr;gap:20px;padding:14px 0;border-bottom:1px solid var(--workbench-border-subtle);font-size:13px}.workflow-publish-checks dt{font-weight:500}.workflow-publish-checks dd{margin:0;color:var(--workbench-text-secondary)}
.workflow-existing-content .workflow-stage-editor{height:auto;min-height:500px}.workflow-existing-content .workflow-stage-columns{grid-template-columns:150px minmax(170px,1fr) minmax(230px,1.2fr)}
.workflow-existing-content .workflow-stage-footer{position:sticky;bottom:0;background:var(--workbench-surface-panel);z-index:2}.workflow-existing-content .workflow-presentation-scroll-body{max-height:none;overflow:visible}.workflow-existing-content .workflow-presentation-scope-panel{display:flex;flex-direction:column}.workflow-existing-content .workflow-presentation-section{max-width:900px}.workflow-existing-content .workflow-config-actions{position:sticky;bottom:0;background:var(--workbench-surface-panel);padding:16px 0}
.workflow-editor-content :is(input,textarea,select):focus-visible{outline:none;border-color:var(--feishu-color-primary);box-shadow:var(--workbench-focus-ring)}
@media(max-width:1050px){.workflow-existing-content .workflow-stage-columns{grid-template-columns:140px minmax(0,1fr)}.workflow-existing-content .workflow-stage-settings{grid-column:2}.workflow-existing-content .workflow-stage-navigation{grid-row:1/3}.workflow-center-table th:first-child{width:36%}}
@media(max-width:760px){.workflow-center-page{padding:16px}.workflow-center-heading{align-items:start;gap:12px}.workflow-center-heading h1,.workflow-editor-heading h1{font-size:21px}.workflow-center-navigation{gap:20px}.workflow-editor-layout{grid-template-columns:1fr;gap:20px}.workflow-editor-layout>nav{flex-direction:row;flex-wrap:wrap;gap:2px}.workflow-editor-layout>nav button{padding:9px 10px}.workflow-form-grid{grid-template-columns:1fr;gap:0}.workflow-editor-footer{align-items:start;gap:12px;flex-wrap:wrap}.workflow-editor-footer>div{flex-wrap:wrap}.workflow-center-table th:nth-child(2),.workflow-center-table td:nth-child(2){display:none}.workflow-center-table th:first-child{width:44%}.workflow-center-table th:nth-child(3){width:23%}.workflow-center-table td,.workflow-center-table th{padding:12px 7px}.workflow-existing-content .workflow-stage-columns{display:block}.workflow-existing-content .workflow-stage-navigation{flex-direction:row;flex-wrap:wrap}.workflow-builder-step{padding:14px}.workflow-builder-step>header{align-items:start;flex-wrap:wrap}.workflow-add-step{flex-wrap:wrap}.workflow-center-toolbar>label{margin-left:0;max-width:none}.workflow-center-notice{flex-wrap:wrap}.workflow-publish-checks>div{grid-template-columns:90px 1fr;gap:10px}}

/* Content selection follows content tabs, never the outer sidebar fill. */
.workflow-center-page .workflow-presentation-scope-tab[aria-selected="true"]{background:transparent;color:var(--navigation-state-text);font-weight:500}
.workflow-center-page .workflow-presentation-scope-tab[aria-selected="true"]::after{background:currentColor}
.workflow-center-page .workflow-stage-nav-item{border-left:2px solid transparent;border-radius:0}
.workflow-center-page .workflow-stage-nav-item[aria-current="step"]{background:transparent;color:var(--navigation-state-text);border-left-color:currentColor;border-radius:0}

/* Keep existing floating support controls clear of save and publish actions. */
.workflow-center-page :is(.workflow-stage-footer,.workflow-config-actions,.workflow-editor-footer){padding-inline-end:160px}
@media(max-width:760px){.workflow-center-page :is(.workflow-stage-footer,.workflow-config-actions,.workflow-editor-footer){padding-inline-end:0;padding-bottom:100px}}
