.fx-overlay[hidden],.fx-overlay [hidden]{display:none!important}
.fx-overlay{position:fixed;inset:0;z-index:450;background:rgba(10,14,24,.52);display:flex;align-items:center;justify-content:center;padding:24px;color:var(--text);font-family:inherit}
.fx-panel{background:var(--bg);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow-lg);width:min(1200px,100%);max-height:calc(100dvh - 48px);display:flex;flex-direction:column;overflow:hidden}
.fx-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 28px;background:var(--bg-card);border-bottom:1px solid var(--border);flex-shrink:0}
.fx-header h2{font-size:24px;line-height:1.2;letter-spacing:-.04em;margin:4px 0 0;font-weight:800}
.fx-eyebrow{font-size:10px;letter-spacing:.12em;font-weight:700;color:var(--text-muted)}
.fx-content{padding:26px 28px;overflow:auto;overscroll-behavior:contain;min-height:200px}
.fx-footer{border-top:1px solid var(--border);background:var(--bg-card);padding:12px 28px;color:var(--text-muted);font-size:11px;flex-shrink:0}
.fx-error{margin:18px 28px 0;padding:12px 14px;border:1px solid var(--warn);background:var(--warn-soft);border-radius:var(--radius);color:var(--warn);display:flex;gap:12px;align-items:center;justify-content:space-between;flex-shrink:0}
.fx-error span{white-space:pre-wrap;overflow-wrap:anywhere}
.fx-intro,.fx-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:22px}
.fx-intro h3,.fx-section-heading h3,.fx-runs h3,.fx-summary h3{margin:0 0 6px;font-size:18px;font-weight:750;letter-spacing:-.025em}
.fx-intro p,.fx-section-heading p,.fx-muted{color:var(--text-muted);font-size:12px;margin:0;line-height:1.65}
.fx-filters{display:flex;align-items:flex-end;gap:18px;margin-bottom:18px;flex-wrap:wrap}
.fx-search{flex:1;min-width:200px;max-width:420px}
.fx-overlay label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:600;color:var(--text-soft);min-width:0}
.fx-overlay input:not([type=checkbox]),.fx-overlay textarea,.fx-overlay select{width:100%;background:var(--bg-card);color:var(--text);border:1px solid var(--border-strong);border-radius:var(--radius);padding:9px 10px;font:inherit;min-height:39px;transition:border-color var(--transition)}
.fx-overlay input:focus,.fx-overlay textarea:focus,.fx-overlay select:focus,.fx-overlay button:focus-visible{outline:2px solid var(--c-navy);outline-offset:2px}
.fx-overlay textarea{resize:vertical;line-height:1.6}
.fx-overlay select[multiple]{min-height:105px;padding:6px}
.fx-overlay select[multiple] option{padding:4px;border-radius:3px}
.fx-overlay label small{color:var(--text-muted);font-weight:400;font-size:11px;line-height:1.5}
.fx-overlay .fx-inline{display:flex;flex-direction:row;align-items:center;gap:8px;min-height:39px}
.fx-overlay input[type=checkbox]{width:16px;height:16px;accent-color:var(--c-green-d);flex-shrink:0}
.fx-modelos{display:grid;grid-template-columns:repeat(auto-fill,minmax(275px,1fr));gap:14px}
.fx-model{display:flex;flex-direction:column;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-lg);padding:20px;box-shadow:var(--shadow-sm)}
.fx-model-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.fx-model-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:10px;background:var(--c-green-soft);color:var(--c-green-d);font-size:25px;font-weight:600}
.fx-status{display:inline-flex;align-items:center;border:1px solid var(--border);border-radius:100px;padding:4px 10px;font-size:11px;font-weight:600;white-space:normal;background:var(--bg-soft);color:var(--text-soft)}
.fx-model h4{font-size:17px;letter-spacing:-.02em;margin:15px 0 7px;overflow-wrap:anywhere}
.fx-model p{font-size:12px;line-height:1.65;color:var(--text-muted);margin:0 0 22px;flex:1;overflow-wrap:anywhere}
.fx-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.fx-actions button{font-size:11px;padding:7px 11px}
.fx-runs{margin-top:32px;padding-top:24px;border-top:1px solid var(--border)}
.fx-run-list{display:flex;flex-direction:column;gap:8px;margin-top:15px}
.fx-run{display:flex;align-items:center;gap:15px;width:100%;text-align:left;border:1px solid var(--border);background:var(--bg-card);color:var(--text);border-radius:var(--radius);padding:14px 17px;font:inherit;cursor:pointer}
.fx-run:hover,.fx-task:hover{border-color:var(--c-green-d);background:var(--bg-soft)}
.fx-run>span:first-child{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0;overflow-wrap:anywhere}
.fx-run small{color:var(--text-muted);font-size:11px}
.fx-empty{grid-column:1/-1;padding:34px 18px;border:1px dashed var(--border-strong);border-radius:var(--radius);text-align:center;color:var(--text-muted);font-size:12px;line-height:1.65;background:var(--bg-card)}
.fx-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.fx-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px 20px}
.fx-definition{margin:17px 0 28px;padding:20px;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-lg)}
.fx-wide{grid-column:1/-1}
.fx-steps{display:flex;flex-direction:column;gap:18px}
.fx-step{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-lg);padding:20px;box-shadow:var(--shadow-sm)}
.fx-step-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:16px;border-bottom:1px solid var(--border);margin-bottom:18px}
.fx-step-header>div:first-child{display:flex;align-items:center;gap:10px;min-width:0;overflow-wrap:anywhere}
.fx-step-number{display:inline-grid;place-items:center;min-width:27px;height:27px;background:var(--c-navy-soft);color:var(--text-soft);border:1px solid var(--border);font-weight:700;border-radius:8px;font-size:12px;flex-shrink:0}
.fx-summary{margin-top:24px;padding:20px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--bg-card)}
.fx-connection{display:grid;grid-template-columns:minmax(100px,1fr) minmax(100px,1fr) 20px minmax(100px,1fr);align-items:center;gap:10px;border-top:1px solid var(--border);padding:12px 0;font-size:12px;overflow-wrap:anywhere}
.fx-connection:first-child{margin-top:14px}
.fx-connection-origin{font-size:11px;color:var(--text-muted)}
.fx-connection-arrow{color:var(--c-green-d);font-weight:800;font-size:20px}
.fx-start-summary{border-left:3px solid var(--c-green);padding:7px 15px;margin:18px 0 24px;background:var(--bg-card);font-size:12px;color:var(--text-soft)}
.fx-start-summary p{margin:8px 0;overflow-wrap:anywhere}
.fx-start-actions{margin:22px 0 12px}
.fx-notice{background:var(--amber-soft);color:var(--text-soft);border:1px solid var(--amber);border-radius:var(--radius);padding:12px;font-size:12px}
.fx-reopen-note{margin-bottom:18px}
.fx-execution-stages{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:14px}
.fx-execution-stage{padding:16px;border:1px solid var(--border);background:var(--bg-card);border-radius:var(--radius-lg)}
.fx-execution-stage>header{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.fx-execution-stage h4{margin:0;font-size:14px;flex:1;min-width:0;overflow-wrap:anywhere}
.fx-execution-stage>header .fx-status{font-size:10px}
.fx-task{display:flex;flex-direction:column;gap:5px;width:100%;text-align:left;border:1px solid var(--border);background:var(--bg-soft);color:var(--text);padding:12px;border-radius:var(--radius);margin-top:8px;cursor:pointer;font:inherit;overflow-wrap:anywhere}
.fx-task strong{font-size:12px}.fx-task span,.fx-task small{font-size:11px;color:var(--text-muted)}
.fx-overlay button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:700px){.fx-overlay{padding:0}.fx-panel{width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0}.fx-header{padding:16px 18px}.fx-content{padding:20px 16px}.fx-footer{padding:10px 16px}.fx-header h2{font-size:21px}.fx-error{margin:12px 16px 0;align-items:flex-start;flex-direction:column}.fx-grid{grid-template-columns:1fr}.fx-wide{grid-column:auto}.fx-intro,.fx-section-heading{flex-direction:column;gap:12px}.fx-modelos{grid-template-columns:1fr}.fx-definition,.fx-step,.fx-summary{padding:16px}.fx-step-header{align-items:flex-start;flex-direction:column}.fx-step-header .fx-actions{align-self:flex-end}.fx-connection{grid-template-columns:1fr 20px 1fr;gap:8px}.fx-connection-origin{grid-column:1/-1}.fx-run{padding:12px;gap:9px}.fx-run>.fx-status{font-size:10px;max-width:130px}.fx-execution-stages{grid-template-columns:1fr}.fx-toolbar>.fx-actions{width:100%}.fx-filters{gap:9px}.fx-search{max-width:none;width:100%}.fx-overlay select[multiple]{min-height:130px}}
