/* Shared company and platform sign-in layout. */
body:has(.auth-page) {
  --bg: #f6f7f9;
  --ink: #202d35;
  --muted: #62727f;
  --line: #e0e5e9;
  --primary: #126d5b;
  font-size: 13px;
}
.auth-page {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #f5f6f8;
}
.auth-masthead {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 42px 24px 72px;
  background: #154f43;
  color: white;
}
.auth-masthead .brand {
  padding: 0;
  gap: 15px;
}
.auth-masthead .brand img {
  width: 56px;
  height: 56px;
  padding: 5px;
  background: white;
  border: 1px solid #ffffff38;
  border-radius: 8px;
}
.auth-masthead .brand b {
  font-size: 34px;
}
.auth-masthead .brand small {
  font-size: 12px;
  margin-top: 3px;
  color: #c5ded5;
}
.auth-main {
  position: relative;
  display: grid;
  align-content: start;
  justify-items: center;
  padding: 0 20px 36px;
  min-width: 0;
}
.auth-container {
  width: min(100%, 456px);
  margin-top: -30px;
}
.auth-workspace {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  max-width: min(100%, 640px);
  padding: 0 8px;
  color: #fff;
  font-size: 26px;
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
}
.auth-workspace span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.auth-workspace .lucide {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}
.auth-form {
  width: 100%;
  padding: 32px;
  background: white;
  border: 1px solid #e0e5e4;
  border-radius: 8px;
  box-shadow:
    0 4px 8px #193e2e03,
    0 16px 48px #193e2e0c;
}
.auth-heading {
  margin-bottom: 28px;
}
.auth-kicker {
  color: #687c73;
  font-size: 10px;
  font-weight: 650;
  margin-bottom: 10px;
}
.auth-form h1 {
  font-size: 27px;
  line-height: 1.25;
  text-wrap: balance;
  margin-bottom: 9px;
  overflow-wrap: anywhere;
}
.auth-form p {
  color: var(--muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.auth-form .field {
  margin-bottom: 20px;
  font-size: 12px;
  gap: 8px;
}
.auth-label-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  min-height: 18px;
}
.auth-caps {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #906015;
  font-size: 11px;
}
.auth-caps[hidden] {
  display: none;
}
.auth-caps .lucide {
  width: 13px;
  height: 13px;
}
.auth-input {
  position: relative;
}
.auth-input > .lucide {
  position: absolute;
  left: 14px;
  top: 15px;
  width: 18px;
  height: 18px;
  color: #7a8b83;
  pointer-events: none;
}
.auth-form .control {
  min-height: 48px;
  padding: 12px 14px 12px 42px;
  border-color: #dbe3df;
  background: #fcfdfc;
  font-size: 14px;
  border-radius: 6px;
}
.auth-input:has(.auth-password) .control {
  padding-right: 48px;
}
.auth-form .control:focus {
  border-color: var(--primary);
  background: white;
  outline: 3px solid #126d5b1a;
}
.auth-form .control::placeholder {
  color: #8a9790;
  font-size: 13px;
}
.auth-input:focus-within > .lucide {
  color: var(--primary);
}
.auth-password {
  position: absolute;
  right: 2px;
  top: 2px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  color: #60766b;
  border: 0;
  border-radius: 4px;
}
.auth-password:hover,
.auth-password[aria-pressed="true"] {
  color: var(--primary);
  background: #e9f3ed;
}
.auth-form .btn {
  min-height: 46px;
}
.auth-form .auth-submit {
  position: relative;
  min-height: 48px;
  justify-content: center;
  padding: 12px 44px;
  text-align: center;
  font-size: 14px;
  box-shadow: 0 3px 5px #126d5b12;
}
.auth-submit > .lucide {
  position: absolute;
  right: 16px;
  top: 0;
  bottom: 0;
  margin-block: auto;
}
.auth-register {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 8px;
  margin: 24px -32px -32px;
  padding: 14px 20px;
  border-top: 1px solid #e5ebe7;
  background: #fafcfb;
  border-radius: 0 0 8px 8px;
  text-align: center;
}
.auth-register > span {
  font-size: 11px;
  color: var(--muted);
}
.auth-form .auth-register .btn {
  min-height: 40px;
  padding: 8px 4px;
  font-size: 12px;
  border: 0;
  background: transparent;
  color: #126d5b;
}
.auth-register .btn:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-registration-form .auth-heading {
  margin-bottom: 26px;
}
.auth-page-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px;
  font-size: 11px;
  color: #76847e;
}
.auth-footer-mark {
  display: flex;
  gap: 3px;
}
.auth-footer-mark span {
  width: 5px;
  height: 5px;
  background: #126d5b;
}
.auth-footer-mark span:nth-child(2) {
  background: #499baf;
}
.auth-footer-mark span:nth-child(3) {
  background: #d6b559;
}
.auth-form .registration-received {
  color: #126d5b;
  border-left: 3px solid #126d5b;
  padding: 8px 12px;
  margin-top: 12px;
}
.auth-form .inline-error {
  color: #a4373b;
  background: #fff2f2;
  border-left: 3px solid #b74749;
  padding: 12px;
  margin-bottom: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.auth-form .inline-error:empty {
  display: none;
}
.auth-page :is(button, a, input):focus-visible {
  outline: 2px solid #238978;
  outline-offset: 3px;
}
@media (max-width: 640px) {
  .auth-masthead {
    padding: 30px 20px 58px;
  }
  .auth-main {
    padding: 0 16px 28px;
  }
  .auth-form {
    padding: 26px 24px;
  }
  .auth-form h1 {
    font-size: 25px;
  }
  .auth-register {
    margin: 24px -24px -26px;
    padding: 12px 16px;
  }
}
