/* My Tuner v591: fixed 3D surface display, Enter axis focus, strategy designer */
@media(min-width:701px){
 body.mrs-desktop[data-mrs-view="maps"] #mapList #mrsV587MapActions{
  display:flex!important;align-items:stretch!important;gap:7px!important;min-height:40px!important;
 }
 body.mrs-desktop[data-mrs-view="maps"] #mapList #mrsV587MapActions>button{
  flex:1 1 33.333%!important;max-width:none!important;min-width:0!important;
  font-size:10px!important;padding:6px 9px!important;line-height:1.25!important;
 }
 body.mrs-desktop[data-mrs-view="maps"] #mapList #mrsV587MapActions #mrsV591Learn{
  background:linear-gradient(105deg,#49311b,#251a28)!important;
  border-color:#caa05b!important;color:#ffebc0!important;
 }
 #mrsMapWindowsV565 canvas.mrs-mdi-canvas,
 #mrsMapVersionCompareV559 canvas.mvc578-canvas,
 #mapCanvas{background:#09111c!important;opacity:1!important;background-color:#09111c!important}
 #mrsMapWindowsV565 .mrs-mdi-matrix th.mrs-v591-axis-chosen{
  outline:2px solid #ffe17e!important;outline-offset:-3px!important;
  box-shadow:inset 0 0 0 2px #192b3d!important;
 }
}
#mrsStrategyV591[hidden]{display:none!important}
#mrsStrategyV591{
 position:fixed!important;inset:0!important;z-index:2147482601!important;
 padding:12px!important;box-sizing:border-box!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 background:rgba(4,9,16,.92)!important;
 font:12px/1.4 "Segoe UI",Arial,sans-serif!important;color:#eef4fb!important;
}
#mrsStrategyV591 *{box-sizing:border-box!important}
#mrsStrategyV591 .mstr591-shell{
 display:flex!important;flex-direction:column!important;width:min(1190px,99vw)!important;
 max-height:96dvh!important;background:#0f1925!important;overflow:hidden!important;
 border:1px solid #4e7184!important;border-radius:12px!important;
 box-shadow:0 24px 85px #000d!important;
}
#mrsStrategyV591 header{
 display:flex!important;gap:18px!important;align-items:center!important;
 justify-content:space-between!important;padding:15px 19px!important;
 background:linear-gradient(110deg,#1f2134,#151e2b)!important;
 border-bottom:2px solid #c3425b!important;
}
#mrsStrategyV591 header h2{font-size:19px!important;margin:2px 0 4px!important;color:white!important}
#mrsStrategyV591 header small{color:#89dbea!important;font-weight:850!important;letter-spacing:.1em!important}
#mrsStrategyV591 header p{margin:0!important;font-size:11px!important;color:#cbd9e7!important}
#mrsStrategyV591 button{
 font:750 11px/1.35 "Segoe UI",Arial,sans-serif!important;
 cursor:pointer!important;padding:8px 12px!important;min-height:33px!important;
 border:1px solid #4d7791!important;border-radius:6px!important;
 background:#172b3b!important;color:#e8f5ff!important;
}
#mrsStrategyV591 button:hover{background:#1d4a64!important}
#mrsStrategyV591 button:disabled{opacity:.36!important;cursor:not-allowed!important}
#mrsStrategyV591 nav{display:flex!important;gap:8px!important;padding:9px 17px!important;border-bottom:1px solid #3b4d5e!important;background:#121f2d!important}
#mrsStrategyV591 nav button.active{background:#812d46!important;border-color:#dc6580!important;color:#fff!important}
#mrsStrategyV591 main{padding:16px 18px!important;overflow:auto!important;min-height:0!important}
#mrsStrategyV591 section[hidden],#mrsStrategyV591 div[hidden]{display:none!important}
#mrsStrategyV591 .mstr591-files{
 display:grid!important;grid-template-columns:1fr 1fr 1.15fr!important;gap:10px!important;
}
#mrsStrategyV591 label{display:flex!important;flex-direction:column!important;gap:6px!important;font-weight:800!important;color:#d9e6f6!important}
#mrsStrategyV591 input[type=file],#mrsStrategyV591 input[type=text],#mrsStrategyV591 select{
 width:100%!important;min-width:0!important;max-width:none!important;
 padding:8px!important;min-height:36px!important;border:1px solid #587089!important;
 background:#081521!important;color:#f6fbff!important;border-radius:5px!important;
 font:600 11px "Segoe UI",Arial,sans-serif!important;
}
#mrsStrategyV591 .mstr591-action{
 display:flex!important;align-items:center!important;flex-wrap:wrap!important;
 gap:12px!important;margin:13px 0!important;
}
#mrsStrategyV591 .mstr591-action>button,#mrsStrategyV591 footer>button{
 background:#8d3048!important;border-color:#d95a76!important;
}
#mrsStrategyV591 #mstr591Status{color:#e7d299!important}
#mrsStrategyV591 h3{margin:6px 0 9px!important;font-size:15px!important;color:#f2f7fb!important}
#mrsStrategyV591 #mstr591List{
 display:grid!important;gap:5px!important;max-height:175px!important;
 overflow-y:auto!important;padding:6px!important;background:#0a1420!important;
}
#mrsStrategyV591 .mstr591-item{
 display:flex!important;align-items:center!important;gap:9px!important;
 padding:5px 8px!important;border:1px solid #263b4d!important;
 border-radius:5px!important;min-width:0!important;
}
#mrsStrategyV591 .mstr591-item span{flex:1 1 auto!important;min-width:0!important;overflow-wrap:anywhere!important;color:#ccdce9!important}
#mrsStrategyV591 .mstr591-item input{accent-color:#ffcf83!important;width:17px!important;height:17px!important}
#mrsStrategyV591 #mstr591Detail{
 margin-top:12px!important;background:#101e2c!important;border:1px solid #4c667b!important;
 border-radius:8px!important;padding:10px!important;
}
#mrsStrategyV591 .mstr591-detail-head h3{color:#f3fbff!important}
#mrsStrategyV591 .mstr591-detail-actions{
 display:flex!important;gap:6px!important;flex-wrap:wrap!important;margin-bottom:10px!important;
}
#mrsStrategyV591 .mstr591-detail-actions>button{background:#183747!important}
#mrsStrategyV591 .mstr591-mode-fields{
 display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important;
}
#mrsStrategyV591 .mstr591-detail-help{color:#a9bed1!important;font-size:11px!important;margin:10px 0!important}
#mrsStrategyV591 .mstr591-grid-scroll{
 max-height:280px!important;overflow:auto!important;background:#091523!important;
 border:1px solid #39536a!important;scrollbar-width:thin!important;
}
#mrsStrategyV591 .mstr591-grid{
 border-collapse:separate!important;border-spacing:1px!important;
 font-variant-numeric:tabular-nums!important;
 width:max-content!important;min-width:100%!important;
}
#mrsStrategyV591 .mstr591-grid th,#mrsStrategyV591 .mstr591-grid td{
 padding:0!important;border:none!important;min-width:66px!important;max-width:96px!important;
}
#mrsStrategyV591 .mstr591-grid thead th{
 position:sticky!important;top:0!important;z-index:3!important;background:#203446!important;
}
#mrsStrategyV591 .mstr591-grid tr>th:first-child{
 position:sticky!important;left:0!important;z-index:4!important;background:#203446!important;min-width:90px!important;
}
#mrsStrategyV591 .mstr591-grid th button{
 width:100%!important;min-width:0!important;padding:6px 4px!important;
 border-radius:0!important;color:#eaf4ff!important;background:#1b3345!important;
}
#mrsStrategyV591 .mstr591-grid td button{
 width:100%!important;min-width:0!important;border:none!important;border-radius:0!important;
 background:#122a39!important;color:#c7dbe8!important;
 padding:7px 4px!important;font:750 11px/1.2 Consolas,monospace!important;
}
#mrsStrategyV591 .mstr591-grid td button.modified{background:#294736!important;color:#d2f5d9!important}
#mrsStrategyV591 .mstr591-grid button.selected{background:#c7a344!important;color:#08151e!important;box-shadow:inset 0 0 0 2px #ffeb9b!important}
#mrsStrategyV591 footer{display:flex!important;gap:9px!important;justify-content:flex-end!important;margin:12px 0!important}
#mrsStrategyV591 #mstr591SaveReport:not([hidden]){
 display:block!important;border:1px solid #426075!important;border-left:3px solid #df5170!important;
 border-radius:6px!important;padding:10px 12px!important;margin:6px 0 11px!important;
 background:#142337!important;color:#deedf7!important;font-size:12px!important;line-height:1.5!important;
}
#mrsStrategyV591 .mstr591-apply-controls{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;margin-top:12px!important}
#mrsStrategyV591 #mstr591Report{
 max-height:230px!important;overflow:auto!important;border:1px solid #49637a!important;
 margin:12px 0!important;padding:9px!important;background:#091521!important;
}
#mrsStrategyV591 #mstr591Report p{margin:5px 0!important;color:#dbe8f5!important}
#mrsStrategyV591 .mstr591-warning{margin:13px 0 0!important;color:#dfbb85!important}
@media(max-width:750px){
 #mrsStrategyV591 .mstr591-files,#mrsStrategyV591 .mstr591-mode-fields,#mrsStrategyV591 .mstr591-apply-controls{grid-template-columns:1fr!important}
 #mrsStrategyV591 main{padding:9px!important}
 #mrsStrategyV591 .mstr591-shell{max-height:98dvh!important}
}
