/* 功能：测试站标识独占一行，缩小工作区高度以保留模型画布和触屏操作。 */
body:has(> #preview-runtime) { display:flex; flex-direction:column; min-height:100dvh; }
body:has(> #preview-runtime) > .workspace { flex:1; min-height:0; height:auto; }
body:has(> #preview-runtime) > .login-screen { flex:1; min-height:0; }
body:has(> #preview-runtime):has(> .workspace:not([hidden])) { height:100dvh; }
#preview-runtime {
  display:flex; flex-wrap:wrap; align-items:center; gap:4px 12px; padding:4px 12px;
  border-bottom:1px solid #a88336; background:#fff2ce; color:#4d380d; font-size:12px;
  overflow-wrap:anywhere;
}
#preview-runtime button { margin-left:auto; font:inherit; }
