/* Console lazy-module error boundary only; never restyle shop login forms. */
html body #root .loginScreen:has(> .loginBox[role="alert"]) {
  background: #f4f8f7;
  color: #143b38;
  padding: 24px;
}
html body #root .loginScreen > .loginBox[role="alert"] {
  box-sizing: border-box;
  width: min(520px, 100%);
  background: #fff;
  border: 1px solid #cbdeda;
  border-radius: 16px;
  padding: 28px;
  color: #143b38;
}
html body #root .loginScreen > .loginBox[role="alert"] p { color: #536d69; }
html body #root .loginScreen > .loginBox[role="alert"] > .loginSubmit {
  min-height: 44px;
  height: auto;
  padding: 12px 18px;
  border: 1px solid #00786f;
  border-radius: 10px;
  background: #00786f;
  background-image: none;
  color: #fff;
  font-weight: 700;
}
html body #root .loginScreen > .loginBox[role="alert"] > .loginSubmit:hover { background: #00665f; }
html body #root .loginScreen > .loginBox[role="alert"] > .loginSubmit:focus-visible {
  outline: 3px solid #008f85;
  outline-offset: 3px;
}
html[data-mode="dark"] body #root .loginScreen:has(> .loginBox[role="alert"]) { background: #0c1d1b; color: #edf7f5; }
html[data-mode="dark"] body #root .loginScreen > .loginBox[role="alert"] { background: #142b28; border-color: #345550; color: #edf7f5; }
html[data-mode="dark"] body #root .loginScreen > .loginBox[role="alert"] h1 { color: #edf7f5; }
html[data-mode="dark"] body #root .loginScreen > .loginBox[role="alert"] p { color: #b8cec9; }
html[data-mode="dark"] body #root .loginScreen > .loginBox[role="alert"] > .loginSubmit { background: #75d6c8; border-color: #75d6c8; color: #103b35; }
html[data-mode="dark"] body #root .loginScreen > .loginBox[role="alert"] > .loginSubmit:hover { background: #97e4d9; }
