.automation-flow{--flow-gap:20px;max-width:980px;margin-inline:auto;color:#233d33;overflow-wrap:anywhere}.automation-flow p{line-height:1.7}.flow-home{border-top:1px solid #dce7df;border-bottom:1px solid #dce7df;padding:24px 0;margin:24px 0}.flow-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.flow-heading h2,.flow-heading p{margin:0}.flow-heading p{margin-top:8px;color:#607268}.flow-heading .btn{flex:none;min-width:104px}.flow-history{margin-top:20px}.automation-flow summary{cursor:pointer;padding:12px 0;font-weight:600}.flow-recent,.flow-outputs,.flow-created,.flow-review-files{list-style:none;padding:0;margin:0}.flow-recent li,.flow-outputs li,.flow-created li,.flow-review-files li{border-bottom:1px solid #e3ebe6}.flow-recent a,.flow-outputs li,.flow-created li,.flow-review-files li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0}.flow-recent a{color:inherit;text-decoration:none;min-height:64px}.flow-recent a:hover{background:#f3f7f3}.automation-flow small{display:block;color:#687a70;font-size:12px;line-height:1.6;margin-top:4px}.flow-status{white-space:nowrap;font-size:13px;color:#46634f}.flow-notice{background:#f2f5ec;border-left:3px solid #93a88c;padding:12px 16px;color:#4c5e47}.flow-fine{font-size:13px;color:#65766c;margin:12px 0;line-height:1.7}.flow-workspace{background:#fff;border:1px solid #e0e8e1;border-radius:12px;padding:28px}.flow-progress{padding-block:16px}.flow-progress .btn+.btn{margin-left:8px}.flow-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:20px 0}.flow-summary>div{min-width:0}.flow-summary dt{color:#66796c;font-size:13px}.flow-summary dd{margin:8px 0 0;font-weight:600;font-variant-numeric:tabular-nums}.flow-result h2{font-size:20px;margin:4px 0 16px}.flow-outputs li>span:first-child{min-width:0;flex:1}.flow-outputs li>span:last-child{text-align:right;max-width:45%;font-variant-numeric:tabular-nums}.flow-notes{padding-left:20px;line-height:1.8;font-size:14px}.flow-notes li+li{margin-top:8px}.flow-blockers{color:#9a402f}.flow-gaps,.flow-edit,.flow-evidence,.flow-files{margin-top:20px;border-top:1px solid #e0e8e1}.flow-edit .form-grid{gap:16px}.flow-lines>section{padding:16px 0;border-top:1px solid #e5ece6}.flow-lines h3{font-size:14px;margin:0 0 12px}.flow-lines .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.flow-apply{display:flex;justify-content:flex-end;gap:12px;padding-top:24px;border-top:1px solid #e0e8e1;margin-top:24px}.flow-apply>.btn{min-width:112px}.automation-flow fieldset{min-width:0;border:0;padding:0;margin:0}.flow-conflicts label,.flow-check{display:block;padding:12px 0;line-height:1.7}.flow-conflicts input,.flow-check input{width:18px;height:18px;vertical-align:middle;margin-right:8px}.flow-evidence blockquote{margin:8px 0 16px;border-left:2px solid #b6c5b9;padding-left:12px;white-space:pre-wrap;color:#526257}.flow-evidence ol{padding-left:20px}.flow-evidence li{padding-top:8px}.flow-choices{padding-top:16px}.flow-created li>div{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.flow-page .page-head{align-items:flex-start}.flow-page .page-head p{max-width:650px}.flow-review-files span:first-child{min-width:0}.flow-review-files a{flex:none}#flow-start-form textarea{min-height:120px;max-height:280px}#flow-start-form [type=file]{max-width:100%}#flow-preview-form .error{white-space:pre-wrap;margin-top:16px}.flow-page .field input,.flow-page .field select,.flow-page .field textarea{max-width:100%;min-width:0}.flow-page .form-grid>*{min-width:0}
@media(max-width:640px){.automation-flow{--flow-gap:16px}.flow-home{padding:20px 0}.flow-heading{align-items:flex-start;gap:12px}.flow-heading h2{font-size:18px}.flow-heading .btn{min-width:88px}.flow-workspace{padding:18px 16px;border-radius:10px}.flow-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.flow-lines .form-grid{grid-template-columns:1fr}.flow-apply{justify-content:stretch;gap:10px;position:sticky;bottom:0;background:#fff;padding:16px 0 8px;z-index:1}.flow-apply>.btn{flex:1;min-width:0;min-height:44px}.flow-recent a,.flow-created li,.flow-review-files li{gap:12px}.flow-created li{align-items:flex-start;flex-direction:column}.flow-created li>div{justify-content:flex-start;width:100%}.flow-created .btn{flex:1}.flow-outputs li{align-items:flex-start}.flow-outputs li>span:last-child{max-width:43%}.flow-status{font-size:12px}.flow-page .page-head{gap:12px}.flow-page .page-head h1{font-size:23px}.flow-page .page-head>.btn{flex:none}.flow-check{font-size:14px}.flow-review-files .btn{min-width:72px}}
.flow-item-preview{margin-top:20px;border-top:1px solid #e0e8e1}.flow-item-preview h3{font-size:15px;margin:16px 0 4px}.flow-item-list{list-style:none;padding:0;margin:0}.flow-item-list>li{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,1fr);gap:20px;align-items:center;padding:14px 0;border-bottom:1px solid #e8eee9}.flow-item-name{min-width:0}.flow-item-name strong{font-size:14px;font-weight:600}.flow-item-numbers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;min-width:0}.flow-item-numbers:has(.flow-item-amount){grid-template-columns:repeat(3,minmax(0,1fr))}.flow-item-numbers>div{min-width:0}.flow-item-numbers dt{font-size:12px;color:#687a70}.flow-item-numbers dd{margin:5px 0 0;font-size:14px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.flow-item-total{display:flex;justify-content:space-between;gap:16px;padding:12px 0;margin:0;font-size:13px}.flow-item-total>span{color:#65766c}.flow-item-total strong{font-variant-numeric:tabular-nums}.flow-other-fields{margin-top:12px;border-top:1px solid #e5ece6}@media(max-width:640px){.flow-item-list>li{grid-template-columns:1fr;gap:12px;padding:14px 0}.flow-item-numbers,.flow-item-numbers:has(.flow-item-amount){grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}.flow-item-amount{grid-column:1/-1}.flow-item-name strong{line-height:1.6}}
.flow-supplement{display:flex;align-items:center;gap:14px;margin:16px 0}.flow-supplement .btn{flex:none;min-width:96px}.flow-supplement p{font-size:13px;line-height:1.7;color:#65766c;margin:0}.flow-source-direction{font-size:14px!important;line-height:1.8!important;margin:0 0 18px!important}@media(max-width:640px){.flow-supplement{align-items:flex-start;gap:12px}.flow-supplement .btn{min-width:88px}}
.flow-original-preparation{margin-top:20px;border-top:1px solid #e0e8e1}.flow-original-preparation>.flow-fine{margin:8px 0 16px}
.flow-batch-options{margin-bottom:20px;border-bottom:1px solid #e0e8e1}.flow-batch-options>.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding-bottom:16px}.flow-created li>span{min-width:0}@media(max-width:640px){.flow-batch-options>.form-grid{grid-template-columns:1fr}}
