/* mySIMAN Master C342 — consistent typography and original footer visibility.
   Scoped to Update Excel; this file does not alter any data operations. */
html body > #syncExcelModal.sync-modal.show{
  background:#061422!important;
  /* All tabs reserve an explicit strip for the original footer. */
  bottom:0!important;
  overflow:hidden!important;
}
html body > #syncExcelModal.sync-modal.show > .sync-panel{
  height:calc(100dvh - 88px)!important;
  max-height:calc(100dvh - 88px)!important;
  box-sizing:border-box!important;
}
html body #syncExcelModal.sync-modal.show .sync-panel,
html body #syncExcelModal.sync-modal.show .sync-panel :is(button,input,select,textarea,table,th,td,small,label,p,span,strong,h2,h3,h4,h5){
  font-family:'Inter','Segoe UI',Arial,sans-serif!important;
  letter-spacing:0!important;
  text-shadow:none!important;
}
html body #syncExcelModal.sync-modal.show .sync-title{
  font-size:20px!important;font-weight:750!important;line-height:1.25!important;
}
html body #syncExcelModal.sync-modal.show .c308-tabs > button,
html body #syncExcelModal.sync-modal.show .c308-mode > button{
  font-size:13px!important;font-weight:750!important;line-height:1.25!important;
}
html body #syncExcelModal.sync-modal.show .sync-action,
html body #syncExcelModal.sync-modal.show .c308-commands button,
html body #syncExcelModal.sync-modal.show .c308-footer button,
html body #syncExcelModal.sync-modal.show #c333ManualPane button{
  font-size:12px!important;font-weight:700!important;line-height:1.3!important;
}
html body #syncExcelModal.sync-modal.show :is(.sync-preview-title,.sync-decision-mode-title-v419,.sync-item-manager-title,.c333-card h4){
  font-size:13px!important;font-weight:750!important;line-height:1.35!important;
}
html body #syncExcelModal.sync-modal.show :is(.c308-summary,.c310-draft-totals,.c308-commands,.c308-footer,.c333-caption,.c333-status,.sync-status){
  font-size:12px!important;font-weight:600!important;line-height:1.45!important;
}
html body #syncExcelModal.sync-modal.show .c308-asset-name{
  font-size:12.5px!important;font-weight:700!important;line-height:1.3!important;
}
html body #syncExcelModal.sync-modal.show :is(.c308-asset-name small,.c308-asset-numbers small){
  font-size:11px!important;font-weight:500!important;line-height:1.3!important;
}
html body #syncExcelModal.sync-modal.show .c308-asset-numbers{
  font-size:12px!important;font-weight:700!important;
}
html body #syncExcelModal.sync-modal.show #c333ManualPane :is(th,td,.c333-cell){
  font-size:11.5px!important;font-weight:600!important;line-height:1.3!important;
}
html body #syncExcelModal.sync-modal.show #c333ManualPane th{font-weight:750!important;}
html body #syncExcelModal.sync-modal.show .sync-header,
html body #syncExcelModal.sync-modal.show .sync-scroll-body-c143,
html body #syncExcelModal.sync-modal.show .sync-actions{
  background:#081d35!important;
}
/* Footer is the existing mySIMAN control row; do not create fake controls. */
html body.sync-modal-open > #simanBottomPortalV987.c342-footer-on{
  position:fixed!important;display:block!important;
  visibility:visible!important;opacity:1!important;
  inset:auto 0 0 0!important;
  width:100%!important;max-width:100%!important;
  min-height:80px!important;height:80px!important;
  margin:0!important;padding:0 10px 4px!important;
  z-index:2147483646!important;
  pointer-events:none!important;
  overflow:visible!important;
  transform:none!important;
  box-sizing:border-box!important;
  background:#061422!important;
  border-top:1px solid #24536a!important;
  box-shadow:0 -6px 18px rgba(0,0,0,.35)!important;
}
html body.sync-modal-open > #simanBottomPortalV987.c342-footer-on > #simanBottomControlRow{
  display:flex!important;position:relative!important;
  visibility:visible!important;opacity:1!important;
  align-items:center!important;justify-content:space-between!important;
  min-height:72px!important;height:72px!important;
  width:100%!important;max-width:100%!important;
  margin:0!important;padding:5px 10px!important;
  pointer-events:none!important;overflow:visible!important;
  background:transparent!important;
  transform:none!important;
}
html body.sync-modal-open > #simanBottomPortalV987.c342-footer-on #expandMenu,
html body.sync-modal-open > #simanBottomPortalV987.c342-footer-on #topDateTime{
  display:flex!important;visibility:visible!important;opacity:1!important;
  pointer-events:auto!important;
}
html body.sync-modal-open > #simanBottomPortalV987.c342-footer-on #simanBottomMenuDock{
  z-index:2147483647!important;pointer-events:none!important;
}
html body.sync-modal-open > #simanBottomPortalV987.c342-footer-on #simanBottomMenuDock.is-open{
  visibility:visible!important;pointer-events:auto!important;
}
@media(max-width:760px){
  html body > #syncExcelModal.sync-modal.show > .sync-panel{
    height:calc(100dvh - 74px - env(safe-area-inset-bottom,0px))!important;
    max-height:calc(100dvh - 74px - env(safe-area-inset-bottom,0px))!important;
  }
  html body.sync-modal-open > #simanBottomPortalV987.c342-footer-on{
    height:calc(72px + env(safe-area-inset-bottom,0px))!important;
    min-height:calc(72px + env(safe-area-inset-bottom,0px))!important;
    padding:0 6px env(safe-area-inset-bottom,0px)!important;
  }
  html body #syncExcelModal.sync-modal.show .sync-title{font-size:17px!important;}
  html body #syncExcelModal.sync-modal.show .c308-tabs > button{font-size:11.5px!important;}
}
