/* My Tuner v578 · identical single-map and version-comparison workspaces. */
@media(min-width:701px){
 /* Both versions use the SAME thermal cells and typography as .mrs-mdi-matrix. */
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc559-card .mvc578-toolbar{
  display:flex!important;flex-direction:column!important;gap:5px!important;
  flex:0 0 auto!important;padding:6px!important;margin:0!important;
  background:#0d1824!important;border-bottom:1px solid #364657!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-modes,
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-actions {
  display:flex!important;gap:4px!important;align-items:center!important;flex-wrap:wrap!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-toolbar button,
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-toolbar select,
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-toolbar input{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;flex:0 0 auto!important;
  min-height:25px!important;height:25px!important;padding:3px 7px!important;
  border:1px solid #7a3d50!important;border-radius:5px!important;
  background:#251c29!important;color:#f8f3f5!important;
  font:700 10px/1.2 "Segoe UI",Arial,sans-serif!important;
  max-width:130px!important;cursor:pointer!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-toolbar [data-mvc578-view].active{
  background:#a7213d!important;border-color:#ff4565!important;color:#fff!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-toolbar [data-mvc578-action="apply"]{
  background:#9b233f!important;border-color:#ef506d!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-toolbar [data-mvc578-value]{
  width:67px!important;max-width:67px!important;
  background:#0c1521!important;border-color:#4e6278!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-calculation{
  display:inline-flex!important;align-items:center!important;gap:4px!important;
  margin-left:auto!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-notice{
  display:block!important;box-sizing:border-box!important;
  padding:6px 9px!important;background:#31231d!important;
  border-bottom:1px solid #916d41!important;color:#ffecb9!important;
  font:650 11px/1.35 "Segoe UI",Arial,sans-serif!important;
  flex:0 0 auto!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-notice[hidden]{display:none!important}
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-notice[data-kind="ok"]{
  background:#13312c!important;border-color:#2c997b!important;color:#c5fff0!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc559-card h3{
  font:750 12px/1.35 "Segoe UI",Arial,sans-serif!important;
  padding:9px!important;min-height:30px!important;max-height:70px!important;
  height:auto!important;white-space:normal!important;overflow-wrap:anywhere!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc559-scroller.mvc578-scroll{
  position:relative!important;overflow:hidden!important;flex:1!important;
  min-height:0!important;min-width:0!important;background:#09111c!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 #mvc559LeftTable,
 html body.mrs-desktop #mrsMapVersionCompareV559 #mvc559RightTable{
  height:100%!important;width:100%!important;min-width:0!important;min-height:0!important;
  box-sizing:border-box!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-view{
  display:block!important;width:100%!important;height:100%!important;
  min-width:0!important;min-height:0!important;overflow:hidden!important;
  box-sizing:border-box!important;background:#09111c!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-table-pane{
  height:100%!important;width:100%!important;min-width:0!important;min-height:0!important;
  overflow:auto!important;scrollbar-color:#617184 #101b29!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-mode-mixed{
  display:grid!important;grid-template-columns:minmax(0,55fr) minmax(0,45fr)!important;
  grid-template-rows:minmax(0,1fr)!important;gap:5px!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-mode-mixed > .mvc578-table-pane{
  grid-column:1!important;grid-row:1!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-mode-mixed > .mvc578-visual-pane{
  grid-column:2!important;grid-row:1!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-visual-pane{
  height:100%!important;width:100%!important;min-width:0!important;min-height:0!important;
  position:relative!important;overflow:hidden!important;
  background:#09111c!important;box-sizing:border-box!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 canvas.mvc578-canvas{
  display:block!important;box-sizing:border-box!important;width:100%!important;height:100%!important;
  min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;background:#09111c!important;
  cursor:grab!important;touch-action:none!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-mode-mixed .mvc578-matrix{
  min-width:100%!important;width:max-content!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-matrix{
  border-collapse:separate!important;border-spacing:0!important;
  font:600 11px Consolas,monospace!important;color:#fff!important;
  width:max-content!important;min-width:100%!important;table-layout:auto!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-matrix th,
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-matrix td{
  box-sizing:border-box!important;text-align:center!important;vertical-align:middle!important;
  border:1px solid #293c50!important;
  white-space:nowrap!important;min-width:64px!important;width:auto!important;max-width:none!important;
  height:30px!important;min-height:30px!important;padding:4px 7px!important;
  font:600 11px Consolas,monospace!important;color:#fff!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-matrix th{
  position:sticky!important;top:0!important;z-index:3!important;
  background:#101d2b!important;color:#e7eef8!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-matrix th.mdi-axis-y{
  position:sticky!important;left:0!important;top:auto!important;
  min-width:75px!important;z-index:4!important;background:#111c29!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-matrix th.mdi-corner{
  position:sticky!important;left:0!important;top:0!important;z-index:5!important;
  background:#0d1b2b!important;min-width:75px!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-matrix td.mdi-value{
  background:var(--mdi-heat,#1b2533)!important;color:white!important;
  cursor:cell!important;user-select:none!important;-webkit-user-select:none!important;
  font-variant-numeric:tabular-nums!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-matrix td.mvc578-changed{
  text-decoration:underline!important;text-decoration-color:#e4d2d8!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-matrix td.is-selected{
  outline:2px solid #ff425e!important;outline-offset:-2px!important;
  box-shadow:inset 0 0 0 1px white!important;
 }
 html body.mrs-desktop[data-mrs-table-colors="off"] #mrsMapVersionCompareV559 .mvc578-matrix td.mdi-value{
  background:#1b2533!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-axes-on .mvc578-matrix [data-mvc578-axis-x],
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-axes-on .mvc578-matrix [data-mvc578-axis-y]{
  outline:1px dashed #ef506b!important;outline-offset:-3px!important;cursor:pointer!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-matrix [data-mvc578-axis-x],
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-matrix [data-mvc578-axis-y]{
  cursor:pointer!important;
 }
 /* The comparison dialog remains big enough for table and graphic side by side. */
 html body.mrs-desktop #mrsMapVersionCompareV559{
  padding:5px!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc559-shell{
  width:100%!important;max-width:100%!important;height:100%!important;
  padding:8px!important;gap:6px!important;min-height:0!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc559-grids{
  min-height:0!important;min-width:0!important;overflow:hidden!important;
 }
 html body.mrs-desktop #mrsMapVersionCompareV559 footer{
  min-height:20px!important;padding:4px 6px!important;
 }
 /* StageX-style axis rulers remain visible as actual vectors on 3D canvas. */
 html body.mrs-desktop #mrsMapWindowsV565 .mrs-mdi-canvas{
  object-fit:contain!important;
 }
 html body.mrs-desktop #mrsMapWindowsV565 .mrs-mdi-matrix th.mdi-axis,
 html body.mrs-desktop #mrsMapWindowsV565 .mrs-mdi-matrix th.mdi-axis-y{
  cursor:pointer!important;
 }
 html body.mrs-desktop #mrsMapWindowsV565 .mrs-v578-axis-toggle{
  min-height:27px!important;padding:4px 9px!important;
  border-color:#9f4760!important;background:#291e28!important;
  color:#fff!important;font:700 11px "Segoe UI",Arial,sans-serif!important;
 }
 html body.mrs-desktop #mrsMapWindowsV565 .mrs-v578-axis-mode .mrs-mdi-matrix th.mdi-axis,
 html body.mrs-desktop #mrsMapWindowsV565 .mrs-v578-axis-mode .mrs-mdi-matrix th.mdi-axis-y{
  outline:1px dashed #f04b6a!important;outline-offset:-3px!important;
 }
}
#mrsV578AxisEditor[hidden],#mvc578Interpolation[hidden]{display:none!important}
#mrsV578AxisEditor,#mvc578Interpolation{
 position:fixed!important;inset:0!important;z-index:2147483642!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 background:#05070ae8!important;padding:12px!important;box-sizing:border-box!important;
 color:#f3f6fa!important;font-family:"Segoe UI",Arial,sans-serif!important;
}
#mrsV578AxisEditor .mrs-v578-axis-card,#mvc578Interpolation .mvc578-interp-card{
 box-sizing:border-box!important;width:min(545px,100%)!important;max-height:94dvh!important;overflow:auto!important;
 border:1px solid #a94a61!important;border-radius:9px!important;padding:16px!important;
 background:#161f2c!important;box-shadow:0 22px 85px #000d!important;
 font:550 13px/1.45 "Segoe UI",Arial,sans-serif!important;
}
#mrsV578AxisEditor header,#mvc578Interpolation header{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 padding-bottom:10px!important;border-bottom:1px solid #3d4e61!important;
}
#mrsV578AxisEditor header strong,#mvc578Interpolation header strong{font-size:16px!important}
#mrsV578AxisEditor button,#mvc578Interpolation button{
 padding:9px 13px!important;border:1px solid #b94d65!important;border-radius:5px!important;
 background:#6b2439!important;color:white!important;font:750 12px "Segoe UI",Arial,sans-serif!important;
 cursor:pointer!important;
}
#mrsV578AxisEditor input,#mvc578Interpolation input,#mvc578Interpolation select{
 width:100%!important;height:36px!important;background:#0b1522!important;
 border:1px solid #52677d!important;border-radius:5px!important;color:white!important;
 padding:7px 9px!important;box-sizing:border-box!important;font:700 13px "Segoe UI",Arial,sans-serif!important;
}
#mrsV578AxisEditor label,#mvc578Interpolation label{display:grid!important;gap:6px!important;font-weight:750!important}
#mrsV578AxisEditor .mrs-v578-axis-warning{color:#f4c69a!important;font-size:11px!important}
#mrsV578AxisEditor footer,#mvc578Interpolation footer{display:flex!important;justify-content:space-between!important;gap:12px!important;padding-top:15px!important}
#mrsV578AxisEditor [role="status"],#mvc578Interpolation [role="status"]{color:#ffb5bb!important}
#mvc578Interpolation .mvc578-interp-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;padding:14px 0!important}
#mvc578Interpolation .mvc578-interp-options{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}
@media(min-width:701px) and (max-width:1170px){
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-matrix td,
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-matrix th{min-width:52px!important;padding:4px 3px!important;font-size:10px!important}
 html body.mrs-desktop #mrsMapVersionCompareV559 .mvc578-toolbar button{padding:3px 5px!important;font-size:9px!important}
}
@media(max-width:700px){
 #mrsV578AxisEditor,#mvc578Interpolation{padding:7px!important}
}
