/* Isolated workflow surfaces; no global financial or typography overrides. */
.project-workflow-ui{display:flex;flex-direction:column;gap:22px;min-width:0}.project-workflow-ui>.section-heading{margin:0}.workflow-panel{min-width:0;padding:20px;border:1px solid var(--line,#dbe3ed);border-radius:12px;background:var(--surface,#fff)}.workflow-panel>h3,.workflow-editor>h3{margin-bottom:14px}.workflow-panel>.button-group{margin-top:16px}.workflow-panel>.field{max-width:620px;margin-bottom:18px}
.workflow-help{font-size:12px;line-height:1.8;color:var(--muted,#475569);margin:14px 0;max-width:100ch}.workflow-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:16px 0;font-variant-numeric:tabular-nums}.workflow-metrics>div{min-width:0;padding:13px;border:1px solid var(--line,#dbe3ed);border-radius:8px;background:#f8fafc}.workflow-metrics dt{font-size:12px;color:var(--muted,#475569);line-height:1.6}.workflow-metrics dd{margin:8px 0 0;font-size:16px;font-weight:600;overflow-wrap:anywhere}.workflow-saved-list{padding-left:22px;line-height:1.9;font-size:13px}
.workflow-editor{margin-top:20px;border-top:1px solid var(--line,#dbe3ed);padding-top:20px;min-width:0}.workflow-editor .notice{margin:14px 0}.workflow-editor .button-group{margin:18px 0 12px}.workflow-editor .field-check{margin:18px 0;line-height:1.8}.workflow-editor input:not([type=checkbox]),.workflow-editor select{min-height:42px}.workflow-editor .error{white-space:pre-wrap;line-height:1.8;margin-top:16px}.workflow-edit-list{padding:0;list-style:none;display:flex;flex-direction:column;gap:14px;margin:16px 0}.workflow-edit-list>li{padding:16px;border:1px solid var(--line,#dbe3ed);border-radius:10px;background:#fafbfd}.workflow-edit-list .field-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));margin:0 0 12px}.workflow-edit-list input,.workflow-edit-list select{width:100%;min-width:0}.workflow-basis{margin:24px 0!important}
.workflow-preview{padding:16px;margin:18px 0;border:1px solid #bed1ea;border-radius:10px;background:#f4f8ff}.workflow-preview h4{margin:0 0 12px}.workflow-preview p{font-size:12px;line-height:1.8;margin-top:12px}.workflow-preview .workflow-metrics>div{background:var(--surface,#fff)}.workflow-operation{display:block;margin:14px 0 0;color:var(--muted,#475569);font-size:11px;line-height:1.7;overflow-wrap:anywhere}
.workflow-table-wrap{overflow:auto;max-width:100%;border:1px solid var(--line,#dbe3ed);border-radius:10px;margin:18px 0}.workflow-records{width:100%;min-width:640px;border-collapse:collapse;text-align:left;font-size:13px;font-variant-numeric:tabular-nums}.workflow-records caption{text-align:left;padding:12px 14px;font-size:12px;color:var(--muted,#475569);line-height:1.8}.workflow-records th,.workflow-records td{padding:13px 14px;border-top:1px solid var(--line,#dbe3ed);vertical-align:top;line-height:1.7}.workflow-records thead th{background:#f8fafc;font-weight:550}.workflow-records small{display:block;color:var(--muted,#475569);font-size:11px;overflow-wrap:anywhere}.workflow-actuals{margin:16px 0}.workflow-actuals summary{cursor:pointer;min-height:38px;line-height:1.8}.workflow-actuals ul{padding-left:22px}.workflow-actuals li{padding:10px 0;line-height:1.8;overflow-wrap:anywhere}.workflow-actuals span,.workflow-actuals small{display:block}.workflow-actuals small{font-size:11px;color:var(--muted,#475569)}
.project-workflow-ui button:focus-visible,.project-workflow-ui summary:focus-visible,.workflow-editor button:focus-visible{outline:3px solid #78baff;outline-offset:3px}
@media(max-width:700px){.workflow-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.workflow-panel{padding:16px}.workflow-edit-list>li{padding:13px}}@media(max-width:400px){.workflow-metrics{grid-template-columns:1fr}.workflow-edit-list .field-grid{grid-template-columns:1fr}.workflow-panel .button-group>.button{white-space:normal;line-height:1.6}}
