/* Login is deliberately scoped: the application directory keeps its own layout. */
.login-shell {
  --login-ink: #163d32;
  --login-muted: #5d6e64;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  min-height: 100svh;
  padding: 20px;
  background: #f4f6f5;
  gap: 0;
  font-size: 16px;
}
.login-shell .intro {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  padding: 42px 9%;
  border-radius: 18px;
  background: radial-gradient(ellipse at 90% 100%, #3a6556 0, transparent 56%), #123b31;
  overflow: hidden;
  color: #f8fbf9;
}
.login-shell .brand { position: relative; z-index: 2; font-size: 24px; gap: 13px; align-self: flex-start; }
.login-shell .brand-mark { width: 46px; height: 46px; border: 1px solid #ffffff25; background: #ffffff0c; border-radius: 13px; color: #f5faf6; }
.login-shell .brand-small { color: #b5c9bf; font-size: 10px; letter-spacing: 1.7px; }
.login-shell .intro-copy { position: relative; z-index: 2; margin: 68px 0 216px; }
.login-shell .eyebrow { color: #b6cdbf; font-size: 12px; letter-spacing: 2.4px; font-weight: 550; }
.login-shell .intro h1 { margin: 23px 0 25px; font-size: clamp(40px, 4.25vw, 68px); line-height: 1.14; letter-spacing: -2.5px; font-weight: 480; }
.login-shell .intro h1 em { color: #d7e5cf; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.login-shell .intro-copy > p { display: block; margin: 0; color: #bccfc5; font-size: 16px; line-height: 1.85; }
.login-shell .intro-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; width: 100%; font-size: 12px; color: #b5c9be; line-height: 1.7; }
.login-shell .intro-foot span:last-child { font-size: 10px; letter-spacing: 1.8px; color: #a1bcad; }
.login-art { position: absolute; z-index: 0; width: 430px; height: 340px; bottom: 34px; right: -32px; pointer-events: none; transform: rotate(-24deg); }
.login-art-disc { position: absolute; width: 246px; height: 246px; top: 43px; left: 100px; border-radius: 50%; border: 1px solid #c5d8b342; background: linear-gradient(135deg, #b9cfab23, #60877205 68%); box-shadow: inset 0 0 35px #d9e9be08, 0 20px 70px #06281e25; }
.login-art-ring { position: absolute; left: 19px; top: 112px; width: 410px; height: 126px; border: 1px solid #bcd1ad60; border-radius: 50%; transform: rotate(-17deg); }
.login-art-ring-inner { top: 91px; left: 49px; width: 345px; height: 156px; border-color: #c8d8b52b; transform: rotate(31deg); }
.login-art-line { position: absolute; height: 1px; left: -140px; right: -100px; top: 178px; background: linear-gradient(90deg, transparent, #b9cfab20, transparent); transform: rotate(-17deg); }
.login-shell .login-side { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 72px 12% 90px; min-width: 0; background: #fff; border: 1px solid #e8edeb; border-left: 0; border-radius: 0 18px 18px 0; }
.login-form-wrap { width: 100%; max-width: 390px; }
.login-welcome { margin-bottom: 36px; }
.login-shell .mini-label { font-size: 11px; letter-spacing: 2px; color: #5b7363; font-weight: 600; }
.login-shell .login-side h2 { margin: 17px 0 13px; font-size: 34px; letter-spacing: -1.15px; line-height: 1.25; font-weight: 600; color: var(--login-ink); }
.login-welcome p { margin: 0; font-size: 16px; color: var(--login-muted); line-height: 1.8; }
.login-welcome strong { font-weight: 550; color: #355b49; }
.login-shell .login-side form { max-width: none; }
.login-shell .login-side label { display: block; margin: 0 0 10px; font-size: 14px; font-weight: 550; line-height: 1.5; color: #314f40; }
.login-shell .login-side input { display: block; width: 100%; min-height: 54px; margin: 0; padding: 14px 16px; border: 1px solid #dce5df; border-radius: 9px; background: #fff; color: #1d3c30; font-size: 16px; line-height: 1.4; transition: border-color 150ms, box-shadow 150ms; }
.login-shell .login-side input::placeholder { color: #64766a; font-size: 14px; opacity: 1; }
.login-shell .login-side input:hover { border-color: #afc3b6; }
.login-shell .login-side input:focus { outline: none; border-color: #527c65; box-shadow: 0 0 0 3px #2d654313; }
.login-password-label { margin-top: 25px; }
.login-shell .password-field input { padding-right: 74px; }
.login-shell .password-toggle { right: 6px; padding: 9px 12px; min-height: 40px; color: #476b55; font-size: 13px; border-radius: 6px; }
.login-shell .password-toggle:hover { background: #eff4f0; }
.login-shell .login-side form > .error { min-height: 22px; margin: 14px 0 8px; color: #a13d32; font-size: 14px; line-height: 1.65; }
.login-shell .login-side .primary[type=submit] { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; margin-top: 0; padding: 15px 18px; border-radius: 9px; background: #214e3d; color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .1px; box-shadow: 0 3px 8px #193f3010; transition: background 150ms, box-shadow 150ms; }
.login-shell .login-side .primary[type=submit]:hover:not(:disabled) { background: #163d2e; box-shadow: 0 5px 16px #193f3020; }
.login-shell .login-side .primary:disabled { cursor: default; opacity: .65; }
.login-shell .login-side form > .login-security-note { display: flex; align-items: flex-start; gap: 9px; margin: 19px 0 0; color: #5e7063; font-size: 13px; line-height: 1.8; }
.login-security-note svg { width: 17px; height: 19px; flex-shrink: 0; margin-top: 2px; color: #708779; }
.login-support { margin-top: 33px; padding-top: 23px; border-top: 1px solid #e8eeea; color: #365c46; font-size: 13px; line-height: 1.8; text-align: center; }
.login-support span { color: #627167; margin-right: 3px; }
.login-side-foot { position: absolute; bottom: 31px; color: #627167; font-size: 12px; letter-spacing: .1px; }
.login-shell :is(button, a):focus-visible { outline: 3px solid #7caa8f; outline-offset: 4px; }
@media (min-width: 1700px) {
  .login-shell { padding: 28px; }
  .login-shell .intro { padding-inline: 11%; }
  .login-shell .intro-copy { margin-bottom: 260px; }
  .login-art { right: 6%; bottom: 65px; transform: rotate(-24deg) scale(1.15); }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .login-shell { padding: 14px; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); }
  .login-shell .intro { padding: 35px 9%; }
  .login-shell .intro h1 { font-size: 43px; letter-spacing: -1.8px; }
  .login-shell .intro-copy > p { font-size: 15px; }
  .login-shell .login-side { padding-inline: 10%; }
  .login-shell .intro-foot span:last-child { display: none; }
}
@media (max-width: 760px) {
  .login-shell { display: block; min-height: 100svh; padding: 0; background: #fff; }
  .login-shell .intro { min-height: 0; padding: 26px 7% 32px; border-radius: 0; }
  .login-shell .brand { font-size: 22px; gap: 11px; }
  .login-shell .brand-mark { width: 39px; height: 39px; font-size: 31px; border-radius: 11px; }
  .login-shell .brand-small { font-size: 9px; letter-spacing: 1.6px; }
  .login-shell .intro-copy { margin: 31px 0 0; }
  .login-shell .eyebrow { display: none; }
  .login-shell .intro h1 { margin: 0; font-size: clamp(31px, 7vw, 43px); line-height: 1.18; letter-spacing: -1.2px; }
  .login-shell .intro-copy > p, .login-shell .intro-foot { display: none; }
  .login-art { width: 300px; height: 260px; right: -129px; bottom: -88px; transform: rotate(-25deg) scale(.65); opacity: .65; }
  .login-shell .login-side { min-height: 0; padding: 35px 7% 29px; background: #fff; border: 0; border-radius: 0; }
  .login-form-wrap { max-width: 430px; }
  .login-welcome { margin-bottom: 29px; }
  .login-shell .login-side h2 { font-size: 29px; letter-spacing: -.8px; margin: 13px 0 10px; }
  .login-welcome p { font-size: 16px; }
  .login-shell .mini-label { font-size: 10px; letter-spacing: 1.8px; }
  .login-password-label { margin-top: 22px; }
  .login-support { margin-top: 27px; padding-top: 20px; font-size: 12px; }
  .login-side-foot { position: static; margin-top: 28px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .login-shell * { transition: none !important; } }
