/* Staff entry only: retain RoomWin's warm panels, system type and approved red. */
.rw-access,
.rw-staff-session,
body.rw-staff-login {
  color: #161a1d;
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.rw-access,
.rw-access *,
.rw-staff-session * {
  box-sizing: border-box;
}
.rw-access {
  width: min(100%, 480px);
  max-width: 480px;
  margin: 24px auto;
  padding: clamp(22px, 5vw, 36px);
  background: #f8f4ef;
  border: 1px solid #e8e2dd;
  border-radius: 20px;
  text-align: left;
}
.rw-access-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  font-size: 25px;
  font-weight: 750;
  line-height: 1.2;
}
.rw-access-brand img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
}
.rw-access-brand small {
  display: block;
  margin-top: 5px;
  color: #526170;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: normal;
}
.rw-access h2 {
  margin: 0 0 10px;
  color: #161a1d;
  font: inherit;
  font-size: 28px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.rw-access p {
  margin: 0 0 20px;
  color: #526170;
  font: inherit;
}
.rw-access form {
  margin: 24px 0;
}
.rw-access label {
  display: block;
  margin-bottom: 6px;
  color: #161a1d;
  font-weight: 600;
}
.rw-access input[type="text"],
.rw-access input[type="password"] {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  background: #fff;
  color: #161a1d;
  border: 1px solid #9daab5;
  border-radius: 10px;
  box-shadow: none;
  font: inherit;
}
.rw-access .login-submit {
  margin: 0;
}
.rw-access input[type="submit"],
.rw-access a.rw-access-button,
body.rw-staff-login .button-primary {
  display: inline-block;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid #c40204;
  border-radius: 10px;
  background: #c40204;
  color: #fff;
  box-shadow: none;
  font: inherit;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
}
.rw-access input[type="submit"]:hover,
.rw-access a.rw-access-button:hover,
body.rw-staff-login .button-primary:hover {
  background: #990204;
  border-color: #990204;
  color: #fff;
}
.rw-access :is(a, input):focus-visible,
.rw-staff-session a:focus-visible {
  outline: 3px solid #161a1d;
  outline-offset: 3px;
}
.rw-access-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 20px;
}
.rw-access a,
.rw-staff-session a {
  color: #990204;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rw-access .rw-access-help {
  margin-bottom: 0;
  font-size: 13px;
}
.rw-staff-session {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
  max-width: 1660px;
  margin: 12px auto;
  font-size: 14px;
}
body.rw-staff-login {
  background: #f8f4ef;
}
body.rw-staff-login #login {
  width: min(420px, calc(100% - 40px));
  padding: 6vh 0 24px;
}
body.rw-staff-login #login > h1 {
  display: none;
}
body.rw-staff-login #loginform,
body.rw-staff-login #lostpasswordform,
body.rw-staff-login #resetpassform {
  border: 1px solid #e8e2dd;
  border-radius: 18px;
  box-shadow: none;
}
body.rw-staff-login .rw-access-brand {
  margin: 0 0 24px;
}
body.rw-staff-login .submit {
  margin-top: 18px;
}
body.rw-staff-login .button-primary {
  margin-top: 16px;
}
body.rw-staff-login #nav a,
body.rw-staff-login #backtoblog a {
  color: #990204;
}

/* Opt only the signed-in shortcode into a block theme's supported wide layout. */
.rw-staff-workspace {
  width: 100%;
  max-width: 1660px;
  margin-inline: auto;
}
.rw-staff-workspace > .rw-app.rw-admin {
  width: 100%;
  max-width: 100%;
}
