@font-face {
  font-family: Roboto;
  src: url("fonts/roboto-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Roboto;
  src: url("fonts/roboto-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: light;
  --green: #3cae49;
  --green-dark: #2f8939;
  --charcoal: #424242;
  --muted: #8d9092;
  --line: #d9dcde;
  --canvas: #f5f6f6;
  --blue: #0b66a3;
  --orange: #e77a2b;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--charcoal);
  font-family: Roboto, Arial, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.baseTheme {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 72% 22%, rgb(60 174 73 / 7%), transparent 31rem),
    var(--canvas);
}

.basePageClass {
  min-height: 100vh;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  height: 64px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e6e7e8;
  background: #eef0f0;
  box-shadow: 0 1px 2px rgb(0 0 0 / 4%);
}

.brand {
  display: flex;
  min-width: 258px;
  height: 64px;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  text-decoration: none;
}

.brand img {
  display: block;
  border-radius: 50%;
}

.brand span {
  overflow: hidden;
  color: #55585a;
  font-size: 18px;
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar-actions {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 22px;
  padding: 0 22px;
}

.help-link {
  color: #777a7c;
  font-size: 13px;
  text-decoration: none;
}

.help-link:hover,
.help-link:focus-visible {
  color: var(--charcoal);
}

.user-dot {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #b1b3b4;
}

.app-rail {
  position: fixed;
  z-index: 10;
  top: 64px;
  bottom: 0;
  left: 0;
  display: flex;
  width: 68px;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  border-right: 1px solid #e0e1e2;
  background: #fafafa;
  padding-top: 26px;
}

.rail-home,
.rail-item {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
}

.rail-home {
  color: white;
  background: var(--green);
  box-shadow: 0 4px 10px rgb(60 174 73 / 24%);
}

.rail-home svg {
  width: 19px;
  fill: currentcolor;
}

.rail-item {
  opacity: 0.92;
}

.rail-green {
  background: #83ad49;
}

.rail-blue {
  background: var(--blue);
}

.rail-orange {
  background: var(--orange);
}

.rail-gray {
  margin-top: auto;
  margin-bottom: 24px;
  background: #afb1b2;
}

.workspace {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 98px 40px 38px 108px;
}

.login-card,
.message-card {
  width: min(100%, 440px);
  border: 1px solid #e0e1e2;
  background: white;
  box-shadow: 0 10px 34px rgb(50 52 54 / 9%);
}

.login-card {
  padding: 44px 50px 34px;
}

.company-logo {
  display: block;
  width: min(100%, 268px);
  height: auto;
  margin: 0 auto 28px;
}

.login-rule {
  width: 44px;
  height: 3px;
  margin: 0 auto 26px;
  background: var(--green);
}

h1 {
  margin: 0;
  color: #3e4041;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
}

.login-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.login-form label {
  display: grid;
  gap: 7px;
}

.login-form label span {
  color: #737678;
  font-size: 12px;
  font-weight: 500;
}

.login-form input {
  width: 100%;
  height: 42px;
  border: 1px solid #cfd2d3;
  border-radius: 2px;
  outline: none;
  padding: 0 12px;
  color: #424547;
  background: #fff;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.login-form input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgb(60 174 73 / 13%);
}

.login-form input[aria-invalid="true"] {
  border-color: #bd4d4d;
}

.primary-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green);
  border-radius: 2px;
  background: var(--green);
  color: white;
  cursor: pointer;
  font-weight: 500;
  text-decoration: none;
  transition: background 120ms ease, border-color 120ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  border-color: var(--green-dark);
  background: var(--green-dark);
}

.login-status {
  min-height: 0;
  margin: -4px 0;
  color: #75787a;
  font-size: 12px;
  line-height: 1.45;
}

.login-status:empty {
  display: none;
}

.login-status.error {
  color: #a54141;
}

.login-status.notice {
  color: #6e7470;
}

.powered-by {
  margin: 26px 0 0;
  color: #a0a3a5;
  font-size: 11px;
  text-align: center;
}

.powered-by a {
  text-decoration: none;
}

.message-card {
  padding: 52px 54px 48px;
  text-align: center;
}

.message-card p:not(.eyebrow) {
  margin: 18px 0 28px;
  color: #848789;
}

.eyebrow {
  margin: 0 0 9px;
  color: #96999b;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .topbar {
    height: 58px;
  }

  .brand {
    min-width: 0;
    height: 58px;
    padding-left: 12px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand span {
    font-size: 16px;
  }

  .topbar-actions {
    gap: 13px;
    padding: 0 12px;
  }

  .user-dot {
    width: 32px;
    height: 32px;
  }

  .app-rail {
    display: none;
  }

  .workspace {
    padding: 82px 16px 24px;
  }

  .login-card {
    padding: 38px 28px 30px;
  }

  .message-card {
    padding: 44px 30px 40px;
  }
}
