.lsz-auth-active {
  margin: 0;
  color: #10233f;
  background: #f4f8fb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.lsz-auth-active * {
  box-sizing: border-box;
  letter-spacing: 0;
}

.lsz-auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
}

.lsz-auth-brand {
  min-height: 100vh;
  display: grid;
  align-content: space-between;
  gap: 32px;
  padding: clamp(28px, 5vw, 62px);
  color: #fff;
  background:
    linear-gradient(rgba(7, 39, 47, 0.76), rgba(7, 39, 47, 0.82)),
    url("/assets/logo-r.png") center / 320px no-repeat,
    #0a342f;
}

.lsz-auth-brand img {
  width: min(280px, 80%);
  height: auto;
}

.lsz-auth-brand h1 {
  max-width: 620px;
  margin: 12px 0 14px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
}

.lsz-auth-brand p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.65;
}

.lsz-eyebrow {
  color: #9ee6ce !important;
  text-transform: uppercase;
  font-size: 12px !important;
  font-weight: 850;
  letter-spacing: 0.1em !important;
}

.lsz-status-card {
  width: min(360px, 100%);
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.lsz-auth-work {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 20px;
  padding: clamp(22px, 4vw, 52px);
}

.lsz-auth-topbar,
.lsz-dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lsz-small-logo {
  width: 174px;
  max-width: 56vw;
  height: auto;
  object-fit: contain;
}

.lsz-segmented {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  background: #fff;
}

.lsz-segmented button,
.lsz-auth-button {
  min-height: 42px;
  border: 0;
  border-radius: 7px;
  padding: 0 16px;
  color: #fff;
  background: #11866f;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.lsz-segmented button {
  min-height: 34px;
  color: #64748b;
  background: transparent;
}

.lsz-segmented button.active {
  color: #fff;
  background: #11866f;
}

.lsz-auth-button.secondary {
  color: #11866f;
  background: #e7f5f1;
  border: 1px solid #bfe4d8;
}

.lsz-panel-form,
.lsz-panel-card,
.lsz-metric-grid article {
  background: #fff;
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(16, 35, 63, 0.12);
}

.lsz-panel-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(20px, 3vw, 30px);
}

.lsz-panel-form > div:first-child,
.lsz-panel-form .lsz-auth-button,
.lsz-panel-form .lsz-error,
.lsz-panel-form .lsz-notice {
  grid-column: 1 / -1;
}

.lsz-panel-form h2 {
  margin: 0;
  font-size: 26px;
}

.lsz-panel-form p {
  margin: 6px 0 0;
  color: #64748b;
  line-height: 1.5;
}

.lsz-panel-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 13px;
}

.lsz-panel-form input,
.lsz-panel-form select {
  width: 100%;
  min-height: 40px;
  border: 1px solid #d8e2ee;
  border-radius: 6px;
  padding: 8px 10px;
  color: #10233f;
  background: #fff;
  font: inherit;
}

.lsz-panel-form small,
.lsz-muted {
  color: #64748b;
  font-weight: 500;
  line-height: 1.45;
}

.lsz-hidden {
  display: none !important;
}

.lsz-notice {
  padding: 10px 12px;
  border: 1px solid #bfe4d8;
  border-radius: 6px;
  color: #0b584b;
  background: #e7f5f1;
}

.lsz-error {
  min-height: 20px;
  color: #a83232 !important;
}

.lsz-dashboard-logo {
  width: 210px;
  height: auto;
}

.lsz-metric-grid,
.lsz-dashboard-grid {
  display: grid;
  gap: 14px;
}

.lsz-metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lsz-dashboard-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lsz-metric-grid article,
.lsz-panel-card {
  padding: 16px;
  box-shadow: none;
}

.lsz-metric-grid span,
.lsz-list-row small {
  color: #64748b;
}

.lsz-metric-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
}

.lsz-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.lsz-list-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid #d8e2ee;
  border-radius: 6px;
  background: #fbfdff;
}

.lsz-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  max-width: min(360px, calc(100vw - 36px));
  padding: 12px 14px;
  border-radius: 8px;
  color: #fff;
  background: #10233f;
  box-shadow: 0 24px 70px rgba(16, 35, 63, 0.12);
}

@media (max-width: 900px) {
  .lsz-auth-page {
    grid-template-columns: 1fr;
  }

  .lsz-auth-brand,
  .lsz-auth-work {
    min-height: auto;
  }

  .lsz-dashboard-grid,
  .lsz-metric-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .lsz-panel-form {
    grid-template-columns: 1fr;
  }

  .lsz-auth-topbar,
  .lsz-dashboard-header {
    align-items: stretch;
    flex-direction: column;
  }

  .lsz-segmented {
    width: 100%;
  }

  .lsz-segmented button {
    flex: 1;
  }
}
