/* Independent MT5-derived SMT markers; chart canvas never captures gestures. */
.workspace .chart > #smtOverlayCanvas{position:absolute;inset:0;z-index:4;pointer-events:none}
.workspace .chart-view-controls .smt-menu{position:relative;z-index:55;flex:0 0 auto}
.workspace .smt-menu summary{list-style:none;cursor:pointer;white-space:nowrap;border:1px solid var(--border,#43505c);border-radius:6px;padding:6px 9px;font-weight:700;min-height:31px;display:flex;align-items:center;gap:7px;background:var(--panel,#162536);color:var(--text,#e3edf3)}
.workspace .smt-menu summary::-webkit-details-marker{display:none}
.workspace .smt-menu summary small{font-size:10px;font-weight:500;min-width:18px;text-align:center;opacity:.8}
.workspace .smt-menu-body{position:absolute;right:0;top:calc(100% + 5px);width:min(330px,calc(100vw - 32px));max-height:70vh;overflow:auto;z-index:75;border:1px solid var(--border,#394a60);border-radius:10px;padding:13px;background:var(--panel,#142436);box-shadow:0 7px 18px #0005;color:var(--text,#eaf0f6);font-size:12px;white-space:normal}
.workspace .smt-menu-body>strong{font-size:13px}
.workspace .smt-menu-body p{margin:6px 0 9px;line-height:1.45}
.workspace .smt-switches{border:0;padding:4px 0 8px;margin:0;display:flex;flex-wrap:wrap;gap:7px 10px}
.workspace .smt-switches legend{font-weight:600;margin-bottom:5px}
.workspace .smt-switches label{display:flex;align-items:center;gap:5px;white-space:nowrap;cursor:pointer;min-height:31px}
.workspace .smt-switches input{width:17px;height:17px;accent-color:#31a5bd}
.workspace .smt-actions{display:flex;gap:8px}
.workspace .smt-actions button{border:1px solid var(--border,#4b5f70);padding:6px 10px;border-radius:6px;background:transparent;color:inherit;cursor:pointer}
.workspace #smtStatus{font-weight:600}
.workspace .smt-hint{opacity:.8}
.workspace #smtDetail{border-top:1px solid var(--border,#455365);padding-top:9px;overflow-wrap:anywhere}
