.wf-center{--wf-line:#dbe5df;color:#203d32}.wf-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:6px 0 24px}.wf-heading h2{font-size:25px;margin:8px 0}.wf-heading p{color:#728078;margin:0;line-height:1.7}.wf-eyebrow{font-size:12px;color:#648474;letter-spacing:2px}.wf-designer{display:grid;grid-template-columns:175px minmax(300px,1fr) 260px;border:1px solid var(--wf-line);border-radius:16px;overflow:hidden;background:#fff;min-height:650px}.wf-types,.wf-properties{padding:20px}.wf-types{border-right:1px solid var(--wf-line)}.wf-types h3,.wf-properties h3{font-size:15px;margin:0 0 22px}.wf-types button{display:flex;flex-direction:column;gap:7px;width:100%;text-align:left;border:0;background:transparent;border-radius:8px;padding:15px 12px;color:inherit;cursor:pointer;margin-bottom:5px}.wf-types button.active{background:#e6f2eb;color:#186445}.wf-types small{color:#7a8880;font-size:11px}.wf-types i{font-style:normal;color:#b57a32}.wf-board{background:#f3f6f3;display:flex;flex-direction:column;min-width:0}.wf-board-head{display:flex;justify-content:space-between;align-items:center;padding:18px 24px;background:white;gap:10px}.wf-board-head small{margin-left:12px;color:#8b968f}.wf-board>.el-alert{border-radius:0;padding:12px 24px}.wf-canvas{display:flex;align-items:center;flex-direction:column;padding:36px 20px;flex:1;background-image:radial-gradient(#dce5dd .7px,transparent .7px);background-size:16px 16px}.wf-node{display:flex;flex-direction:column;width:min(270px,100%);padding:0;background:#fff;border:1px solid #dce5df;border-radius:9px;overflow:hidden;text-align:center;color:inherit;box-shadow:0 3px 10px #203e3210}.wf-node b{padding:12px 16px;background:#faf0df;text-align:left;font-size:13px}.wf-node span{padding:14px;font-size:13px;overflow-wrap:anywhere}.wf-node small{color:#8a958d;padding:0 12px 12px}.wf-node.selected{outline:2px solid #267254}.wf-node.disabled{opacity:.6}.wf-start b{background:#d5eee2}.wf-fixed b{background:#e1eaf2}.wf-node.cc b{background:#ede6f4}.wf-line{width:1px;height:24px;background:#b5c9bc;position:relative}.wf-line:after{content:'';position:absolute;bottom:0;left:-3px;width:5px;height:5px;border-right:1px solid #91aa9b;border-bottom:1px solid #91aa9b;transform:rotate(45deg)}.wf-end{font-size:12px;color:#7b8e81}.wf-properties{border-left:1px solid var(--wf-line)}.wf-properties .el-select{width:100%}.wf-properties .el-button{margin:8px 5px 0 0}.wf-properties p{line-height:1.8;font-size:12px}.wf-publish{display:flex;align-items:center;justify-content:flex-end;padding:18px;gap:8px;border-top:1px solid var(--wf-line);background:#fff;flex-wrap:wrap}.wf-publish>span{flex:1;min-width:170px;color:#6c8072;font-size:12px;line-height:1.7}.wf-list{background:#fff;border:1px solid var(--wf-line);border-radius:14px;padding:20px}.wf-list-tools{display:flex;justify-content:space-between;gap:12px;margin-bottom:20px;flex-wrap:wrap}.wf-row{display:flex;align-items:center;gap:16px;padding:20px 8px;border:0;border-top:1px solid #edf1ee;background:white;width:100%;text-align:left;cursor:pointer;color:inherit}.wf-row:hover{background:#f7faf8}.wf-type-icon{background:#ebf3ee;color:#42755b;display:grid;place-items:center;width:44px;height:44px;border-radius:12px;font-size:13px;flex-shrink:0}.wf-row-main{flex:1;min-width:0}.wf-row-main b,.wf-row-main span{display:block;overflow-wrap:anywhere}.wf-row-main span{font-size:12px;color:#8a958d;margin-top:8px}.wf-row-main small{font-weight:400;color:#89958b}.wf-row-status{display:flex;flex-direction:column;gap:7px;align-items:flex-end}.wf-row-status small{font-size:11px;color:#87958b}.wf-empty{text-align:center;padding:80px 15px;color:#7e9185}.wf-empty b{font-size:19px;color:#3b5b49}.wf-empty p{line-height:1.8}.wf-dialog{max-width:calc(100vw - 28px)}.wf-dialog .el-select{width:100%}.wf-summary{display:flex;justify-content:space-between;gap:15px}.wf-summary h3{margin:0 0 10px}.wf-summary p{color:#7b8c80;font-size:12px}.wf-note{padding:12px 15px;background:#f5f7f4;border-radius:8px;white-space:pre-wrap;overflow-wrap:anywhere}.wf-progress{display:flex;flex-direction:column;gap:0;margin:24px 0}.wf-progress>div{border-left:2px solid #dae4dc;padding:5px 0 18px 18px;margin-left:5px}.wf-progress>div.active{border-color:#267153;color:#267153}.wf-progress b{font-size:13px}.wf-progress small{display:block;font-size:12px;margin-top:7px;color:#7d8d81}.wf-decision{padding:20px;background:#f1f6f2;border-radius:10px}.wf-decision h3{margin:0 0 16px;font-size:15px}.wf-buttons{display:flex;gap:8px;flex-wrap:wrap}.wf-buttons .el-button{margin:0}.wf-reassign{padding:16px 0}.wf-reassign .el-select{margin-bottom:10px}.wf-event-detail{white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0;line-height:1.7}
@media screen and (max-width:1100px){.wf-designer{grid-template-columns:155px minmax(270px,1fr)}.wf-properties{grid-column:1/-1;border-left:0;border-top:1px solid var(--wf-line)}.wf-properties .el-form{max-width:600px}}
@media screen and (max-width:640px){.wf-heading{align-items:flex-start}.wf-heading h2{font-size:21px}.wf-heading p{font-size:13px}.wf-designer{display:flex;flex-direction:column}.wf-types{display:flex;overflow:auto;padding:12px;border-right:0}.wf-types h3{display:none}.wf-types button{min-width:100px;margin:0}.wf-board-head{padding:12px}.wf-list{padding:12px}.wf-list-tools .el-radio-group{display:flex;flex-wrap:wrap;gap:6px}.wf-list-tools .el-radio-button__inner{border:1px solid #dce5df!important;border-radius:6px!important;padding:8px}.wf-row{gap:10px}.wf-type-icon{display:none}.wf-row-status{max-width:95px}.wf-decision{padding:14px}.wf-decision .el-checkbox{white-space:normal;height:auto;line-height:1.6}.wf-dialog .el-dialog__body{padding-top:10px}.wf-publish>span{flex-basis:100%}.wf-center .el-timeline{padding-left:12px}}
.wf-asset-flow{display:block;font-size:11px;color:#a3742d;margin-top:5px;line-height:1.5}
.wf-self-approval{padding:12px 24px;background:#fff;border-top:1px solid var(--wf-line)}.wf-self-approval p{font-size:12px;color:#718177;line-height:1.7;margin:5px 0}.wf-self-approval .el-switch{height:auto;min-height:32px}.wf-self-approval .el-switch__label{white-space:normal;height:auto;line-height:1.5}

/* 较长流程滚动到完成抄送时，桌面端仍能看到对应节点设置。 */
.wf-designer{overflow:clip}.wf-properties-inner{position:sticky;top:16px}.wf-completion-hint{color:#61786a;background:#f1f6f2;padding:10px;border-radius:6px}
@media screen and (max-width:640px){.wf-properties-inner{position:static}}
.wf-notices{margin-top:24px;padding:16px;border:1px solid var(--border,#dce7e1);border-radius:12px}
.wf-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}
.wf-notice>div{min-width:0;overflow-wrap:anywhere}.wf-notice p{margin:6px 0;color:#66766f;font-size:12px}
.wf-intervention,.wf-sync{margin-top:20px;padding:16px;border:1px solid #eadbc2;border-radius:12px}.wf-intervention .el-form{margin-top:14px}.wf-intervention .el-select{width:100%}.wf-intervention .el-checkbox{white-space:normal;height:auto;line-height:1.6}.wf-intervention .el-alert{margin-bottom:14px}.wf-notice small{display:block;color:#718177;margin-top:4px}

.wf-acceptance{cursor:pointer}.wf-acceptance:disabled{cursor:wait}
.signature-history-bar{min-height:36px;display:flex;align-items:center;gap:12px;padding:4px 0;color:var(--muted);font-size:13px}
.previous-signature-preview{display:block;width:100%;height:100%;object-fit:contain;padding:24px;box-sizing:border-box}
.wf-movement-dialog.el-dialog{width:100vw!important;max-width:100vw!important;height:100vh;height:100dvh;max-height:none;margin:0!important;border-radius:0;overflow:hidden;background:#f4f7f5;display:flex;flex-direction:column;padding:0}
.wf-movement-dialog .el-dialog__header{padding:22px 24px;background:#fff;margin:0;border-bottom:1px solid var(--line)}
.wf-movement-dialog .el-dialog__body{flex:1;min-height:0;max-height:none;overflow:auto;width:100%;max-width:760px;margin:0 auto;padding:20px;box-sizing:border-box}
.wf-movement-dialog .el-dialog__footer{padding:14px 24px calc(14px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);display:flex;justify-content:center;gap:12px}
.wf-movement-dialog .el-dialog__footer .el-button--primary{min-width:240px}
.wf-movement-card,.wf-movement-dialog .wf-batch-assets{padding:20px;background:#fff;border-radius:14px;margin:16px 0}
.wf-movement-dialog .wf-selected-asset>div{flex:1}.wf-movement-dialog .el-date-editor{width:100%}.wf-movement-dialog .el-form-item{margin-bottom:18px}
.wf-movement-dialog .wf-selected-asset .el-form-item{margin:14px 0 0}.wf-movement-dialog .self-claim-fields{margin:0 0 20px}
@media screen and (max-width:640px){.wf-movement-dialog .el-dialog__body{padding:12px}.wf-movement-card,.wf-movement-dialog .wf-batch-assets{padding:16px}.wf-movement-dialog .el-dialog__footer{padding-left:16px;padding-right:16px}.wf-movement-dialog .el-dialog__footer .el-button--primary{flex:1;min-width:0}.wf-movement-dialog .el-input__inner{font-size:16px}.wf-movement-dialog .el-button{min-height:44px}.signature-history-bar{font-size:12px}.signature-history-bar .el-button{min-height:40px}}
.wf-asset-list { padding:14px; margin:12px 0; background:var(--solid-2); border-radius:10px; }
.wf-asset-list>div { padding:9px 0; border-bottom:1px solid var(--line); }
.wf-asset-list span { display:block; color:var(--muted); margin-top:4px; overflow-wrap:anywhere; }

.wf-batch-toolbar{display:flex;align-items:center;gap:8px;margin:12px 0}.wf-batch-toolbar .el-input{flex:1;min-width:0}.wf-batch-toolbar span{white-space:nowrap}.wf-selected-asset{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.wf-selected-asset>div{min-width:0;overflow-wrap:anywhere}.wf-selected-asset p{margin:5px 0;color:var(--muted)}.wf-selected-asset small{color:var(--muted)}.wf-batch-assets{margin-bottom:16px}.wf-disposal-item{margin:16px 0;padding:16px;background:var(--solid-2);border:1px solid var(--line);border-radius:10px}.wf-batch-disposal .el-select{width:100%}
@media screen and (max-width:640px){.wf-batch-toolbar{flex-wrap:wrap}.wf-batch-toolbar .el-button{margin-left:0;min-height:40px}.wf-batch-toolbar>span{width:100%;font-size:12px}.wf-batch-disposal .el-input-number{max-width:100%}}

.handwriting-dialog .el-dialog__body{position:relative;flex-direction:column}.signature-history-bar{position:absolute;top:8px;right:16px;z-index:1;max-width:calc(100% - 32px);border-radius:8px;background:#fffffff0;padding:4px 8px}
.wf-movement-card>.el-form-item{display:flex;align-items:center;gap:12px;margin-bottom:14px}.wf-movement-card>.el-form-item>.el-form-item__label{flex:0 0 112px;line-height:1.6;height:auto;margin:0;padding:0}.wf-movement-card>.el-form-item>.el-form-item__content{flex:1;min-width:0;margin:0}.wf-movement-dialog>.el-dialog__body>.wf-note{font-size:12px;line-height:1.6;margin:0}.wf-movement-dialog .self-claim-fields{grid-template-columns:112px minmax(0,1fr);gap:12px}

/* 公司全称换行；部门先看名称，再核对完整组织路径。下拉宽度跟随控件。 */
.wf-organization-field{width:100%;min-width:0}
.wf-organization-select.has-value:not(.is-expanded) .el-select__selection{display:grid;grid-template-columns:minmax(0,1fr)}
.wf-organization-select.has-value:not(.is-expanded) .el-select__selection>*{grid-area:1 / 1}
.wf-organization-select.has-value:not(.is-expanded) .el-select__placeholder{position:static;transform:none;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
.wf-organization-select .el-select__wrapper{min-height:40px;padding-top:9px;padding-bottom:9px}
.wf-organization-popper{max-width:calc(100vw - 24px);box-sizing:border-box}
.wf-organization-popper .el-select-dropdown__item{height:auto;min-height:44px;line-height:1.5;padding:10px 16px;white-space:normal;overflow-wrap:anywhere;border-bottom:1px solid var(--el-border-color-extra-light)}
.wf-organization-name{display:block;font-weight:500;line-height:1.5}
.wf-organization-path{display:block;font-size:12px;line-height:1.6;color:var(--el-text-color-secondary);font-weight:400;white-space:normal;overflow-wrap:anywhere}
.wf-organization-selected-path{margin-top:6px}
.wf-field-hint{width:100%;font-size:12px;line-height:1.6;color:var(--el-text-color-secondary);margin-top:6px}
.wf-movement-card>.el-form-item{align-items:flex-start}
.wf-movement-card>.el-form-item>.el-form-item__label{padding-top:10px}
@media screen and (max-width:640px){
  .wf-movement-card>.el-form-item{display:block;margin-bottom:20px}
  .wf-movement-card>.el-form-item>.el-form-item__label{display:block;width:100%;padding:0;margin:0 0 8px}
  .wf-movement-card>.el-form-item>.el-form-item__content{width:100%}
  .wf-movement-dialog .self-claim-fields{grid-template-columns:1fr;gap:4px}
  .wf-movement-dialog .self-claim-fields dd{margin:0 0 10px;overflow-wrap:anywhere}
}

/* 归还审批：单据与逐件资产分区，长部门路径和序列号允许换行。 */
.wf-return-card{margin:16px 0;padding:20px;border:1px solid var(--border,#dce7e1);border-radius:12px;background:var(--solid,#fff)}
.wf-return-card h3,.wf-return-card h4{margin:0 0 16px;font-size:15px;overflow-wrap:anywhere}
.wf-return-assets>h3{margin:24px 0 12px;font-size:16px}
.wf-return-fields{display:grid;grid-template-columns:130px minmax(0,1fr);gap:14px 16px;margin:0;font-size:14px;line-height:1.65}
.wf-return-fields dt{color:var(--muted,#718177)}
.wf-return-fields dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text,#203d32)}
.wf-return-source{font-size:12px;line-height:1.6;color:var(--muted,#718177);margin:0 0 18px}
.wf-return-fields .wf-return-destination{border-top:1px solid var(--border,#dce7e1);padding-top:12px;color:#267153;font-weight:600}
@media screen and (max-width:640px){.wf-return-card{padding:16px 12px}.wf-return-fields{grid-template-columns:100px minmax(0,1fr);gap:13px 12px}}
