/* Execution is a separate overlay; position candles and wallet metrics remain authoritative. */
.execution-dock{flex:none;position:relative;z-index:11;border-top:1px solid #bacb9e28;background:linear-gradient(110deg,#0d1c14f5,#08110ef5);padding:14px 18px;min-width:0;color:#dfe8dc;text-align:left}
.execution-heading{display:flex;align-items:center;gap:12px;margin-bottom:10px;font:10px/1.4 var(--font-mono,monospace);letter-spacing:.09em;flex-wrap:wrap}
.execution-heading strong{color:#e5d5a0;font-weight:600}.execution-health{color:#a5b3a8;letter-spacing:0}.execution-health[data-live=true]::before{content:'● ';color:#00efa4}
.execution-heading button{margin-left:auto;background:none;border:1px solid #bdcb9f30;border-radius:5px;color:#d8d2b4;padding:6px 10px;font:inherit;cursor:pointer;letter-spacing:0}
.execution-events{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(140px,1fr);gap:8px;overflow-x:auto;padding:2px 1px 4px;scroll-snap-type:x proximity}
.execution-event{display:flex;flex-direction:column;gap:6px;min-width:0;text-align:left;padding:10px 12px;border:1px solid #9aab8c25;border-left:2px solid #758a7c;background:#1020178c;color:#b1c3b4;border-radius:6px;cursor:pointer;scroll-snap-align:start;font-family:var(--font-sans,sans-serif)}
.execution-event[data-phase=pending]{border-left-color:#e5cb7d}.execution-event[data-phase=confirmed]{border-left-color:#00efa4}.execution-event[aria-pressed=true]{border-color:#e5cb7d;background:#27301c}
.execution-event-state{font:10px/1.5 var(--font-mono,monospace);white-space:normal;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.execution-event-title{font-size:10px;color:#9eafa2;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%}.execution-empty{font:11px/1.6 var(--font-mono,monospace);color:#9aada0;margin:4px 0}
.execution-summary{max-height:180px;overflow:auto;display:flex;flex-wrap:wrap;gap:6px;padding:8px 0 12px}.execution-summary p{flex-basis:100%}.execution-summary button{font:11px/1.5 var(--font-mono,monospace);border:1px solid #9cac8d32;background:#112119;color:#b9cbbf;padding:7px 10px;border-radius:5px;text-align:left;cursor:pointer;max-width:100%;overflow-wrap:anywhere}
.execution-detail{position:absolute;z-index:14;right:20px;top:195px;width:min(340px,calc(100% - 40px));max-height:calc(100% - var(--execution-height,120px) - 240px);overflow:auto;overscroll-behavior:contain;border:1px solid #dac68a70;border-radius:12px;padding:18px;background:#0a1711f5;backdrop-filter:blur(20px);box-shadow:0 12px 44px #0008;text-align:left;color:#e4eadd;font:12px/1.65 var(--font-sans,sans-serif);overflow-wrap:anywhere}
.execution-detail-header{display:flex;align-items:start;gap:10px;justify-content:space-between}.execution-detail-title{font:500 15px/1.5 var(--font-sans,sans-serif);color:#e4d49f;margin:0}.execution-detail button{flex:none;min-height:32px;margin:0;padding:6px 9px;font-size:10px}.execution-detail p{margin:10px 0}.execution-detail-state{color:#e8d99e}.execution-detail-meta{font:10px/1.7 var(--font-mono,monospace);color:#9fb0a4}.execution-detail a{color:#7ce8b7;display:block;margin-top:8px}.execution-detail[hidden],.execution-summary[hidden]{display:none!important}
.center-stage .stage-control-dock{bottom:calc(var(--execution-height,0px) + 18px)}.center-stage .orbit-instructions{bottom:calc(var(--execution-height,0px) + 94px)}
.execution-dock button:focus-visible,.execution-detail button:focus-visible,.execution-detail a:focus-visible{outline:2px solid #ead69c;outline-offset:3px}
@media(max-width:760px){.execution-dock{padding:11px 12px}.execution-heading{font-size:9px;gap:6px}.execution-heading button{font-size:9px;padding:5px 7px}.execution-events{grid-auto-columns:156px}.execution-detail{left:12px;right:12px;top:auto;bottom:calc(var(--execution-height,130px) + 70px);width:auto;max-height:38%;padding:14px;border-radius:12px 12px 6px 6px}.center-stage .stage-control-dock{bottom:calc(var(--execution-height,0px) + 12px)}.center-stage .orbit-instructions{bottom:calc(var(--execution-height,0px) + 133px)}.execution-summary{max-height:120px}}

/* Execution lives directly under Expand view, in the right-hand HUD. */
.stage-tools .execution-dock{width:184.8px;max-width:calc(100vw - 48px);margin-top:8px;padding:12px;border:1px solid #bacb9e28;border-radius:10px;background:#0a1711ed;box-shadow:0 8px 26px #0004;backdrop-filter:blur(16px);pointer-events:auto}
.stage-tools .execution-heading{font-size:9px;gap:6px;margin-bottom:8px;letter-spacing:.04em}.stage-tools .execution-heading strong{flex:1}.stage-tools .execution-health{font-size:9px}.stage-tools .execution-heading button{margin:2px 0 0;width:100%;text-align:left;font-size:9px}
.stage-tools .execution-events{display:flex;flex-direction:column;max-height:270px;overflow-y:auto;overflow-x:hidden;gap:6px;padding-bottom:0}.stage-tools .execution-event{flex:none;width:100%;padding:8px 10px;min-height:48px}.stage-tools .execution-event-state{font-size:9px}.stage-tools .execution-event-title{font-size:10px}.stage-tools .execution-empty{font-size:10px;max-width:none;margin:0}.stage-tools .execution-summary{max-height:150px;padding-bottom:8px}.stage-tools .execution-summary p{max-width:none;margin:0}
.execution-detail{right:240px;top:120px;max-height:calc(100% - 230px)}
@media(max-width:1100px) and (min-width:761px){.stage-tools .execution-dock{width:154px}.execution-detail{right:208px;max-width:calc(100% - 300px)}}
@media(max-width:760px){.stage-tools .execution-dock{width:121.8px;max-width:calc(100vw - 40px);padding:9px;margin-top:6px}.stage-tools .execution-heading{font-size:8px;gap:4px}.stage-tools .execution-health{font-size:8px}.stage-tools .execution-events{max-height:180px}.stage-tools .execution-event{padding:7px;min-height:43px}.stage-tools .execution-event-state{font-size:8px}.stage-tools .execution-event-title{font-size:9px}.execution-detail{right:12px;left:12px;top:auto;bottom:82px;max-width:none;max-height:38%}}

/* Transparent execution feed; grouped activity belongs beneath the full log. */
.stage-tools .execution-dock{background:transparent;backdrop-filter:none;box-shadow:none;border-color:transparent;padding:8px 0}
.stage-tools .execution-events,.stage-tools .execution-event,.stage-tools .execution-event[aria-pressed=true]{background:transparent}
.stage-tools .execution-events{scrollbar-width:none;-ms-overflow-style:none}
.stage-tools .execution-events::-webkit-scrollbar{width:0;height:0;background:transparent}
.stage-tools .execution-events::-webkit-scrollbar-track,.stage-tools .execution-events::-webkit-scrollbar-thumb{background:transparent}
.execution-summary-section{margin-top:12px;padding-top:10px;border-top:1px solid #9aab8c25;min-width:0}.execution-summary-section[hidden]{display:none!important}.execution-summary-section .execution-expand{cursor:pointer}.execution-summary-section .execution-summary{max-height:260px;margin-top:8px}

.stage-tools .execution-heading strong{flex:0 0 100%;white-space:nowrap}.stage-tools .execution-health{flex-basis:100%}

/* Activity totals occupy the orbit HUD; recent execution cards follow the full log. */
.stage-tools .execution-summary{display:flex;flex-direction:column;flex-wrap:nowrap;max-height:270px;overflow-y:auto;overflow-x:hidden;padding:2px 0;gap:6px;scrollbar-width:none;background:transparent}
.stage-tools .execution-summary::-webkit-scrollbar{width:0;height:0;background:transparent}
.stage-tools .execution-summary p{flex-basis:auto;font-size:10px}
.stage-tools .execution-summary button{flex:none;width:100%;padding:8px 10px;background:transparent;font-size:9px;line-height:1.6}
.execution-summary-section .execution-events{margin-top:8px;max-width:100%}
.execution-events[hidden]{display:none!important}
@media(max-width:760px){.stage-tools .execution-summary{max-height:180px}.stage-tools .execution-summary button{padding:7px;font-size:8px}.stage-tools .execution-summary p{font-size:9px}}

/* Market-first activity stream: real events by default, diagnostics on demand. */
.stage-tools .execution-summary{max-height:350px;gap:10px;overscroll-behavior:contain}
.stage-tools .execution-summary .execution-activity-tabs{display:flex;gap:12px;position:sticky;top:0;padding:0 0 5px}
.premium-radar .stage-tools .execution-summary .execution-activity-tabs button,.stage-tools .execution-summary .execution-activity-tabs button{width:auto;padding:3px 0;border:0;color:#7e9586;font:9px/1.5 var(--font-mono,monospace)}
.stage-tools .execution-summary .execution-activity-tabs button[aria-pressed=true]{color:#e5d5a0;box-shadow:0 1px #c7b779}
.premium-radar .stage-tools .execution-summary .execution-activity-card,.stage-tools .execution-summary .execution-activity-card{display:flex;flex-direction:column;gap:5px;padding:10px 0 10px 11px;text-align:left;border:0;border-left:1px solid #9aab8c40;border-radius:0;background:transparent;white-space:normal;overflow-wrap:anywhere}
.stage-tools .execution-activity-title{font:500 11px/1.5 var(--font-sans,sans-serif);color:#d0daca}
.stage-tools .execution-activity-meta,.stage-tools .execution-activity-size{font:9px/1.6 var(--font-mono,monospace);color:#8ba493}
.stage-tools .execution-activity-result{font:9px/1.6 var(--font-mono,monospace);color:#9aaf9e}
.stage-tools .execution-summary .execution-activity-card[data-phase=confirmed]{border-left-color:#00d995}.stage-tools .execution-activity-card[data-phase=confirmed] .execution-activity-result{color:#00e9a1}
.stage-tools .execution-summary .execution-activity-card[data-phase=pending]{border-left-color:#d7bc77}.stage-tools .execution-activity-card[data-phase=pending] .execution-activity-result{color:#d7bc77}
.stage-tools .execution-summary .execution-activity-card[aria-pressed=true]{border-left-color:#e5d5a0}
@media(max-width:760px){.stage-tools .execution-summary{max-height:230px}.stage-tools .execution-activity-title{font-size:10px}}
