/* PE-Class 12306: unframed PAPS loading; data and locking remain in 12305. */
/* Unfolded Fold uses the canonical PAPS table, not mobilePapsView. The generic
   phone render gate must not hide that owned table for its 1.2-second fallback. */
@media(max-width:768px){
  html:is(.pe87FoldWide,[data-pe-fold-wide="true"])[data-pe-tab="paps"]
  body:not(.mobilePapsView) #app:has(#papsTableBox){visibility:visible!important}
}
#papsTableBox[data-paps-quiet-loading],
#mobilePapsStudentView[data-paps-quiet-loading]{
  position:relative;
  min-height:0!important;
}
/* Cold loads do not contain a table yet. Suppress only that empty table's
   frame and export footnote; a retained table keeps every normal surface. */
html[data-pe-tab="paps"] #app .papsPanel:has(#papsTableBox[data-paps-quiet-loading][data-paps-quiet-retained="0"]),
html[data-pe-tab="paps"] #app .peRecordTableViewportPaps:has(#papsTableBox[data-paps-quiet-loading][data-paps-quiet-retained="0"]),
html[data-pe-tab="paps"] #app .papsPanel.peRecordDataPanel .peRecordTableViewportPaps > #papsTableBox.tableWrap[data-paps-quiet-loading][data-paps-quiet-retained="0"],
html[data-pe-tab="paps"] #app .papsPanel.peRecordDataPanel > #papsTableBox.tableWrap[data-paps-quiet-loading][data-paps-quiet-retained="0"],
html[data-pe-tab="paps"] #app #papsTableBox[data-paps-quiet-loading][data-paps-quiet-retained="0"],
html[data-pe-tab="paps"] #mobilePapsStudentView[data-paps-quiet-loading][data-paps-quiet-retained="0"]{
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  padding:0!important;
}
html[data-pe-tab="paps"] #app .papsPanel:has(#papsTableBox[data-paps-quiet-loading][data-paps-quiet-retained="0"])>.papsExportRow{
  display:none!important;
}
#papsTableBox[data-paps-quiet-clearing="1"]>:not(.papsQuietStatus12305),
#mobilePapsStudentView[data-paps-quiet-clearing="1"]>:not(.papsQuietStatus12305){display:none!important}
:is(#papsTableBox,#mobilePapsStudentView)>.papsQuietStatus12305{
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  width:max-content;
  max-width:100%;
  margin:10px auto;
  padding:0;
  color:#60788f;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  outline:0;
  font-size:12px;
  font-weight:500;
  line-height:18px;
  pointer-events:none;
}
:is(#papsTableBox,#mobilePapsStudentView)[data-paps-quiet-retained="1"]>.papsQuietStatus12305{
  position:absolute;
  top:5px;
  right:8px;
  margin:0;
  z-index:4;
}
:is(#papsTableBox,#mobilePapsStudentView)>.papsQuietStatus12305>span:first-child{
  width:13px;
  height:13px;
  box-sizing:border-box;
  border:2px solid rgba(74,156,245,.2);
  border-top-color:#2d83df;
  border-radius:50%;
  animation:papsQuietSpin12305 .8s linear infinite;
}
:is(#papsTableBox,#mobilePapsStudentView)[data-paps-quiet-loading] :is(input,button,select){cursor:wait}
:is(#papsTableBox,#mobilePapsStudentView)>.papsQuietError12305{font-size:13px;line-height:1.6}
@media(prefers-reduced-motion:reduce){
  :is(#papsTableBox,#mobilePapsStudentView)>.papsQuietStatus12305>span:first-child{animation:none}
}
@keyframes papsQuietSpin12305{to{transform:rotate(360deg)}}
