/* Preserve the reference layout; accommodate small screens and local panels. */
[v-cloak] { display: none; }
.menu > div, .tdBox > div, .tmInfo > div, .jxBtn, .retList span, .btn > div, .blank .ico, .wheel-pointer { cursor: pointer; }
button:disabled { opacity: .7; cursor: wait; }
.menu > div { white-space: nowrap; }
.tmTab { width: 100%; }
.tmTab td:first-child { width: 4.5em; white-space: nowrap; }
.tmInfo { padding-bottom: env(safe-area-inset-bottom, 0px); }
.ret { bottom: calc(36px + env(safe-area-inset-bottom, 0px)); }
.retList { max-height: 35vh; overflow-y: auto; }
#vue iframe { display: block; padding: 0; min-height: 700px; }
.newBackBtn { opacity: .8; }
/* Child documents use a stable minimum, then expand with their content. */
body:has(.sxarr), body:has(.wheel-wrapper), body:has(.blank) { height: auto; min-height: 700px; }
body:has(.sxarr) #app, body:has(.wheel-wrapper) #app { height: auto; min-height: 700px; }
body:has(.blank) #app { min-height: 700px; }
body:has(.wheel-wrapper) .wheel-wrapper { position: relative; top: auto; left: auto; transform: none; margin: 65px auto 30px; overflow: clip; overflow-clip-margin: 8px; }
body:has(.blank) .retList { max-height: none; overflow: visible; }
body:has(.sxarr) input[type=date] { max-width: 100%; }
body:has(.blank) .blank p { overflow-wrap: anywhere; }
@media(max-width: 400px) {
  .menu > div { padding: .65rem .1rem; font-size: 12px; }
  .tmTab td { padding: .35rem; }
  .tdBox > div { padding: .65rem; }
  .jxTab th { font-size: 1.15rem; }
  body:has(.wheel-wrapper) #vue { padding: .5rem !important; }
  body:has(.wheel-wrapper) .info { font-size: 1rem; }
  body:has(.sxarr) #vue { padding: .5rem !important; }
}
