/* Authoritative corporate login surface. Authentication IDs and behavior remain unchanged. */
.login-screen {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 32px;
  overflow: auto;
  background: #e9eeee;
}

.login-screen.open { display: grid; }

.login-layout-shell {
  width: min(1160px, 100%);
  min-height: min(720px, calc(100vh - 64px));
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr);
  grid-template-areas: "landing panel";
  overflow: hidden;
  border: 1px solid #bcc8c8;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(24, 40, 45, .16);
}

.login-landing-copy {
  position: relative;
  grid-area: landing;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 52px 56px 46px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: #ffffff;
  background: #0d0d0d;
  isolation: isolate;
  overflow: hidden;
}

.login-landing-copy::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 4px;
  background: #39d100;
}

.login-landing-copy::after {
  content: "";
  position: absolute;
  right: 56px;
  bottom: 46px;
  z-index: -1;
  width: 96px;
  height: 1px;
  background: #39d100;
  opacity: .7;
}

.login-landing-brand {
  width: 214px;
  height: 80px;
  margin: 0;
  display: block;
  overflow: hidden;
}

.login-landing-brand img {
  display: block;
  width: 214px;
  height: 80px;
  max-width: none;
  object-fit: cover;
  object-position: center 30%;
  filter: none;
  transform: none;
}

.login-landing-main {
  align-self: center;
  max-width: 540px;
  margin: 36px 0;
}

.login-landing-kicker {
  margin: 0 0 18px;
  color: #39d100;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.login-landing-copy h1 {
  max-width: 14ch;
  margin: 0;
  color: #ffffff;
  font-size: 42px;
  line-height: 50px;
  font-weight: 700;
  letter-spacing: 0;
}

.login-landing-summary {
  max-width: 48ch;
  margin: 20px 0 0;
  color: #c7d0d0;
  font-size: 14px;
  line-height: 22px;
}

.login-capabilities {
  margin-top: 34px;
  display: grid;
  gap: 14px;
}

.login-capabilities span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e7ecec;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
}

.login-capabilities svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  fill: none;
  stroke: #39d100;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.login-landing-index {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #aebaba;
  font-size: 10px;
  line-height: 14px;
  text-transform: uppercase;
}

.login-landing-index i {
  width: 28px;
  height: 1px;
  background: #39d100;
}

.login-landing-index b { color: #ffffff; font-weight: 600; }
.login-landing-index span {
  color: #7f8d8d;
  font-size: 10px;
  line-height: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

.login-layout-shell .login-panel,
.login-layout-shell.login-active .login-panel {
  position: relative;
  grid-area: panel;
  width: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 52px 58px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
  color: #26363e;
  transform: none;
  opacity: 1;
}

.login-layout-shell .login-panel::before,
.login-layout-shell .login-panel::after { display: none; }

.login-panel-context {
  width: 100%;
  margin: 0 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #5f7074;
  font-size: 11px;
  line-height: 16px;
  font-weight: 600;
  text-transform: uppercase;
}

.login-panel-context i {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #527064;
  font-style: normal;
  white-space: nowrap;
}

.login-panel-context i b {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #39d100;
  box-shadow: 0 0 0 3px rgba(57, 209, 0, .12);
}

.login-layout-shell .login-panel-head {
  min-height: 0;
  margin: 0 0 34px;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  background: transparent;
  color: #26363e;
}

.login-layout-shell .login-panel-head > div:first-child { min-width: 0; }

.login-layout-shell .login-panel-head p {
  margin: 0 0 8px;
  color: #008f7f;
  font-size: 11px;
  line-height: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.login-layout-shell .login-panel-head h1 {
  margin: 0;
  color: #1e2d32;
  font-size: 28px;
  line-height: 34px;
  font-weight: 700;
  letter-spacing: 0;
}

.login-layout-shell .login-panel-head span {
  display: block;
  max-width: 36ch;
  margin-top: 10px;
  color: #6a797d;
  font-size: 12px;
  line-height: 19px;
}

.login-layout-shell .login-brand-mark {
  width: 48px;
  min-width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #d5dddd;
  border-radius: 8px;
  background: #0d0d0d;
}

.login-layout-shell .login-brand-mark img {
  width: 42px;
  height: 42px;
  display: block;
  object-fit: contain;
}

.login-layout-shell .login-form {
  width: 100%;
  padding: 0;
  display: grid;
  gap: 20px;
}

.login-layout-shell .login-form label {
  display: grid;
  gap: 8px;
  color: #34464b;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
}

.login-field-control {
  position: relative;
  width: 100%;
  height: 44px;
}

.login-field-control > svg {
  position: absolute;
  left: 13px;
  top: 13px;
  z-index: 2;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #708084;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.login-layout-shell .login-form .login-field-control input {
  width: 100%;
  height: 44px;
  padding: 0 44px 0 42px;
  border: 1px solid #b9c5c5;
  border-radius: 5px;
  background: #f8fafa;
  color: #1f3035;
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  outline: 0;
  box-shadow: none;
  transition: border-color 120ms ease, background-color 120ms ease, box-shadow 120ms ease;
}

.login-layout-shell .login-form .login-field-control input:hover {
  border-color: #8fa09f;
  background: #ffffff;
}

.login-layout-shell .login-form .login-field-control input:focus {
  border-color: #008f7f;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 143, 127, .11);
}

.login-password-toggle {
  position: absolute;
  right: 7px;
  top: 6px;
  z-index: 3;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #627276;
}

.login-password-toggle:hover,
.login-password-toggle:focus-visible {
  background: #eaf1f0;
  color: #087f72;
  outline: 0;
}

.login-password-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.login-layout-shell .login-submit {
  width: 100%;
  height: 44px;
  margin: 4px 0 0;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #007f72;
  border-radius: 5px;
  background: #008f7f;
  color: #ffffff;
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(0, 127, 114, .16);
}

.login-layout-shell .login-submit svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.login-layout-shell .login-submit:hover,
.login-layout-shell .login-submit:focus-visible {
  border-color: #00675d;
  background: #007f72;
  outline: 0;
}

.login-layout-shell .login-submit:disabled { opacity: .68; cursor: wait; }

.login-layout-shell .login-error {
  margin: -4px 0 0;
  padding: 10px 12px;
  border: 1px solid #e1bcbc;
  border-left: 3px solid #b93d3d;
  border-radius: 4px;
  background: #fbf2f2;
  color: #922f2f;
  font-size: 12px;
  line-height: 18px;
}

.login-layout-shell .login-panel > footer {
  margin: 34px 0 0;
  padding: 20px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border: 0;
  border-top: 1px solid #e0e6e6;
  background: transparent;
  color: #778589;
  font-size: 10px;
  line-height: 16px;
  text-align: left;
}

.login-layout-shell .login-panel > footer svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin-top: 1px;
  fill: none;
  stroke: #008f7f;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 900px) {
  .login-screen { place-items: start center; padding: 20px; }
  .login-layout-shell {
    width: min(620px, 100%);
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "landing" "panel";
  }
  .login-landing-copy {
    min-height: 230px;
    padding: 30px 34px;
    grid-template-rows: auto 1fr;
  }
  .login-landing-brand { width: 174px; height: 64px; }
  .login-landing-brand img { width: 174px; height: 64px; }
  .login-landing-main { align-self: end; max-width: none; margin: 24px 0 0; }
  .login-landing-kicker { margin-bottom: 10px; }
  .login-landing-copy h1 { max-width: 20ch; font-size: 30px; line-height: 36px; }
  .login-landing-summary { max-width: 54ch; margin-top: 10px; font-size: 12px; line-height: 18px; }
  .login-capabilities,
  .login-landing-index { display: none; }
  .login-layout-shell .login-panel,
  .login-layout-shell.login-active .login-panel { min-height: 0; padding: 36px 42px 34px; }
  .login-panel-context { margin-bottom: 30px; }
}

@media (max-width: 520px) {
  .login-screen { padding: 0; background: #ffffff; }
  .login-layout-shell {
    width: 100%;
    min-height: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .login-landing-copy { min-height: 168px; padding: 22px 24px; }
  .login-landing-brand { width: 148px; height: 55px; }
  .login-landing-brand img { width: 148px; height: 55px; }
  .login-landing-main { margin-top: 14px; }
  .login-landing-kicker { display: none; }
  .login-landing-copy h1 { max-width: 22ch; font-size: 23px; line-height: 29px; }
  .login-landing-summary { display: none; }
  .login-layout-shell .login-panel,
  .login-layout-shell.login-active .login-panel { padding: 30px 24px 28px; }
  .login-panel-context { margin-bottom: 25px; }
  .login-layout-shell .login-panel-head { margin-bottom: 28px; }
  .login-layout-shell .login-panel-head h1 { font-size: 25px; line-height: 31px; }
  .login-layout-shell .login-brand-mark { width: 44px; min-width: 44px; height: 44px; }
  .login-layout-shell .login-brand-mark img { width: 38px; height: 38px; }
  .login-layout-shell .login-panel > footer { margin-top: 28px; }
}

@media (max-height: 700px) and (min-width: 901px) {
  .login-screen { padding: 18px; }
  .login-layout-shell { min-height: calc(100vh - 36px); }
  .login-landing-copy { padding: 34px 44px 30px; }
  .login-landing-main { margin: 20px 0; }
  .login-landing-copy h1 { font-size: 34px; line-height: 41px; }
  .login-capabilities { margin-top: 22px; gap: 10px; }
  .login-layout-shell .login-panel,
  .login-layout-shell.login-active .login-panel { padding: 34px 46px 30px; }
  .login-panel-context { margin-bottom: 24px; }
  .login-layout-shell .login-panel-head { margin-bottom: 24px; }
  .login-layout-shell .login-form { gap: 15px; }
  .login-layout-shell .login-panel > footer { margin-top: 22px; padding-top: 16px; }
}
