html, body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  background: #e6ebee;
  color: #17212b;
}
.m01-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}
.m01-card {
  width: 560px;
  max-width: 100%;
  background: #ffffff;
  border: 1px solid #d7e0e7;
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 12px 42px rgba(23,33,43,0.12);
}
.m01-card h1 {
  margin: 0 0 12px;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.m01-card a {
  color: #168acd;
}
.muted {
  color: #6d7883;
  line-height: 1.45;
}
.m01-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.button {
  display: inline-block;
  background: #2aabee;
  color: #fff !important;
  border-radius: 9px;
  padding: 11px 16px;
  text-decoration: none;
  font-size: 15px;
}
.button-secondary {
  background: #edf4f9;
  color: #168acd !important;
  border: 1px solid #cfe2ee;
}
.m01-links {
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 14px;
}
@media (max-width: 560px) {
  .m01-card { padding: 22px; }
  .m01-actions { flex-direction: column; }
  .button { text-align: center; }
}

/* M26 doorway language switch and light/dark foundation */
.m01-lang {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin: -8px 0 14px;
}
.m01-lang button {
  border: 1px solid #cfe2ee;
  background: #edf4f9;
  color: #168acd;
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 12px;
}
.m01-lang button.is-active {
  background: #2aabee;
  border-color: #2aabee;
  color: #fff;
}
html[data-theme="dark"] body {
  background: #101820;
  color: #e6edf3;
}
html[data-theme="dark"] .m01-card {
  background: #17212b;
  border-color: #2a3b47;
  box-shadow: 0 12px 42px rgba(0,0,0,0.42);
}
html[data-theme="dark"] .muted {
  color: #9fb0bf;
}
html[data-theme="dark"] .button-secondary,
html[data-theme="dark"] .m01-lang button {
  background: #22313c;
  border-color: #344856;
  color: #8bd0f3 !important;
}
html[data-theme="dark"] .m01-lang button.is-active {
  background: #2aabee;
  color: #fff !important;
}
