.factory-brand {
  gap: 9px;
  padding: 0 4px;
  min-height: 78px;
  letter-spacing: 0;
}
.factory-scene {
  position: relative;
  display: block;
  flex: 0 0 66px;
  width: 66px;
  height: 76px;
  overflow: visible;
  isolation: isolate;
}
.factory-building {
  position: absolute;
  inset: auto 0 0;
  width: 66px;
  height: 66px;
  object-fit: contain;
  transform-origin: 50% 85%;
  animation: factory-hum 1.4s linear infinite;
  filter: drop-shadow(0 3px 5px rgb(5 12 27 / 22%));
}
.factory-steam {
  position: absolute;
  left: 37px;
  bottom: 63px;
  width: 28px;
  height: 28px;
  object-fit: contain;
  transform-origin: 50% 100%;
  opacity: 0;
  pointer-events: none;
  animation: factory-steam 3.8s ease-out infinite;
}
.factory-steam-two { animation-delay: -1.9s; }
.factory-wordmark { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.factory-wordmark strong { font-size: 22px; font-weight: 650; line-height: 1.15; letter-spacing: -.5px; }
.factory-wordmark > span { font-size: 12px; font-weight: 400; line-height: 1.25; color: #93a6c8; }
.factory-wordmark b { font-size: 14px; font-weight: 550; line-height: 1.35; letter-spacing: -.15px; white-space: nowrap; color: #e3eafb; }
.workspace-factory { background: #283953; overflow: hidden; }
.workspace-factory img { width: 30px; height: 30px; object-fit: contain; }
.page-footer { gap: 12px; flex-wrap: wrap; }
.login-brand .factory-brand { padding: 0; gap: 17px; }
.login-brand .factory-scene { flex-basis: 82px; width: 82px; height: 92px; }
.login-brand .factory-building { width: 82px; height: 82px; }
.login-brand .factory-steam { left: 47px; bottom: 78px; width: 34px; height: 34px; }
.login-brand .factory-wordmark strong { font-size: 29px; }
.login-brand .factory-wordmark > span { font-size: 13px; }
.login-brand .factory-wordmark b { font-size: 20px; }
@keyframes factory-hum {
  0%, 20%, 40%, 60%, 80%, 100% { transform: translateY(0) rotate(0); }
  10%, 50%, 90% { transform: translateY(-.35px) rotate(-.2deg); }
  30%, 70% { transform: translateY(.2px) rotate(.2deg); }
}
@keyframes factory-steam {
  0% { opacity: 0; transform: translate(-2px, 4px) scale(.3); }
  18% { opacity: .72; transform: translate(-1px, 0) scale(.53); }
  48% { opacity: .5; transform: translate(3px, -8px) scale(.85); }
  78% { opacity: .22; transform: translate(7px, -17px) scale(1.1); }
  100% { opacity: 0; transform: translate(10px, -25px) scale(1.25); }
}
@media (max-width: 1250px) {
  .sidebar .factory-brand { padding: 0; gap: 6px; }
  .sidebar .factory-wordmark strong { font-size: 21px; }
  .sidebar .factory-wordmark b { font-size: 13px; }
}
@media (max-width: 760px) {
  .sidebar .factory-wordmark b { font-size: 14px; }
  .login-brand .factory-brand { gap: 13px; }
  .login-brand .factory-wordmark strong { font-size: 25px; }
  .login-brand .factory-wordmark b { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .factory-building, .factory-steam { animation: none !important; }
  .factory-steam-one { opacity: .35; transform: translate(0, -3px) scale(.7); }
  .factory-steam-two { display: none; }
}
