/* Uses the existing project palette and native form/navigation conventions. */
.enterprise-flow{margin:24px 0;padding:24px;background:var(--flow-paper,#f7f3ec);color:var(--flow-ink,#282923);border:1px solid var(--flow-line,#dcd7cb);border-radius:5px;min-width:0;overflow-wrap:anywhere}
.enterprise-flow h2,.enterprise-flow h3,.enterprise-flow h4{font-family:var(--display);color:inherit}.enterprise-flow h2{font-size:26px;margin:4px 0 12px}.enterprise-flow h3{font-size:20px}.enterprise-flow p{line-height:1.6;max-width:85ch;white-space:pre-wrap}.enterprise-header{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:20px}.enterprise-progress{display:flex;flex-direction:column;gap:5px;min-width:180px;font-size:12px}.enterprise-progress strong{font-size:24px}.enterprise-progress progress{width:100%;height:9px;accent-color:var(--flow-accent,#984529)}.enterprise-caption{font-size:11px;color:var(--flow-muted,#69675d)}.enterprise-progress small,.enterprise-card-summary small{font-size:11px;line-height:1.5;color:var(--flow-muted,#69675d)}.enterprise-card-summary{margin-top:8px;display:flex;flex-direction:column;gap:7px}.enterprise-card-summary .enterprise-progress strong{font-size:20px}.enterprise-card-summary p{margin:0;font-size:13px;line-height:1.5}
.enterprise-flows{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.enterprise-flows button{flex:1 1 150px;display:flex;flex-direction:column;align-items:flex-start;text-align:left;line-height:1.5}.enterprise-flows button[aria-pressed=true]{border:2px solid var(--flow-accent,#984529);background:var(--flow-tint,#f3e3d6)}.enterprise-flows button small{font-size:11px}.enterprise-focus{padding:18px;border-left:4px solid var(--flow-accent,#984529);background:var(--flow-surface,#fffcf7);margin-bottom:18px}.enterprise-focus h3{margin-top:0}.enterprise-stages{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:10px;align-items:start}.enterprise-stage{border:1px solid var(--flow-line,#dcd7cb);background:var(--flow-surface,#fffcf7);border-radius:4px;min-width:0}.enterprise-stage.is-current{border:2px solid var(--flow-accent,#984529)}.enterprise-stage.is-drop-target{outline:3px dashed var(--flow-accent,#984529);outline-offset:3px}.enterprise-stage summary{min-height:48px;padding:12px;cursor:pointer}.enterprise-stage summary strong{font-size:14px}.enterprise-stage summary span{display:block;font-size:12px;margin-top:6px;color:var(--flow-muted,#69675d)}.enterprise-stage-purpose{padding:0 12px;font-size:13px}.enterprise-processes{display:grid;padding:0 10px 10px;gap:8px}.enterprise-process{font-size:13px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-height:48px}.enterprise-process span,.enterprise-process small{font-size:11px;line-height:1.5}.enterprise-drag{margin:0 12px 12px;min-height:44px}
.enterprise-editor:not(:empty){padding:22px;margin-top:22px;border:1px solid var(--flow-line,#dcd7cb);background:var(--flow-surface,#fffcf7);border-radius:4px;scroll-margin-top:20px}.enterprise-editor h3{margin:6px 0}.enterprise-status{font-size:13px;color:var(--flow-accent,#984529)}.enterprise-help{border-block:1px solid var(--flow-line,#dcd7cb);margin:15px 0;padding-bottom:10px}.enterprise-help summary{cursor:pointer;min-height:44px;padding:12px 0;font-weight:600;font-size:14px}.enterprise-help h4{margin:14px 0 4px}.enterprise-help p{font-size:13px;margin:0}.enterprise-editor form{display:grid;gap:20px}.enterprise-evidence-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:10px;align-items:end;padding:12px 0;border-bottom:1px solid var(--flow-line,#dcd7cb)}.enterprise-evidence-row button{margin-bottom:4px}.enterprise-gate{padding:16px;border:1px solid var(--flow-accent,#984529);border-radius:3px}.enterprise-editor-actions{display:flex;gap:10px;flex-wrap:wrap;padding-top:14px;border-top:1px solid var(--flow-line,#dcd7cb)}.enterprise-notice{padding:14px;margin:14px 0;border:1px solid var(--flow-line,#dcd7cb);background:var(--flow-surface,#fffcf7)}.enterprise-notice p{margin:0 0 8px}.enterprise-notice button{margin:4px 8px 4px 0}.enterprise-notice.error,.enterprise-field-error{color:var(--flow-accent,#984529)}.enterprise-notice.error{border-color:currentColor}.enterprise-field-error{font-weight:600}.enterprise-flow :is(button,input,textarea,select,summary):focus-visible{outline:3px solid var(--flow-accent,#984529);outline-offset:3px}.enterprise-flow [aria-invalid=true]{border:2px solid var(--flow-accent,#984529)}.enterprise-flow [hidden]{display:none!important}.enterprise-flow button:disabled{opacity:.6;cursor:not-allowed}.project-recent-work{font-size:12px;padding:12px 0;line-height:1.5}
html[data-theme=medium] :is(.enterprise-flow,.enterprise-card-summary){--flow-paper:#45423b;--flow-surface:#504c44;--flow-ink:#fffaf0;--flow-muted:#e0d8c9;--flow-line:#817767;--flow-accent:#ffc4a6;--flow-tint:#654735}html[data-theme=dark] :is(.enterprise-flow,.enterprise-card-summary){--flow-paper:#221f1c;--flow-surface:#2d2925;--flow-ink:#f4eee4;--flow-muted:#c6bdae;--flow-line:#5a5147;--flow-accent:#efaa87;--flow-tint:#493125}
@media(max-width:650px){.enterprise-flow{padding:16px}.enterprise-editor:not(:empty){padding:14px}.enterprise-evidence-row{grid-template-columns:minmax(0,1fr)}.enterprise-editor-actions button{width:100%}.enterprise-progress{width:100%}.enterprise-flow .field-grid{grid-template-columns:minmax(0,1fr)}}
@media(forced-colors:active){.enterprise-stage.is-current,.enterprise-flows button[aria-pressed=true]{border-color:Highlight}.enterprise-flow :is(button,input,textarea,select,summary):focus-visible{outline-color:Highlight}}

.enterprise-handoff-reference{display:grid;gap:10px;margin:16px 0;padding:14px;border:1px solid var(--flow-line,#dcd7cb)}
.enterprise-example{margin:16px 0;padding:16px 20px;border-left:3px solid var(--project-accent,#8c4a32);background:var(--project-surface,#f4f0e7);overflow-wrap:anywhere}
.enterprise-example h4{margin:0 0 8px}
.enterprise-example p{max-width:76ch;line-height:1.65}
.enterprise-example small{display:block;max-width:85ch;line-height:1.5;opacity:.85}
.enterprise-example summary{cursor:pointer;padding:10px 0;min-height:40px;font-size:13px}
@media(max-width:520px){.enterprise-example{padding:12px 14px}}
