.mdd58-executor-selector{display:inline-flex;flex-direction:column;flex:0 0 auto;align-items:flex-start;gap:2px;margin-inline-start:auto;color:#0759bf;font:12px/1.4 Arial,sans-serif;position:relative;z-index:100}.mdd58-executor-selector[hidden]{display:none!important}.mdd58-executor-line{display:flex;align-items:center;gap:7px}.mdd58-executor-label{font-size:11px;font-weight:600;color:#6380a3}.mdd58-executor-options{display:inline-flex;border:1px solid #bfd4ef;border-radius:7px;background:#fff;overflow:hidden}.mdd58-executor-options button{appearance:none;border:0;border-radius:0;background:#fff;color:#0759bf;padding:6px 9px;margin:0;font:12px/1.3 Arial,sans-serif;min-height:28px;cursor:pointer;white-space:nowrap}.mdd58-executor-options button+button{border-left:1px solid #d9e5f5}.mdd58-executor-options button[aria-pressed=true]{background:#0759bf;color:#fff;font-weight:600}.mdd58-executor-options button:hover:not(:disabled):not([aria-pressed=true]){background:#edf4ff}.mdd58-executor-options button:disabled{opacity:.6;cursor:default}.mdd58-executor-options button:focus-visible,.mdd58-executor-help summary:focus-visible,.mdd58-executor-help-panel button:focus-visible{outline:2px solid #467fc5;outline-offset:-3px}.mdd58-executor-status{font-size:10px;color:#6c819b;line-height:1.3;max-width:210px}.mdd58-executor-selector[data-phase=error] .mdd58-executor-status{color:#976321}.mdd58-executor-help{position:relative;display:block}.mdd58-executor-help>summary{display:flex;align-items:center;justify-content:center;border:1px solid #cbdcf1;border-radius:50%;list-style:none;width:18px;height:18px;padding:0;color:#6a84a6;background:#fff;font:bold 11px/1 Arial,sans-serif;cursor:pointer}.mdd58-executor-help>summary::-webkit-details-marker{display:none}.mdd58-executor-help-panel{position:absolute;right:0;top:calc(100% + 12px);width:min(310px,calc(100vw - 28px));padding:14px 16px;background:#fff;border:1px solid #c9d9ee;border-radius:9px;box-shadow:0 8px 24px #1c3e6724;color:#4e698b;font:12px/1.5 Arial,sans-serif;z-index:10001}.mdd58-executor-help-panel strong{font-size:13px;color:#244c7d}.mdd58-executor-help-panel p{margin:9px 0}.mdd58-executor-help-panel button{appearance:none;border:1px solid #bfd4ef;border-radius:6px;background:#f6f9ff;color:#0759bf;padding:6px 10px;font:12px Arial,sans-serif;cursor:pointer}.mdd58-executor-help-panel button:hover{background:#edf4ff}[data-mdd58-executor-host=main],[data-mdd58-executor-host=navigator],[data-mdd58-executor-host=models]{flex-wrap:wrap;row-gap:9px}[data-mdd58-executor-host=navigator]>.mdd58-executor-selector{margin-inline-start:auto}[data-mdd58-executor-host=models]>.mdd58-executor-selector{margin-inline-start:auto}[data-mdd58-executor-host=models]>#back{margin-inline-start:14px}@media(max-width:680px){.mdd58-executor-selector{margin-inline-start:0}.mdd58-executor-options button{padding:6px 8px}.mdd58-executor-status{max-width:195px}[data-mdd58-executor-host=navigator]>.mdd58-executor-selector{margin-inline-start:0}[data-mdd58-executor-host=models]>.mdd58-executor-selector{margin-inline-start:0}[data-mdd58-executor-host=models]>#back{margin-inline-start:auto}.mdd58-executor-help-panel{right:-8px}}@media print{.mdd58-executor-selector{display:none!important}}

/* Admin policy and readonly status */
.mdd58-executor-options[hidden],.mdd58-executor-readonly[hidden]{display:none!important}.mdd58-executor-readonly{display:inline-flex;align-items:center;border:1px solid #cbdcf1;border-radius:7px;padding:6px 9px;background:#f6f9ff;color:#244c7d;font-size:12px;font-weight:600}.mdd58-executor-selector[data-readonly=true] .mdd58-executor-status{max-width:280px}.mdd58-executor-status{max-width:320px}@media(max-width:680px){.mdd58-executor-options{flex-wrap:wrap;max-width:calc(100vw - 95px)}.mdd58-executor-options button{white-space:normal;flex:1 1 auto}.mdd58-executor-readonly{max-width:calc(100vw - 95px)}}

/* Administrator central executor ON/OFF */
.mdd58-executor-line{flex-wrap:wrap}.mdd58-executor-power{appearance:none;border:1px solid #bfd4ef;border-radius:7px;background:#fff;color:#244c7d;padding:6px 10px;margin:0;font:600 12px/1.3 Arial,sans-serif;min-height:28px;white-space:nowrap;cursor:pointer}.mdd58-executor-power[aria-checked=true]{background:#0759bf;color:#fff;border-color:#0759bf}.mdd58-executor-power:focus-visible{outline:2px solid #467fc5;outline-offset:2px}.mdd58-executor-power:disabled{opacity:.6;cursor:default}.mdd58-executor-power[hidden]{display:none!important}

/* Shared connection readback in every operational module header. */
.mdd58-executor-status{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;min-height:30px;box-sizing:border-box;border:1px solid #dbe5ef;border-radius:7px;background:#f6f8fb;color:#455d78;font:12px/1.35 Arial,sans-serif;max-width:330px;text-align:left}
.mdd58-executor-lamp{display:inline-block;flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:#94a3b8}
.mdd58-executor-status[data-connection=ready]{background:#f0faf5;border-color:#c9e8d7;color:#235c42}.mdd58-executor-status[data-connection=ready] .mdd58-executor-lamp{background:#22965c}
.mdd58-executor-status[data-connection=offline]{background:#fff8ec;border-color:#eddfc4;color:#79571c}.mdd58-executor-status[data-connection=offline] .mdd58-executor-lamp{background:#be810d}
.mdd58-executor-status[data-connection=disabled] .mdd58-executor-lamp{background:#718096}
.header-right:has(#mdd58-executor-selector) #mdd58-central-connection-widget{display:none!important}
.app-header .header-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px}.app-header .mdd58-executor-selector{margin-inline-start:0}.panel-header .mdd58-executor-selector{margin-inline-start:auto}
[data-mdd58-executor-host=external],[data-mdd58-executor-host=converter],[data-mdd58-executor-host=spaceplan]{flex-wrap:wrap;row-gap:8px}
/* The hidden compatibility field receives the server-selected provider; users do not choose a module-local executor. */
#model-assist-provider,label:has(#model-assist-provider){display:none!important}
@media(max-width:680px){.mdd58-executor-status{max-width:100%;font-size:11px}.app-header .header-actions{width:100%;justify-content:flex-start}.app-header .mdd58-executor-selector{max-width:100%;flex-wrap:wrap}}
/* Header-only shell for modules retaining their own workspace layout. */
html:not([data-mdd-ux58="1"]) [data-mdd-ui-shell58] .mdd58-executor-selector:not([hidden]){display:contents}
html:not([data-mdd-ux58="1"]) [data-mdd-ui-shell58] .mdd58-executor-status{order:1}
html:not([data-mdd-ux58="1"]) [data-mdd-ui-shell58] .mdd-ui-shell58-overflow{display:block;position:relative;flex:none;order:10;z-index:120}
html:not([data-mdd-ux58="1"]) [data-mdd-ui-shell58] .mdd-ui-shell58-toggle{display:flex;align-items:center;justify-content:center;width:38px;min-height:38px;border:1px solid #cbdcf1;border-radius:7px;background:#fff;color:#0759bf;font:600 23px/28px Arial,sans-serif;cursor:pointer}
html:not([data-mdd-ux58="1"]) [data-mdd-ui-shell58] .mdd-ui-shell58-menu:not([hidden]){display:flex;flex-direction:column;gap:12px;position:absolute;right:0;top:calc(100% + 8px);width:min(420px,calc(100vw - 32px));max-height:65dvh;overflow:auto;box-sizing:border-box;padding:16px;background:#fff;border:1px solid #ccdcf0;border-radius:10px;box-shadow:0 14px 38px #15355024;color:#244c7d;font:13px/1.5 Arial,sans-serif}
html:not([data-mdd-ux58="1"]) [data-mdd-ui-shell58] .mdd-ui-shell58-menu .mdd58-executor-line{display:flex;flex-wrap:wrap;gap:10px}
html:not([data-mdd-ux58="1"]) [data-mdd-ui-shell58] .mdd-ui-shell58-menu .mdd58-executor-label{flex-basis:100%}
html:not([data-mdd-ux58="1"]) [data-mdd-ui-shell58] .mdd-ui-shell58-menu .mdd58-executor-options:not([hidden]){display:flex;flex-wrap:wrap;width:100%}
html:not([data-mdd-ux58="1"]) [data-mdd-ui-shell58] .mdd-ui-shell58-menu .mdd58-executor-options button{flex:1 1 45%;min-width:0}
html:not([data-mdd-ux58="1"]) [data-mdd-ui-shell58] .mdd-ui-shell58-menu .mdd58-executor-help-panel{position:static;width:auto;margin-top:10px;box-shadow:none}
[data-mdd-ui-shell58] .mdd-ui-shell58-menu[hidden],[data-mdd-ui-shell58] .mdd-ui-shell58-menu [hidden]{display:none!important}

/* Keep native selected state visible under shared header controls (20261105). */
#mdd58-executor-selector .mdd58-executor-options button[aria-pressed="true"],
#mdd58-executor-selector .mdd58-executor-power[aria-checked="true"]{background:#0759bf;color:#fff;border-color:#0759bf;font-weight:600}
