.futures-auto{padding:20px 0;color:var(--lab-text)}
.futures-runtime{border-left:4px solid #728093;padding:12px 16px;margin:0 0 18px;background:#edf1f5;color:#28384a}
.futures-runtime[data-tone=running]{border-color:#208149;background:#e7f4ec;color:#175c38}
.futures-runtime[data-tone=pending]{border-color:#a87308;background:#fff6dc;color:#6f4c07}
.futures-runtime[data-tone=error]{border-color:#b52c46;background:#fbe9ec;color:#902032}
.futures-runtime .futures-status{margin:0 0 5px;font-size:16px;line-height:1.4}
.futures-runtime-detail{margin:4px 0;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.futures-auto h3{font-size:16px;margin:12px 0}.futures-auto label{display:flex;flex-direction:column;gap:7px;font-size:13px;min-width:0}
.futures-auto input{box-sizing:border-box;width:100%;min-width:0;background:#fff;color:#202b3d;border:1px solid #a5b4c6;border-radius:4px;padding:10px;min-height:40px}
.futures-auto input:focus{outline:2px solid #147f88;outline-offset:1px}
.futures-keys{display:grid;grid-template-columns:repeat(2,minmax(150px,1fr)) auto;gap:12px;align-items:end;max-width:950px}
.futures-settings{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin:20px 0;padding-bottom:20px;border-bottom:1px solid var(--lab-line)}
.futures-settings label{width:160px}.futures-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.futures-meta{display:flex;gap:18px;flex-wrap:wrap;align-items:baseline;padding:14px 0}.futures-meta strong{font-variant-numeric:tabular-nums}
.futures-alert{color:#a5263c;margin:12px 0;overflow-wrap:anywhere}.futures-note{color:#465b70;font-size:13px;line-height:1.5;margin:12px 0}
.futures-table-wrap{overflow-x:auto}.futures-table{width:100%;border-collapse:collapse;font-size:13px}.futures-table th,.futures-table td{padding:12px 10px;border-bottom:1px solid var(--lab-line);text-align:left;white-space:nowrap}.futures-table th{color:#42536a;font-weight:600}
.futures-table tr.profit{background:#e7f4ec;color:#175c38}.futures-table tr.loss{background:#fbe9ec;color:#902032}.futures-table tr.neutral{color:var(--lab-text)}
.futures-auto .button:disabled{opacity:.6}.futures-auto details>summary{cursor:pointer;padding:10px 0;font-weight:600}.futures-status{min-height:24px;font-weight:600}.futures-signal{display:flex;gap:12px;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid var(--lab-line)}
.futures-table thead{background:#dee6ee}.futures-table th{color:#28384a;font-size:12px}.futures-auto .button{background:#fff;color:#28384a;border:1px solid #b8c3d1;border-radius:4px}.futures-auto .button.accent{background:#c51364;color:#fff;border-color:#c51364}.futures-auto .button.danger{background:#fff1f2;color:#9e2639;border-color:#e1a9b3}.futures-auto .button:hover:not(:disabled){filter:brightness(.96)}
@media(max-width:640px){.automation-modes{flex-wrap:wrap;width:100%;box-sizing:border-box}.automation-modes button{flex:1 1 120px}.futures-keys{grid-template-columns:1fr}.futures-settings label{flex:1 1 120px}.futures-settings .futures-actions{width:100%}.futures-auto .button{white-space:normal}.futures-table th,.futures-table td{padding:10px 8px}}
