/* AQ-ROTATE-01: keep the existing horizontal artwork; scroll the opening,
   rather than shrinking controls or resetting the application on rotation. */
@media (min-width:600px) and (max-width:1199px) and (orientation:landscape) {
  #workspace.machine { margin:0 auto; width:100%; aspect-ratio:16/9; }
  #workspace .aperture { display:block; overflow-y:auto; overflow-x:hidden; overscroll-behavior-y:contain; scrollbar-width:thin; scrollbar-color:#ac8e46 #000; padding:0 8px 14px; }
  #workspace .workflow { position:sticky; top:0; z-index:4; background:#050a0d; margin-bottom:10px; }
  #workspace .steps { justify-content:space-between; gap:4px; padding-bottom:3px; }
  #workspace .steps button { min-height:44px; gap:4px; font-size:11px; }
  #workspace .steps button b { width:20px; height:20px; }
  #workspace .screen:not([hidden]) { display:block; overflow:visible; }
  #workspace .screen-head { flex-wrap:wrap; gap:6px; }
  #workspace .screen-head h2 { font-size:20px; }
  #workspace .strategy-grid { grid-template-columns:repeat(2,minmax(0,1fr)); margin-inline:0; }
  #workspace .strategy-card { min-height:76px; }
  #workspace .strategy-card strong { font-size:18px; }
  #workspace .tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; }
  #workspace .tabs button { min-height:44px; font-size:12px; padding:6px; }
  #workspace #settings-form { overflow:visible; }
  #workspace .field-grid, #workspace .field-grid[data-group="market"] { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  #workspace .field input, #workspace .field select { min-height:44px; font-size:16px; }
  #workspace .field label { font-size:12px; }
  #workspace .field small { font-size:11px; }
  #workspace .config-footer, #workspace .results-footer, #workspace .result-navigation { display:flex; flex-wrap:wrap; gap:10px; }
  #workspace .config-footer > *, #workspace .random-area { max-width:100%; }
  #workspace .random-button, #workspace #run, #workspace #new-test, #workspace #edit-settings, #workspace .report-explore { min-height:44px; }
  #workspace .random-area { flex-wrap:wrap; }
  #workspace .result-navigation .report-explore { font-size:16px; }
  #workspace .summary-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); }
  #workspace .summary-metrics .metric dd { font-size:22px; }
  #workspace .loading-content { min-height:280px; }
  #workspace.is-loading .aperture { display:block; overflow-y:auto; }
  #workspace #loading-screen:not([hidden]) { display:block; }
  #workspace .premium-pair { flex-wrap:wrap; }
}
