/* Login-only visual layer. Authentication and management styles stay unchanged. */
body[data-management="false"] {
  --green: #1d785d;
  --line: #dce3d8;
  --muted: #586f74;
  color: #203634;
  background: #f6f8f1;
  min-height: 100svh;
  color-scheme: light;
}
body[data-management="false"] header,
body[data-management="false"] main,
body[data-management="false"] footer {
  width: min(86%, 1476px);
  margin-inline: auto;
}
body[data-management="false"] header {
  min-height: 110px;
  padding: 28px 0;
}
body[data-management="false"] .brand strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
body[data-management="false"] .brand-icon {
  width: 38px;
  height: 40px;
  border-color: #92b798;
}
body[data-management="false"] .header-tools { flex-shrink: 0; }
body[data-management="false"] select { min-width: 115px; min-height: 44px; }
body[data-management="false"] main { padding: 64px 0; }
.login-layout {
  grid-template-columns: minmax(0, 1fr) 480px;
  column-gap: clamp(64px, 8vw, 144px);
}
.login-layout .intro { min-width: 0; }
.login-layout .intro h1 {
  font-size: 42px;
  line-height: 1.48;
  font-weight: 600;
  margin: 22px 0 24px;
  text-wrap: balance;
}
.login-layout .intro h1 span { font-weight: 500; }
.login-layout .eyebrow { font-size: 11px; }
.login-layout .intro p { font-size: 14px; line-height: 2; margin: 0; }
.login-layout .intro img {
  display: block;
  width: min(100%, 520px);
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: contain;
  margin-top: 40px;
  filter: brightness(1.05) contrast(1.1);
  mix-blend-mode: multiply;
}
.login-layout .auth-panel {
  min-width: 0;
  padding: 40px 42px 32px;
  border-radius: 16px;
  box-shadow: 0 20px 55px #3c503705;
}
.login-layout h2 {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.4;
  margin: 12px 0;
  overflow-wrap: anywhere;
}
.login-layout .subtitle { margin: 12px 0 0; }
.login-layout .tabs { margin: 24px 0; }
.login-layout label { margin: 20px 0 8px; }
.login-layout input {
  height: 48px;
  border-color: #b9c9c5;
  border-radius: 6px;
  background: #edf3fc;
  font-size: 16px;
}
.login-layout input:focus { background: #fff; border-color: var(--green); }
.login-layout input:focus-visible { outline-color: #77bfaa; }
.login-layout .input-wrap button { width: 44px; height: 44px; }
.login-layout .primary { min-height: 48px; border-radius: 6px; }
.login-layout .primary:hover { background: #145d48; }
.login-layout .primary:active { background: #104b3b; }
.login-layout .text-button { min-height: 44px; }
.login-layout .lockline { align-items: flex-start; line-height: 1.7; margin-top: 22px; }
.login-layout .lockline svg { margin-top: 3px; }
.login-layout .auth-panel > .notice {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--muted);
  margin-top: 10px;
  font-size: 12px;
}
.login-layout .error { overflow-wrap: anywhere; }
body[data-management="false"] footer { padding: 24px 0 28px; }
@media (max-width: 1200px) {
  body[data-management="false"] header,
  body[data-management="false"] main,
  body[data-management="false"] footer { width: calc(100% - 64px); }
  .login-layout { grid-template-columns: minmax(0, 1fr) 440px; column-gap: 48px; }
  .login-layout .auth-panel { padding-inline: 32px; }
}
@media (max-width: 1000px) {
  body[data-management="false"] main { padding: 36px 0 48px; }
  .login-layout { grid-template-columns: minmax(0, 480px); justify-content: center; gap: 28px; }
  .login-layout .intro { text-align: center; }
  .login-layout .intro h1 { font-size: 28px; margin: 10px 0 12px; }
  .login-layout .intro p { max-width: none; font-size: 13px; }
  .login-layout .intro img { display: none; }
  .login-layout .intro .eyebrow { display: none; }
  body[data-management="false"] header { min-height: 96px; padding-block: 22px; }
}
@media (max-width: 600px) {
  body[data-management="false"] header,
  body[data-management="false"] main,
  body[data-management="false"] footer { width: calc(100% - 40px); }
  body[data-management="false"] header { min-height: 90px; padding-block: 20px; gap: 16px; }
  body[data-management="false"] .brand { gap: 9px; }
  body[data-management="false"] .brand strong { font-size: 15px; }
  body[data-management="false"] .brand small { font-size: 9px; }
  body[data-management="false"] .brand-icon { width: 32px; height: 36px; }
  body[data-management="false"] select { min-width: 90px; }
  body[data-management="false"] main { padding: 18px 0 32px; }
  .login-layout .intro h1 { font-size: 24px; }
  .login-layout .auth-panel { padding: 28px 24px; }
  .login-layout h2 { font-size: 24px; }
  .login-layout .tabs { margin: 20px 0; }
  body[data-management="false"] footer { flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 370px) {
  body[data-management="false"] header,
  body[data-management="false"] main,
  body[data-management="false"] footer { width: calc(100% - 32px); }
  body[data-management="false"] .brand strong { font-size: 14px; }
  body[data-management="false"] .brand small { display: none; }
  .login-layout .auth-panel { padding-inline: 18px; }
}
