@layer standards {
html:not([data-unused-theme]) body #modalwrap #modal#modal#modal#modal#modal#modal:has(> .modal-window-controls) {
  background: #D1D1D1 !important;
  border: 1px solid #000 !important;
  color: #000;
}
html:not([data-unused-theme]) body #modalwrap #modal#modal#modal#modal#modal#modal > .modal-window-controls {
  position: sticky !important;
  inset: 0 auto auto 0 !important;
  display: flex !important;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 5px 8px;
  background: #21354F !important;
  border: 1px solid #000;
  color: #fff !important;
  z-index: 5;
}
html:not([data-unused-theme]) body #modalwrap #modal#modal#modal#modal#modal#modal .classic-window-title {
  flex: 1;
  color: #fff !important;
  font-weight: 700;
  text-transform: uppercase;
}
html:not([data-unused-theme]) body #modalwrap #modal#modal#modal#modal#modal#modal .classic-window-heading {
  position: absolute !important;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
html:not([data-unused-theme]) body #modalwrap #modal#modal#modal#modal#modal#modal > .modal-content { padding-top: 12px; }
html:not([data-unused-theme]) body #modalwrap #modal#modal#modal#modal#modal#modal :is(input,select,textarea) {
  background-color: #fff !important;
  color: #000 !important;
  border-color: #000 !important;
}
html:not([data-unused-theme]) body #modalwrap #modal#modal#modal#modal#modal#modal :is(fieldset,.modulecard,.account-invoice-payment-list) {
  border: 1px solid #000 !important;
  box-shadow: inset 1px 1px #fff;
}
html:not([data-unused-theme]) body #modalwrap #modal#modal#modal#modal#modal#modal table { border-collapse: collapse; }
html:not([data-unused-theme]) body #modalwrap #modal#modal#modal#modal#modal#modal :is(th,td) { border: 1px solid #000 !important; }
html:not([data-unused-theme]) body #modalwrap #modal#modal#modal#modal#modal#modal .modalactions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #000;
}
html:not([data-unused-theme]) body #modalwrap #modal#modal#modal#modal#modal#modal > .modal-window-controls {
  margin: 0;
  height: auto !important;
  min-height: 34px !important;
  max-height: none !important;
  border-radius: 0 !important;
}
#modalwrap #modal .modal-content > :is(#employeeSignIn,#sharedDocumentEmail) {
  border: 1px solid #000;
  box-shadow: inset 1px 1px #fff;
  padding: 12px;
}
}


/* Popup navy title bars use white text in every workspace. */
@media screen { @layer caps-trial {
html body#dashboardRoot #modalwrap #modal > .modal-window-controls .classic-window-title,
html body#dashboardRoot #modalwrap #modal > .modal-window-controls .classic-window-title *,
html body#dashboardRoot #modalwrap #modal > .modal-window-controls .classic-window-title *::after {color:#fff!important;-webkit-text-fill-color:#fff!important;}
} }
